(function(){var Td={"./node_modules/dayjs/dayjs.min.js":function(qe){(function(Jt,it){qe.exports=it()})(this,function(){"use strict";var Jt=1e3,it=6e4,nr=36e5,rr="millisecond",ge="second",_t="minute",V="hour",Kt="day",ye="week",Ct="month",ct="quarter",Qt="year",we="date",A="Invalid Date",It=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,W=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,se={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var S=["th","st","nd","rd"],E=x%100;return"["+x+(S[(E-20)%10]||S[E]||S[0])+"]"}},J=function(x,S,E){var I=String(x);return!I||I.length>=S?x:""+Array(S+1-I.length).join(E)+x},Ie={s:J,z:function(x){var S=-x.utcOffset(),E=Math.abs(S),I=Math.floor(E/60),M=E%60;return(S<=0?"+":"-")+J(I,2,"0")+":"+J(M,2,"0")},m:function x(S,E){if(S.date()<E.date())return-x(E,S);var I=12*(E.year()-S.year())+(E.month()-S.month()),M=S.clone().add(I,Ct),N=E-M<0,R=S.clone().add(I+(N?-1:1),Ct);return+(-(I+(E-M)/(N?M-R:R-M))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:Ct,y:Qt,w:ye,d:Kt,D:we,h:V,m:_t,s:ge,ms:rr,Q:ct}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},Ft="en",yt={};yt[Ft]=se;var jt="$isDayjsObject",Xe=function(x){return x instanceof Ln||!(!x||!x[jt])},Oe=function x(S,E,I){var M;if(!S)return Ft;if(typeof S=="string"){var N=S.toLowerCase();yt[N]&&(M=N),E&&(yt[N]=E,M=N);var R=S.split("-");if(!M&&R.length>1)return x(R[0])}else{var q=S.name;yt[q]=S,M=q}return!I&&M&&(Ft=M),M||!I&&Ft},nt=function(x,S){if(Xe(x))return x.clone();var E=typeof S=="object"?S:{};return E.date=x,E.args=arguments,new Ln(E)},B=Ie;B.l=Oe,B.i=Xe,B.w=function(x,S){return nt(x,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var Ln=function(){function x(E){this.$L=Oe(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[jt]=!0}var S=x.prototype;return S.parse=function(E){this.$d=function(I){var M=I.date,N=I.utc;if(M===null)return new Date(NaN);if(B.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var R=M.match(It);if(R){var q=R[2]-1||0,tt=(R[7]||"0").substring(0,3);return N?new Date(Date.UTC(R[1],q,R[3]||1,R[4]||0,R[5]||0,R[6]||0,tt)):new Date(R[1],q,R[3]||1,R[4]||0,R[5]||0,R[6]||0,tt)}}return new Date(M)}(E),this.init()},S.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},S.$utils=function(){return B},S.isValid=function(){return this.$d.toString()!==A},S.isSame=function(E,I){var M=nt(E);return this.startOf(I)<=M&&M<=this.endOf(I)},S.isAfter=function(E,I){return nt(E)<this.startOf(I)},S.isBefore=function(E,I){return this.endOf(I)<nt(E)},S.$g=function(E,I,M){return B.u(E)?this[I]:this.set(M,E)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(E,I){var M=this,N=!!B.u(I)||I,R=B.p(E),q=function(xt,X){var ue=B.w(M.$u?Date.UTC(M.$y,X,xt):new Date(M.$y,X,xt),M);return N?ue:ue.endOf(Kt)},tt=function(xt,X){return B.w(M.toDate()[xt].apply(M.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(X)),M)},st=this.$W,pt=this.$M,Yt=this.$D,Je="set"+(this.$u?"UTC":"");switch(R){case Qt:return N?q(1,0):q(31,11);case Ct:return N?q(1,pt):q(0,pt+1);case ye:var fn=this.$locale().weekStart||0,ut=(st<fn?st+7:st)-fn;return q(N?Yt-ut:Yt+(6-ut),pt);case Kt:case we:return tt(Je+"Hours",0);case V:return tt(Je+"Minutes",1);case _t:return tt(Je+"Seconds",2);case ge:return tt(Je+"Milliseconds",3);default:return this.clone()}},S.endOf=function(E){return this.startOf(E,!1)},S.$set=function(E,I){var M,N=B.p(E),R="set"+(this.$u?"UTC":""),q=(M={},M[Kt]=R+"Date",M[we]=R+"Date",M[Ct]=R+"Month",M[Qt]=R+"FullYear",M[V]=R+"Hours",M[_t]=R+"Minutes",M[ge]=R+"Seconds",M[rr]=R+"Milliseconds",M)[N],tt=N===Kt?this.$D+(I-this.$W):I;if(N===Ct||N===Qt){var st=this.clone().set(we,1);st.$d[q](tt),st.init(),this.$d=st.set(we,Math.min(this.$D,st.daysInMonth())).$d}else q&&this.$d[q](tt);return this.init(),this},S.set=function(E,I){return this.clone().$set(E,I)},S.get=function(E){return this[B.p(E)]()},S.add=function(E,I){var M,N=this;E=Number(E);var R=B.p(I),q=function(pt){var Yt=nt(N);return B.w(Yt.date(Yt.date()+Math.round(pt*E)),N)};if(R===Ct)return this.set(Ct,this.$M+E);if(R===Qt)return this.set(Qt,this.$y+E);if(R===Kt)return q(1);if(R===ye)return q(7);var tt=(M={},M[_t]=it,M[V]=nr,M[ge]=Jt,M)[R]||1,st=this.$d.getTime()+E*tt;return B.w(st,this)},S.subtract=function(E,I){return this.add(-1*E,I)},S.format=function(E){var I=this,M=this.$locale();if(!this.isValid())return M.invalidDate||A;var N=E||"YYYY-MM-DDTHH:mm:ssZ",R=B.z(this),q=this.$H,tt=this.$m,st=this.$M,pt=M.weekdays,Yt=M.months,Je=M.meridiem,fn=function(X,ue,te,Ke){return X&&(X[ue]||X(I,N))||te[ue].slice(0,Ke)},ut=function(X){return B.s(q%12||12,X,"0")},xt=Je||function(X,ue,te){var Ke=X<12?"AM":"PM";return te?Ke.toLowerCase():Ke};return N.replace(W,function(X,ue){return ue||function(te){switch(te){case"YY":return String(I.$y).slice(-2);case"YYYY":return B.s(I.$y,4,"0");case"M":return st+1;case"MM":return B.s(st+1,2,"0");case"MMM":return fn(M.monthsShort,st,Yt,3);case"MMMM":return fn(Yt,st);case"D":return I.$D;case"DD":return B.s(I.$D,2,"0");case"d":return String(I.$W);case"dd":return fn(M.weekdaysMin,I.$W,pt,2);case"ddd":return fn(M.weekdaysShort,I.$W,pt,3);case"dddd":return pt[I.$W];case"H":return String(q);case"HH":return B.s(q,2,"0");case"h":return ut(1);case"hh":return ut(2);case"a":return xt(q,tt,!0);case"A":return xt(q,tt,!1);case"m":return String(tt);case"mm":return B.s(tt,2,"0");case"s":return String(I.$s);case"ss":return B.s(I.$s,2,"0");case"SSS":return B.s(I.$ms,3,"0");case"Z":return R}return null}(X)||R.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(E,I,M){var N,R=this,q=B.p(I),tt=nt(E),st=(tt.utcOffset()-this.utcOffset())*it,pt=this-tt,Yt=function(){return B.m(R,tt)};switch(q){case Qt:N=Yt()/12;break;case Ct:N=Yt();break;case ct:N=Yt()/3;break;case ye:N=(pt-st)/6048e5;break;case Kt:N=(pt-st)/864e5;break;case V:N=pt/nr;break;case _t:N=pt/it;break;case ge:N=pt/Jt;break;default:N=pt}return M?N:B.a(N)},S.daysInMonth=function(){return this.endOf(Ct).$D},S.$locale=function(){return yt[this.$L]},S.locale=function(E,I){if(!E)return this.$L;var M=this.clone(),N=Oe(E,I,!0);return N&&(M.$L=N),M},S.clone=function(){return B.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},x}(),Ge=Ln.prototype;return nt.prototype=Ge,[["$ms",rr],["$s",ge],["$m",_t],["$H",V],["$W",Kt],["$M",Ct],["$y",Qt],["$D",we]].forEach(function(x){Ge[x[1]]=function(S){return this.$g(S,x[0],x[1])}}),nt.extend=function(x,S){return x.$i||(x(S,Ln,nt),x.$i=!0),nt},nt.locale=Oe,nt.isDayjs=Xe,nt.unix=function(x){return nt(1e3*x)},nt.en=yt[Ft],nt.Ls=yt,nt.p={},nt})},"./node_modules/dayjs/plugin/utc.js":function(qe){(function(Jt,it){qe.exports=it()})(this,function(){"use strict";var Jt="minute",it=/[+-]\d\d(?::?\d\d)?/g,nr=/([+-]|\d\d)/g;return function(rr,ge,_t){var V=ge.prototype;_t.utc=function(A){var It={date:A,utc:!0,args:arguments};return new ge(It)},V.utc=function(A){var It=_t(this.toDate(),{locale:this.$L,utc:!0});return A?It.add(this.utcOffset(),Jt):It},V.local=function(){return _t(this.toDate(),{locale:this.$L,utc:!1})};var Kt=V.parse;V.parse=function(A){A.utc&&(this.$u=!0),this.$utils().u(A.$offset)||(this.$offset=A.$offset),Kt.call(this,A)};var ye=V.init;V.init=function(){if(this.$u){var A=this.$d;this.$y=A.getUTCFullYear(),this.$M=A.getUTCMonth(),this.$D=A.getUTCDate(),this.$W=A.getUTCDay(),this.$H=A.getUTCHours(),this.$m=A.getUTCMinutes(),this.$s=A.getUTCSeconds(),this.$ms=A.getUTCMilliseconds()}else ye.call(this)};var Ct=V.utcOffset;V.utcOffset=function(A,It){var W=this.$utils().u;if(W(A))return this.$u?0:W(this.$offset)?Ct.call(this):this.$offset;if(typeof A=="string"&&(A=function(Ft){Ft===void 0&&(Ft="");var yt=Ft.match(it);if(!yt)return null;var jt=(""+yt[0]).match(nr)||["-",0,0],Xe=jt[0],Oe=60*+jt[1]+ +jt[2];return Oe===0?0:Xe==="+"?Oe:-Oe}(A),A===null))return this;var se=Math.abs(A)<=16?60*A:A,J=this;if(It)return J.$offset=se,J.$u=A===0,J;if(A!==0){var Ie=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(J=this.local().add(se+Ie,Jt)).$offset=se,J.$x.$localOffset=Ie}else J=this.utc();return J};var ct=V.format;V.format=function(A){var It=A||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return ct.call(this,It)},V.valueOf=function(){var A=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*A},V.isUTC=function(){return!!this.$u},V.toISOString=function(){return this.toDate().toISOString()},V.toString=function(){return this.toDate().toUTCString()};var Qt=V.toDate;V.toDate=function(A){return A==="s"&&this.$offset?_t(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():Qt.call(this)};var we=V.diff;V.diff=function(A,It,W){if(A&&this.$u===A.$u)return we.call(this,A,It,W);var se=this.local(),J=_t(A).local();return we.call(se,J,It,W)}}})}},hu={};function ta(qe){var Jt=hu[qe];if(Jt!==void 0)return Jt.exports;var it=hu[qe]={exports:{}};return Td[qe].call(it.exports,it,it.exports,ta),it.exports}(function(){"use strict";try{new Intl.NumberFormat("en",{style:"unit",unit:"minute"}).format(1)}catch{const t=Intl.NumberFormat;Intl.NumberFormat=function(e,n){return n.style==="unit"?{format(r){return` ${r} ${n.unit}`}}:t(e,n)}}var qe=function(t,e,n,r,o){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?o.call(t,n):o?o.value=n:e.set(t,n),n},Jt=function(t,e,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(t):r?r.value:e.get(t)},it;class nr{formatToParts(e){const n=[];for(const r of e)n.push({type:"element",value:r}),n.push({type:"literal",value:", "});return n.slice(0,-1)}}const rr=typeof Intl<"u"&&Intl.ListFormat||nr,ge=[["years","year"],["months","month"],["weeks","week"],["days","day"],["hours","hour"],["minutes","minute"],["seconds","second"],["milliseconds","millisecond"]],_t={minimumIntegerDigits:2};class V{constructor(e,n={}){it.set(this,void 0);let r=String(n.style||"short");r!=="long"&&r!=="short"&&r!=="narrow"&&r!=="digital"&&(r="short");let o=r==="digital"?"numeric":r;const i=n.hours||o;o=i==="2-digit"?"numeric":i;const a=n.minutes||o;o=a==="2-digit"?"numeric":a;const s=n.seconds||o;o=s==="2-digit"?"numeric":s;const u=n.milliseconds||o;qe(this,it,{locale:e,style:r,years:n.years||r==="digital"?"short":r,yearsDisplay:n.yearsDisplay==="always"?"always":"auto",months:n.months||r==="digital"?"short":r,monthsDisplay:n.monthsDisplay==="always"?"always":"auto",weeks:n.weeks||r==="digital"?"short":r,weeksDisplay:n.weeksDisplay==="always"?"always":"auto",days:n.days||r==="digital"?"short":r,daysDisplay:n.daysDisplay==="always"?"always":"auto",hours:i,hoursDisplay:n.hoursDisplay==="always"||r==="digital"?"always":"auto",minutes:a,minutesDisplay:n.minutesDisplay==="always"||r==="digital"?"always":"auto",seconds:s,secondsDisplay:n.secondsDisplay==="always"||r==="digital"?"always":"auto",milliseconds:u,millisecondsDisplay:n.millisecondsDisplay==="always"?"always":"auto"},"f")}resolvedOptions(){return Jt(this,it,"f")}formatToParts(e){const n=[],r=Jt(this,it,"f"),o=r.style,i=r.locale;for(const[a,s]of ge){const u=e[a];if(r[`${a}Display`]==="auto"&&!u)continue;const c=r[a],f=c==="2-digit"?_t:c==="numeric"?{}:{style:"unit",unit:s,unitDisplay:c};n.push(new Intl.NumberFormat(i,f).format(u))}return new rr(i,{type:"unit",style:o==="digital"?"short":o}).formatToParts(n)}format(e){return this.formatToParts(e).map(n=>n.value).join("")}}it=new WeakMap;const Kt=/^[-+]?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/,ye=["year","month","week","day","hour","minute","second","millisecond"],Ct=t=>Kt.test(t);class ct{constructor(e=0,n=0,r=0,o=0,i=0,a=0,s=0,u=0){this.years=e,this.months=n,this.weeks=r,this.days=o,this.hours=i,this.minutes=a,this.seconds=s,this.milliseconds=u,this.years||(this.years=0),this.sign||(this.sign=Math.sign(this.years)),this.months||(this.months=0),this.sign||(this.sign=Math.sign(this.months)),this.weeks||(this.weeks=0),this.sign||(this.sign=Math.sign(this.weeks)),this.days||(this.days=0),this.sign||(this.sign=Math.sign(this.days)),this.hours||(this.hours=0),this.sign||(this.sign=Math.sign(this.hours)),this.minutes||(this.minutes=0),this.sign||(this.sign=Math.sign(this.minutes)),this.seconds||(this.seconds=0),this.sign||(this.sign=Math.sign(this.seconds)),this.milliseconds||(this.milliseconds=0),this.sign||(this.sign=Math.sign(this.milliseconds)),this.blank=this.sign===0}abs(){return new ct(Math.abs(this.years),Math.abs(this.months),Math.abs(this.weeks),Math.abs(this.days),Math.abs(this.hours),Math.abs(this.minutes),Math.abs(this.seconds),Math.abs(this.milliseconds))}static from(e){var n;if(typeof e=="string"){const r=String(e).trim(),o=r.startsWith("-")?-1:1,i=(n=r.match(Kt))===null||n===void 0?void 0:n.slice(1).map(a=>(Number(a)||0)*o);return i?new ct(...i):new ct}else if(typeof e=="object"){const{years:r,months:o,weeks:i,days:a,hours:s,minutes:u,seconds:c,milliseconds:f}=e;return new ct(r,o,i,a,s,u,c,f)}throw new RangeError("invalid duration")}static compare(e,n){const r=Date.now(),o=Math.abs(Qt(r,ct.from(e)).getTime()-r),i=Math.abs(Qt(r,ct.from(n)).getTime()-r);return o>i?-1:o<i?1:0}toLocaleString(e,n){return new V(e,n).format(this)}}function Qt(t,e){const n=new Date(t);return n.setFullYear(n.getFullYear()+e.years),n.setMonth(n.getMonth()+e.months),n.setDate(n.getDate()+e.weeks*7+e.days),n.setHours(n.getHours()+e.hours),n.setMinutes(n.getMinutes()+e.minutes),n.setSeconds(n.getSeconds()+e.seconds),n}function we(t,e="second",n=Date.now()){const r=t.getTime()-n;if(r===0)return new ct;const o=Math.sign(r),i=Math.abs(r),a=Math.floor(i/1e3),s=Math.floor(a/60),u=Math.floor(s/60),c=Math.floor(u/24),f=Math.floor(c/30),d=Math.floor(f/12),p=ye.indexOf(e)||ye.length;return new ct(p>=0?d*o:0,p>=1?(f-d*12)*o:0,0,p>=3?(c-f*30)*o:0,p>=4?(u-c*24)*o:0,p>=5?(s-u*60)*o:0,p>=6?(a-s*60)*o:0,p>=7?(i-a*1e3)*o:0)}function A(t,{relativeTo:e=Date.now()}={}){if(e=new Date(e),t.blank)return t;const n=t.sign;let r=Math.abs(t.years),o=Math.abs(t.months),i=Math.abs(t.weeks),a=Math.abs(t.days),s=Math.abs(t.hours),u=Math.abs(t.minutes),c=Math.abs(t.seconds),f=Math.abs(t.milliseconds);f>=900&&(c+=Math.round(f/1e3)),(c||u||s||a||i||o||r)&&(f=0),c>=55&&(u+=Math.round(c/60)),(u||s||a||i||o||r)&&(c=0),u>=55&&(s+=Math.round(u/60)),(s||a||i||o||r)&&(u=0),a&&s>=12&&(a+=Math.round(s/24)),!a&&s>=21&&(a+=Math.round(s/24)),(a||i||o||r)&&(s=0);const d=e.getFullYear(),p=e.getMonth(),h=e.getDate();if(a>=27||r+o+a){const v=new Date(e);v.setDate(1),v.setMonth(p+o*n+1),v.setDate(0);const m=Math.max(0,h-v.getDate()),g=new Date(e);g.setFullYear(d+r*n),g.setDate(h-m),g.setMonth(p+o*n),g.setDate(h-m+a*n);const y=g.getFullYear()-e.getFullYear(),O=g.getMonth()-e.getMonth(),D=Math.abs(Math.round((Number(g)-Number(e))/864e5))+m,l=Math.abs(y*12+O);D<27?(a>=6?(i+=Math.round(a/7),a=0):a=D,o=r=0):l<11?(o=l,r=0):(o=0,r=y*n),(o||r)&&(a=0)}return r&&(o=0),i>=4&&(o+=Math.round(i/4)),(o||r)&&(i=0),a&&i&&!o&&!r&&(i+=Math.round(a/7),a=0),new ct(r*n,o*n,i*n,a*n,s*n,u*n,c*n,f*n)}function It(t,e){const n=A(t,e);if(n.blank)return[0,"second"];for(const r of ye){if(r==="millisecond")continue;const o=n[`${r}s`];if(o)return[o,r]}return[0,"second"]}var W=function(t,e,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(t):r?r.value:e.get(t)},se=function(t,e,n,r,o){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?o.call(t,n):o?o.value=n:e.set(t,n),n},J,Ie,Ft,yt,jt,Xe,Oe,nt,B,Ln,Ge;const x=globalThis.HTMLElement||null,S=new ct,E=new ct(0,0,0,0,0,1);class I extends Event{constructor(e,n,r,o){super("relative-time-updated",{bubbles:!0,composed:!0}),this.oldText=e,this.newText=n,this.oldTitle=r,this.newTitle=o}}function M(t){if(!t.date)return 1/0;if(t.format==="duration"||t.format==="elapsed"){const n=t.precision;if(n==="second")return 1e3;if(n==="minute")return 60*1e3}const e=Math.abs(Date.now()-t.date.getTime());return e<60*1e3?1e3:e<60*60*1e3?60*1e3:60*60*1e3}const N=new class{constructor(){this.elements=new Set,this.time=1/0,this.timer=-1}observe(t){if(this.elements.has(t))return;this.elements.add(t);const e=t.date;if(e&&e.getTime()){const n=M(t),r=Date.now()+n;r<this.time&&(clearTimeout(this.timer),this.timer=setTimeout(()=>this.update(),n),this.time=r)}}unobserve(t){this.elements.has(t)&&this.elements.delete(t)}update(){if(clearTimeout(this.timer),!this.elements.size)return;let t=1/0;for(const e of this.elements)t=Math.min(t,M(e)),e.update();this.time=Math.min(60*60*1e3,t),this.timer=setTimeout(()=>this.update(),this.time),this.time+=Date.now()}};class R extends x{constructor(){super(...arguments),J.add(this),Ie.set(this,!1),Ft.set(this,!1),jt.set(this,this.shadowRoot?this.shadowRoot:this.attachShadow?this.attachShadow({mode:"open"}):this),Ge.set(this,null)}static define(e="relative-time",n=customElements){return n.define(e,this),this}static get observedAttributes(){return["second","minute","hour","weekday","day","month","year","time-zone-name","prefix","threshold","tense","precision","format","format-style","no-title","datetime","lang","title"]}get onRelativeTimeUpdated(){return W(this,Ge,"f")}set onRelativeTimeUpdated(e){W(this,Ge,"f")&&this.removeEventListener("relative-time-updated",W(this,Ge,"f")),se(this,Ge,typeof e=="object"||typeof e=="function"?e:null,"f"),typeof e=="function"&&this.addEventListener("relative-time-updated",e)}get second(){const e=this.getAttribute("second");if(e==="numeric"||e==="2-digit")return e}set second(e){this.setAttribute("second",e||"")}get minute(){const e=this.getAttribute("minute");if(e==="numeric"||e==="2-digit")return e}set minute(e){this.setAttribute("minute",e||"")}get hour(){const e=this.getAttribute("hour");if(e==="numeric"||e==="2-digit")return e}set hour(e){this.setAttribute("hour",e||"")}get weekday(){const e=this.getAttribute("weekday");if(e==="long"||e==="short"||e==="narrow")return e;if(this.format==="datetime"&&e!=="")return this.formatStyle}set weekday(e){this.setAttribute("weekday",e||"")}get day(){var e;const n=(e=this.getAttribute("day"))!==null&&e!==void 0?e:"numeric";if(n==="numeric"||n==="2-digit")return n}set day(e){this.setAttribute("day",e||"")}get month(){const e=this.format;let n=this.getAttribute("month");if(n!==""&&(n??(n=e==="datetime"?this.formatStyle:"short"),n==="numeric"||n==="2-digit"||n==="short"||n==="long"||n==="narrow"))return n}set month(e){this.setAttribute("month",e||"")}get year(){var e;const n=this.getAttribute("year");if(n==="numeric"||n==="2-digit")return n;if(!this.hasAttribute("year")&&new Date().getUTCFullYear()!==((e=this.date)===null||e===void 0?void 0:e.getUTCFullYear()))return"numeric"}set year(e){this.setAttribute("year",e||"")}get timeZoneName(){const e=this.getAttribute("time-zone-name");if(e==="long"||e==="short"||e==="shortOffset"||e==="longOffset"||e==="shortGeneric"||e==="longGeneric")return e}set timeZoneName(e){this.setAttribute("time-zone-name",e||"")}get prefix(){var e;return(e=this.getAttribute("prefix"))!==null&&e!==void 0?e:this.format==="datetime"?"":"on"}set prefix(e){this.setAttribute("prefix",e)}get threshold(){const e=this.getAttribute("threshold");return e&&Ct(e)?e:"P30D"}set threshold(e){this.setAttribute("threshold",e)}get tense(){const e=this.getAttribute("tense");return e==="past"?"past":e==="future"?"future":"auto"}set tense(e){this.setAttribute("tense",e)}get precision(){const e=this.getAttribute("precision");return ye.includes(e)?e:this.format==="micro"?"minute":"second"}set precision(e){this.setAttribute("precision",e)}get format(){const e=this.getAttribute("format");return e==="datetime"?"datetime":e==="relative"?"relative":e==="duration"?"duration":e==="micro"?"micro":e==="elapsed"?"elapsed":"auto"}set format(e){this.setAttribute("format",e)}get formatStyle(){const e=this.getAttribute("format-style");if(e==="long")return"long";if(e==="short")return"short";if(e==="narrow")return"narrow";const n=this.format;return n==="elapsed"||n==="micro"?"narrow":n==="datetime"?"short":"long"}set formatStyle(e){this.setAttribute("format-style",e)}get noTitle(){return this.hasAttribute("no-title")}set noTitle(e){this.toggleAttribute("no-title",e)}get datetime(){return this.getAttribute("datetime")||""}set datetime(e){this.setAttribute("datetime",e)}get date(){const e=Date.parse(this.datetime);return Number.isNaN(e)?null:new Date(e)}set date(e){this.datetime=e?.toISOString()||""}connectedCallback(){this.update()}disconnectedCallback(){N.unobserve(this)}attributeChangedCallback(e,n,r){n!==r&&(e==="title"&&se(this,Ie,r!==null&&(this.date&&W(this,J,"m",Xe).call(this,this.date))!==r,"f"),!W(this,Ft,"f")&&!(e==="title"&&W(this,Ie,"f"))&&se(this,Ft,(async()=>{await Promise.resolve(),this.update()})(),"f"))}update(){const e=W(this,jt,"f").textContent||this.textContent||"",n=this.getAttribute("title")||"";let r=n;const o=this.date;if(typeof Intl>"u"||!Intl.DateTimeFormat||!o){W(this,jt,"f").textContent=e;return}const i=Date.now();W(this,Ie,"f")||(r=W(this,J,"m",Xe).call(this,o)||"",r&&!this.noTitle&&this.setAttribute("title",r));const a=we(o,this.precision,i),s=W(this,J,"m",Oe).call(this,a);let u=e;s==="duration"?u=W(this,J,"m",nt).call(this,a):s==="relative"?u=W(this,J,"m",B).call(this,a):u=W(this,J,"m",Ln).call(this,o),u?W(this,jt,"f").textContent=u:this.shadowRoot===W(this,jt,"f")&&this.textContent&&(W(this,jt,"f").textContent=this.textContent),(u!==e||r!==n)&&this.dispatchEvent(new I(e,u,n,r)),s==="relative"||s==="duration"?N.observe(this):N.unobserve(this),se(this,Ft,!1,"f")}}Ie=new WeakMap,Ft=new WeakMap,jt=new WeakMap,Ge=new WeakMap,J=new WeakSet,yt=function(){var e;return((e=this.closest("[lang]"))===null||e===void 0?void 0:e.getAttribute("lang"))||this.ownerDocument.documentElement.getAttribute("lang")||"default"},Xe=function(e){return new Intl.DateTimeFormat(W(this,J,"a",yt),{day:"numeric",month:"short",year:"numeric",hour:"numeric",minute:"2-digit",timeZoneName:"short"}).format(e)},Oe=function(e){const n=this.format;if(n==="datetime")return"datetime";if(n==="duration"||n==="elapsed"||n==="micro")return"duration";if((n==="auto"||n==="relative")&&typeof Intl<"u"&&Intl.RelativeTimeFormat){const r=this.tense;if(r==="past"||r==="future"||ct.compare(e,this.threshold)===1)return"relative"}return"datetime"},nt=function(e){const n=W(this,J,"a",yt),r=this.format,o=this.formatStyle,i=this.tense;let a=S;r==="micro"?(e=A(e),a=E,(this.tense==="past"&&e.sign!==-1||this.tense==="future"&&e.sign!==1)&&(e=E)):(i==="past"&&e.sign!==-1||i==="future"&&e.sign!==1)&&(e=a);const s=`${this.precision}sDisplay`;return e.blank?a.toLocaleString(n,{style:o,[s]:"always"}):e.abs().toLocaleString(n,{style:o})},B=function(e){const n=new Intl.RelativeTimeFormat(W(this,J,"a",yt),{numeric:"auto",style:this.formatStyle}),r=this.tense;r==="future"&&e.sign!==1&&(e=S),r==="past"&&e.sign!==-1&&(e=S);const[o,i]=It(e);return i==="second"&&o<10?n.format(0,this.precision==="millisecond"?"second":this.precision):n.format(o,i)},Ln=function(e){const n=new Intl.DateTimeFormat(W(this,J,"a",yt),{second:this.second,minute:this.minute,hour:this.hour,weekday:this.weekday,day:this.day,month:this.month,year:this.year,timeZoneName:this.timeZoneName});return`${this.prefix} ${n.format(e)}`.trim()};var q=null;const tt=typeof globalThis<"u"?globalThis:window;try{tt.RelativeTimeElement=R.define()}catch(t){if(!(tt.DOMException&&t instanceof DOMException&&t.name==="NotSupportedError")&&!(t instanceof ReferenceError))throw t}var st=null,pt=null;function Yt(t){try{if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")){const{origin:e,protocol:n,hostname:r,port:o}=window.location,i=new URL(t,e);return i.protocol=n,i.hostname=r,i.port=o||(n==="https:"?"443":"80"),i.toString()}}catch{}return t}window.customElements.define("origin-url",class extends HTMLElement{connectedCallback(){this.textContent=Yt(this.getAttribute("data-url"))}});function Je(t,e,n){var r=n||{},o=r.noTrailing,i=o===void 0?!1:o,a=r.noLeading,s=a===void 0?!1:a,u=r.debounceMode,c=u===void 0?void 0:u,f,d=!1,p=0;function h(){f&&clearTimeout(f)}function v(g){var y=g||{},O=y.upcomingOnly,D=O===void 0?!1:O;h(),d=!D}function m(){for(var g=arguments.length,y=new Array(g),O=0;O<g;O++)y[O]=arguments[O];var D=this,l=Date.now()-p;if(d)return;function T(){p=Date.now(),e.apply(D,y)}function b(){f=void 0}!s&&c&&!f&&T(),h(),c===void 0&&l>t?s?(p=Date.now(),i||(f=setTimeout(c?b:T,t))):T():i!==!0&&(f=setTimeout(c?b:T,c===void 0?t-l:t))}return m.cancel=v,m}function fn(t,e,n){var r=n||{},o=r.atBegin,i=o===void 0?!1:o;return Je(t,e,{debounceMode:i!==!1})}function ut(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function xt(t){var e=ut(t).Element;return t instanceof e||t instanceof Element}function X(t){var e=ut(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function ue(t){if(typeof ShadowRoot>"u")return!1;var e=ut(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}var te=Math.max,Ke=Math.min,or=Math.round;function ea(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function mu(){return!/^((?!chrome|android).)*safari/i.test(ea())}function ir(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&X(t)&&(o=t.offsetWidth>0&&or(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&or(r.height)/t.offsetHeight||1);var a=xt(t)?ut(t):window,s=a.visualViewport,u=!mu()&&n,c=(r.left+(u&&s?s.offsetLeft:0))/o,f=(r.top+(u&&s?s.offsetTop:0))/i,d=r.width/o,p=r.height/i;return{width:d,height:p,top:f,right:c+d,bottom:f+p,left:c,x:c,y:f}}function na(t){var e=ut(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Dd(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Ed(t){return t===ut(t)||!X(t)?na(t):Dd(t)}function Fe(t){return t?(t.nodeName||"").toLowerCase():null}function ln(t){return((xt(t)?t.ownerDocument:t.document)||window.document).documentElement}function ra(t){return ir(ln(t)).left+na(t).scrollLeft}function Qe(t){return ut(t).getComputedStyle(t)}function oa(t){var e=Qe(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Md(t){var e=t.getBoundingClientRect(),n=or(e.width)/t.offsetWidth||1,r=or(e.height)/t.offsetHeight||1;return n!==1||r!==1}function Sd(t,e,n){n===void 0&&(n=!1);var r=X(e),o=X(e)&&Md(e),i=ln(e),a=ir(t,o,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Fe(e)!=="body"||oa(i))&&(s=Ed(e)),X(e)?(u=ir(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=ra(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function ia(t){var e=ir(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function So(t){return Fe(t)==="html"?t:t.assignedSlot||t.parentNode||(ue(t)?t.host:null)||ln(t)}function vu(t){return["html","body","#document"].indexOf(Fe(t))>=0?t.ownerDocument.body:X(t)&&oa(t)?t:vu(So(t))}function _r(t,e){var n;e===void 0&&(e=[]);var r=vu(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=ut(r),a=o?[i].concat(i.visualViewport||[],oa(r)?r:[]):r,s=e.concat(a);return o?s:s.concat(_r(So(a)))}function Cd(t){return["table","td","th"].indexOf(Fe(t))>=0}function gu(t){return!X(t)||Qe(t).position==="fixed"?null:t.offsetParent}function Id(t){var e=/firefox/i.test(ea()),n=/Trident/i.test(ea());if(n&&X(t)){var r=Qe(t);if(r.position==="fixed")return null}var o=So(t);for(ue(o)&&(o=o.host);X(o)&&["html","body"].indexOf(Fe(o))<0;){var i=Qe(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function jr(t){for(var e=ut(t),n=gu(t);n&&Cd(n)&&Qe(n).position==="static";)n=gu(n);return n&&(Fe(n)==="html"||Fe(n)==="body"&&Qe(n).position==="static")?e:n||Id(t)||e}var Bt="top",ce="bottom",fe="right",Ut="left",aa="auto",Yr=[Bt,ce,fe,Ut],ar="start",Br="end",Fd="clippingParents",yu="viewport",Ur="popper",xd="reference",wu=Yr.reduce(function(t,e){return t.concat([e+"-"+ar,e+"-"+Br])},[]),bu=[].concat(Yr,[aa]).reduce(function(t,e){return t.concat([e,e+"-"+ar,e+"-"+Br])},[]),Pd="beforeRead",Ad="read",Nd="afterRead",Rd="beforeMain",$d="main",Ld="afterMain",kd="beforeWrite",_d="write",jd="afterWrite",Yd=[Pd,Ad,Nd,Rd,$d,Ld,kd,_d,jd];function Bd(t){var e=new Map,n=new Set,r=[];t.forEach(function(i){e.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var u=e.get(s);u&&o(u)}}),r.push(i)}return t.forEach(function(i){n.has(i.name)||o(i)}),r}function Ud(t){var e=Bd(t);return Yd.reduce(function(n,r){return n.concat(e.filter(function(o){return o.phase===r}))},[])}function Hd(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Wd(t){var e=t.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Ou={placement:"bottom",modifiers:[],strategy:"absolute"};function Tu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Zd(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,o=e.defaultOptions,i=o===void 0?Ou:o;return function(s,u,c){c===void 0&&(c=i);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ou,i),modifiersData:{},elements:{reference:s,popper:u},attributes:{},styles:{}},d=[],p=!1,h={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;m(),f.options=Object.assign({},i,f.options,O),f.scrollParents={reference:xt(s)?_r(s):s.contextElement?_r(s.contextElement):[],popper:_r(u)};var D=Ud(Wd([].concat(r,f.options.modifiers)));return f.orderedModifiers=D.filter(function(l){return l.enabled}),v(),h.update()},forceUpdate:function(){if(!p){var y=f.elements,O=y.reference,D=y.popper;if(Tu(O,D)){f.rects={reference:Sd(O,jr(D),f.options.strategy==="fixed"),popper:ia(D)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(H){return f.modifiersData[H.name]=Object.assign({},H.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var T=f.orderedModifiers[l],b=T.fn,F=T.options,$=F===void 0?{}:F,L=T.name;typeof b=="function"&&(f=b({state:f,options:$,name:L,instance:h})||f)}}}},update:Hd(function(){return new Promise(function(g){h.forceUpdate(),g(f)})}),destroy:function(){m(),p=!0}};if(!Tu(s,u))return h;h.setOptions(c).then(function(g){!p&&c.onFirstUpdate&&c.onFirstUpdate(g)});function v(){f.orderedModifiers.forEach(function(g){var y=g.name,O=g.options,D=O===void 0?{}:O,l=g.effect;if(typeof l=="function"){var T=l({state:f,name:y,instance:h,options:D}),b=function(){};d.push(T||b)}})}function m(){d.forEach(function(g){return g()}),d=[]}return h}}var Xy=null,Co={passive:!0};function zd(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,u=ut(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&c.forEach(function(f){f.addEventListener("scroll",n.update,Co)}),s&&u.addEventListener("resize",n.update,Co),function(){i&&c.forEach(function(f){f.removeEventListener("scroll",n.update,Co)}),s&&u.removeEventListener("resize",n.update,Co)}}var Vd={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:zd,data:{}};function xe(t){return t.split("-")[0]}function sr(t){return t.split("-")[1]}function sa(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Du(t){var e=t.reference,n=t.element,r=t.placement,o=r?xe(r):null,i=r?sr(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,u;switch(o){case Bt:u={x:a,y:e.y-n.height};break;case ce:u={x:a,y:e.y+e.height};break;case fe:u={x:e.x+e.width,y:s};break;case Ut:u={x:e.x-n.width,y:s};break;default:u={x:e.x,y:e.y}}var c=o?sa(o):null;if(c!=null){var f=c==="y"?"height":"width";switch(i){case ar:u[c]=u[c]-(e[f]/2-n[f]/2);break;case Br:u[c]=u[c]+(e[f]/2-n[f]/2);break;default:}}return u}function qd(t){var e=t.state,n=t.name;e.modifiersData[n]=Du({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var Xd={name:"popperOffsets",enabled:!0,phase:"read",fn:qd,data:{}},Gd={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jd(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:or(n*o)/o||0,y:or(r*o)/o||0}}function Eu(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,s=t.position,u=t.gpuAcceleration,c=t.adaptive,f=t.roundOffsets,d=t.isFixed,p=a.x,h=p===void 0?0:p,v=a.y,m=v===void 0?0:v,g=typeof f=="function"?f({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var y=a.hasOwnProperty("x"),O=a.hasOwnProperty("y"),D=Ut,l=Bt,T=window;if(c){var b=jr(n),F="clientHeight",$="clientWidth";if(b===ut(n)&&(b=ln(n),Qe(b).position!=="static"&&s==="absolute"&&(F="scrollHeight",$="scrollWidth")),b=b,o===Bt||(o===Ut||o===fe)&&i===Br){l=ce;var L=d&&b===T&&T.visualViewport?T.visualViewport.height:b[F];m-=L-r.height,m*=u?1:-1}if(o===Ut||(o===Bt||o===ce)&&i===Br){D=fe;var H=d&&b===T&&T.visualViewport?T.visualViewport.width:b[$];h-=H-r.width,h*=u?1:-1}}var z=Object.assign({position:s},c&&Gd),G=f===!0?Jd({x:h,y:m},ut(n)):{x:h,y:m};if(h=G.x,m=G.y,u){var j;return Object.assign({},z,(j={},j[l]=O?"0":"",j[D]=y?"0":"",j.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",j))}return Object.assign({},z,(e={},e[l]=O?m+"px":"",e[D]=y?h+"px":"",e.transform="",e))}function Kd(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,u=s===void 0?!0:s,c={placement:xe(e.placement),variation:sr(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Eu(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Eu(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var Qd={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Kd,data:{}};function tp(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},o=e.attributes[n]||{},i=e.elements[n];!X(i)||!Fe(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function ep(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(u,c){return u[c]="",u},{});!X(o)||!Fe(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(u){o.removeAttribute(u)}))})}}var Mu={name:"applyStyles",enabled:!0,phase:"write",fn:tp,effect:ep,requires:["computeStyles"]};function np(t,e,n){var r=xe(t),o=[Ut,Bt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Ut,fe].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function rp(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=o===void 0?[0,0]:o,a=bu.reduce(function(f,d){return f[d]=np(d,e.rects,i),f},{}),s=a[e.placement],u=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}var op={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rp},ip={left:"right",right:"left",bottom:"top",top:"bottom"};function Io(t){return t.replace(/left|right|bottom|top/g,function(e){return ip[e]})}var ap={start:"end",end:"start"};function Su(t){return t.replace(/start|end/g,function(e){return ap[e]})}function sp(t,e){var n=ut(t),r=ln(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;var c=mu();(c||!c&&e==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s+ra(t),y:u}}function up(t){var e,n=ln(t),r=na(t),o=(e=t.ownerDocument)==null?void 0:e.body,i=te(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=te(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ra(t),u=-r.scrollTop;return Qe(o||n).direction==="rtl"&&(s+=te(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}function Cu(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ue(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ua(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function cp(t,e){var n=ir(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Iu(t,e,n){return e===yu?ua(sp(t,n)):xt(e)?cp(e,n):ua(up(ln(t)))}function fp(t){var e=_r(So(t)),n=["absolute","fixed"].indexOf(Qe(t).position)>=0,r=n&&X(t)?jr(t):t;return xt(r)?e.filter(function(o){return xt(o)&&Cu(o,r)&&Fe(o)!=="body"}):[]}function lp(t,e,n,r){var o=e==="clippingParents"?fp(t):[].concat(e),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(u,c){var f=Iu(t,c,r);return u.top=te(f.top,u.top),u.right=Ke(f.right,u.right),u.bottom=Ke(f.bottom,u.bottom),u.left=te(f.left,u.left),u},Iu(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Fu(){return{top:0,right:0,bottom:0,left:0}}function xu(t){return Object.assign({},Fu(),t)}function Pu(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}function Hr(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=r===void 0?t.placement:r,i=n.strategy,a=i===void 0?t.strategy:i,s=n.boundary,u=s===void 0?Fd:s,c=n.rootBoundary,f=c===void 0?yu:c,d=n.elementContext,p=d===void 0?Ur:d,h=n.altBoundary,v=h===void 0?!1:h,m=n.padding,g=m===void 0?0:m,y=xu(typeof g!="number"?g:Pu(g,Yr)),O=p===Ur?xd:Ur,D=t.rects.popper,l=t.elements[v?O:p],T=lp(xt(l)?l:l.contextElement||ln(t.elements.popper),u,f,a),b=ir(t.elements.reference),F=Du({reference:b,element:D,strategy:"absolute",placement:o}),$=ua(Object.assign({},D,F)),L=p===Ur?$:b,H={top:T.top-L.top+y.top,bottom:L.bottom-T.bottom+y.bottom,left:T.left-L.left+y.left,right:L.right-T.right+y.right},z=t.modifiersData.offset;if(p===Ur&&z){var G=z[o];Object.keys(H).forEach(function(j){var Et=[fe,ce].indexOf(j)>=0?1:-1,ae=[Bt,ce].indexOf(j)>=0?"y":"x";H[j]+=G[ae]*Et})}return H}function dp(t,e){e===void 0&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?bu:u,f=sr(r),d=f?s?wu:wu.filter(function(v){return sr(v)===f}):Yr,p=d.filter(function(v){return c.indexOf(v)>=0});p.length===0&&(p=d);var h=p.reduce(function(v,m){return v[m]=Hr(t,{placement:m,boundary:o,rootBoundary:i,padding:a})[xe(m)],v},{});return Object.keys(h).sort(function(v,m){return h[v]-h[m]})}function pp(t){if(xe(t)===aa)return[];var e=Io(t);return[Su(t),e,Su(e)]}function hp(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,u=n.fallbackPlacements,c=n.padding,f=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,m=n.allowedAutoPlacements,g=e.options.placement,y=xe(g),O=y===g,D=u||(O||!v?[Io(g)]:pp(g)),l=[g].concat(D).reduce(function(an,Ce){return an.concat(xe(Ce)===aa?dp(e,{placement:Ce,boundary:f,rootBoundary:d,padding:c,flipVariations:v,allowedAutoPlacements:m}):Ce)},[]),T=e.rects.reference,b=e.rects.popper,F=new Map,$=!0,L=l[0],H=0;H<l.length;H++){var z=l[H],G=xe(z),j=sr(z)===ar,Et=[Bt,ce].indexOf(G)>=0,ae=Et?"width":"height",Mt=Hr(e,{placement:z,boundary:f,rootBoundary:d,altBoundary:p,padding:c}),St=Et?j?fe:Ut:j?ce:Bt;T[ae]>b[ae]&&(St=Io(St));var gt=Io(St),Ze=[];if(i&&Ze.push(Mt[G]<=0),s&&Ze.push(Mt[St]<=0,Mt[gt]<=0),Ze.every(function(an){return an})){L=z,$=!1;break}F.set(z,Ze)}if($)for(var ze=v?3:1,Kn=function(Ce){var sn=l.find(function(Nr){var un=F.get(Nr);if(un)return un.slice(0,Ce).every(function(Rr){return Rr})});if(sn)return L=sn,"break"},Ve=ze;Ve>0;Ve--){var Qn=Kn(Ve);if(Qn==="break")break}e.placement!==L&&(e.modifiersData[r]._skip=!0,e.placement=L,e.reset=!0)}}var mp={name:"flip",enabled:!0,phase:"main",fn:hp,requiresIfExists:["offset"],data:{_skip:!1}};function vp(t){return t==="x"?"y":"x"}function Wr(t,e,n){return te(t,Ke(e,n))}function gp(t,e,n){var r=Wr(t,e,n);return r>n?n:r}function yp(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,d=n.padding,p=n.tether,h=p===void 0?!0:p,v=n.tetherOffset,m=v===void 0?0:v,g=Hr(e,{boundary:u,rootBoundary:c,padding:d,altBoundary:f}),y=xe(e.placement),O=sr(e.placement),D=!O,l=sa(y),T=vp(l),b=e.modifiersData.popperOffsets,F=e.rects.reference,$=e.rects.popper,L=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,H=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,G={x:0,y:0};if(b){if(i){var j,Et=l==="y"?Bt:Ut,ae=l==="y"?ce:fe,Mt=l==="y"?"height":"width",St=b[l],gt=St+g[Et],Ze=St-g[ae],ze=h?-$[Mt]/2:0,Kn=O===ar?F[Mt]:$[Mt],Ve=O===ar?-$[Mt]:-F[Mt],Qn=e.elements.arrow,an=h&&Qn?ia(Qn):{width:0,height:0},Ce=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Fu(),sn=Ce[Et],Nr=Ce[ae],un=Wr(0,F[Mt],an[Mt]),Rr=D?F[Mt]/2-ze-un-sn-H.mainAxis:Kn-un-sn-H.mainAxis,Rn=D?-F[Mt]/2+ze+un+Nr+H.mainAxis:Ve+un+Nr+H.mainAxis,$r=e.elements.arrow&&jr(e.elements.arrow),Hi=$r?l==="y"?$r.clientTop||0:$r.clientLeft||0:0,Oo=(j=z?.[l])!=null?j:0,Wi=St+Rr-Oo-Hi,Zi=St+Rn-Oo,To=Wr(h?Ke(gt,Wi):gt,St,h?te(Ze,Zi):Ze);b[l]=To,G[l]=To-St}if(s){var Do,zi=l==="x"?Bt:Ut,Vi=l==="x"?ce:fe,cn=b[T],$n=T==="y"?"height":"width",Eo=cn+g[zi],tr=cn-g[Vi],Mo=[Bt,Ut].indexOf(y)!==-1,qi=(Do=z?.[T])!=null?Do:0,Xi=Mo?Eo:cn-F[$n]-$[$n]-qi+H.altAxis,Gi=Mo?cn+F[$n]+$[$n]-qi-H.altAxis:tr,Ji=h&&Mo?gp(Xi,cn,Gi):Wr(h?Xi:Eo,cn,h?Gi:tr);b[T]=Ji,G[T]=Ji-cn}e.modifiersData[r]=G}}var wp={name:"preventOverflow",enabled:!0,phase:"main",fn:yp,requiresIfExists:["offset"]},bp=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,xu(typeof e!="number"?e:Pu(e,Yr))};function Op(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=xe(n.placement),u=sa(s),c=[Ut,fe].indexOf(s)>=0,f=c?"height":"width";if(!(!i||!a)){var d=bp(o.padding,n),p=ia(i),h=u==="y"?Bt:Ut,v=u==="y"?ce:fe,m=n.rects.reference[f]+n.rects.reference[u]-a[u]-n.rects.popper[f],g=a[u]-n.rects.reference[u],y=jr(i),O=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,D=m/2-g/2,l=d[h],T=O-p[f]-d[v],b=O/2-p[f]/2+D,F=Wr(l,b,T),$=u;n.modifiersData[r]=(e={},e[$]=F,e.centerOffset=F-b,e)}}function Tp(t){var e=t.state,n=t.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Cu(e.elements.popper,o)&&(e.elements.arrow=o))}var Dp={name:"arrow",enabled:!0,phase:"main",fn:Op,effect:Tp,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Au(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Nu(t){return[Bt,fe,ce,Ut].some(function(e){return t[e]>=0})}function Ep(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=Hr(e,{elementContext:"reference"}),s=Hr(e,{altBoundary:!0}),u=Au(a,r),c=Au(s,o,i),f=Nu(u),d=Nu(c);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}var Mp={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ep},Sp=[Vd,Xd,Qd,Mu,op,mp,wp,Dp,Mp],Cp=Zd({defaultModifiers:Sp}),Gy='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',Ip="tippy-box",Ru="tippy-content",$u="tippy-backdrop",Lu="tippy-arrow",ku="tippy-svg-arrow",dn={passive:!0,capture:!0},_u=function(){return document.body};function Fp(t,e){return{}.hasOwnProperty.call(t,e)}function ca(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function fa(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function ju(t,e){return typeof t=="function"?t.apply(void 0,e):t}function Yu(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function la(t,e){var n=Object.assign({},t);return e.forEach(function(r){delete n[r]}),n}function xp(t){return t.split(/\s+/).filter(Boolean)}function pn(t){return[].concat(t)}function Bu(t,e){t.indexOf(e)===-1&&t.push(e)}function Pp(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function Uu(t){return t.split("-")[0]}function ur(t){return[].slice.call(t)}function Hu(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function kn(){return document.createElement("div")}function Fo(t){return["Element","Fragment"].some(function(e){return fa(t,e)})}function Ap(t){return fa(t,"NodeList")}function da(t){return fa(t,"MouseEvent")}function Wu(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function Np(t){return Fo(t)?[t]:Ap(t)?ur(t):Array.isArray(t)?t:ur(document.querySelectorAll(t))}function pa(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function Zr(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function Zu(t){var e,n=pn(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function Rp(t,e){var n=e.clientX,r=e.clientY;return t.every(function(o){var i=o.popperRect,a=o.popperState,s=o.props,u=s.interactiveBorder,c=Uu(a.placement),f=a.modifiersData.offset;if(!f)return!0;var d=c==="bottom"?f.top.y:0,p=c==="top"?f.bottom.y:0,h=c==="right"?f.left.x:0,v=c==="left"?f.right.x:0,m=i.top-r+d>u,g=r-i.bottom-p>u,y=i.left-n+h>u,O=n-i.right-v>u;return m||g||y||O})}function ha(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){t[r](o,n)})}function zu(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Pe={isTouch:!1},Vu=0;function $p(){Pe.isTouch||(Pe.isTouch=!0,window.performance&&document.addEventListener("mousemove",qu))}function qu(){var t=performance.now();t-Vu<20&&(Pe.isTouch=!1,document.removeEventListener("mousemove",qu)),Vu=t}function Lp(){var t=document.activeElement;if(Wu(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function kp(){document.addEventListener("touchstart",$p,dn),window.addEventListener("blur",Lp)}var _p=typeof window<"u"&&typeof document<"u",jp=_p?!!window.msCrypto:!1;function Jy(t){var e=t==="destroy"?"n already-":" ";return[t+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Xu(t){var e=/[ \t]{2,}/g,n=/^[ \t]*/gm;return t.replace(e," ").replace(n,"").trim()}function Yp(t){return Xu(`
%ctippy.js
%c`+Xu(t)+`
%c\u{1F477}\u200D This is a development-only message. It will be removed in production.
`)}function Gu(t){return[Yp(t),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var zr;function Ky(){zr=new Set}function Bp(t,e){if(t&&!zr.has(e)){var n;zr.add(e),(n=console).warn.apply(n,Gu(e))}}function Ju(t,e){if(t&&!zr.has(e)){var n;zr.add(e),(n=console).error.apply(n,Gu(e))}}function Qy(t){var e=!t,n=Object.prototype.toString.call(t)==="[object Object]"&&!t.addEventListener;Ju(e,["tippy() was passed","`"+String(t)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ju(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Ku={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Up={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ht=Object.assign({appendTo:_u,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ku,Up),Hp=Object.keys(Ht),Wp=function(e){var n=Object.keys(e);n.forEach(function(r){Ht[r]=e[r]})};function Qu(t){var e=t.plugins||[],n=e.reduce(function(r,o){var i=o.name,a=o.defaultValue;if(i){var s;r[i]=t[i]!==void 0?t[i]:(s=Ht[i])!=null?s:a}return r},{});return Object.assign({},t,n)}function Zp(t,e){var n=e?Object.keys(Qu(Object.assign({},Ht,{plugins:e}))):Hp,r=n.reduce(function(o,i){var a=(t.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return r}function tc(t,e){var n=Object.assign({},e,{content:ju(e.content,[t])},e.ignoreAttributes?{}:Zp(t,e.plugins));return n.aria=Object.assign({},Ht.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}function tw(t,e){t===void 0&&(t={}),e===void 0&&(e=[]);var n=Object.keys(t);n.forEach(function(r){var o=la(Ht,Object.keys(Ku)),i=!Fp(o,r);i&&(i=e.filter(function(a){return a.name===r}).length===0),Bp(i,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var zp=function(){return"innerHTML"};function ma(t,e){t[zp()]=e}function ec(t){var e=kn();return t===!0?e.className=Lu:(e.className=ku,Fo(t)?e.appendChild(t):ma(e,t)),e}function nc(t,e){Fo(e.content)?(ma(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?ma(t,e.content):t.textContent=e.content)}function xo(t){var e=t.firstElementChild,n=ur(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(Ru)}),arrow:n.find(function(r){return r.classList.contains(Lu)||r.classList.contains(ku)}),backdrop:n.find(function(r){return r.classList.contains($u)})}}function rc(t){var e=kn(),n=kn();n.className=Ip,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=kn();r.className=Ru,r.setAttribute("data-state","hidden"),nc(r,t.props),e.appendChild(n),n.appendChild(r),o(t.props,t.props);function o(i,a){var s=xo(e),u=s.box,c=s.content,f=s.arrow;a.theme?u.setAttribute("data-theme",a.theme):u.removeAttribute("data-theme"),typeof a.animation=="string"?u.setAttribute("data-animation",a.animation):u.removeAttribute("data-animation"),a.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?u.setAttribute("role",a.role):u.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&nc(c,t.props),a.arrow?f?i.arrow!==a.arrow&&(u.removeChild(f),u.appendChild(ec(a.arrow))):u.appendChild(ec(a.arrow)):f&&u.removeChild(f)}return{popper:e,onUpdate:o}}rc.$$tippy=!0;var Vp=1,Po=[],Ao=[];function qp(t,e){var n=tc(t,Object.assign({},Ht,Qu(Hu(e)))),r,o,i,a=!1,s=!1,u=!1,c=!1,f,d,p,h=[],v=Yu(Wi,n.interactiveDebounce),m,g=Vp++,y=null,O=Pp(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},l={id:g,reference:t,popper:kn(),popperInstance:y,props:n,state:D,plugins:O,clearDelayTimeouts:Xi,setProps:Gi,setContent:Ji,show:Hy,hide:Wy,hideWithInteractivity:Zy,enable:Mo,disable:qi,unmount:zy,destroy:Vy};if(!n.render)return l;var T=n.render(l),b=T.popper,F=T.onUpdate;b.setAttribute("data-tippy-root",""),b.id="tippy-"+l.id,l.popper=b,t._tippy=l,b._tippy=l;var $=O.map(function(w){return w.fn(l)}),L=t.hasAttribute("aria-expanded");return $r(),ze(),St(),gt("onCreate",[l]),n.showOnCreate&&Eo(),b.addEventListener("mouseenter",function(){l.props.interactive&&l.state.isVisible&&l.clearDelayTimeouts()}),b.addEventListener("mouseleave",function(){l.props.interactive&&l.props.trigger.indexOf("mouseenter")>=0&&Et().addEventListener("mousemove",v)}),l;function H(){var w=l.props.touch;return Array.isArray(w)?w:[w,0]}function z(){return H()[0]==="hold"}function G(){var w;return!!((w=l.props.render)!=null&&w.$$tippy)}function j(){return m||t}function Et(){var w=j().parentNode;return w?Zu(w):document}function ae(){return xo(b)}function Mt(w){return l.state.isMounted&&!l.state.isVisible||Pe.isTouch||f&&f.type==="focus"?0:ca(l.props.delay,w?0:1,Ht.delay)}function St(w){w===void 0&&(w=!1),b.style.pointerEvents=l.props.interactive&&!w?"":"none",b.style.zIndex=""+l.props.zIndex}function gt(w,C,P){if(P===void 0&&(P=!0),$.forEach(function(Y){Y[w]&&Y[w].apply(Y,C)}),P){var Z;(Z=l.props)[w].apply(Z,C)}}function Ze(){var w=l.props.aria;if(w.content){var C="aria-"+w.content,P=b.id,Z=pn(l.props.triggerTarget||t);Z.forEach(function(Y){var kt=Y.getAttribute(C);if(l.state.isVisible)Y.setAttribute(C,kt?kt+" "+P:P);else{var ve=kt&&kt.replace(P,"").trim();ve?Y.setAttribute(C,ve):Y.removeAttribute(C)}})}}function ze(){if(!(L||!l.props.aria.expanded)){var w=pn(l.props.triggerTarget||t);w.forEach(function(C){l.props.interactive?C.setAttribute("aria-expanded",l.state.isVisible&&C===j()?"true":"false"):C.removeAttribute("aria-expanded")})}}function Kn(){Et().removeEventListener("mousemove",v),Po=Po.filter(function(w){return w!==v})}function Ve(w){if(!(Pe.isTouch&&(u||w.type==="mousedown"))){var C=w.composedPath&&w.composedPath()[0]||w.target;if(!(l.props.interactive&&zu(b,C))){if(pn(l.props.triggerTarget||t).some(function(P){return zu(P,C)})){if(Pe.isTouch||l.state.isVisible&&l.props.trigger.indexOf("click")>=0)return}else gt("onClickOutside",[l,w]);l.props.hideOnClick===!0&&(l.clearDelayTimeouts(),l.hide(),s=!0,setTimeout(function(){s=!1}),l.state.isMounted||sn())}}}function Qn(){u=!0}function an(){u=!1}function Ce(){var w=Et();w.addEventListener("mousedown",Ve,!0),w.addEventListener("touchend",Ve,dn),w.addEventListener("touchstart",an,dn),w.addEventListener("touchmove",Qn,dn)}function sn(){var w=Et();w.removeEventListener("mousedown",Ve,!0),w.removeEventListener("touchend",Ve,dn),w.removeEventListener("touchstart",an,dn),w.removeEventListener("touchmove",Qn,dn)}function Nr(w,C){Rr(w,function(){!l.state.isVisible&&b.parentNode&&b.parentNode.contains(b)&&C()})}function un(w,C){Rr(w,C)}function Rr(w,C){var P=ae().box;function Z(Y){Y.target===P&&(ha(P,"remove",Z),C())}if(w===0)return C();ha(P,"remove",d),ha(P,"add",Z),d=Z}function Rn(w,C,P){P===void 0&&(P=!1);var Z=pn(l.props.triggerTarget||t);Z.forEach(function(Y){Y.addEventListener(w,C,P),h.push({node:Y,eventType:w,handler:C,options:P})})}function $r(){z()&&(Rn("touchstart",Oo,{passive:!0}),Rn("touchend",Zi,{passive:!0})),xp(l.props.trigger).forEach(function(w){if(w!=="manual")switch(Rn(w,Oo),w){case"mouseenter":Rn("mouseleave",Zi);break;case"focus":Rn(jp?"focusout":"blur",To);break;case"focusin":Rn("focusout",To);break}})}function Hi(){h.forEach(function(w){var C=w.node,P=w.eventType,Z=w.handler,Y=w.options;C.removeEventListener(P,Z,Y)}),h=[]}function Oo(w){var C,P=!1;if(!(!l.state.isEnabled||Do(w)||s)){var Z=((C=f)==null?void 0:C.type)==="focus";f=w,m=w.currentTarget,ze(),!l.state.isVisible&&da(w)&&Po.forEach(function(Y){return Y(w)}),w.type==="click"&&(l.props.trigger.indexOf("mouseenter")<0||a)&&l.props.hideOnClick!==!1&&l.state.isVisible?P=!0:Eo(w),w.type==="click"&&(a=!P),P&&!Z&&tr(w)}}function Wi(w){var C=w.target,P=j().contains(C)||b.contains(C);if(!(w.type==="mousemove"&&P)){var Z=$n().concat(b).map(function(Y){var kt,ve=Y._tippy,Lr=(kt=ve.popperInstance)==null?void 0:kt.state;return Lr?{popperRect:Y.getBoundingClientRect(),popperState:Lr,props:n}:null}).filter(Boolean);Rp(Z,w)&&(Kn(),tr(w))}}function Zi(w){var C=Do(w)||l.props.trigger.indexOf("click")>=0&&a;if(!C){if(l.props.interactive){l.hideWithInteractivity(w);return}tr(w)}}function To(w){l.props.trigger.indexOf("focusin")<0&&w.target!==j()||l.props.interactive&&w.relatedTarget&&b.contains(w.relatedTarget)||tr(w)}function Do(w){return Pe.isTouch?z()!==w.type.indexOf("touch")>=0:!1}function zi(){Vi();var w=l.props,C=w.popperOptions,P=w.placement,Z=w.offset,Y=w.getReferenceClientRect,kt=w.moveTransition,ve=G()?xo(b).arrow:null,Lr=Y?{getBoundingClientRect:Y,contextElement:Y.contextElement||j()}:t,Od={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ki){var kr=Ki.state;if(G()){var qy=ae(),pu=qy.box;["placement","reference-hidden","escaped"].forEach(function(Qi){Qi==="placement"?pu.setAttribute("data-placement",kr.placement):kr.attributes.popper["data-popper-"+Qi]?pu.setAttribute("data-"+Qi,""):pu.removeAttribute("data-"+Qi)}),kr.attributes.popper={}}}},er=[{name:"offset",options:{offset:Z}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!kt}},Od];G()&&ve&&er.push({name:"arrow",options:{element:ve,padding:3}}),er.push.apply(er,C?.modifiers||[]),l.popperInstance=Cp(Lr,b,Object.assign({},C,{placement:P,onFirstUpdate:p,modifiers:er}))}function Vi(){l.popperInstance&&(l.popperInstance.destroy(),l.popperInstance=null)}function cn(){var w=l.props.appendTo,C,P=j();l.props.interactive&&w===_u||w==="parent"?C=P.parentNode:C=ju(w,[P]),C.contains(b)||C.appendChild(b),l.state.isMounted=!0,zi()}function $n(){return ur(b.querySelectorAll("[data-tippy-root]"))}function Eo(w){l.clearDelayTimeouts(),w&&gt("onTrigger",[l,w]),Ce();var C=Mt(!0),P=H(),Z=P[0],Y=P[1];Pe.isTouch&&Z==="hold"&&Y&&(C=Y),C?r=setTimeout(function(){l.show()},C):l.show()}function tr(w){if(l.clearDelayTimeouts(),gt("onUntrigger",[l,w]),!l.state.isVisible){sn();return}if(!(l.props.trigger.indexOf("mouseenter")>=0&&l.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(w.type)>=0&&a)){var C=Mt(!1);C?o=setTimeout(function(){l.state.isVisible&&l.hide()},C):i=requestAnimationFrame(function(){l.hide()})}}function Mo(){l.state.isEnabled=!0}function qi(){l.hide(),l.state.isEnabled=!1}function Xi(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function Gi(w){if(!l.state.isDestroyed){gt("onBeforeUpdate",[l,w]),Hi();var C=l.props,P=tc(t,Object.assign({},C,Hu(w),{ignoreAttributes:!0}));l.props=P,$r(),C.interactiveDebounce!==P.interactiveDebounce&&(Kn(),v=Yu(Wi,P.interactiveDebounce)),C.triggerTarget&&!P.triggerTarget?pn(C.triggerTarget).forEach(function(Z){Z.removeAttribute("aria-expanded")}):P.triggerTarget&&t.removeAttribute("aria-expanded"),ze(),St(),F&&F(C,P),l.popperInstance&&(zi(),$n().forEach(function(Z){requestAnimationFrame(Z._tippy.popperInstance.forceUpdate)})),gt("onAfterUpdate",[l,w])}}function Ji(w){l.setProps({content:w})}function Hy(){var w=l.state.isVisible,C=l.state.isDestroyed,P=!l.state.isEnabled,Z=Pe.isTouch&&!l.props.touch,Y=ca(l.props.duration,0,Ht.duration);if(!(w||C||P||Z)&&!j().hasAttribute("disabled")&&(gt("onShow",[l],!1),l.props.onShow(l)!==!1)){if(l.state.isVisible=!0,G()&&(b.style.visibility="visible"),St(),Ce(),l.state.isMounted||(b.style.transition="none"),G()){var kt=ae(),ve=kt.box,Lr=kt.content;pa([ve,Lr],0)}p=function(){var er;if(!(!l.state.isVisible||c)){if(c=!0,b.offsetHeight,b.style.transition=l.props.moveTransition,G()&&l.props.animation){var du=ae(),Ki=du.box,kr=du.content;pa([Ki,kr],Y),Zr([Ki,kr],"visible")}Ze(),ze(),Bu(Ao,l),(er=l.popperInstance)==null||er.forceUpdate(),gt("onMount",[l]),l.props.animation&&G()&&un(Y,function(){l.state.isShown=!0,gt("onShown",[l])})}},cn()}}function Wy(){var w=!l.state.isVisible,C=l.state.isDestroyed,P=!l.state.isEnabled,Z=ca(l.props.duration,1,Ht.duration);if(!(w||C||P)&&(gt("onHide",[l],!1),l.props.onHide(l)!==!1)){if(l.state.isVisible=!1,l.state.isShown=!1,c=!1,a=!1,G()&&(b.style.visibility="hidden"),Kn(),sn(),St(!0),G()){var Y=ae(),kt=Y.box,ve=Y.content;l.props.animation&&(pa([kt,ve],Z),Zr([kt,ve],"hidden"))}Ze(),ze(),l.props.animation?G()&&Nr(Z,l.unmount):l.unmount()}}function Zy(w){Et().addEventListener("mousemove",v),Bu(Po,v),v(w)}function zy(){l.state.isVisible&&l.hide(),l.state.isMounted&&(Vi(),$n().forEach(function(w){w._tippy.unmount()}),b.parentNode&&b.parentNode.removeChild(b),Ao=Ao.filter(function(w){return w!==l}),l.state.isMounted=!1,gt("onHidden",[l]))}function Vy(){l.state.isDestroyed||(l.clearDelayTimeouts(),l.unmount(),Hi(),delete t._tippy,l.state.isDestroyed=!0,gt("onDestroy",[l]))}}function hn(t,e){e===void 0&&(e={});var n=Ht.plugins.concat(e.plugins||[]);kp();var r=Object.assign({},e,{plugins:n}),o=Np(t);if(0)var i,a;var s=o.reduce(function(u,c){var f=c&&qp(c,r);return f&&u.push(f),u},[]);return Fo(t)?s[0]:s}hn.defaultProps=Ht,hn.setDefaultProps=Wp,hn.currentInput=Pe;var ew=function(e){var n=e===void 0?{}:e,r=n.exclude,o=n.duration;Ao.forEach(function(i){var a=!1;if(r&&(a=Wu(r)?i.reference===r:i.popper===r.popper),!a){var s=i.props.duration;i.setProps({duration:o}),i.hide(),i.state.isDestroyed||i.setProps({duration:s})}})},Xp=Object.assign({},Mu,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),nw=function(e,n){var r;n===void 0&&(n={});var o=e,i=[],a=[],s,u=n.overrides,c=[],f=!1;function d(){a=o.map(function(l){return pn(l.props.triggerTarget||l.reference)}).reduce(function(l,T){return l.concat(T)},[])}function p(){i=o.map(function(l){return l.reference})}function h(l){o.forEach(function(T){l?T.enable():T.disable()})}function v(l){return o.map(function(T){var b=T.setProps;return T.setProps=function(F){b(F),T.reference===s&&l.setProps(F)},function(){T.setProps=b}})}function m(l,T){var b=a.indexOf(T);if(T!==s){s=T;var F=(u||[]).concat("content").reduce(function($,L){return $[L]=o[b].props[L],$},{});l.setProps(Object.assign({},F,{getReferenceClientRect:typeof F.getReferenceClientRect=="function"?F.getReferenceClientRect:function(){var $;return($=i[b])==null?void 0:$.getBoundingClientRect()}}))}}h(!1),p(),d();var g={fn:function(){return{onDestroy:function(){h(!0)},onHidden:function(){s=null},onClickOutside:function(b){b.props.showOnCreate&&!f&&(f=!0,s=null)},onShow:function(b){b.props.showOnCreate&&!f&&(f=!0,m(b,i[0]))},onTrigger:function(b,F){m(b,F.currentTarget)}}}},y=hn(kn(),Object.assign({},la(n,["overrides"]),{plugins:[g].concat(n.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},n.popperOptions,{modifiers:[].concat(((r=n.popperOptions)==null?void 0:r.modifiers)||[],[Xp])})})),O=y.show;y.show=function(l){if(O(),!s&&l==null)return m(y,i[0]);if(!(s&&l==null)){if(typeof l=="number")return i[l]&&m(y,i[l]);if(o.indexOf(l)>=0){var T=l.reference;return m(y,T)}if(i.indexOf(l)>=0)return m(y,l)}},y.showNext=function(){var l=i[0];if(!s)return y.show(0);var T=i.indexOf(s);y.show(i[T+1]||l)},y.showPrevious=function(){var l=i[i.length-1];if(!s)return y.show(l);var T=i.indexOf(s),b=i[T-1]||l;y.show(b)};var D=y.setProps;return y.setProps=function(l){u=l.overrides||u,D(l)},y.setInstances=function(l){h(!0),c.forEach(function(T){return T()}),o=l,h(!1),p(),d(),c=v(y),y.setProps({triggerTarget:a})},c=v(y),y},Gp={mouseover:"mouseenter",focusin:"focus",click:"click"};function rw(t,e){var n=[],r=[],o=!1,i=e.target,a=la(e,["target"]),s=Object.assign({},a,{trigger:"manual",touch:!1}),u=Object.assign({touch:Ht.touch},a,{showOnCreate:!0}),c=hn(t,s),f=pn(c);function d(g){if(!(!g.target||o)){var y=g.target.closest(i);if(y){var O=y.getAttribute("data-tippy-trigger")||e.trigger||Ht.trigger;if(!y._tippy&&!(g.type==="touchstart"&&typeof u.touch=="boolean")&&!(g.type!=="touchstart"&&O.indexOf(Gp[g.type])<0)){var D=hn(y,u);D&&(r=r.concat(D))}}}}function p(g,y,O,D){D===void 0&&(D=!1),g.addEventListener(y,O,D),n.push({node:g,eventType:y,handler:O,options:D})}function h(g){var y=g.reference;p(y,"touchstart",d,dn),p(y,"mouseover",d),p(y,"focusin",d),p(y,"click",d)}function v(){n.forEach(function(g){var y=g.node,O=g.eventType,D=g.handler,l=g.options;y.removeEventListener(O,D,l)}),n=[]}function m(g){var y=g.destroy,O=g.enable,D=g.disable;g.destroy=function(l){l===void 0&&(l=!0),l&&r.forEach(function(T){T.destroy()}),r=[],v(),y()},g.enable=function(){O(),r.forEach(function(l){return l.enable()}),o=!1},g.disable=function(){D(),r.forEach(function(l){return l.disable()}),o=!0},h(g)}return f.forEach(m),c}var ow={name:"animateFill",defaultValue:!1,fn:function(e){var n;if(!((n=e.props.render)!=null&&n.$$tippy))return{};var r=xo(e.popper),o=r.box,i=r.content,a=e.props.animateFill?Jp():null;return{onCreate:function(){a&&(o.insertBefore(a,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(a){var u=o.style.transitionDuration,c=Number(u.replace("ms",""));i.style.transitionDelay=Math.round(c/10)+"ms",a.style.transitionDuration=u,Zr([a],"visible")}},onShow:function(){a&&(a.style.transitionDuration="0ms")},onHide:function(){a&&Zr([a],"hidden")}}}};function Jp(){var t=kn();return t.className=$u,Zr([t],"hidden"),t}var va={clientX:0,clientY:0},No=[];function oc(t){var e=t.clientX,n=t.clientY;va={clientX:e,clientY:n}}function Kp(t){t.addEventListener("mousemove",oc)}function Qp(t){t.removeEventListener("mousemove",oc)}var th={name:"followCursor",defaultValue:!1,fn:function(e){var n=e.reference,r=Zu(e.props.triggerTarget||n),o=!1,i=!1,a=!0,s=e.props;function u(){return e.props.followCursor==="initial"&&e.state.isVisible}function c(){r.addEventListener("mousemove",p)}function f(){r.removeEventListener("mousemove",p)}function d(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function p(m){var g=m.target?n.contains(m.target):!0,y=e.props.followCursor,O=m.clientX,D=m.clientY,l=n.getBoundingClientRect(),T=O-l.left,b=D-l.top;(g||!e.props.interactive)&&e.setProps({getReferenceClientRect:function(){var $=n.getBoundingClientRect(),L=O,H=D;y==="initial"&&(L=$.left+T,H=$.top+b);var z=y==="horizontal"?$.top:H,G=y==="vertical"?$.right:L,j=y==="horizontal"?$.bottom:H,Et=y==="vertical"?$.left:L;return{width:G-Et,height:j-z,top:z,right:G,bottom:j,left:Et}}})}function h(){e.props.followCursor&&(No.push({instance:e,doc:r}),Kp(r))}function v(){No=No.filter(function(m){return m.instance!==e}),No.filter(function(m){return m.doc===r}).length===0&&Qp(r)}return{onCreate:h,onDestroy:v,onBeforeUpdate:function(){s=e.props},onAfterUpdate:function(g,y){var O=y.followCursor;o||O!==void 0&&s.followCursor!==O&&(v(),O?(h(),e.state.isMounted&&!i&&!u()&&c()):(f(),d()))},onMount:function(){e.props.followCursor&&!i&&(a&&(p(va),a=!1),u()||c())},onTrigger:function(g,y){da(y)&&(va={clientX:y.clientX,clientY:y.clientY}),i=y.type==="focus"},onHidden:function(){e.props.followCursor&&(d(),f(),a=!0)}}}};function eh(t,e){var n;return{popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((((n=t.popperOptions)==null?void 0:n.modifiers)||[]).filter(function(r){var o=r.name;return o!==e.name}),[e])})}}var iw={name:"inlinePositioning",defaultValue:!1,fn:function(e){var n=e.reference;function r(){return!!e.props.inlinePositioning}var o,i=-1,a=!1,s=[],u={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(h){var v=h.state;r()&&(s.indexOf(v.placement)!==-1&&(s=[]),o!==v.placement&&s.indexOf(v.placement)===-1&&(s.push(v.placement),e.setProps({getReferenceClientRect:function(){return c(v.placement)}})),o=v.placement)}};function c(p){return nh(Uu(p),n.getBoundingClientRect(),ur(n.getClientRects()),i)}function f(p){a=!0,e.setProps(p),a=!1}function d(){a||f(eh(e.props,u))}return{onCreate:d,onAfterUpdate:d,onTrigger:function(h,v){if(da(v)){var m=ur(e.reference.getClientRects()),g=m.find(function(O){return O.left-2<=v.clientX&&O.right+2>=v.clientX&&O.top-2<=v.clientY&&O.bottom+2>=v.clientY}),y=m.indexOf(g);i=y>-1?y:i}},onHidden:function(){i=-1}}}};function nh(t,e,n,r){if(n.length<2||t===null)return e;if(n.length===2&&r>=0&&n[0].left>n[1].right)return n[r]||e;switch(t){case"top":case"bottom":{var o=n[0],i=n[n.length-1],a=t==="top",s=o.top,u=i.bottom,c=a?o.left:i.left,f=a?o.right:i.right,d=f-c,p=u-s;return{top:s,bottom:u,left:c,right:f,width:d,height:p}}case"left":case"right":{var h=Math.min.apply(Math,n.map(function(b){return b.left})),v=Math.max.apply(Math,n.map(function(b){return b.right})),m=n.filter(function(b){return t==="left"?b.left===h:b.right===v}),g=m[0].top,y=m[m.length-1].bottom,O=h,D=v,l=D-O,T=y-g;return{top:g,bottom:y,left:O,right:D,width:l,height:T}}default:return e}}var aw={name:"sticky",defaultValue:!1,fn:function(e){var n=e.reference,r=e.popper;function o(){return e.popperInstance?e.popperInstance.state.elements.reference:n}function i(c){return e.props.sticky===!0||e.props.sticky===c}var a=null,s=null;function u(){var c=i("reference")?o().getBoundingClientRect():null,f=i("popper")?r.getBoundingClientRect():null;(c&&ic(a,c)||f&&ic(s,f))&&e.popperInstance&&e.popperInstance.update(),a=c,s=f,e.state.isMounted&&requestAnimationFrame(u)}return{onMount:function(){e.props.sticky&&u()}}}};function ic(t,e){return t&&e?t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left:!0}hn.setDefaultProps({render:rc});var rh=hn;function Ro(t,e,...n){if((typeof t=="string"||t instanceof String)&&(t=document.querySelectorAll(t)),t instanceof Node)e(t,...n);else if(t.length!==void 0)for(const r of t)e(r,...n);else throw new Error("invalid argument to be shown/hidden")}function ga(t,e){if(e===!0)t.classList.remove("tw-hidden");else if(e===!1)t.classList.add("tw-hidden");else if(e===void 0)t.classList.toggle("tw-hidden");else throw new Error("invalid force argument")}function sw(t){Ro(t,ga,!0)}function uw(t){Ro(t,ga,!1)}function cw(t,e){Ro(t,ga,e)}function fw(t){const e=[];if(Ro(t,n=>e.push(n.classList.contains("tw-hidden"))),e.length>1)throw new Error("isElemHidden doesn't work for multiple elements");return e[0]}function ya(t,e){if(e)for(const n of t)e(n);return t}function lw(t,e="*",n){return ya(Array.from(t.parentNode.children).filter(r=>r!==t&&r.matches(e)),n)}function dw(t,e="*",n){return ya(t.querySelectorAll(`:scope > ${e}`),n)}function pw(t,e){return ya(document.querySelectorAll(t),e)}function hw(t){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}function oh(t){try{return t.ownerDocument===document&&t.nodeType===Node.ELEMENT_NODE||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE}catch{return!1}}function mw(t,{viewportMarginBottom:e=0}={}){let n=!1,r,o,i,a;function s(d){if(!n){if(r!==d.clientX||o!==d.clientY){const p=t.style.height;i&&i!==p&&(n=!0),i=p}r=d.clientX,o=d.clientY}}function u(){let d=0,p=t;for(;p!==document.body&&p!==null;)d+=p.offsetTop||0,p=p.offsetParent;const h=d-document.defaultView.scrollY,v=document.documentElement.clientHeight-(h+t.offsetHeight);return{top:h,bottom:v}}function c(){if(!n&&!(t.offsetWidth<=0&&t.offsetHeight<=0))try{const{top:d,bottom:p}=u(),h=d<0||p<0,v=getComputedStyle(t),m=parseFloat(v.borderTopWidth),g=parseFloat(v.borderBottomWidth),O=v.boxSizing==="border-box"?m+g:0,D=p<e?p:e,l=parseFloat(v.height),T=l+p-D;t.style.height="auto";let b=t.scrollHeight+O;h?b>l&&(b=l):b=Math.min(T,b),t.style.height=`${b}px`,i=t.style.height}finally{t.selectionStart===t.selectionEnd&&t.selectionStart===t.value.length&&(t.scrollTop=t.scrollHeight)}}function f(){n=!1,a!==void 0?t.style.height=a:t.style.removeProperty("height")}return t.addEventListener("mousemove",s),t.addEventListener("input",c),t.form?.addEventListener("reset",f),a=t.style.height??void 0,t.value&&c(),{resizeToFit:c,destroy(){t.removeEventListener("mousemove",s),t.removeEventListener("input",c),t.form?.removeEventListener("reset",f)}}}function vw(t){return debounce(300,t)}function gw(t,e){return new Promise(n=>{t.addEventListener("load",()=>n(!0),{once:!0}),t.addEventListener("error",()=>n(!1),{once:!0}),t.src=e})}const ac=typeof SubmitEvent>"u";function yw(t){return t=t.originalEvent??t,ac?t.target._submitter||null:t.submitter}function sc(t){const e=t.target.closest("form");e&&(e._submitter=t.target.closest('button:not([type]), button[type="submit"], input[type="submit"]'))}function ww(){ac&&(console.warn(`This browser doesn't have "SubmitEvent" support, use a tricky method to polyfill`),document.body.addEventListener("click",sc),document.body.addEventListener("focus",sc))}function bw(t){return t?!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length):!1}function Ow(t){const e=[];for(const r of t.clipboardData?.items??[])r.type?.startsWith("image/")&&e.push(r.getAsFile());return{text:t.clipboardData?.getData?.("text")??"",images:e}}function Tw(t,e){const n=t.value.slice(0,t.selectionStart??void 0),r=t.value.slice(t.selectionEnd??void 0);let o=!0;t.contentEditable="true";try{o=document.execCommand("insertText",!1,e)}catch{o=!1}t.contentEditable="false",o&&!t.value.slice(0,t.selectionStart??void 0).endsWith(e)&&(o=!1),o||(t.value=`${n}${e}${r}`,t.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0})))}function Dw(t){const e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild}var ih=ta("./node_modules/dayjs/dayjs.min.js"),ah=ta("./node_modules/dayjs/plugin/utc.js");function Ew(t=""){const e=t.lastIndexOf("/");return e<0?t:t.substring(e+1)}function Mw(t=""){const e=t.lastIndexOf(".");return e<0?"":t.substring(e)}function Sw(t){return Object.prototype.toString.call(t)==="[object Object]"}function Cw(){return window.getComputedStyle(document.documentElement).getPropertyValue("--is-dark-theme").trim().toLowerCase()==="true"}function Iw(t){return t.replace(/<[^>]*>?/g,"")}function Fw(t){const e=(t||"").replace(/[#?].*$/,""),[n,r,o,i,a]=/([^/]+)\/([^/]+)\/(issues|pulls)\/([0-9]+)/.exec(e)||[];return{owner:r,repo:o,type:i,index:a}}function xw(t){return new URL(t,t.startsWith("http")?void 0:window.location.origin)}function uc(){return document.documentElement.lang}function Pw(t){return new Date(Date.UTC(2022,t,12)).toLocaleString(uc(),{month:"short",timeZone:"UTC"})}function Aw(t){return new Date(Date.UTC(2022,7,t)).toLocaleString(uc(),{weekday:"short",timeZone:"UTC"})}function sh(t){return new Promise((e,n)=>{try{const r=new FileReader;r.addEventListener("load",o=>{e(o.target.result)}),r.addEventListener("error",()=>{n(new Error("FileReader failed"))}),r.readAsDataURL(t)}catch(r){n(r)}})}function Nw(t,e){return new Promise(async(n,r)=>{try{const o=new Image,i=document.createElement("canvas");o.addEventListener("load",()=>{try{i.width=o.naturalWidth,i.height=o.naturalHeight,i.getContext("2d").drawImage(o,0,0),i.toBlob(s=>{if(!(s instanceof Blob))return r(new Error("imageBlobToPng failed"));n(s)},e)}catch(a){r(a)}}),o.addEventListener("error",()=>{r(new Error("imageBlobToPng failed"))}),o.src=await sh(t)}catch(o){r(o)}})}function Rw(t){if(t.startsWith("http://")||t.startsWith("https://"))return t;if(t.startsWith("//"))return`${window.location.protocol}${t}`;if(t&&!t.startsWith("/"))throw new Error("unsupported url, it should either start with / or http(s)://");return`${window.location.origin}${t}`}function $w(t){return encode(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Lw(t){return decode(t.replace(/_/g,"/").replace(/-/g,"+"))}const uh=new DOMParser,ch=new XMLSerializer;function kw(t,e){return uh.parseFromString(t,e)}function _w(t){return ch.serializeToString(t)}const jw=t=>new Promise(e=>setTimeout(e,t));ih.extend(ah);function Yw(t,e){const n=dayjs.utc(t),r=dayjs.utc(e);let o=n;for(;o.day()!==0;)o=o.add(1,"day");const i=[];for(;o.isBefore(r);)i.push(o.valueOf()),o=o.add(1,"week");return i}function Bw(t){if(!(t instanceof Date))throw new Error("Invalid date");const n=7-t.getUTCDay(),r=new Date(t.getTime());return r.setUTCDate(r.getUTCDate()+n),r.valueOf()}function Uw(t,e){const n={};for(const r of t)n[r]=e[r]||{week:r,additions:0,deletions:0,commits:0};return Object.values(n)}let wa;function Hw(t){return wa||(wa=new Intl.DateTimeFormat(getCurrentLocale(),{day:"numeric",month:"short",year:"numeric",hour:"numeric",hour12:!Number.isInteger(Number(new Intl.DateTimeFormat([],{hour:"numeric"}).format())),minute:"2-digit",timeZoneName:"short"})),wa.format(t)}const $o=new Set,fh='<svg width="16" height="7"><path d="m0 7 8-7 8 7Z" class="tippy-svg-arrow-outer"/><path d="m0 8 8-7 8 7Z" class="tippy-svg-arrow-inner"/></svg>';function cc(t,e={}){const{onHide:n,onShow:r,onDestroy:o,role:i,theme:a,arrow:s,...u}=e,c=rh(t,{appendTo:document.body,animation:!1,allowHTML:!1,hideOnClick:!1,interactiveBorder:20,ignoreAttributes:!0,maxWidth:500,onHide:f=>($o.delete(f),n?.(f)),onDestroy:f=>($o.delete(f),o?.(f)),onShow:f=>{for(const d of $o)d.props.role==="tooltip"&&d.hide();return $o.add(f),r?.(f)},arrow:s||(a==="bare"?!1:fh),role:i||"menu",theme:a||i||"default",plugins:[th],...u});return i==="menu"&&t.setAttribute("aria-haspopup","true"),c}function Lo(t,e=null){if(lh(t),e=e??t.getAttribute("data-tooltip-content"),!e)return null;const r=!t.hasAttribute("data-clipboard-target"),o={content:e,delay:100,role:"tooltip",theme:"tooltip",hideOnClick:r,placement:t.getAttribute("data-tooltip-placement")||"top-start",followCursor:t.getAttribute("data-tooltip-follow-cursor")||!1,...t.getAttribute("data-tooltip-interactive")==="true"?{interactive:!0,aria:{content:"describedby",expanded:!1}}:{}};return t._tippy?t._tippy.setProps(o):cc(t,o),t._tippy}function lh(t){let e=t.getAttribute("title");if(e){if(t.tagName.toLowerCase()==="relative-time"){const n=t.getAttribute("datetime");n&&(e=formatDatetime(new Date(n)))}t.setAttribute("data-tooltip-content",e),t.setAttribute("aria-label",e),t.setAttribute("title","")}}function fc(t){t.target.removeEventListener("mouseover",fc,!0),Lo(this)}function lc(t){if(t.addEventListener("mouseover",fc,{capture:!0}),!t.hasAttribute("aria-label")){const e=t.getAttribute("data-tooltip-content");e&&t.setAttribute("aria-label",e)}}function dc(t){for(const e of t.querySelectorAll("[data-tooltip-content]"))lc(e)}function Ww(){const t=n=>n.observe(document,{subtree:!0,childList:!0,attributeFilter:["data-tooltip-content","title"]}),e=new MutationObserver((n,r)=>{const o=r.takeRecords();r.disconnect();for(const i of[...n,...o])if(i.type==="childList")for(const a of i.addedNodes)isDocumentFragmentOrElementNode(a)&&(dc(a),a.hasAttribute("data-tooltip-content")&&lc(a));else i.type==="attributes"&&Lo(i.target);t(r)});t(e),dc(document.documentElement)}function Zw(t,e){if(t.closest(".ui.dropdown > .menu"))return;const n=t._tippy??Lo(t,e);n.setContent(e),n.state.isShown||n.show(),n.setProps({onHidden:r=>{Lo(t)||r.destroy()}})}var dh='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-kebab-horizontal" width="16" height="16" aria-hidden="true"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"/></svg>',ph=Object.defineProperty,hh=(t,e,n)=>e in t?ph(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mh=(t,e,n)=>(hh(t,typeof e!="symbol"?e+"":e,n),n);window.customElements.define("overflow-menu",class extends HTMLElement{constructor(){super(...arguments),mh(this,"updateItems",Je(100,()=>{if(!this.tippyContent){const a=document.createElement("div");a.classList.add("tippy-target"),a.tabIndex=-1,a.addEventListener("keydown",s=>{if(s.key==="Tab"){const u=this.tippyContent.querySelectorAll('[role="menuitem"]');s.shiftKey?document.activeElement===u[0]&&(s.preventDefault(),u[u.length-1].focus()):document.activeElement===u[u.length-1]&&(s.preventDefault(),u[0].focus())}else s.key==="Escape"?(s.preventDefault(),s.stopPropagation(),this.button._tippy.hide(),this.button.focus()):s.key===" "||s.code==="Enter"?document.activeElement?.matches('[role="menuitem"]')&&(s.preventDefault(),s.stopPropagation(),document.activeElement.click()):s.key==="ArrowDown"?document.activeElement?.matches(".tippy-target")?(s.preventDefault(),s.stopPropagation(),document.activeElement.querySelector('[role="menuitem"]:first-of-type').focus()):document.activeElement?.matches('[role="menuitem"]')&&(s.preventDefault(),s.stopPropagation(),document.activeElement.nextElementSibling?.focus()):s.key==="ArrowUp"&&(document.activeElement?.matches(".tippy-target")?(s.preventDefault(),s.stopPropagation(),document.activeElement.querySelector('[role="menuitem"]:last-of-type').focus()):document.activeElement?.matches('[role="menuitem"]')&&(s.preventDefault(),s.stopPropagation(),document.activeElement.previousElementSibling?.focus()))}),this.append(a),this.tippyContent=a}const t=this.menuItemsEl.querySelector(".item-flex-space"),e=this.querySelector(".overflow-menu-button");for(const a of this.tippyItems||[])!t||a.getAttribute("data-after-flex-space")?this.menuItemsEl.append(a):t.insertAdjacentElement("beforebegin",a);t?.style.setProperty("display","none","important"),e?.style.setProperty("display","none","important"),this.tippyItems=[];const n=this.offsetLeft+this.offsetWidth,r=this.menuItemsEl.querySelectorAll(".item, .item-flex-space");let o=!1;for(const a of r){if(a.classList.contains("item-flex-space")){o=!0;continue}o&&a.setAttribute("data-after-flex-space","true");const s=a.offsetLeft+a.offsetWidth;n-s<38&&this.tippyItems.push(a)}if(t?.style.removeProperty("display"),e?.style.removeProperty("display"),!this.tippyItems?.length){const a=this.querySelector(".overflow-menu-button");a?._tippy?.destroy(),a?.remove();return}for(const a of r)this.tippyItems.includes(a)||a.removeAttribute("role");for(const a of this.tippyItems)a.setAttribute("role","menuitem"),this.tippyContent.append(a);if(this.button?._tippy){this.button._tippy.setContent(this.tippyContent);return}const i=document.createElement("button");i.classList.add("overflow-menu-button"),i.setAttribute("aria-label",window.config.i18n.more_items),i.innerHTML=dh,this.append(i),this.button=i,cc(i,{trigger:"click",hideOnClick:!0,interactive:!0,placement:"bottom-end",role:"menu",theme:"menu",content:this.tippyContent,onShow:()=>{setTimeout(()=>{this.tippyContent.focus()},0)}})}))}init(){if(this.matches(".ui.secondary.pointing.menu, .ui.tabular.menu")){for(const t of this.querySelectorAll(".item"))for(const e of t.childNodes)if(e.nodeType===Node.TEXT_NODE){const n=e.textContent.trim();if(!n)continue;const r=document.createElement("span");r.classList.add("resize-for-semibold"),r.setAttribute("data-text",n),r.textContent=n,e.replaceWith(r)}}this.resizeObserver=new ResizeObserver(t=>{for(const e of t){const n=e.contentBoxSize[0].inlineSize;n!==this.lastWidth&&(requestAnimationFrame(()=>{this.updateItems()}),this.lastWidth=n)}}),this.resizeObserver.observe(this)}connectedCallback(){this.setAttribute("role","navigation");const t=this.querySelector(".overflow-menu-items");t?(this.menuItemsEl=t,this.init()):(this.mutationObserver=new MutationObserver(e=>{for(const n of e)for(const r of n.addedNodes)oh(r)&&r.classList.contains("overflow-menu-items")&&(this.menuItemsEl=r,this.mutationObserver?.disconnect(),this.init())}),this.mutationObserver.observe(this,{childList:!0}))}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}});function ee(t,e,n,r,o){return Te(e,pc(t,e),n,r,o)}function Te(t,e,n,r,o,i){const a=Oa(e,n,r);if(o&&e!==a)throw new RangeError(ml(t,e,n,r,i));return a}function pc(t,e){const n=t[e];if(n===void 0)throw new TypeError(ws(e));return n}function Pt(t){return t!==null&&/object|function/.test(typeof t)}function le(t,e=Map){const n=new e;return(r,...o)=>{if(n.has(r))return n.get(r);const i=t(r,...o);return n.set(r,i),i}}function hc(t){return cr({name:t},1)}function cr(t,e){return Ae(n=>({value:n,configurable:1,writable:!e}),t)}function vh(t){return Ae(e=>({get:e,configurable:1}),t)}function ba(t){return{[Symbol.toStringTag]:{value:t,configurable:1}}}function fr(t,e){const n={};let r=t.length;for(const o of e)n[t[--r]]=o;return n}function Ae(t,e,n){const r={};for(const o in e)r[o]=t(e[o],o,n);return r}function ko(t,e,n){const r={};for(let o=0;o<e.length;o++){const i=e[o];r[i]=t(i,o,n)}return r}function gh(t,e,n){const r={};for(let o=0;o<t.length;o++)r[e[o]]=n[t[o]];return r}function de(t,e){const n={};for(const r of t)n[r]=e[r];return n}function mc(t,e){const n={};for(const r in e)t.has(r)||(n[r]=e[r]);return n}function vc(t){t={...t};const e=Object.keys(t);for(const n of e)t[n]===void 0&&delete t[n];return t}function yh(t,e){for(const n of e)if(!(n in t))return 0;return 1}function gc(t,e,n){for(const r of t)if(e[r]!==n[r])return 0;return 1}function yc(t,e,n){const r={...n};for(let o=0;o<e;o++)r[t[o]]=0;return r}function k(t,...e){return(...n)=>t(...e,...n)}function wc(t){return t[0].toUpperCase()+t.substring(1)}function Vr(t){return t.slice().sort()}function _o(t,e){return String(e).padStart(t,"0")}function mn(t,e){return Math.sign(t-e)}function Oa(t,e,n){return Math.min(Math.max(t,e),n)}function tn(t,e){return[Math.floor(t/e),qr(t,e)]}function qr(t,e){return(t%e+e)%e}function vn(t,e){return[jo(t,e),Ta(t,e)]}function jo(t,e){return Math.trunc(t/e)||0}function Ta(t,e){return t%e||0}function Yo(t){return Math.abs(t%1)===.5}function bc(t,e,n){let r=0,o=0;for(let s=0;s<=e;s++){const u=t[n[s]],c=ke[s],f=et/c,[d,p]=vn(u,f);r+=p*c,o+=d}const[i,a]=vn(r,et);return[o+i,a]}function Bo(t,e,n){const r={};for(let o=e;o>=0;o--){const i=ke[o];r[n[o]]=jo(t,i),t=Ta(t,i)}return r}function wh(t){return t===U?Ii:[]}function bh(t){return t===U?oo:[]}function Oh(t){return t===U?["year","day"]:[]}function Th(t){if(t!==void 0)return ht(t)}function Dh(t){if(t!==void 0)return Ne(t)}function Oc(t){if(t!==void 0)return Uo(t)}function Ne(t){return Mc(Uo(t))}function Uo(t){return Ec(Zv(t))}function Tc(t){if(t==null)throw new TypeError("Cannot be null or undefined");return t}function Dc(t,e){if(e==null)throw new RangeError(ws(t));return e}function gn(t){if(!Pt(t))throw new TypeError(hl);return t}function Ho(t,e,n=t){if(typeof e!==t)throw new TypeError(eo(n,e));return e}function Ec(t,e="number"){if(!Number.isInteger(t))throw new RangeError(cv(e,t));return t||0}function Mc(t,e="number"){if(t<=0)throw new RangeError(fv(e,t));return t}function Da(t){if(typeof t=="symbol")throw new TypeError(hv);return String(t)}function Wo(t,e){return Pt(t)?String(t):ht(t,e)}function Zo(t){if(typeof t=="string")return BigInt(t);if(typeof t!="bigint")throw new TypeError(pv(t));return t}function Sc(t,e="number"){if(typeof t=="bigint")throw new TypeError(dv(e));if(t=Number(t),!Number.isFinite(t))throw new RangeError(lv(e,t));return t}function Wt(t,e){return Math.trunc(Sc(t,e))||0}function Cc(t,e){return Ec(Sc(t,e),e)}function Ic(t,e){return Mc(Wt(t,e),e)}function Ea(t,e){let[n,r]=vn(e,et),o=t+n;const i=Math.sign(o);return i&&i===-Math.sign(r)&&(o-=i,r+=i*et),[o,r]}function lr(t,e,n=1){return Ea(t[0]+e[0]*n,t[1]+e[1]*n)}function dr(t,e){return Ea(t[0],t[1]+e)}function De(t,e){return lr(e,t,-1)}function ne(t,e){return mn(t[0],e[0])||mn(t[1],e[1])}function Fc(t,e,n){return ne(t,e)===-1||ne(t,n)===1}function zo(t,e=1){const n=BigInt(et/e);return[Number(t/n),Number(t%n)*e]}function Xr(t,e=1){const n=et/e,[r,o]=vn(t,n);return[r,o*e]}function xc(t,e=1){const[n,r]=t,o=Math.floor(r/e),i=et/e;return BigInt(n)*BigInt(i)+BigInt(o)}function Re(t,e=1,n){const[r,o]=t,[i,a]=vn(o,e);return r*(et/e)+(i+(n?a/e:0))}function Ma(t,e,n=tn){const[r,o]=t,[i,a]=n(o,e);return[r*(et/e)+i,a]}function Sa(t,e){const n=t.formatToParts(e),r={};for(const o of n)r[o.type]=o.value;return r}function Ca(t){return ee(t,"isoYear",ao,io,1),t.isoYear===ao?ee(t,"isoMonth",4,12,1):t.isoYear===io&&ee(t,"isoMonth",1,9,1),t}function yn(t){return en({...t,...Ye,isoHour:12}),t}function en(t){const e=ee(t,"isoYear",ao,io,1),n=e===ao?1:e===io?-1:0;return n&&pe(zt({...t,isoDay:t.isoDay+n,isoNanosecond:t.isoNanosecond-n})),t}function pe(t){if(!t||Fc(t,Qv,Kv))throw new RangeError(Di);return t}function wn(t){return bc(t,5,je)[1]}function Vo(t){const[e,n]=tn(t,et);return[Bo(n,5,je),e]}function Pc(t){return Ac(t)[0]}function Ac(t){return Ma(t,Se)}function Zt(t){return pr(t.isoYear,t.isoMonth,t.isoDay,t.isoHour,t.isoMinute,t.isoSecond,t.isoMillisecond)}function zt(t){const e=Zt(t);if(e!==void 0){const[n,r]=vn(e,oe);return[n,r*rn+(t.isoMicrosecond||0)*qn+(t.isoNanosecond||0)]}}function Ia(t,e){const[n,r]=Vo(wn(t)-e);return pe(zt({...t,isoDay:t.isoDay+r,...n}))}function qo(...t){return pr(...t)/El}function pr(...t){const[e,n]=Nc(...t),r=e.valueOf();if(!isNaN(r))return r-n*oe}function Nc(t,e=1,n=1,r=0,o=0,i=0,a=0){const s=t===ao?1:t===io?-1:0,u=new Date;return u.setUTCHours(r,o,i,a),u.setUTCFullYear(t,e-1,n+s),[u,s]}function _n(t,e){let[n,r]=dr(t,e);r<0&&(r+=et,n-=1);const[o,i]=tn(r,rn),[a,s]=tn(i,qn);return Xo(n*oe+o,a,s)}function Xo(t,e=0,n=0){const r=Math.ceil(Math.max(0,Math.abs(t)-Jv)/oe)*Math.sign(t),o=new Date(t-r*oe);return fr(xi,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),e,n])}function Rc(t){return[t.isoYear,t.isoMonth,t.isoDay]}function $c(){return on}function Fa(t,e){switch(e){case 2:return xa(t)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Lc(t){return xa(t)?366:365}function xa(t){return t%4==0&&(t%100!=0||t%400==0)}function kc(t){const[e,n]=Nc(t.isoYear,t.isoMonth,t.isoDay);return qr(e.getUTCDay()-n,7)||7}function _c({isoYear:t}){return t<1?["bce",1-t]:["ce",t]}function Eh(t){const e=Zt(t);if(e<eg)return _c(t);const n=Sa(Ws(Er),e),{era:r,eraYear:o}=Vf(n,Er);return[r,o]}function Go(t){return jn(t),Jo(t,1),t}function jn(t){return Yc(t,1),t}function jc(t){return gc(xs,t,Yc(t))}function Yc(t,e){const{isoYear:n}=t,r=ee(t,"isoMonth",1,$c(),e);return{isoYear:n,isoMonth:r,isoDay:ee(t,"isoDay",1,Fa(n,r),e)}}function Jo(t,e){return fr(je,[ee(t,"isoHour",0,23,e),ee(t,"isoMinute",0,59,e),ee(t,"isoSecond",0,59,e),ee(t,"isoMillisecond",0,999,e),ee(t,"isoMicrosecond",0,999,e),ee(t,"isoNanosecond",0,999,e)])}function K(t){return t===void 0?0:jl(gn(t))}function Ko(t,e=0){t=Ee(t);const n=Yl(t),r=lg(t,e);return[jl(t),r,n]}function Bc(t){return Yl(Ee(t))}function Mh(t){return t=Ee(t),$s(t,9,6,1)}function hr(t,e,n,r=9,o=0,i=4){e=Ee(e);let a=$s(e,r,o),s=Na(e),u=co(e,i);const c=uo(e,r,o,1);return a==null?a=Math.max(n,c):Zc(a,c),s=Ra(s,c,1),t&&(u=(f=>f<4?(f+2)%4:f)(u)),[a,c,s,u]}function Qo(t,e=6,n){let r=Na(t=$a(t,Pi));const o=co(t,7);let i=uo(t,e);return i=Dc(Pi,i),r=Ra(r,i,void 0,n),[i,r,o]}function Pa(t){return Ls(Ee(t))}function Uc(t,e){return Aa(Ee(t),e)}function Aa(t,e=4){const n=Wc(t);return[co(t,4),...Hc(uo(t,e),n)]}function Hc(t,e){return t!=null?[ke[t],t<4?9-3*t:-1]:[e===void 0?1:10**(9-e),e]}function Na(t){const e=t[so];return e===void 0?1:Wt(e,so)}function Ra(t,e,n,r){const o=r?et:ke[e+1];if(o){const i=ke[e];if(o%((t=Te(so,t,1,o/i-(r?0:1),1))*i))throw new RangeError(eo(so,t))}else t=Te(so,t,1,n?10**9:1,1);return t}function Wc(t){let e=t[Rs];if(e!==void 0){if(typeof e!="number"){if(Da(e)==="auto")return;throw new RangeError(eo(Rs,e))}e=Te(Rs,Math.floor(e),0,9,1)}return e}function Ee(t){return t===void 0?{}:gn(t)}function $a(t,e){return typeof t=="string"?{[e]:t}:gn(t)}function wt(t){if(t!==void 0){if(Pt(t))return Object.assign(Object.create(null),t);throw new TypeError(hl)}}function ti(t,e){return t&&Object.assign(Object.create(null),t,{overflow:rg[e]})}function La(t,e,n=9,r=0,o){let i=e[t];if(i===void 0)return o?r:void 0;if(i=Da(i),i==="auto")return o?r:null;let a=Os[i];if(a===void 0&&(a=Xv[i]),a===void 0)throw new RangeError(yl(t,i,Os));return Te(t,a,r,n,1,Mi),a}function Yn(t,e,n,r=0){const o=n[t];if(o===void 0)return r;const i=Da(o),a=e[i];if(a===void 0)throw new RangeError(yl(t,i,e));return a}function Zc(t,e){if(e>t)throw new RangeError(Lv)}function At(t){return{branding:_s,epochNanoseconds:t}}function Vt(t,e,n){return{branding:Cn,calendar:n,timeZone:e,epochNanoseconds:t}}function bt(t,e=t.calendar){return{branding:Cr,calendar:e,...de($l,t)}}function Ot(t,e=t.calendar){return{branding:Sr,calendar:e,...de(Ps,t)}}function Bn(t,e=t.calendar){return{branding:fo,calendar:e,...de(Ps,t)}}function ei(t,e=t.calendar){return{branding:lo,calendar:e,...de(Ps,t)}}function $e(t){return{branding:ks,...de(Rl,t)}}function ft(t){return{branding:js,sign:On(t),...de(Cs,t)}}function Sh(t){return Pc(t.epochNanoseconds)}function ka(t){return Ma(t.epochNanoseconds,rn)[0]}function Ch(t){return xc(t.epochNanoseconds,qn)}function Ih(t){return xc(t.epochNanoseconds)}function zc(t){return t.epochNanoseconds}function qt(t){return typeof t=="string"?t:ht(t.id)}function mr(t,e){return t===e||qt(t)===qt(e)}function Fh(t,e,n,r,o){const i=Zn(r),[a,s]=((h,v)=>{const m=v((h=$a(h,Ns))[kl]);let g=fg(h);return g=Dc(Ns,g),[g,m]})(o,t);if(fi(Math.max(a,i),s))return((h,v)=>Re(Tt(h),ke[v],1))(r,a);if(!s)throw new RangeError(Ei);const[u,c,f]=ui(e,n,s),d=Va(f),p=ci(c,f);return((h,v,m,g,y,O)=>{const D=On(h),[l,T]=_a(Fs(m,h),m,D,g,y,O),b=ja(v,l,T);return h[Q[m]]+b*D})(...Of(r,a,u,d,p,qa(c,f)),a,u,d,p)}function _a(t,e,n,r,o,i){const a={...Dt,[Q[e]]:n},s=i(r,t),u=i(s,a);return[o(s),o(u)]}function ja(t,e,n){const r=Re(De(e,n));if(!r)throw new RangeError(ro);return Re(De(e,t))/r}function xh(t,e){const[n,r,o]=Qo(e,5,1);return At(oi(t.epochNanoseconds,n,r,o,1))}function Ph(t,e,n){let{epochNanoseconds:r,timeZone:o,calendar:i}=e;const[a,s,u]=Qo(n);if(a===0&&s===1)return e;const c=t(o);if(a===6)r=((f,d,p,h)=>{const v=ie(p,d),[m,g]=f(v),y=p.epochNanoseconds,O=me(d,m),D=me(d,g);if(Fc(y,O,D))throw new RangeError(ro);return Jc(ja(y,O,D),h)?D:O})(Xc,c,e,u);else{const f=c.getOffsetNanosecondsFor(r);r=Hn(c,Vc(_n(r,f),a,s,u),f,2,0,1)}return Vt(r,o,i)}function Ah(t,e){return bt(Vc(t,...Qo(e)),t.calendar)}function Nh(t,e){const[n,r,o]=Qo(e,5);var i;return $e((i=o,Ya(t,Gr(n,r),i)[0]))}function Rh(t,e){const n=t(e.timeZone),r=ie(e,n),[o,i]=Xc(r),a=Re(De(me(n,o),me(n,i)),Ci,1);if(a<=0)throw new RangeError(ro);return a}function $h(t,e){const{timeZone:n,calendar:r}=e,o=((i,a,s)=>me(a,i(ie(s,a))))(Gc,t(n),e);return Vt(o,n,r)}function Vc(t,e,n,r){return qc(t,Gr(e,n),r)}function qc(t,e,n){const[r,o]=Ya(t,e,n);return en({...Wn(t,o),...r})}function Ya(t,e,n){return Vo(bn(wn(t),e,n))}function ni(t){return bn(t,Si,7)}function Gr(t,e){return ke[t]*e}function Xc(t){const e=Gc(t);return[e,Wn(e,1)]}function Gc(t){return Gv(6,t)}function Lh(t,e,n){const r=Math.min(Zn(t),6);return yr(ii(Tt(t,r),e,n),r)}function ri(t,e,n,r,o,i,a,s,u){if(r===0&&o===1)return t;const c=r>6?jh:Xa(a)&&r<6?_h:kh;let[f,d,p]=c(t,e,n,r,o,i,a,s,u);return p&&(f=((h,v,m,g,y,O,D)=>{const l=On(h);for(let T=g+1;T<=m;T++){if(T===7&&m!==7)continue;const b=Fs(T,h);b[Q[T]]+=l;const F=Re(De(O(D(y,b)),v));if(F&&Math.sign(F)!==l)break;h=b}return h})(f,d,n,Math.max(6,r),a,s,u)),f}function oi(t,e,n,r,o){if(e===6){const i=(a=>a[0]+a[1]/et)(t);return[bn(i,n,r),0]}return ii(t,Gr(e,n),r,o)}function ii(t,e,n,r){let[o,i]=t;r&&i<0&&(i+=et,o-=1);const[a,s]=tn(bn(i,e,n),et);return Ea(o+a,s)}function bn(t,e,n){return Jc(t/e,n)*e}function Jc(t,e){return hg[e](t)}function kh(t,e,n,r,o,i){const a=On(t),s=Tt(t),u=oi(s,r,o,i),c=De(s,u),f=Math.sign(u[0]-s[0])===a,d=yr(u,Math.min(n,6));return[{...t,...d},lr(e,c),f]}function _h(t,e,n,r,o,i,a,s,u){const c=On(t);let[f,d]=Tt(t,5);const p=Gr(r,o);let h=bn(d,p,i);const[v,m]=_a({...t,...Is},6,c,a,s,u),g=h-Re(De(v,m));g&&Math.sign(g)!==c?e=dr(v,h):(f+=c,h=bn(g,p,i),e=dr(m,h));const y=li(h);return[{...t,...y,days:t.days+f},e,!!f]}function jh(t,e,n,r,o,i,a,s,u){const c=On(t),f=Q[r],d=Fs(r,t),p=jo(t[f],o)*o;d[f]=p;const[h,v]=_a(d,r,o*c,a,s,u),m=p+ja(e,h,v)*c*o,g=bn(m,o,i),y=Math.sign(g-m)===c;return d[f]=g,[d,y?v:h,y]}function Kc(t,e,n,r){const[o,i,a,s]=(c=>{const f=Aa(c=Ee(c));return[c.timeZone,...f]})(r),u=o!==void 0;return((c,f,d,p,h,v)=>{d=ii(d,h,p,1);const m=f.getOffsetNanosecondsFor(d);return Ua(_n(d,m),v)+(c?vr(ni(m)):"Z")})(u,e(u?t(o):Gn),n.epochNanoseconds,i,a,s)}function Qc(t,e,n){const[r,o,i,a,s,u]=(c=>{c=Ee(c);const f=Ls(c),d=Wc(c),p=pg(c),h=co(c,4),v=uo(c,4);return[f,dg(c),p,h,...Hc(v,d)]})(n);return((c,f,d,p,h,v,m,g,y,O)=>{p=ii(p,y,g,1);const D=c(d).getOffsetNanosecondsFor(p);return Ua(_n(p,D),O)+vr(ni(D),m)+((l,T)=>T!==1?"["+(T===2?"!":"")+qt(l)+"]":"")(d,v)+Ha(f,h)})(t,e.calendar,e.timeZone,e.epochNanoseconds,r,o,i,a,s,u)}function tf(t,e){const[n,r,o,i]=(c=>(c=Ee(c),[Ls(c),...Aa(c)]))(e);return a=t.calendar,s=n,u=i,Ua(qc(t,o,r),u)+Ha(a,s);var a,s,u}function ef(t,e){return n=t.calendar,r=t,o=Pa(e),ai(r)+Ha(n,o);var n,r,o}function nf(t,e){return af(t.calendar,uf,t,Pa(e))}function rf(t,e){return af(t.calendar,Yh,t,Pa(e))}function of(t,e){const[n,r,o]=Uc(e);return i=o,cf(Ya(t,r,n)[0],i);var i}function Ba(t,e){const[n,r,o]=Uc(e,3);return r>1&&(t={...t,...Lh(t,r,n)}),((i,a)=>{const{sign:s}=i,u=s===-1?Xt(i):i,{hours:c,minutes:f}=u,[d,p]=Ma(Tt(u,3),Se,vn);Df(d);const h=Wa(p,a),v=a>=0||!s||h;return(s<0?"-":"")+"P"+sf({Y:Un(u.years),M:Un(u.months),W:Un(u.weeks),D:Un(u.days)})+(c||f||d||v?"T"+sf({H:Un(c),M:Un(f),S:Un(d,v)+h}):"")})(t,o)}function af(t,e,n,r){const o=qt(t),i=r>1||r===0&&o!==U;return r===1?o===U?e(n):ai(n):i?ai(n)+ff(o,r===2):e(n)}function sf(t){const e=[];for(const n in t){const r=t[n];r&&e.push(r,n)}return e.join("")}function Ua(t,e){return ai(t)+"T"+cf(t,e)}function ai(t){return uf(t)+"-"+Me(t.isoDay)}function uf(t){const{isoYear:e}=t;return(e<0||e>9999?lf(e)+_o(6,Math.abs(e)):_o(4,e))+"-"+Me(t.isoMonth)}function Yh(t){return Me(t.isoMonth)+"-"+Me(t.isoDay)}function cf(t,e){const n=[Me(t.isoHour),Me(t.isoMinute)];return e!==-1&&n.push(Me(t.isoSecond)+((r,o,i,a)=>Wa(r*rn+o*qn+i,a))(t.isoMillisecond,t.isoMicrosecond,t.isoNanosecond,e)),n.join(":")}function vr(t,e=0){if(e===1)return"";const[n,r]=tn(Math.abs(t),Ci),[o,i]=tn(r,Si),[a,s]=tn(i,Se);return lf(t)+Me(n)+":"+Me(o)+(a||s?":"+Me(a)+Wa(s):"")}function Ha(t,e){if(e!==1){const n=qt(t);if(e>1||e===0&&n!==U)return ff(n,e===2)}return""}function ff(t,e){return"["+(e?"!":"")+"u-ca="+t+"]"}function Wa(t,e){let n=_o(9,t);return n=e===void 0?n.replace(gg,""):n.slice(0,e),n?"."+n:""}function lf(t){return t<0?"-":"+"}function Un(t,e){return t||e?t.toLocaleString("fullwide",{useGrouping:0}):""}function Bh(t,e){const{epochNanoseconds:n}=t,r=(e.getOffsetNanosecondsFor?e:e(t.timeZone)).getOffsetNanosecondsFor(n),o=_n(n,r);return{calendar:t.calendar,...o,offsetNanoseconds:r}}function Uh(t,e){const n=ie(e,t);return{calendar:e.calendar,...de($l,n),offset:vr(n.offsetNanoseconds),timeZone:e.timeZone}}function Hn(t,e,n,r=0,o=0,i,a){if(n!==void 0&&r===1&&(r===1||a))return Ia(e,n);const s=t.getPossibleInstantsFor(e);if(n!==void 0&&r!==3){const u=((c,f,d,p)=>{const h=zt(f);p&&(d=ni(d));for(const v of c){let m=Re(De(v,h));if(p&&(m=ni(m)),m===d)return v}})(s,e,n,i);if(u!==void 0)return u;if(r===0)throw new RangeError(xv)}return a?zt(e):me(t,e,o,s)}function me(t,e,n=0,r=t.getPossibleInstantsFor(e)){if(r.length===1)return r[0];if(n===1)throw new RangeError(Pv);if(r.length)return r[n===3?1:0];const o=zt(e),i=((s,u)=>{const c=s.getOffsetNanosecondsFor(dr(u,-et));return pf(s.getOffsetNanosecondsFor(dr(u,et))-c)})(t,o),a=i*(n===2?-1:1);return(r=t.getPossibleInstantsFor(_n(o,a)))[n===2?0:r.length-1]}function df(t){if(Math.abs(t)>=et)throw new RangeError(Iv);return t}function pf(t){if(t>et)throw new RangeError(Fv);return t}function hf(t,e,n){return At(pe(lr(e.epochNanoseconds,(r=>{if(Ef(r))throw new RangeError(Rv);return Tt(r,5)})(t?Xt(n):n))))}function mf(t,e,n,r,o,i=Object.create(null)){const a=e(r.timeZone),s=t(r.calendar);return{...r,...Za(s,a,r,n?Xt(o):o,i)}}function vf(t,e,n,r,o=Object.create(null)){const{calendar:i}=n;return bt(za(t(i),n,e?Xt(r):r,o),i)}function gf(t,e,n,r,o){const{calendar:i}=n;return Ot(si(t(i),n,e?Xt(r):r,o),i)}function yf(t,e,n,r,o=Object.create(null)){const i=n.calendar,a=t(i);let s=Jr(a,n);e&&(r=Ga(r)),r.sign<0&&(s=a.dateAdd(s,{...Dt,months:1}),s=Wn(s,-1));const u=a.dateAdd(s,r,o);return Bn(Jr(a,u),i)}function wf(t,e,n){return $e(bf(e,t?Xt(n):n)[0])}function Za(t,e,n,r,o){const i=Tt(r,5);let a=n.epochNanoseconds;if(Ef(r)){const s=ie(n,e);a=lr(me(e,{...si(t,s,{...r,...Is},o),...de(je,s)}),i)}else a=lr(a,i),K(o);return{epochNanoseconds:pe(a)}}function za(t,e,n,r){const[o,i]=bf(e,n);return en({...si(t,e,{...n,...Is,days:n.days+i},r),...o})}function si(t,e,n,r){if(n.years||n.months||n.weeks)return t.dateAdd(e,n,r);K(r);const o=n.days+Tt(n,5)[0];return o?yn(Wn(e,o)):e}function Jr(t,e,n=1){return Wn(e,n-t.day(e))}function bf(t,e){const[n,r]=Tt(e,5),[o,i]=Vo(wn(t)+r);return[o,n+i]}function Wn(t,e){return e?{...t,...Xo(Zt(t)+e*oe)}:t}function ui(t,e,n){const r=t(n.calendar);return Xa(n)?[n,r,e(n.timeZone)]:[{...n,...Ye},r]}function Va(t){return t?zc:zt}function ci(t,e){return e?k(Za,t,e):k(za,t)}function qa(t,e){return e?k(dm,t,e):k(pm,t)}function Xa(t){return t&&t.epochNanoseconds}function fi(t,e){return t<=6-(Xa(e)?1:0)}function Of(t,e,n,r,o,i){const a=o(n,t);return[i(n,a,e),r(a)]}function Tf(t,e,n,r,o,i,a){const s=t(Ee(a).relativeTo),u=Math.max(Zn(o),Zn(i));if(fi(u,s))return ft(gr(((m,g,y,O)=>{const D=lr(Tt(m),Tt(g),O?-1:1);if(!Number.isFinite(D[0]))throw new RangeError(Di);return{...Dt,...yr(D,y)}})(o,i,u,r)));if(!s)throw new RangeError(Ei);r&&(i=Xt(i));const[c,f,d]=ui(e,n,s),p=ci(f,d),h=qa(f,d),v=p(c,o);return ft(h(c,p(v,i),u))}function Hh(t,e,n,r,o){const i=Zn(r),[a,s,u,c,f]=((b,F,$)=>{b=$a(b,Pi);let L=$s(b);const H=$(b[kl]);let z=Na(b);const G=co(b,7);let j=uo(b);if(L===void 0&&j===void 0)throw new RangeError($v);return j==null&&(j=0),L==null&&(L=Math.max(j,F)),Zc(L,j),z=Ra(z,j,1),[L,j,z,G,H]})(o,i,t);if(fi(Math.max(i,a),f))return ft(gr(((b,F,$,L,H)=>{const z=oi(Tt(b),$,L,H);return{...Dt,...yr(z,F)}})(r,a,s,u,c)));if(!f)throw new RangeError(Ei);const[d,p,h]=ui(e,n,f),v=Va(h),m=ci(p,h),g=qa(p,h);let y=0;r.weeks&&s===7&&(y=r.weeks,r={...r,weeks:0});let[O,D]=Of(r,a,d,v,m,g);const l=r.sign,T=On(O);if(l&&T&&l!==T)throw new RangeError(ro);return T&&(O=ri(O,D,a,s,u,c,d,v,m)),O.weeks+=y,ft(O)}function Wh(t){return t.sign===-1?Ga(t):t}function Ga(t){return ft(Xt(t))}function Xt(t){const e={};for(const n of Q)e[n]=-1*t[n]||0;return e}function Zh(t){return!t.sign}function On(t,e=Q){let n=0;for(const r of e){const o=Math.sign(t[r]);if(o){if(n&&n!==o)throw new RangeError(Nv);n=o}}return n}function gr(t){for(const e of qv)Te(e,t[e],-Bl,Bl,1);return Df(Re(Tt(t),Se)),t}function Df(t){if(!Number.isSafeInteger(t))throw new RangeError(Av)}function Tt(t,e=6){return bc(t,e,Q)}function yr(t,e=6){const[n,r]=t,o=Bo(r,e,Q);if(o[Q[e]]+=n*(et/ke[e]),!Number.isFinite(o[Q[e]]))throw new RangeError(Di);return o}function li(t,e=5){return Bo(t,e,Q)}function Ef(t){return!!On(t,Nl)}function Zn(t){let e=9;for(;e>0&&!t[Q[e]];e--);return e}function zh(t,e){return[t,e]}function Mf(t){const e=Math.floor(t/Ai)*Ai;return[e,e+Ai]}function Vh(t){const e=Tn(t=Wo(t));if(!e)throw new RangeError(re(t));let n;if(e.O)n=0;else{if(!e.offset)throw new RangeError(re(t));n=wr(e.offset)}return e.timeZone&&es(e.timeZone,1),At(Ia(Go(e),n))}function qh(t){const e=Tn(ht(t));if(!e)throw new RangeError(re(t));if(e.timeZone)return Sf(e,e.offset?wr(e.offset):void 0);if(e.O)throw new RangeError(re(t));return If(e)}function Xh(t,e){const n=Tn(ht(t));if(!n||!n.timeZone)throw new RangeError(re(t));const{offset:r}=n,o=r?wr(r):void 0,[,i,a]=Ko(e);return Sf(n,o,i,a)}function wr(t){const e=es(t);if(e===void 0)throw new RangeError(re(t));return e}function Gh(t){const e=Tn(ht(t));if(!e||e.O)throw new RangeError(re(t));return bt(Cf(e))}function Ja(t){const e=Tn(ht(t));if(!e||e.O)throw new RangeError(re(t));return Ot(e.I?Cf(e):If(e))}function Jh(t,e){const n=Qa(ht(e));if(n)return Ka(n),Bn(Ca(jn(n)));const r=Ja(e);return Bn(Jr(t(r.calendar),r))}function Ka(t){if(t.calendar!==U)throw new RangeError(nn(t.calendar))}function Kh(t,e){const n=ts(ht(e));if(n)return Ka(n),ei(jn(n));const r=Ja(e),{calendar:o}=r,i=t(o),[a,s,u]=i.v(r),[c,f]=i.$(a,s),[d,p]=i.k(c,f,u);return ei(yn(i.L(d,p,u)),o)}function Qh(t){let e,n=(r=>{const o=Eg.exec(r);return o?(di(o[10]),Pf(o)):void 0})(ht(t));if(!n){if(n=Tn(t),!n)throw new RangeError(re(t));if(!n.I)throw new RangeError(re(t));if(n.O)throw new RangeError(nn("Z"));Ka(n)}if((e=Qa(t))&&jc(e))throw new RangeError(re(t));if((e=ts(t))&&jc(e))throw new RangeError(re(t));return $e(Jo(n,1))}function tm(t){const e=(n=>{const r=Cg.exec(n);return r?(o=>{function i(f,d,p){let h=0,v=0;if(p&&([h,u]=tn(u,ke[p])),f!==void 0){if(s)throw new RangeError(nn(f));v=(m=>{const g=parseInt(m);if(!Number.isFinite(g))throw new RangeError(nn(m));return g})(f),a=1,d&&(u=ns(d)*(ke[p]/Se),s=1)}return h+v}let a=0,s=0,u=0,c={...fr(Q,[i(o[2]),i(o[3]),i(o[4]),i(o[5]),i(o[6],o[7],5),i(o[8],o[9],4),i(o[10],o[11],3)]),...Bo(u,2,Q)};if(!a)throw new RangeError(gl(Q));return rs(o[1])<0&&(c=Xt(c)),c})(r):void 0})(ht(t));if(!e)throw new RangeError(re(t));return ft(gr(e))}function em(t){const e=Tn(t)||Qa(t)||ts(t);return e?e.calendar:t}function nm(t){const e=Tn(t);return e&&(e.timeZone||e.O&&Gn||e.offset)||t}function Sf(t,e,n=0,r=0){const o=os(t.timeZone),i=Ys(o);return Vt(Hn(i,Go(t),e,n,r,!i.R,t.O),o,wi(t.calendar))}function Cf(t){return Ff(en(Go(t)))}function If(t){return Ff(yn(jn(t)))}function Ff(t){return{...t,calendar:wi(t.calendar)}}function Tn(t){const e=Dg.exec(t);return e?(n=>{const r=n[10],o=(r||"").toUpperCase()==="Z";return{isoYear:xf(n),isoMonth:parseInt(n[4]),isoDay:parseInt(n[5]),...Pf(n.slice(5)),...di(n[16]),I:!!n[6],O:o,offset:o?void 0:r}})(e):void 0}function Qa(t){const e=Og.exec(t);return e?(n=>({isoYear:xf(n),isoMonth:parseInt(n[4]),isoDay:1,...di(n[5])}))(e):void 0}function ts(t){const e=Tg.exec(t);return e?(n=>({isoYear:Mr,isoMonth:parseInt(n[1]),isoDay:parseInt(n[2]),...di(n[3])}))(e):void 0}function es(t,e){const n=Mg.exec(t);return n?((r,o)=>{const i=r[4]||r[5];if(o&&i)throw new RangeError(nn(i));return df((Or(r[2])*Ci+Or(r[3])*Si+Or(r[4])*Se+ns(r[5]||""))*rs(r[1]))})(n,e):void 0}function xf(t){const e=rs(t[1]),n=parseInt(t[2]||t[3]);if(e<0&&!n)throw new RangeError(nn(-0));return e*n}function Pf(t){const e=Or(t[3]);return{...Vo(ns(t[4]||""))[0],isoHour:Or(t[1]),isoMinute:Or(t[2]),isoSecond:e===60?59:e}}function di(t){let e,n;const r=[];if(t.replace(Sg,(o,i,a)=>{const s=!!i,[u,c]=a.split("=").reverse();if(c){if(c==="u-ca")r.push(u),e||(e=s);else if(s||/[A-Z]/.test(c))throw new RangeError(nn(o))}else{if(n)throw new RangeError(nn(o));n=u}return""}),r.length>1&&e)throw new RangeError(nn(t));return{timeZone:n,calendar:r[0]||U}}function ns(t){return parseInt(t.padEnd(9,"0"))}function br(t){return new RegExp(`^${t}$`,"i")}function rs(t){return t&&t!=="+"?-1:1}function Or(t){return t===void 0?0:parseInt(t)}function rm(t){return os(ht(t))}function os(t){const e=is(t);return typeof e=="number"?vr(e):e?(n=>{if(Fg.test(n))throw new RangeError(Cv);return n.toLowerCase().split("/").map((r,o)=>(r.length<=3||/\d/.test(r))&&!/etc|yap/.test(r)?r.toUpperCase():r.replace(/baja|dumont|[a-z]+/g,(i,a)=>i.length<=2&&!o||i==="in"||i==="chat"?i.toUpperCase():i.length>2||!a?wc(i).replace(/island|noronha|murdo|rivadavia|urville/,wc):i)).join("/")})(t):Gn}function Af(t){const e=is(t);return typeof e=="number"?e:e?e.resolvedOptions().timeZone:Gn}function is(t){const e=es(t=t.toUpperCase(),1);return e!==void 0?e:t!==Gn?Ig(t):void 0}function Nf(t,e){return ne(t.epochNanoseconds,e.epochNanoseconds)}function Rf(t,e){return ne(t.epochNanoseconds,e.epochNanoseconds)}function om(t,e,n,r,o,i){const a=t(Ee(i).relativeTo),s=Math.max(Zn(r),Zn(o));if(gc(Q,r,o))return 0;if(fi(s,a))return ne(Tt(r),Tt(o));if(!a)throw new RangeError(Ei);const[u,c,f]=ui(e,n,a),d=Va(f),p=ci(c,f);return ne(d(p(u,r)),d(p(u,o)))}function $f(t,e){return Tr(t,e)||as(t,e)}function Tr(t,e){return mn(Zt(t),Zt(e))}function as(t,e){return mn(wn(t),wn(e))}function im(t,e){return!Nf(t,e)}function am(t,e){return!Rf(t,e)&&!!ss(t.timeZone,e.timeZone)&&mr(t.calendar,e.calendar)}function sm(t,e){return!$f(t,e)&&mr(t.calendar,e.calendar)}function um(t,e){return!Tr(t,e)&&mr(t.calendar,e.calendar)}function cm(t,e){return!Tr(t,e)&&mr(t.calendar,e.calendar)}function fm(t,e){return!Tr(t,e)&&mr(t.calendar,e.calendar)}function lm(t,e){return!as(t,e)}function ss(t,e){if(t===e)return 1;const n=qt(t),r=qt(e);if(n===r)return 1;try{return Af(n)===Af(r)}catch{}}function Lf(t,e,n,r){const o=hr(t,wt(r),3,5),i=pi(e.epochNanoseconds,n.epochNanoseconds,...o);return ft(t?Xt(i):i)}function kf(t,e,n,r,o,i){const a=mi(r.calendar,o.calendar),s=wt(i),[u,c,f,d]=hr(n,s,5),p=r.epochNanoseconds,h=o.epochNanoseconds,v=ne(h,p);let m;if(v)if(u<6)m=pi(p,h,u,c,f,d);else{const g=e(((O,D)=>{if(!ss(O,D))throw new RangeError(Tl);return O})(r.timeZone,o.timeZone)),y=t(a);m=Hf(y,g,r,o,v,u,s),m=ri(m,h,u,c,f,d,r,zc,k(Za,y,g))}else m=Dt;return ft(n?Xt(m):m)}function _f(t,e,n,r,o){const i=mi(n.calendar,r.calendar),a=wt(o),[s,u,c,f]=hr(e,a,6),d=zt(n),p=zt(r),h=ne(p,d);let v;if(h)if(s<=6)v=pi(d,p,s,u,c,f);else{const m=t(i);v=Wf(m,n,r,h,s,a),v=ri(v,p,s,u,c,f,n,zt,k(za,m))}else v=Dt;return ft(e?Xt(v):v)}function jf(t,e,n,r,o){const i=mi(n.calendar,r.calendar),a=wt(o);return Bf(e,()=>t(i),n,r,...hr(e,a,6,9,6),a)}function Yf(t,e,n,r,o){const i=mi(n.calendar,r.calendar),a=wt(o),s=hr(e,a,9,9,8),u=t(i);return Bf(e,()=>u,Jr(u,n),Jr(u,r),...s,a)}function Bf(t,e,n,r,o,i,a,s,u){const c=zt(n),f=zt(r);let d;if(ne(f,c))if(o===6)d=pi(c,f,o,i,a,s);else{const p=e();d=p.dateUntil(n,r,o,u),i===6&&a===1||(d=ri(d,f,o,i,a,s,n,zt,k(si,p)))}else d=Dt;return ft(t?Xt(d):d)}function Uf(t,e,n,r){const o=wt(r),[i,a,s,u]=hr(t,o,5,5),c=bn(us(e,n),Gr(a,s),u),f={...Dt,...li(c,i)};return ft(t?Xt(f):f)}function dm(t,e,n,r,o,i){const a=ne(r.epochNanoseconds,n.epochNanoseconds);return a?o<6?Zf(n.epochNanoseconds,r.epochNanoseconds,o):Hf(t,e,n,r,a,o,i):Dt}function pm(t,e,n,r,o){const i=zt(e),a=zt(n),s=ne(a,i);return s?r<=6?Zf(i,a,r):Wf(t,e,n,s,r,o):Dt}function Hf(t,e,n,r,o,i,a){const[s,u,c]=((p,h,v,m)=>{function g(){return F={...Wn(D,T++*-m),...O},$=me(p,F),ne(l,$)===-m}const y=ie(h,p),O=de(je,y),D=ie(v,p),l=v.epochNanoseconds;let T=0;const b=us(y,D);let F,$;if(Math.sign(b)===-m&&T++,g()&&(m===-1||g()))throw new RangeError(ro);const L=Re(De($,l));return[y,F,L]})(e,n,r,o);var f,d;return{...i===6?(f=s,d=u,{...Dt,days:zf(f,d)}):t.dateUntil(s,u,i,a),...li(c)}}function Wf(t,e,n,r,o,i){let a=e,s=us(e,n);return Math.sign(s)===-r&&(a=Wn(e,r),s+=et*r),{...t.dateUntil(a,n,o,i),...li(s)}}function pi(t,e,n,r,o,i){return{...Dt,...yr(oi(De(t,e),r,o,i),n)}}function Zf(t,e,n){return{...Dt,...yr(De(t,e),n)}}function zf(t,e){return hi(Zt(t),Zt(e))}function hi(t,e){return Math.trunc((e-t)/oe)}function us(t,e){return wn(e)-wn(t)}function mi(t,e){if(!mr(t,e))throw new RangeError(bs);return t}function hm(t){function e(o){return((i,a)=>({...Vf(i,a),o:i.month,day:parseInt(i.day)}))(Sa(n,o),r)}const n=Ws(t),r=bi(t);return{id:t,h:mm(e),l:vm(e)}}function mm(t){return le(e=>{const n=Zt(e);return t(n)},WeakMap)}function vm(t){const e=t(0).year-tg;return le(n=>{let r,o=pr(n-e);const i=[],a=[];do o+=400*oe;while((r=t(o)).year<=n);do o+=(1-r.day)*oe,r.year===n&&(i.push(o),a.push(r.o)),o-=oe;while((r=t(o)).year>=n);return{i:i.reverse(),u:Dl(a.reverse())}})}function Vf(t,e){let n,r,o=qf(t);if(t.era){const a=Al[e];a!==void 0&&(i=(i=t.era).normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),n=Uv[i]||i,r=o,o=tl(r,a[n]||0))}var i;return{era:n,eraYear:r,year:o}}function qf(t){return parseInt(t.relatedYear||t.year)}function cs(t){const{year:e,o:n,day:r}=this.h(t),{u:o}=this.l(e);return[e,o[n]+1,r]}function Kr(t,e=1,n=1){return this.l(t).i[e-1]+(n-1)*oe}function vi(t){const e=Gf(this,t),n=Gf(this,t-1),r=e.length;if(r>n.length){const o=el(this);if(o<0)return-o;for(let i=0;i<r;i++)if(e[i]!==n[i])return i+1}}function gi(t){return hi(Kr.call(this,t),Kr.call(this,t+1))}function Xf(t,e){const{i:n}=this.l(t);let r=e+1,o=n;return r>n.length&&(r=1,o=this.l(t+1).i),hi(n[e-1],o[r-1])}function yi(t){return this.l(t).i.length}function Gf(t,e){return Object.keys(t.l(e).u)}function gm(t){return wi(ht(t))}function wi(t){if((t=t.toLowerCase())!==U&&t!==Fi&&bi(t)!==bi(Ws(t).resolvedOptions().calendar))throw new RangeError(Sv(t));return t}function bi(t){return t==="islamicc"&&(t="islamic"),t.split("-")[0]}function Jf(t){return this.m(t)[0]}function Kf(t){return this.m(t)[1]}function fs(t){const[e]=this.v(t);return hi(this.p(e),Zt(t))+1}function Qf(t){const e=Pg.exec(t);if(!e)throw new RangeError(Dv(t));return[parseInt(e[1]),!!e[2]]}function Oi(t,e,n){return t+(e||n&&t>=n?1:0)}function ls(t,e){return t-(e&&t>=e?1:0)}function tl(t,e){return(e+t)*(Math.sign(e)||1)||0}function ds(t){return Al[nl(t)]}function el(t){return Hv[nl(t)]}function nl(t){return bi(t.id||U)}function ym(t,e,n,r){const o=Dn(n,r,_e,[],Il);if(o.timeZone!==void 0){const i=n.dateFromFields(o),a=zn(o),s=t(o.timeZone);return{epochNanoseconds:Hn(e(s),{...i,...a},o.offset!==void 0?wr(o.offset):void 0),timeZone:s}}return{...n.dateFromFields(o),...Ye}}function wm(t,e,n,r,o,i){const a=Dn(n,o,_e,Sl,Il),s=t(a.timeZone),[u,c,f]=Ko(i),d=n.dateFromFields(a,ti(i,u)),p=zn(a,u);return Vt(Hn(e(s),{...d,...p},a.offset!==void 0?wr(a.offset):void 0,c,f),s,r)}function bm(t,e,n){const r=Dn(t,e,_e,[],Sn),o=K(n);return bt(en({...t.dateFromFields(r,ti(n,o)),...zn(r,o)}))}function rl(t,e,n,r=[]){const o=Dn(t,e,_e,r);return t.dateFromFields(o,n)}function ol(t,e,n,r){const o=Dn(t,e,Ss,r);return t.yearMonthFromFields(o,n)}function il(t,e,n,r,o=[]){const i=Dn(t,n,_e,o);return e&&i.month!==void 0&&i.monthCode===void 0&&i.year===void 0&&(i.year=Mr),t.monthDayFromFields(i,r)}function Om(t,e){const n=K(e);return $e(zn(Le(t,Ts,[],1),n))}function Tm(t){const e=Le(t,Cs);return ft(gr({...Dt,...e}))}function Dn(t,e,n,r=[],o=[]){return Le(e,[...t.fields(n),...o].sort(),r)}function Le(t,e,n,r=!n){const o={};let i,a=0;for(const s of e){if(s===i)throw new RangeError(mv(s));if(s==="constructor"||s==="__proto__")throw new RangeError(vl(s));let u=t[s];if(u!==void 0)a=1,Wl[s]&&(u=Wl[s](u,s)),o[s]=u;else if(n){if(n.includes(s))throw new TypeError(ws(s));o[s]=Pl[s]}i=s}if(r&&!a)throw new TypeError(gl(e));return o}function zn(t,e){return Jo($g({...Pl,...t}),e)}function Dm(t,e,n,r,o,i){const a=wt(i),{calendar:s,timeZone:u}=n;return Vt(((c,f,d,p,h)=>{const v=Qr(c,d,p,_e,Cl,Ml),[m,g,y]=Ko(h,2);return Hn(f,{...c.dateFromFields(v,ti(h,m)),...zn(v,m)},wr(v.offset),g,y)})(t(s),e(u),r,o,a),u,s)}function Em(t,e,n,r,o){const i=wt(o);return bt(((a,s,u,c)=>{const f=Qr(a,s,u,_e,Sn),d=K(c);return en({...a.dateFromFields(f,ti(c,d)),...zn(f,d)})})(t(e.calendar),n,r,i))}function Mm(t,e,n,r,o){const i=wt(o);return((a,s,u,c)=>{const f=Qr(a,s,u,_e);return a.dateFromFields(f,c)})(t(e.calendar),n,r,i)}function Sm(t,e,n,r,o){const i=wt(o);return Bn(((a,s,u,c)=>{const f=Qr(a,s,u,Ss);return a.yearMonthFromFields(f,c)})(t(e.calendar),n,r,i))}function Cm(t,e,n,r,o){const i=wt(o);return((a,s,u,c)=>{const f=Qr(a,s,u,_e);return a.monthDayFromFields(f,c)})(t(e.calendar),n,r,i)}function Im(t,e,n){return $e(((r,o,i)=>{const a=K(i);return zn({...de(Ts,r),...Le(o,Ts)},a)})(t,e,n))}function Fm(t,e){return ft((n=t,r=e,gr({...n,...Le(r,Cs)})));var n,r}function Qr(t,e,n,r,o=[],i=[]){const a=[...t.fields(r),...o].sort();let s=Le(e,a,i);const u=Le(n,a);return s=t.mergeFields(s,u),Le(s,a,[])}function ps(t,e){const n=Dn(t,e,xl);return t.monthDayFromFields(n)}function hs(t,e,n){const r=Dn(t,e,Fl);return t.yearMonthFromFields(r,n)}function al(t,e,n,r,o){e=de(n=t.fields(n),e),r=Le(r,o=t.fields(o),[]);let i=t.mergeFields(e,r);return i=Le(i,[...n,...o].sort(),[]),t.dateFromFields(i)}function ms(t,e){let{era:n,eraYear:r,year:o}=e;const i=ds(t);if(n!==void 0||r!==void 0){if(n===void 0||r===void 0)throw new TypeError(wv);if(!i)throw new RangeError(yv);const a=i[n];if(a===void 0)throw new RangeError(Ov(n));const s=tl(r,a);if(o!==void 0&&o!==s)throw new RangeError(bv);o=s}else if(o===void 0)throw new TypeError(Tv(i));return o}function vs(t,e,n,r){let{month:o,monthCode:i}=e;if(i!==void 0){const a=((s,u,c,f)=>{const d=s.P(c),[p,h]=Qf(u);let v=Oi(p,h,d);if(h){const m=el(s);if(m===void 0)throw new RangeError(no);if(m>0){if(v>m)throw new RangeError(no);if(d===void 0){if(f===1)throw new RangeError(no);v--}}else{if(v!==-m)throw new RangeError(no);if(d===void 0&&f===1)throw new RangeError(no)}}return v})(t,i,n,r);if(o!==void 0&&o!==a)throw new RangeError(bl);o=a,r=1}else if(o===void 0)throw new TypeError(Ev);return Te("month",o,1,t.j(n),r)}function sl(t,e,n,r,o){return ee(e,"day",1,t.N(r,n),o)}function gs(t,e,n,r){let o=0;const i=[];for(const a of n)e[a]!==void 0?o=1:i.push(a);if(Object.assign(t,e),o)for(const a of r||i)delete t[a]}function xm(t){return At(pe(zo(Zo(t))))}function Pm(t,e,n,r,o=U){return Vt(pe(zo(Zo(n))),e(r),t(o))}function Am(t,e,n,r,o=0,i=0,a=0,s=0,u=0,c=0,f=U){return bt(en(Go(Ae(Wt,fr(xi,[e,n,r,o,i,a,s,u,c])))),t(f))}function Nm(t,e,n,r,o=U){return Ot(yn(jn(Ae(Wt,{isoYear:e,isoMonth:n,isoDay:r}))),t(o))}function Rm(t,e,n,r=U,o=1){const i=Wt(e),a=Wt(n),s=t(r);return Bn(Ca(jn({isoYear:i,isoMonth:a,isoDay:Wt(o)})),s)}function $m(t,e,n,r=U,o=Mr){const i=Wt(e),a=Wt(n),s=t(r);return ei(yn(jn({isoYear:Wt(o),isoMonth:i,isoDay:a})),s)}function Lm(t=0,e=0,n=0,r=0,o=0,i=0){return $e(Jo(Ae(Wt,fr(je,[t,e,n,r,o,i])),1))}function km(t=0,e=0,n=0,r=0,o=0,i=0,a=0,s=0,u=0,c=0){return ft(gr(Ae(Cc,fr(Q,[t,e,n,r,o,i,a,s,u,c]))))}function ul(t,e,n=U){return Vt(t.epochNanoseconds,e,n)}function _m(t){return At(t.epochNanoseconds)}function cl(t,e){return bt(ie(e,t))}function fl(t,e){return Ot(ie(e,t))}function jm(t,e,n){return hs(t(e.calendar),n)}function Ym(t,e,n){return ps(t(e.calendar),n)}function ll(t,e){return $e(ie(e,t))}function Bm(t,e,n,r){const o=((i,a,s,u)=>{const c=Bc(u);return me(i(a),s,c)})(t,n,e,r);return Vt(pe(o),n,e.calendar)}function Um(t,e,n){const r=t(e.calendar);return Bn({...e,...hs(r,n)})}function Hm(t,e,n){return ps(t(e.calendar),n)}function Wm(t,e,n,r,o){const i=t(o.timeZone),a=o.plainTime,s=a!==void 0?e(a):Ye;return Vt(me(n(i),{...r,...s}),i,r.calendar)}function Zm(t,e=Ye){return bt(en({...t,...e}))}function zm(t,e,n){return hs(t(e.calendar),n)}function Vm(t,e,n){return ps(t(e.calendar),n)}function qm(t,e,n,r){return((o,i,a)=>al(o,i,Fl,gn(a),oo))(t(e.calendar),n,r)}function Xm(t,e,n,r){return((o,i,a)=>al(o,i,xl,gn(a),Ii))(t(e.calendar),n,r)}function Gm(t,e,n,r,o){const i=gn(o),a=e(i.plainDate),s=t(i.timeZone);return Vt(me(n(s),{...a,...r}),s,a.calendar)}function Jm(t,e){return bt(en({...t,...e}))}function Km(t){return At(pe(Xr(t,Se)))}function Qm(t){return At(pe(Xr(t,rn)))}function tv(t){return At(pe(zo(Zo(t),qn)))}function ev(t){return At(pe(zo(Zo(t))))}function nv(t,e,n=Ye){const r=e.timeZone,o=t(r),i={...ie(e,o),...n};return Vt(Hn(o,i,i.offsetNanoseconds,2),r,e.calendar)}function rv(t,e,n){const r=e.timeZone,o=t(r),i={...ie(e,o),...n},a=dl(e.calendar,n.calendar);return Vt(Hn(o,i,i.offsetNanoseconds,2),r,a)}function ov(t,e=Ye){return bt({...t,...e})}function iv(t,e){return bt({...t,...e},dl(t.calendar,e.calendar))}function ys(t,e){return{...t,calendar:e}}function av(t,e){return{...t,timeZone:e}}function dl(t,e){if(t===e)return t;const n=qt(t),r=qt(e);if(n===r||n===U)return e;if(r===U)return t;throw new RangeError(bs)}function sv(t,e){return n=>n===U?t:n===Fi||n===Er?Object.assign(Object.create(t),{id:n}):Object.assign(Object.create(e),xg(n))}function Vn(t,e,n){const r=new Set(n);return o=>(((i,a)=>{for(const s of a)if(s in i)return 1;return 0})(o=mc(r,o),t)||Object.assign(o,e),n&&(o.timeZone=Gn,["full","long"].includes(o.timeStyle)&&(o.timeStyle="medium")),o)}function En(t,e=pl){const[n,,,r]=t;return(o,i=Jg,...a)=>{const s=e(r&&r(...a),o,i,n),u=s.resolvedOptions();return[s,...uv(t,u,a)]}}function pl(t,e,n,r){if(n=r(n),t){if(n.timeZone!==void 0)throw new TypeError(jv);n.timeZone=t}return new Xn(e,n)}function uv(t,e,n){const[,r,o]=t;return n.map(i=>(i.calendar&&((a,s,u)=>{if((u||a!==U)&&a!==s)throw new RangeError(bs)})(qt(i.calendar),e.calendar,o),r(i,e)))}function to(t){const e=Ti();return _n(e,t.getOffsetNanosecondsFor(e))}function Ti(){return Xr(Date.now(),rn)}function Mn(){return Ql||(Ql=new Xn().resolvedOptions().timeZone)}const cv=(t,e)=>`Non-integer ${t}: ${e}`,fv=(t,e)=>`Non-positive ${t}: ${e}`,lv=(t,e)=>`Non-finite ${t}: ${e}`,dv=t=>`Cannot convert bigint to ${t}`,pv=t=>`Invalid bigint: ${t}`,hv="Cannot convert Symbol to string",hl="Invalid object",ml=(t,e,n,r,o)=>o?ml(t,o[e],o[n],o[r]):eo(t,e)+`; must be between ${n}-${r}`,eo=(t,e)=>`Invalid ${t}: ${e}`,ws=t=>`Missing ${t}`,vl=t=>`Invalid field ${t}`,mv=t=>`Duplicate field ${t}`,gl=t=>"No valid fields: "+t.join(),vv="Invalid bag",yl=(t,e,n)=>eo(t,e)+"; must be "+Object.keys(n).join(),gv="Cannot use valueOf",wl="Invalid calling context",yv="Forbidden era/eraYear",wv="Mismatching era/eraYear",bv="Mismatching year/eraYear",Ov=t=>`Invalid era: ${t}`,Tv=t=>"Missing year"+(t?"/era/eraYear":""),Dv=t=>`Invalid monthCode: ${t}`,bl="Mismatching month/monthCode",Ev="Missing month/monthCode",Ol="Cannot guess year",no="Invalid leap month",Mv="Invalid protocol",ro="Invalid protocol results",bs="Mismatching Calendars",Sv=t=>`Invalid Calendar: ${t}`,Tl="Mismatching TimeZones",Cv="Forbidden ICU TimeZone",Iv="Out-of-bounds offset",Fv="Out-of-bounds TimeZone gap",xv="Invalid TimeZone offset",Pv="Ambiguous offset",Di="Out-of-bounds date",Av="Out-of-bounds duration",Nv="Cannot mix duration signs",Ei="Missing relativeTo",Rv="Cannot use large units",$v="Required smallestUnit or largestUnit",Lv="smallestUnit > largestUnit",re=t=>`Cannot parse: ${t}`,nn=t=>`Invalid substring: ${t}`,kv=t=>`Cannot format ${t}`,_v="Mismatching types for formatting",jv="Cannot specify TimeZone",Dl=k(ko,(t,e)=>e),Dr=k(ko,(t,e,n)=>n),Me=k(_o,2),Os={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},Mi=Object.keys(Os),oe=864e5,El=1e3,qn=1e3,rn=1e6,Se=1e9,Si=6e10,Ci=36e11,et=864e11,ke=[1,qn,rn,Se,Si,Ci,et],Sn=Mi.slice(0,6),Ts=Vr(Sn),Ml=["offset"],Sl=["timeZone"],Cl=Sn.concat(Ml),Il=Cl.concat(Sl),Ds=["era","eraYear"],Yv=Ds.concat(["year"]),Ii=["year"],Es=["monthCode"],Ms=["month"].concat(Es),oo=["day"],Ss=Ms.concat(Ii),Fl=Es.concat(Ii),_e=oo.concat(Ss),Bv=oo.concat(Ms),xl=oo.concat(Es),Pl=Dr(Sn,0),U="iso8601",Fi="gregory",Er="japanese",Al={[Fi]:{bce:-1,ce:0},[Er]:{bce:-1,ce:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethioaa:{era0:0},ethiopic:{era0:0,era1:5500},coptic:{era0:-1,era1:0},roc:{beforeroc:-1,minguo:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},Uv={bc:"bce",ad:"ce"},Hv={chinese:13,dangi:13,hebrew:-6},ht=k(Ho,"string"),Wv=k(Ho,"boolean"),Zv=k(Ho,"number"),zv=k(Ho,"function"),Q=Mi.map(t=>t+"s"),Cs=Vr(Q),Vv=Q.slice(0,6),Nl=Q.slice(6),qv=Nl.slice(1),Xv=Dl(Q),Dt=Dr(Q,0),Is=Dr(Vv,0),Fs=k(yc,Q),je=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],xs=["isoDay","isoMonth","isoYear"],xi=je.concat(xs),Ps=Vr(xs),Rl=Vr(je),$l=Vr(xi),Ye=Dr(Rl,0),Gv=k(yc,xi),Xn=Intl.DateTimeFormat,Ll="en-GB",As=1e8,Jv=As*oe,Kv=[As,0],Qv=[-As,0],io=275760,ao=-271821,tg=1970,Mr=1972,on=12,eg=pr(1868,9,8),ng=le(Eh,WeakMap),Pi="smallestUnit",Ns="unit",so="roundingIncrement",Rs="fractionalSecondDigits",kl="relativeTo",_l={constrain:0,reject:1},rg=Object.keys(_l),og={compatible:0,reject:1,earlier:2,later:3},ig={reject:0,use:1,prefer:2,ignore:3},ag={auto:0,never:1,critical:2,always:3},sg={auto:0,never:1,critical:2},ug={auto:0,never:1},cg={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},uo=k(La,Pi),$s=k(La,"largestUnit"),fg=k(La,Ns),jl=k(Yn,"overflow",_l),Yl=k(Yn,"disambiguation",og),lg=k(Yn,"offset",ig),Ls=k(Yn,"calendarName",ag),dg=k(Yn,"timeZoneName",sg),pg=k(Yn,"offset",ug),co=k(Yn,"roundingMode",cg),fo="PlainYearMonth",lo="PlainMonthDay",Sr="PlainDate",Cr="PlainDateTime",ks="PlainTime",Cn="ZonedDateTime",_s="Instant",js="Duration",hg=[Math.floor,t=>Yo(t)?Math.floor(t):Math.round(t),Math.ceil,t=>Yo(t)?Math.ceil(t):Math.round(t),Math.trunc,t=>Yo(t)?Math.trunc(t)||0:Math.round(t),t=>t<0?Math.floor(t):Math.ceil(t),t=>Math.sign(t)*Math.round(Math.abs(t))||0,t=>Yo(t)?(t=Math.trunc(t)||0)+t%2:Math.round(t)],Gn="UTC",Ai=5184e3,mg=qo(1847),vg=qo(new Date().getUTCFullYear()+10),gg=/0+$/,ie=le(Bh,WeakMap),Bl=2**32-1,Ys=le(t=>{const e=is(t);return typeof e=="object"?new wg(e):new yg(e||0)});class yg{constructor(e){this.R=e}getOffsetNanosecondsFor(){return this.R}getPossibleInstantsFor(e){return[Ia(e,this.R)]}B(){}}class wg{constructor(e){this.q=(n=>{function r(c){const f=Oa(c,s,u),[d,p]=Mf(f),h=i(d),v=i(p);return h===v?h:o(a(d,p),h,v,c)}function o(c,f,d,p){let h,v;for(;(p===void 0||(h=p<c[0]?f:p>=c[1]?d:void 0)===void 0)&&(v=c[1]-c[0]);){const m=c[0]+Math.floor(v/2);n(m)===d?c[1]=m:c[0]=m+1}return h}const i=le(n),a=le(zh);let s=mg,u=vg;return{J(c){const f=r(c-86400),d=r(c+86400),p=c-f,h=c-d;if(f===d)return[p];const v=r(p);return v===r(h)?[c-v]:f>d?[p,h]:[]},_:r,B(c,f){const d=Oa(c,s,u);let[p,h]=Mf(d);const v=Ai*f,m=f<0?()=>h>s||(s=d,0):()=>p<u||(u=d,0);for(;m();){const g=i(p),y=i(h);if(g!==y){const O=a(p,h);o(O,g,y);const D=O[0];if((mn(D,c)||1)===f)return D}p+=v,h+=v}}}})((n=>r=>{const o=Sa(n,r*El);return qo(qf(o),parseInt(o.month),parseInt(o.day),parseInt(o.hour),parseInt(o.minute),parseInt(o.second))-r})(e))}getOffsetNanosecondsFor(e){return this.q._(Pc(e))*Se}getPossibleInstantsFor(e){const[n,r]=[qo((o=e).isoYear,o.isoMonth,o.isoDay,o.isoHour,o.isoMinute,o.isoSecond),o.isoMillisecond*rn+o.isoMicrosecond*qn+o.isoNanosecond];var o;return this.q.J(n).map(i=>pe(dr(Xr(i,Se),r)))}B(e,n){const[r,o]=Ac(e),i=this.q.B(r+(n>0||o?1:0),n);if(i!==void 0)return Xr(i,Se)}}const Bs="([+\u2212-])",Ni="(?:[.,](\\d{1,9}))?",Ul=`(?:(?:${Bs}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Us="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+Ni+")?)?",Hs=Bs+Us,bg=Ul+"-?(\\d{2})(?:[T ]"+Us+"(Z|"+Hs+")?)?",Hl="\\[(!?)([^\\]]*)\\]",Ri=`((?:${Hl}){0,9})`,Og=br(Ul+Ri),Tg=br("(?:--)?(\\d{2})-?(\\d{2})"+Ri),Dg=br(bg+Ri),Eg=br("T?"+Us+"(?:"+Hs+")?"+Ri),Mg=br(Hs),Sg=new RegExp(Hl,"g"),Cg=br(`${Bs}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Ni}H)?(?:(\\d+)${Ni}M)?(?:(\\d+)${Ni}S)?)?`),Ig=le(t=>new Xn(Ll,{timeZone:t,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})),Fg=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,xg=le(hm),Ws=le(t=>new Xn(Ll,{calendar:t,timeZone:Gn,era:"short",year:"numeric",month:"short",day:"numeric"})),Pg=/^M(\d{2})(L?)$/,Ag={era:Wo,eraYear:Wt,year:Wt,month:Ic,monthCode:Wo,day:Ic},Ng=Dr(Sn,Wt),Rg=Dr(Q,Cc),Wl=Object.assign({},Ag,Ng,Rg,{offset:Wo}),$g=k(gh,Sn,je),Zl={dateAdd(t,e,n){const r=K(n);let o,{years:i,months:a,weeks:s,days:u}=e;if(u+=Tt(e,5)[0],i||a)o=((c,f,d,p,h)=>{let[v,m,g]=c.v(f);if(d){const[y,O]=c.$(v,m);v+=d,m=Oi(y,O,c.P(v)),m=Te("month",m,1,c.j(v),h)}return p&&([v,m]=c.G(v,m,p)),g=Te("day",g,1,c.N(v,m),h),c.p(v,m,g)})(this,t,i,a,r);else{if(!s&&!u)return t;o=Zt(t)}return o+=(7*s+u)*oe,yn(Xo(o))},dateUntil(t,e,n){if(n<=7){let u=0,c=zf({...t,...Ye},{...e,...Ye});return n===7&&([u,c]=vn(c,7)),{...Dt,weeks:u,days:c}}const r=this.v(t),o=this.v(e);let[i,a,s]=((u,c,f,d,p,h,v)=>{let m=p-c,g=h-f,y=v-d;if(m||g){const O=Math.sign(m||g);let D=u.N(p,h),l=0;if(Math.sign(y)===-O){const T=D;[p,h]=u.G(p,h,-O),m=p-c,g=h-f,D=u.N(p,h),l=O<0?-T:D}if(y=v-Math.min(d,D)+l,m){const[T,b]=u.$(c,f),[F,$]=u.$(p,h);if(g=F-T||Number($)-Number(b),Math.sign(g)===-O){const L=O<0&&-u.j(p);m=(p-=O)-c,g=h-Oi(T,b,u.P(p))+(L||u.j(p))}}}return[m,g,y]})(this,...r,...o);return n===8&&(a+=this.V(i,r[0]),i=0),{...Dt,years:i,months:a,days:s}},dateFromFields(t,e){const n=K(e),r=ms(this,t),o=vs(this,t,r,n),i=sl(this,t,o,r,n);return Ot(yn(this.L(r,o,i)),this.id||U)},yearMonthFromFields(t,e){const n=K(e),r=ms(this,t),o=vs(this,t,r,n);return Bn(Ca(this.L(r,o,1)),this.id||U)},monthDayFromFields(t,e){const n=K(e),r=!this.id,{monthCode:o,year:i,month:a}=t;let s,u,c,f,d;if(o!==void 0){[s,u]=Qf(o),d=pc(t,"day");const p=this.k(s,u,d);if(!p)throw new RangeError(Ol);if([c,f]=p,a!==void 0&&a!==f)throw new RangeError(bl);r&&(f=Te("month",f,1,on,1),d=Te("day",d,1,Fa(i!==void 0?i:c,f),n))}else{c=i===void 0&&r?Mr:ms(this,t),f=vs(this,t,c,n),d=sl(this,t,f,c,n);const p=this.P(c);u=f===p,s=ls(f,p);const h=this.k(s,u,d);if(!h)throw new RangeError(Ol);[c,f]=h}return ei(yn(this.L(c,f,d)),this.id||U)},fields(t){return ds(this)&&t.includes("year")?[...t,...Ds]:t},mergeFields(t,e){const n=Object.assign(Object.create(null),t);return gs(n,e,Ms),ds(this)&&(gs(n,e,Yv),this.id===Er&&gs(n,e,Bv,Ds)),n},inLeapYear(t){const[e]=this.v(t);return this.K(e)},monthsInYear(t){const[e]=this.v(t);return this.j(e)},daysInMonth(t){const[e,n]=this.v(t);return this.N(e,n)},daysInYear(t){const[e]=this.v(t);return this.X(e)},dayOfYear:fs,era(t){return this.nn(t)[0]},eraYear(t){return this.nn(t)[1]},monthCode(t){const[e,n]=this.v(t),[r,o]=this.$(e,n);return((i,a)=>"M"+Me(i)+(a?"L":""))(r,o)},dayOfWeek:kc,daysInWeek(){return 7}},Lg={dayOfYear:fs,v:Rc,p:pr},kg=Object.assign({},Lg,{weekOfYear:Jf,yearOfWeek:Kf,m(t){function e(h){return(7-h<r?7:0)-h}function n(h){const v=Lc(p+h),m=h||1,g=e(qr(u+v*m,7));return f=(v+(g-c)*m)/7}const r=this.id?1:4,o=kc(t),i=this.dayOfYear(t),a=qr(o-1,7),s=i-1,u=qr(a-s,7),c=e(u);let f,d=Math.floor((s-c)/7)+1,p=t.isoYear;return d?d>n(0)&&(d=1,p++):(d=n(-1),p--),[d,p,f]}}),_g={dayOfYear:fs,v:cs,p:Kr,weekOfYear:Jf,yearOfWeek:Kf,m(){return[]}},po=sv(Object.assign({},Zl,kg,{v:Rc,nn(t){return this.id===Fi?_c(t):this.id===Er?ng(t):[]},$:(t,e)=>[e,0],k(t,e){if(!e)return[Mr,t]},K:xa,P(){},j:$c,V:t=>t*on,N:Fa,X:Lc,L:(t,e,n)=>({isoYear:t,isoMonth:e,isoDay:n}),p:pr,G:(t,e,n)=>(t+=jo(n,on),(e+=Ta(n,on))<1?(t--,e+=on):e>on&&(t++,e-=on),[t,e]),year(t){return t.isoYear},month(t){return t.isoMonth},day:t=>t.isoDay}),Object.assign({},Zl,_g,{v:cs,nn(t){const e=this.h(t);return[e.era,e.eraYear]},$(t,e){const n=vi.call(this,t);return[ls(e,n),n===e]},k(t,e,n){let[r,o,i]=cs.call(this,{isoYear:Mr,isoMonth:on,isoDay:31});const a=vi.call(this,r),s=o===a;(mn(t,ls(o,a))||mn(Number(e),Number(s))||mn(n,i))===1&&r--;for(let u=0;u<100;u++){const c=r-u,f=vi.call(this,c),d=Oi(t,e,f);if(e===(d===f)&&n<=Xf.call(this,c,d))return[c,d]}},K(t){const e=gi.call(this,t);return e>gi.call(this,t-1)&&e>gi.call(this,t+1)},P:vi,j:yi,V(t,e){const n=e+t,r=Math.sign(t),o=r<0?-1:0;let i=0;for(let a=e;a!==n;a+=r)i+=yi.call(this,a+o);return i},N:Xf,X:gi,L(t,e,n){return Xo(Kr.call(this,t,e,n))},p:Kr,G(t,e,n){if(n){if(e+=n,!Number.isSafeInteger(e))throw new RangeError(Di);if(n<0)for(;e<1;)e+=yi.call(this,--t);else{let r;for(;e>(r=yi.call(this,t));)e-=r,t++}}return[t,e]},year(t){return this.h(t).year},month(t){const{year:e,o:n}=this.h(t),{u:r}=this.l(e);return r[n]+1},day(t){return this.h(t).day}})),In="numeric",Ir=["timeZoneName"],zl={month:In,day:In},Zs={year:In,month:In},zs=Object.assign({},Zs,{day:In}),Vs={hour:In,minute:In,second:In},qs=Object.assign({},zs,Vs),jg=Object.assign({},qs,{timeZoneName:"short"}),Yg=Object.keys(Zs),Bg=Object.keys(zl),Ug=Object.keys(zs),Hg=Object.keys(Vs),Xs=["dateStyle"],Wg=Yg.concat(Xs),Zg=Bg.concat(Xs),Gs=Ug.concat(Xs,["weekday"]),ho=Hg.concat(["dayPeriod","timeStyle"]),Js=Gs.concat(ho),zg=Js.concat(Ir),Vg=Ir.concat(ho),qg=Ir.concat(Gs),Xg=Ir.concat(["day","weekday"],ho),Gg=Ir.concat(["year","weekday"],ho),Jg={},Vl=[Vn(Js,qs),ka],Kg=[Vn(zg,jg),ka,0,(t,e)=>{const n=qt(t.timeZone);if(e&&qt(e.timeZone)!==n)throw new RangeError(Tl);return n}],ql=[Vn(Js,qs,Ir),Zt],Xl=[Vn(Gs,zs,Vg),Zt],Gl=[Vn(ho,Vs,qg),t=>wn(t)/rn],Jl=[Vn(Wg,Zs,Xg),Zt,1],Kl=[Vn(Zg,zl,Gg),Zt,1];let Ql;function Be(t,e,n,r,o){function i(...u){if(!(this instanceof i))throw new TypeError(wl);cd(this,e(...u))}function a(u,c){return Object.defineProperties(function(...f){return u.call(this,s(this),...f)},hc(c))}function s(u){const c=Rt(u);if(!c||c.branding!==t)throw new TypeError(wl);return c}return Object.defineProperties(i.prototype,{...vh(Ae(a,n)),...cr(Ae(a,r)),...ba("Temporal."+t)}),Object.defineProperties(i,{...cr(o),...hc(t)}),[i,u=>{const c=Object.create(i.prototype);return cd(c,u),c},s]}function td(t){return t=t.concat("id").sort(),e=>{if(!yh(e,t))throw new TypeError(Mv);return e}}function Fr(t){if(Rt(t)||t.calendar!==void 0||t.timeZone!==void 0)throw new TypeError(vv);return t}function $i(t,e){const n={};for(const r in t)n[r]=({F:o},i)=>{const a=Rt(i)||{},{branding:s}=a,u=s===Sr||e.includes(s)?a:Gt(i);return o[r](u)};return n}function Ks(t){const e={};for(const n in t)e[n]=r=>{const{calendar:o}=r;return(i=o,typeof i=="string"?po(i):(a=i,Object.assign(Object.create(hy),{C:a})))[n](r);var i,a};return e}function Fn(){throw new TypeError(gv)}function mo({calendar:t}){return typeof t=="string"?new cu(t):t}function ed(t,e){if(e=wt(e),Pt(t)){const r=Rt(t);if(r&&r.branding===lo)return K(e),r;const o=id(t);return il(Ui(o||U),!o,t,e)}const n=Kh(po,t);return K(e),n}function nd(t,e,n){return r=e.call(t,$t(At(n))),df(Uo(r));var r}function Li(t,e=ld){const n=Object.keys(e).sort(),r={};for(const o of n)r[o]=k(e[o],t,zv(t[o]));return r}function rt(t,e){return typeof t=="string"?Ys(t):Li(t,e)}function mt(t){return rt(t,iu)}function Ue(t){if(Pt(t)){const e=Rt(t);if(e)switch(e.branding){case _s:return e;case Cn:return At(e.epochNanoseconds)}}return Vh(t)}function zw(){return $t(_(he(this.valueOf(),be)))}function rd(t,e,n){const r=e.B(Ue(n).epochNanoseconds,t);return r?$t(At(r)):null}function at(t){return Pt(t)?(Rt(t)||{}).timeZone||by(t):(e=>os(nm(ht(e))))(t)}function xn(t,e){if(Pt(t)){const n=Rt(t)||{};switch(n.branding){case ks:return K(e),n;case Cr:return K(e),$e(n);case Cn:return K(e),ll(mt,n)}return Om(t,e)}return K(e),Qh(t)}function Qs(t){return t===void 0?void 0:xn(t)}function xr(t,e){if(e=wt(e),Pt(t)){const r=Rt(t);return r&&r.branding===fo?(K(e),r):ol(Yi(go(t)),t,e)}const n=Jh(po,t);return K(e),n}function Pn(t,e){if(e=wt(e),Pt(t)){const r=Rt(t)||{};switch(r.branding){case Cr:return K(e),r;case Sr:return K(e),bt({...r,...Ye});case Cn:return K(e),cl(mt,r)}return bm(Bi(go(t)),t,e)}const n=Gh(t);return K(e),n}function Gt(t,e){if(e=wt(e),Pt(t)){const r=Rt(t)||{};switch(r.branding){case Sr:return K(e),r;case Cr:return K(e),Ot(r);case Cn:return K(e),fl(mt,r)}return rl(Bi(go(t)),t,e)}const n=Ja(t);return K(e),n}function od(t,e,n){return Ne(e.call(t,dt(Ot(n,t))))}function He(t){return e=>typeof e=="string"?po(e):((n,r)=>{const o=Object.keys(r).sort(),i={};for(const a of o)i[a]=k(r[a],n,n[a]);return i})(e,t)}function lt(t){if(Pt(t)){const e=Rt(t);return e&&e.branding===js?e:Tm(t)}return tm(t)}function vo(t){if(t!==void 0){if(Pt(t)){const e=Rt(t)||{};switch(e.branding){case Cn:case Sr:return e;case Cr:return Ot(e)}const n=go(t);return{...ym(at,rt,Bi(n),t),calendar:n}}return qh(t)}}function go(t){return id(t)||U}function id(t){const{calendar:e}=t;if(e!==void 0)return Nt(e)}function Nt(t){return Pt(t)?(Rt(t)||{}).calendar||$y(t):(e=>wi(em(ht(e))))(t)}function Pr(t,e){if(e=wt(e),Pt(t)){const n=Rt(t);if(n&&n.branding===Cn)return Ko(e),n;const r=go(t);return wm(at,rt,Bi(r),r,t,e)}return Xh(t,e)}function ad(t){return Ae(e=>n=>e(tu(n)),t)}function tu(t){return ie(t,mt)}function Qg(){const t=Xn.prototype,e=Object.getOwnPropertyDescriptors(t),n=Object.getOwnPropertyDescriptors(Xn),r=function(o,i={}){if(!(this instanceof r))return new r(o,i);fu.set(this,((a,s={})=>{const u=new Xn(a,s),c=u.resolvedOptions(),f=c.locale,d=de(Object.keys(s),c),p=le(ny),h=(...v)=>{let m;const g=v.map((y,O)=>{const D=Rt(y),l=(D||{}).branding;if(O&&m&&m!==l)throw new TypeError(_v);return m=l,D});return m?p(m)(f,d,...g):[u,...v]};return h.U=u,h})(o,i))};for(const o in e){const i=e[o],a=o.startsWith("format")&&ty(o);typeof i.value=="function"?i.value=o==="constructor"?r:a||ey(o):a&&(i.get=function(){return a.bind(this)})}return n.prototype.value=Object.create(t,e),Object.defineProperties(r,n),r}function ty(t){return function(...e){const n=fu.get(this),[r,...o]=n(...e);return r[t](...o)}}function ey(t){return function(...e){return fu.get(this).U[t](...e)}}function ny(t){const e=ry[t];if(!e)throw new TypeError(kv(t));return En(e,le(pl))}const ry={Instant:Vl,PlainDateTime:ql,PlainDate:Xl,PlainTime:Gl,PlainYearMonth:Jl,PlainMonthDay:Kl},oy=En(Vl),iy=En(Kg),ay=En(ql),sy=En(Xl),uy=En(Gl),cy=En(Jl),fy=En(Kl),eu={era:Th,eraYear:Oc,year:Uo,month:Ne,daysInMonth:Ne,daysInYear:Ne,inLeapYear:Wv,monthsInYear:Ne},ki={monthCode:ht},nu={day:Ne},sd={dayOfWeek:Ne,dayOfYear:Ne,weekOfYear:Dh,yearOfWeek:Oc,daysInWeek:Ne},ud=Object.assign({},eu,ki,nu,sd),_i=new WeakMap,Rt=_i.get.bind(_i),cd=_i.set.bind(_i),ly={...$i(eu,[fo]),...$i(sd,[]),...$i(ki,[fo,lo]),...$i(nu,[lo])},ru=Ks(ud),dy=Ks({...eu,...ki}),py=Ks({...ki,...nu}),yo={calendarId:t=>qt(t.calendar)},hy=Ae((t,e)=>function(n){const{C:r}=this;return t(r[e](dt(Ot(n,r))))},ud),my=ko(t=>e=>e[t],Q.concat("sign")),ou=ko((t,e)=>n=>n[je[e]],Sn),fd={epochSeconds:Sh,epochMilliseconds:ka,epochMicroseconds:Ch,epochNanoseconds:Ih},wo=k(mc,new Set(["branding"])),[vy,Ar,gy]=Be(lo,k($m,Nt),{...yo,...py},{getISOFields:wo,getCalendar:mo,with(t,e,n){return Ar(Cm(Ay,t,this,Fr(e),n))},equals:(t,e)=>fm(t,ed(e)),toPlainDate(t,e){return dt(Xm(bo,t,this,e))},toLocaleString(t,e,n){const[r,o]=fy(e,n,t);return r.format(o)},toString:rf,toJSON:t=>rf(t),valueOf:Fn},{from:(t,e)=>Ar(ed(t,e))}),ld={getOffsetNanosecondsFor:nd,getPossibleInstantsFor(t,e,n){const r=[...e.call(t,Lt(bt(n,U)))].map(i=>wy(i).epochNanoseconds),o=r.length;return o>1&&(r.sort(ne),pf(Re(De(r[0],r[o-1])))),r}},iu={getOffsetNanosecondsFor:nd},[yy,$t,wy]=Be(_s,xm,fd,{add:(t,e)=>$t(hf(0,t,lt(e))),subtract:(t,e)=>$t(hf(1,t,lt(e))),until:(t,e,n)=>ot(Lf(0,t,Ue(e),n)),since:(t,e,n)=>ot(Lf(1,t,Ue(e),n)),round:(t,e)=>$t(xh(t,e)),equals:(t,e)=>im(t,Ue(e)),toZonedDateTime(t,e){const n=gn(e);return vt(ul(t,at(n.timeZone),Nt(n.calendar)))},toZonedDateTimeISO:(t,e)=>vt(ul(t,at(e))),toLocaleString(t,e,n){const[r,o]=oy(e,n,t);return r.format(o)},toString:(t,e)=>Kc(at,mt,t,e),toJSON:t=>Kc(at,mt,t),valueOf:Fn},{from:t=>$t(Ue(t)),fromEpochSeconds:t=>$t(Km(t)),fromEpochMilliseconds:t=>$t(Qm(t)),fromEpochMicroseconds:t=>$t(tv(t)),fromEpochNanoseconds:t=>$t(ev(t)),compare:(t,e)=>Nf(Ue(t),Ue(e))}),[ji,Vw]=Be("TimeZone",t=>{const e=rm(t);return{branding:"TimeZone",id:e,F:Ys(e)}},{id:t=>t.id},{getPossibleInstantsFor:({F:t},e)=>t.getPossibleInstantsFor(Pn(e)).map(n=>$t(At(n))),getOffsetNanosecondsFor:({F:t},e)=>t.getOffsetNanosecondsFor(Ue(e).epochNanoseconds),getOffsetStringFor(t,e){const n=Ue(e).epochNanoseconds,r=Li(this,iu).getOffsetNanosecondsFor(n);return vr(r)},getPlainDateTimeFor(t,e,n=U){const r=Ue(e).epochNanoseconds,o=Li(this,iu).getOffsetNanosecondsFor(r);return Lt(bt(_n(r,o),Nt(n)))},getInstantFor(t,e,n){const r=Pn(e),o=Bc(n),i=Li(this);return $t(At(me(i,r,o)))},getNextTransition:({F:t},e)=>rd(1,t,e),getPreviousTransition:({F:t},e)=>rd(-1,t,e),equals(t,e){return!!ss(this,at(e))},toString:t=>t.id,toJSON:t=>t.id},{from(t){const e=at(t);return typeof e=="string"?new ji(e):e}}),by=td(Object.keys(ld)),[Oy,An]=Be(ks,Lm,ou,{getISOFields:wo,with(t,e,n){return An(Im(this,Fr(e),n))},add:(t,e)=>An(wf(0,t,lt(e))),subtract:(t,e)=>An(wf(1,t,lt(e))),until:(t,e,n)=>ot(Uf(0,t,xn(e),n)),since:(t,e,n)=>ot(Uf(1,t,xn(e),n)),round:(t,e)=>An(Nh(t,e)),equals:(t,e)=>lm(t,xn(e)),toZonedDateTime:(t,e)=>vt(Gm(at,Gt,rt,t,e)),toPlainDateTime:(t,e)=>Lt(Jm(t,Gt(e))),toLocaleString(t,e,n){const[r,o]=uy(e,n,t);return r.format(o)},toString:of,toJSON:t=>of(t),valueOf:Fn},{from:(t,e)=>An(xn(t,e)),compare:(t,e)=>as(xn(t),xn(e))}),[Ty,Nn,Dy]=Be(fo,k(Rm,Nt),{...yo,...dy},{getISOFields:wo,getCalendar:mo,with(t,e,n){return Nn(Sm(Py,t,this,Fr(e),n))},add:(t,e,n)=>Nn(yf(gd,0,t,lt(e),n)),subtract:(t,e,n)=>Nn(yf(gd,1,t,lt(e),n)),until:(t,e,n)=>ot(Yf(yd,0,t,xr(e),n)),since:(t,e,n)=>ot(Yf(yd,1,t,xr(e),n)),equals:(t,e)=>cm(t,xr(e)),toPlainDate(t,e){return dt(qm(bo,t,this,e))},toLocaleString(t,e,n){const[r,o]=cy(e,n,t);return r.format(o)},toString:nf,toJSON:t=>nf(t),valueOf:Fn},{from:(t,e)=>Nn(xr(t,e)),compare:(t,e)=>Tr(xr(t),xr(e))}),[Ey,Lt]=Be(Cr,k(Am,Nt),{...yo,...ru,...ou},{getISOFields:wo,getCalendar:mo,with(t,e,n){return Lt(Em(bo,t,this,Fr(e),n))},withCalendar:(t,e)=>Lt(ys(t,Nt(e))),withPlainDate:(t,e)=>Lt(iv(t,Gt(e))),withPlainTime:(t,e)=>Lt(ov(t,Qs(e))),add:(t,e,n)=>Lt(vf(Jn,0,t,lt(e),n)),subtract:(t,e,n)=>Lt(vf(Jn,1,t,lt(e),n)),until:(t,e,n)=>ot(_f(We,0,t,Pn(e),n)),since:(t,e,n)=>ot(_f(We,1,t,Pn(e),n)),round:(t,e)=>Lt(Ah(t,e)),equals:(t,e)=>sm(t,Pn(e)),toZonedDateTime:(t,e,n)=>vt(Bm(rt,t,at(e),n)),toPlainDate:t=>dt(Ot(t)),toPlainTime:t=>An($e(t)),toPlainYearMonth(t){return Nn(Um(Yi,t,this))},toPlainMonthDay(t){return Ar(Hm(Ui,t,this))},toLocaleString(t,e,n){const[r,o]=ay(e,n,t);return r.format(o)},toString:tf,toJSON:t=>tf(t),valueOf:Fn},{from:(t,e)=>Lt(Pn(t,e)),compare:(t,e)=>$f(Pn(t),Pn(e))}),[My,dt,dd]=Be(Sr,k(Nm,Nt),{...yo,...ru},{getISOFields:wo,getCalendar:mo,with(t,e,n){return dt(Mm(bo,t,this,Fr(e),n))},withCalendar:(t,e)=>dt(ys(t,Nt(e))),add:(t,e,n)=>dt(gf(Jn,0,t,lt(e),n)),subtract:(t,e,n)=>dt(gf(Jn,1,t,lt(e),n)),until:(t,e,n)=>ot(jf(We,0,t,Gt(e),n)),since:(t,e,n)=>ot(jf(We,1,t,Gt(e),n)),equals:(t,e)=>um(t,Gt(e)),toZonedDateTime(t,e){const n=!Pt(e)||e instanceof ji?{timeZone:e}:e;return vt(Wm(at,xn,rt,t,n))},toPlainDateTime:(t,e)=>Lt(Zm(t,Qs(e))),toPlainYearMonth(t){return Nn(zm(Yi,t,this))},toPlainMonthDay(t){return Ar(Vm(Ui,t,this))},toLocaleString(t,e,n){const[r,o]=sy(e,n,t);return r.format(o)},toString:ef,toJSON:t=>ef(t),valueOf:Fn},{from:(t,e)=>dt(Gt(t,e)),compare:(t,e)=>Tr(Gt(t),Gt(e))}),au={fields(t,e,n){return[...e.call(t,n)]}},pd=Object.assign({dateFromFields(t,e,n,r){return dd(e.call(t,Object.assign(Object.create(null),n),r))}},au),hd=Object.assign({yearMonthFromFields(t,e,n,r){return Dy(e.call(t,Object.assign(Object.create(null),n),r))}},au),md=Object.assign({monthDayFromFields(t,e,n,r){return gy(e.call(t,Object.assign(Object.create(null),n),r))}},au),su={mergeFields(t,e,n,r){return gn(e.call(t,Object.assign(Object.create(null),n),Object.assign(Object.create(null),r)))}},Sy=Object.assign({},pd,su),Cy=Object.assign({},hd,su),Iy=Object.assign({},md,su),uu={dateAdd(t,e,n,r,o){return dd(e.call(t,dt(Ot(n,t)),ot(ft(r)),o))}},vd=Object.assign({},uu,{dateUntil(t,e,n,r,o,i){return Ry(e.call(t,dt(Ot(n,t)),dt(Ot(r,t)),Object.assign(Object.create(null),i,{largestUnit:Mi[o]})))}}),Fy=Object.assign({},uu,{day:od}),xy=Object.assign({},vd,{day:od}),Yi=He(hd),Bi=He(pd),Ui=He(md),Py=He(Cy),bo=He(Sy),Ay=He(Iy),Jn=He(uu),We=He(vd),gd=He(Fy),yd=He(xy),[Ny,ot,Ry]=Be(js,km,{...my,blank:Zh},{with:(t,e)=>ot(Fm(t,e)),negated:t=>ot(Ga(t)),abs:t=>ot(Wh(t)),add:(t,e,n)=>ot(Tf(vo,We,rt,0,t,lt(e),n)),subtract:(t,e,n)=>ot(Tf(vo,We,rt,1,t,lt(e),n)),round:(t,e)=>ot(Hh(vo,We,rt,t,e)),total:(t,e)=>Fh(vo,We,rt,t,e),toLocaleString(t,e,n){return Intl.DurationFormat?new Intl.DurationFormat(e,n).format(this):Ba(t)},toString:Ba,toJSON:t=>Ba(t),valueOf:Fn},{from:t=>ot(lt(t)),compare:(t,e,n)=>om(vo,Jn,rt,lt(t),lt(e),n)}),wd={toString:t=>t.id,toJSON:t=>t.id,...ly,dateAdd:({id:t,F:e},n,r,o)=>dt(Ot(e.dateAdd(Gt(n),lt(r),o),t)),dateUntil:({F:t},e,n,r)=>ot(ft(t.dateUntil(Gt(e),Gt(n),Mh(r)))),dateFromFields:({id:t,F:e},n,r)=>dt(rl(e,n,r,Oh(t))),yearMonthFromFields:({id:t,F:e},n,r)=>Nn(ol(e,n,r,wh(t))),monthDayFromFields:({id:t,F:e},n,r)=>Ar(il(e,0,n,r,bh(t))),fields({F:t},e){const n=new Set(_e),r=[];for(const o of e){if(ht(o),!n.has(o))throw new RangeError(vl(o));n.delete(o),r.push(o)}return t.fields(r)},mergeFields:({F:t},e,n)=>t.mergeFields(vc(Tc(e)),vc(Tc(n)))},[cu]=Be("Calendar",t=>{const e=gm(t);return{branding:"Calendar",id:e,F:po(e)}},{id:t=>t.id},wd,{from(t){const e=Nt(t);return typeof e=="string"?new cu(e):e}}),$y=td(Object.keys(wd).slice(4)),[Ly,vt]=Be(Cn,k(Pm,Nt,at),{...fd,...yo,...ad(ru),...ad(ou),offset:t=>vr(tu(t).offsetNanoseconds),offsetNanoseconds:t=>tu(t).offsetNanoseconds,timeZoneId:t=>qt(t.timeZone),hoursInDay:t=>Rh(rt,t)},{getISOFields:t=>Uh(mt,t),getCalendar:mo,getTimeZone:({timeZone:t})=>typeof t=="string"?new ji(t):t,with(t,e,n){return vt(Dm(bo,rt,t,this,Fr(e),n))},withCalendar:(t,e)=>vt(ys(t,Nt(e))),withTimeZone:(t,e)=>vt(av(t,at(e))),withPlainDate:(t,e)=>vt(rv(rt,t,Gt(e))),withPlainTime:(t,e)=>vt(nv(rt,t,Qs(e))),add:(t,e,n)=>vt(mf(Jn,rt,0,t,lt(e),n)),subtract:(t,e,n)=>vt(mf(Jn,rt,1,t,lt(e),n)),until:(t,e,n)=>ot(ft(kf(We,rt,0,t,Pr(e),n))),since:(t,e,n)=>ot(ft(kf(We,rt,1,t,Pr(e),n))),round:(t,e)=>vt(Ph(rt,t,e)),startOfDay:t=>vt($h(rt,t)),equals:(t,e)=>am(t,Pr(e)),toInstant:t=>$t(_m(t)),toPlainDateTime:t=>Lt(cl(mt,t)),toPlainDate:t=>dt(fl(mt,t)),toPlainTime:t=>An(ll(mt,t)),toPlainYearMonth(t){return Nn(jm(Yi,t,this))},toPlainMonthDay(t){return Ar(Ym(Ui,t,this))},toLocaleString(t,e,n={}){const[r,o]=iy(e,n,t);return r.format(o)},toString:(t,e)=>Qc(mt,t,e),toJSON:t=>Qc(mt,t),valueOf:Fn},{from:(t,e)=>vt(Pr(t,e)),compare:(t,e)=>Rf(Pr(t),Pr(e))}),ky=Object.defineProperties({},{...ba("Temporal.Now"),...cr({timeZoneId:()=>Mn(),instant:()=>$t(At(Ti())),zonedDateTime:(t,e=Mn())=>vt(Vt(Ti(),at(e),Nt(t))),zonedDateTimeISO:(t=Mn())=>vt(Vt(Ti(),at(t),U)),plainDateTime:(t,e=Mn())=>Lt(bt(to(mt(at(e))),Nt(t))),plainDateTimeISO:(t=Mn())=>Lt(bt(to(mt(at(t))),U)),plainDate:(t,e=Mn())=>dt(Ot(to(mt(at(e))),Nt(t))),plainDateISO:(t=Mn())=>dt(Ot(to(mt(at(t))),U)),plainTimeISO:(t=Mn())=>An($e(to(mt(at(t)))))})}),_y=Object.defineProperties({},{...ba("Temporal"),...cr({PlainYearMonth:Ty,PlainMonthDay:vy,PlainDate:My,PlainTime:Oy,PlainDateTime:Ey,ZonedDateTime:Ly,Instant:yy,Calendar:cu,TimeZone:ji,Duration:Ny,Now:ky})}),jy=Qg(),fu=new WeakMap,qw=Object.defineProperties(Object.create(Intl),cr({DateTimeFormat:jy}));var Yy=Object.defineProperty,By=(t,e,n)=>e in t?Yy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,bd=(t,e,n)=>(By(t,typeof e!="symbol"?e+"":e,n),n),lu;function Uy(t,e,n){return _y.PlainDate.from(t).toLocaleString(e??[],n)}window.customElements.define("absolute-date",(lu=class extends HTMLElement{constructor(){super(...arguments),bd(this,"update",()=>{const t=this.getAttribute("year")??"",e=this.getAttribute("month")??"",n=this.getAttribute("weekday")??"",r=this.getAttribute("day")??"",o=this.closest("[lang]")?.getAttribute("lang")||this.ownerDocument.documentElement.getAttribute("lang")||"",i=this.getAttribute("date").substring(0,10);this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.textContent=Uy(i,o,{...t&&{year:t},...e&&{month:e},...n&&{weekday:n},...r&&{day:r}})})}attributeChangedCallback(t,e,n){!this.initialized||e===n||this.update()}connectedCallback(){this.initialized=!1,this.update(),this.initialized=!0}},bd(lu,"observedAttributes",["date","year","month","weekday","day"]),lu))})()})();