(function(q,Y){typeof exports=="object"&&typeof module<"u"?module.exports=Y():typeof define=="function"&&define.amd?define(Y):(q=typeof globalThis<"u"?globalThis:q||self,q.UniverDesignZhCN=Y())})(this,function(){"use strict";function q(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Y={exports:{}},z={exports:{}},he=z.exports,X;function ye(){return X||(X=1,function(i,m){(function(l,a){i.exports=a()})(he,function(){var l=1e3,a=6e4,h=36e5,p="millisecond",c="second",_="minute",x="hour",g="day",A="week",S="month",fe="quarter",O="year",C="date",de="Invalid Date",we=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,je=/\[([^\]]+)]|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,Pe={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(o){var r=["th","st","nd","rd"],e=o%100;return"["+o+(r[(e-20)%10]||r[e]||r[0])+"]"}},Q=function(o,r,e){var n=String(o);return!n||n.length>=r?o:""+Array(r+1-n.length).join(e)+o},ke={s:Q,z:function(o){var r=-o.utcOffset(),e=Math.abs(r),n=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+Q(n,2,"0")+":"+Q(t,2,"0")},m:function o(r,e){if(r.date()1)return o(u[0])}else{var d=r.name;j[d]=r,t=d}return!n&&t&&(N=t),t||!n&&N},v=function(o,r){if(G(o))return o.clone();var e=typeof r=="object"?r:{};return e.date=o,e.args=arguments,new W(e)},f=ke;f.l=F,f.i=G,f.w=function(o,r){return v(o,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var W=function(){function o(e){this.$L=F(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[le]=!0}var r=o.prototype;return r.parse=function(e){this.$d=function(n){var t=n.date,s=n.utc;if(t===null)return new Date(NaN);if(f.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var u=t.match(we);if(u){var d=u[2]-1||0,y=(u[7]||"0").substring(0,3);return s?new Date(Date.UTC(u[1],d,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)):new Date(u[1],d,u[3]||1,u[4]||0,u[5]||0,u[6]||0,y)}}return new Date(t)}(e),this.init()},r.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()},r.$utils=function(){return f},r.isValid=function(){return this.$d.toString()!==de},r.isSame=function(e,n){var t=v(e);return this.startOf(n)<=t&&t<=this.endOf(n)},r.isAfter=function(e,n){return v(e)