import{g as Z}from"./dayjs.min.js?ver=1.3.21";var T={exports:{}},w=T.exports,C;function I(){return C||(C=1,function(M,L){(function(p,$){M.exports=$()})(w,function(){var p="minute",$=/[+-]\d\d(?::?\d\d)?/g,Y=/([+-]|\d\d)/g;return function(y,f,m){var n=f.prototype;m.utc=function(t){var e={date:t,utc:!0,args:arguments};return new f(e)},n.utc=function(t){var e=m(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),p):e},n.local=function(){return m(this.toDate(),{locale:this.$L,utc:!1})};var O=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),O.call(this,t)};var x=n.init;n.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else x.call(this)};var z=n.utcOffset;n.utcOffset=function(t,e){var o=this.$utils().u;if(o(t))return this.$u?0:o(this.$offset)?z.call(this):this.$offset;if(typeof t=="string"&&(t=function(c){c===void 0&&(c="");var d=c.match($);if(!d)return null;var l=(""+d[0]).match(Y)||["-",0,0],g=l[0],v=60*+l[1]+ +l[2];return v===0?0:g==="+"?v:-v}(t),t===null))return this;var a=Math.abs(t)<=16?60*t:t,s=this;if(e)return s.$offset=a,s.$u=t===0,s;if(t!==0){var h=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+h,p)).$offset=a,s.$x.$localOffset=h}else s=this.utc();return s};var r=n.format;n.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return r.call(this,e)},n.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var u=n.toDate;n.toDate=function(t){return t==="s"&&this.$offset?m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var i=n.diff;n.diff=function(t,e,o){if(t&&this.$u===t.$u)return i.call(this,t,e,o);var a=this.local(),s=m(t).local();return i.call(a,s,e,o)}}})}(T)),T.exports}var N=I();const R=Z(N);var S={exports:{}},q=S.exports,H;function F(){return H||(H=1,function(M,L){(function(p,$){M.exports=$()})(q,function(){var p={year:0,month:1,day:2,hour:3,minute:4,second:5},$={};return function(Y,y,f){var m,n=function(r,u,i){i===void 0&&(i={});var t=new Date(r),e=function(o,a){a===void 0&&(a={});var s=a.timeZoneName||"short",h=o+"|"+s,c=$[h];return c||(c=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:o,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:s}),$[h]=c),c}(u,i);return e.formatToParts(t)},O=function(r,u){for(var i=n(r,u),t=[],e=0;e<i.length;e+=1){var o=i[e],a=o.type,s=o.value,h=p[a];h>=0&&(t[h]=parseInt(s,10))}var c=t[3],d=c===24?0:c,l=t[0]+"-"+t[1]+"-"+t[2]+" "+d+":"+t[4]+":"+t[5]+":000",g=+r;return(f.utc(l).valueOf()-(g-=g%1e3))/6e4},x=y.prototype;x.tz=function(r,u){r===void 0&&(r=m);var i,t=this.utcOffset(),e=this.toDate(),o=e.toLocaleString("en-US",{timeZone:r}),a=Math.round((e-new Date(o))/1e3/60),s=15*-Math.round(e.getTimezoneOffset()/15)-a;if(!Number(s))i=this.utcOffset(0,u);else if(i=f(o,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(s,!0),u){var h=i.utcOffset();i=i.add(t-h,"minute")}return i.$x.$timezone=r,i},x.offsetName=function(r){var u=this.$x.$timezone||f.tz.guess(),i=n(this.valueOf(),u,{timeZoneName:r}).find(function(t){return t.type.toLowerCase()==="timezonename"});return i&&i.value};var z=x.startOf;x.startOf=function(r,u){if(!this.$x||!this.$x.$timezone)return z.call(this,r,u);var i=f(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return z.call(i,r,u).tz(this.$x.$timezone,!0)},f.tz=function(r,u,i){var t=i&&u,e=i||u||m,o=O(+f(),e);if(typeof r!="string")return f(r).tz(e);var a=function(d,l,g){var v=d-60*l*1e3,D=O(v,g);if(l===D)return[v,l];var U=O(v-=60*(D-l)*1e3,g);return D===U?[v,D]:[d-60*Math.min(D,U)*1e3,Math.max(D,U)]}(f.utc(r,t).valueOf(),o,e),s=a[0],h=a[1],c=f(s).utcOffset(h);return c.$x.$timezone=e,c},f.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},f.tz.setDefault=function(r){m=r}}})}(S)),S.exports}var E=F();const j=Z(E);export{j as t,R as u};
