import { defineComponent as te, computed as L, openBlock as pe, createElementBlock as Qe, normalizeStyle as Sr, toDisplayString as Vi, Fragment as wt, isVNode as nu, Comment as H9, Text as $S, reactive as tn, getCurrentInstance as vn, onMounted as it, onUpdated as ap, onUnmounted as rl, watch as se, inject as Ge, provide as pt, ref as U, unref as z, shallowRef as ae, watchEffect as ht, onBeforeUnmount as yt, triggerRef as Vle, createVNode as M, h as qg, Transition as ho, withDirectives as Oi, resolveDirective as Fle, cloneVNode as Bs, render as lf, nextTick as Tt, toRef as Nn, withModifiers as uf, vShow as zs, onBeforeMount as G9, Teleport as AS, createTextVNode as Kt, isRef as op, toRefs as ES, toRaw as Ko, onBeforeUpdate as j9, TransitionGroup as eI, onActivated as Wle, getCurrentScope as Z9, onScopeDispose as d0, createElementVNode as He, warn as Qle, mergeProps as _n, renderSlot as zn, useAttrs as Hle, useSlots as U9, createCommentVNode as _t, normalizeClass as Ye, createBlock as je, withCtx as we, resolveDynamicComponent as Ec, readonly as Gle, onDeactivated as jle, vModelRadio as X9, renderList as cg, withKeys as q4, pushScopeId as MS, popScopeId as IS, resolveComponent as fi, defineExpose as Zle } from "vue"; var Li = /* @__PURE__ */ ((t) => (t[t.STATIC = 0] = "STATIC", t[t.API = 1] = "API", t))(Li || {}); const tI = { text: { type: String, required: !0 }, width: { type: Number }, height: { type: Number }, fontSize: { type: Number }, fontWeight: { type: [Number, String] }, color: { type: String }, backgroundColor: { type: String }, textAlign: { type: String }, direction: { type: String } }, Ule = { container: { style: { background: { type: "none" } }, props: { width: 300, height: 80 } }, props: { text: "标题内容", fontSize: 24, color: "#fff", fontWeight: "bold", textAlign: "left", direction: "horizontal" } }; function Xle(t) { const e = {}; for (const n in t) if (typeof t[n] == "object") switch (n) { case "background": t[n].type === "none" && (e[n] = "none"), t[n].type === "color" && (e[n] = t[n].color), t[n].type === "image" && (e[n + "-image"] = `url(${t[n].image}) no-repeat center center`, e[n + "-size"] = t[n].fillType); break; case "border": t[n].type === "none" ? e[n] = "none" : e[n] = `${t[n].width}px ${t[n].type} ${t[n].color}`; break; case "borderRadius": t[n].type === "all" ? e[n] = `${t[n].value}${t[n].unit}` : e[n] = `${t[n].topLeft}${t[n].unit} ${t[n].topRight}${t[n].unit} ${t[n].bottomLeft}${t[n].unit} ${t[n].bottomRight}${t[n].unit}`; break; case "boxShadow": t[n].enabled && (e[n] = `${t[n].offsetX}px ${t[n].offsetY}px ${t[n].blurRadius}px ${t[n].spreadRadius}px ${t[n].color} ${t[n].inset ? "inset" : ""}`); break; case "backdropFilter": t[n].enabled && (e[n] = `blur(${t[n].blur}px)`); break; } else typeof t[n] == "number" ? e[n] = t[n] + "px" : typeof t[n] == "string" && (e[n] = t[n]); return e; } const Yle = te({ name: "DTitle", props: tI, setup(t) { return { style: L(() => { const n = Xle(t), r = {}; return n.color.length > 9 && (r.backgroundImage = n.color, r.webkitBackgroundClip = "text", r.webkitTextFillColor = "transparent"), { ...r, ...n, width: "100%", height: "100%", lineHeight: t.height + "px" }; }) }; } }), $r = (t, e) => { const n = t.__vccOpts || t; for (const [r, i] of e) n[r] = i; return n; }; function qle(t, e, n, r, i, a) { return pe(), Qe("div", { class: "cus-title", style: Sr(t.style) }, Vi(t.text), 5); } const Zd = /* @__PURE__ */ $r(Yle, [["render", qle]]); function Kg(t) { "@babel/helpers - typeof"; return Kg = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) { return typeof e; } : function(e) { return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }, Kg(t); } function Kle(t, e) { if (Kg(t) != "object" || !t) return t; var n = t[Symbol.toPrimitive]; if (n !== void 0) { var r = n.call(t, e || "default"); if (Kg(r) != "object") return r; throw new TypeError("@@toPrimitive must return a primitive value."); } return (e === "string" ? String : Number)(t); } function Jle(t) { var e = Kle(t, "string"); return Kg(e) == "symbol" ? e : e + ""; } function eue(t, e, n) { return (e = Jle(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t; } function K4(t, e) { var n = Object.keys(t); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(t); e && (r = r.filter(function(i) { return Object.getOwnPropertyDescriptor(t, i).enumerable; })), n.push.apply(n, r); } return n; } function j(t) { for (var e = 1; e < arguments.length; e++) { var n = arguments[e] != null ? arguments[e] : {}; e % 2 ? K4(Object(n), !0).forEach(function(r) { eue(t, r, n[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(r) { Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r)); }); } return t; } function I() { return I = Object.assign ? Object.assign.bind() : function(t) { for (var e = 1; e < arguments.length; e++) { var n = arguments[e]; for (var r in n) ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]); } return t; }, I.apply(null, arguments); } const tue = (t) => typeof t == "function", nue = Array.isArray, rue = (t) => typeof t == "string", iue = (t) => t !== null && typeof t == "object", aue = /^on[^a-z]/, oue = (t) => aue.test(t), Y9 = (t) => { const e = /* @__PURE__ */ Object.create(null); return (n) => e[n] || (e[n] = t(n)); }, sue = /-(\w)/g, nI = Y9((t) => t.replace(sue, (e, n) => n ? n.toUpperCase() : "")), lue = /\B([A-Z])/g, uue = Y9((t) => t.replace(lue, "-$1").toLowerCase()), cue = Object.prototype.hasOwnProperty, J4 = (t, e) => cue.call(t, e); function fue(t, e, n, r) { const i = t[n]; if (i != null) { const a = J4(i, "default"); if (a && r === void 0) { const o = i.default; r = i.type !== Function && tue(o) ? o() : o; } i.type === Boolean && (!J4(e, n) && !a ? r = !1 : r === "" && (r = !0)); } return r; } function due(t) { return Object.keys(t).reduce((e, n) => ((n.startsWith("data-") || n.startsWith("aria-")) && (e[n] = t[n]), e), {}); } function Zp(t) { return typeof t == "number" ? `${t}px` : t; } function Nd(t) { let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0; return typeof t == "function" ? t(e) : t ?? n; } function hue(t) { let e; const n = new Promise((i) => { e = t(() => { i(!0); }); }), r = () => { e == null || e(); }; return r.then = (i, a) => n.then(i, a), r.promise = n, r; } function ye() { const t = []; for (let e = 0; e < arguments.length; e++) { const n = e < 0 || arguments.length <= e ? void 0 : arguments[e]; if (n) { if (rue(n)) t.push(n); else if (nue(n)) for (let r = 0; r < n.length; r++) { const i = ye(n[r]); i && t.push(i); } else if (iue(n)) for (const r in n) n[r] && t.push(r); } } return t.join(" "); } var q9 = function() { if (typeof Map < "u") return Map; function t(e, n) { var r = -1; return e.some(function(i, a) { return i[0] === n ? (r = a, !0) : !1; }), r; } return ( /** @class */ function() { function e() { this.__entries__ = []; } return Object.defineProperty(e.prototype, "size", { /** * @returns {boolean} */ get: function() { return this.__entries__.length; }, enumerable: !0, configurable: !0 }), e.prototype.get = function(n) { var r = t(this.__entries__, n), i = this.__entries__[r]; return i && i[1]; }, e.prototype.set = function(n, r) { var i = t(this.__entries__, n); ~i ? this.__entries__[i][1] = r : this.__entries__.push([n, r]); }, e.prototype.delete = function(n) { var r = this.__entries__, i = t(r, n); ~i && r.splice(i, 1); }, e.prototype.has = function(n) { return !!~t(this.__entries__, n); }, e.prototype.clear = function() { this.__entries__.splice(0); }, e.prototype.forEach = function(n, r) { r === void 0 && (r = null); for (var i = 0, a = this.__entries__; i < a.length; i++) { var o = a[i]; n.call(r, o[1], o[0]); } }, e; }() ); }(), r2 = typeof window < "u" && typeof document < "u" && window.document === document, v1 = function() { return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")(); }(), pue = function() { return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(v1) : function(t) { return setTimeout(function() { return t(Date.now()); }, 1e3 / 60); }; }(), vue = 2; function gue(t, e) { var n = !1, r = !1, i = 0; function a() { n && (n = !1, t()), r && s(); } function o() { pue(a); } function s() { var l = Date.now(); if (n) { if (l - i < vue) return; r = !0; } else n = !0, r = !1, setTimeout(o, e); i = l; } return s; } var mue = 20, yue = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], bue = typeof MutationObserver < "u", _ue = ( /** @class */ function() { function t() { this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = gue(this.refresh.bind(this), mue); } return t.prototype.addObserver = function(e) { ~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_(); }, t.prototype.removeObserver = function(e) { var n = this.observers_, r = n.indexOf(e); ~r && n.splice(r, 1), !n.length && this.connected_ && this.disconnect_(); }, t.prototype.refresh = function() { var e = this.updateObservers_(); e && this.refresh(); }, t.prototype.updateObservers_ = function() { var e = this.observers_.filter(function(n) { return n.gatherActive(), n.hasActive(); }); return e.forEach(function(n) { return n.broadcastActive(); }), e.length > 0; }, t.prototype.connect_ = function() { !r2 || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), bue ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, { attributes: !0, childList: !0, characterData: !0, subtree: !0 })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0); }, t.prototype.disconnect_ = function() { !r2 || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1); }, t.prototype.onTransitionEnd_ = function(e) { var n = e.propertyName, r = n === void 0 ? "" : n, i = yue.some(function(a) { return !!~r.indexOf(a); }); i && this.refresh(); }, t.getInstance = function() { return this.instance_ || (this.instance_ = new t()), this.instance_; }, t.instance_ = null, t; }() ), K9 = function(t, e) { for (var n = 0, r = Object.keys(e); n < r.length; n++) { var i = r[n]; Object.defineProperty(t, i, { value: e[i], enumerable: !1, writable: !1, configurable: !0 }); } return t; }, yh = function(t) { var e = t && t.ownerDocument && t.ownerDocument.defaultView; return e || v1; }, J9 = DS(0, 0, 0, 0); function g1(t) { return parseFloat(t) || 0; } function e8(t) { for (var e = [], n = 1; n < arguments.length; n++) e[n - 1] = arguments[n]; return e.reduce(function(r, i) { var a = t["border-" + i + "-width"]; return r + g1(a); }, 0); } function Oue(t) { for (var e = ["top", "right", "bottom", "left"], n = {}, r = 0, i = e; r < i.length; r++) { var a = i[r], o = t["padding-" + a]; n[a] = g1(o); } return n; } function Sue(t) { var e = t.getBBox(); return DS(0, 0, e.width, e.height); } function xue(t) { var e = t.clientWidth, n = t.clientHeight; if (!e && !n) return J9; var r = yh(t).getComputedStyle(t), i = Oue(r), a = i.left + i.right, o = i.top + i.bottom, s = g1(r.width), l = g1(r.height); if (r.boxSizing === "border-box" && (Math.round(s + a) !== e && (s -= e8(r, "left", "right") + a), Math.round(l + o) !== n && (l -= e8(r, "top", "bottom") + o)), !Cue(t)) { var u = Math.round(s + a) - e, c = Math.round(l + o) - n; Math.abs(u) !== 1 && (s -= u), Math.abs(c) !== 1 && (l -= c); } return DS(i.left, i.top, s, l); } var wue = /* @__PURE__ */ function() { return typeof SVGGraphicsElement < "u" ? function(t) { return t instanceof yh(t).SVGGraphicsElement; } : function(t) { return t instanceof yh(t).SVGElement && typeof t.getBBox == "function"; }; }(); function Cue(t) { return t === yh(t).document.documentElement; } function Tue(t) { return r2 ? wue(t) ? Sue(t) : xue(t) : J9; } function Pue(t) { var e = t.x, n = t.y, r = t.width, i = t.height, a = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, o = Object.create(a.prototype); return K9(o, { x: e, y: n, width: r, height: i, top: n, right: e + r, bottom: i + n, left: e }), o; } function DS(t, e, n, r) { return { x: t, y: e, width: n, height: r }; } var $ue = ( /** @class */ function() { function t(e) { this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = DS(0, 0, 0, 0), this.target = e; } return t.prototype.isActive = function() { var e = Tue(this.target); return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight; }, t.prototype.broadcastRect = function() { var e = this.contentRect_; return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e; }, t; }() ), Aue = ( /** @class */ /* @__PURE__ */ function() { function t(e, n) { var r = Pue(n); K9(this, { target: e, contentRect: r }); } return t; }() ), Eue = ( /** @class */ function() { function t(e, n, r) { if (this.activeObservations_ = [], this.observations_ = new q9(), typeof e != "function") throw new TypeError("The callback provided as parameter 1 is not a function."); this.callback_ = e, this.controller_ = n, this.callbackCtx_ = r; } return t.prototype.observe = function(e) { if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); if (!(typeof Element > "u" || !(Element instanceof Object))) { if (!(e instanceof yh(e).Element)) throw new TypeError('parameter 1 is not of type "Element".'); var n = this.observations_; n.has(e) || (n.set(e, new $ue(e)), this.controller_.addObserver(this), this.controller_.refresh()); } }, t.prototype.unobserve = function(e) { if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); if (!(typeof Element > "u" || !(Element instanceof Object))) { if (!(e instanceof yh(e).Element)) throw new TypeError('parameter 1 is not of type "Element".'); var n = this.observations_; n.has(e) && (n.delete(e), n.size || this.controller_.removeObserver(this)); } }, t.prototype.disconnect = function() { this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this); }, t.prototype.gatherActive = function() { var e = this; this.clearActive(), this.observations_.forEach(function(n) { n.isActive() && e.activeObservations_.push(n); }); }, t.prototype.broadcastActive = function() { if (this.hasActive()) { var e = this.callbackCtx_, n = this.activeObservations_.map(function(r) { return new Aue(r.target, r.broadcastRect()); }); this.callback_.call(e, n, e), this.clearActive(); } }, t.prototype.clearActive = function() { this.activeObservations_.splice(0); }, t.prototype.hasActive = function() { return this.activeObservations_.length > 0; }, t; }() ), ej = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new q9(), tj = ( /** @class */ /* @__PURE__ */ function() { function t(e) { if (!(this instanceof t)) throw new TypeError("Cannot call a class as a function."); if (!arguments.length) throw new TypeError("1 argument required, but only 0 present."); var n = _ue.getInstance(), r = new Eue(e, n, this); ej.set(this, r); } return t; }() ); [ "observe", "unobserve", "disconnect" ].forEach(function(t) { tj.prototype[t] = function() { var e; return (e = ej.get(this))[t].apply(e, arguments); }; }); var nj = function() { return typeof v1.ResizeObserver < "u" ? v1.ResizeObserver : tj; }(); const i2 = (t) => t != null && t !== "", sr = (t, e) => { const n = I({}, t); return Object.keys(e).forEach((r) => { const i = n[r]; if (i) i.type || i.default ? i.default = e[r] : i.def ? i.def(e[r]) : n[r] = { type: i, default: e[r] }; else throw new Error(`not have ${r} prop`); }), n; }, Mue = (t) => { const e = Object.keys(t), n = {}, r = {}, i = {}; for (let a = 0, o = e.length; a < o; a++) { const s = e[a]; oue(s) ? (n[s[2].toLowerCase() + s.slice(3)] = t[s], r[s] = t[s]) : i[s] = t[s]; } return { onEvents: r, events: n, extraAttrs: i }; }, Iue = function() { let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1; const n = {}, r = /;(?![^(]*\))/g, i = /:(.+)/; return typeof t == "object" ? t : (t.split(r).forEach(function(a) { if (a) { const o = a.split(i); if (o.length > 1) { const s = e ? nI(o[0].trim()) : o[0].trim(); n[s] = o[1].trim(); } } }), n); }, m1 = (t, e) => t[e] !== void 0, rj = Symbol("skipFlatten"), Yn = function() { let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; const n = Array.isArray(t) ? t : [t], r = []; return n.forEach((i) => { Array.isArray(i) ? r.push(...Yn(i, e)) : i && i.type === wt ? i.key === rj ? r.push(i) : r.push(...Yn(i.children, e)) : i && nu(i) ? e && !rI(i) ? r.push(i) : e || r.push(i) : i2(i) && r.push(i); }), r; }, ij = function(t) { let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "default", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; if (nu(t)) return t.type === wt ? e === "default" ? Yn(t.children) : [] : t.children && t.children[e] ? Yn(t.children[e](n)) : []; { const r = t.$slots[e] && t.$slots[e](n); return Yn(r); } }, Ts = (t) => { var e; let n = ((e = t == null ? void 0 : t.vnode) === null || e === void 0 ? void 0 : e.el) || t && (t.$el || t); for (; n && !n.tagName; ) n = n.nextSibling; return n; }, Due = (t) => { const e = {}; if (t.$ && t.$.vnode) { const n = t.$.vnode.props || {}; Object.keys(t.$props).forEach((r) => { const i = t.$props[r], a = uue(r); (i !== void 0 || a in n) && (e[r] = i); }); } else if (nu(t) && typeof t.type == "object") { const n = t.props || {}, r = {}; Object.keys(n).forEach((a) => { r[nI(a)] = n[a]; }); const i = t.type.props || {}; Object.keys(i).forEach((a) => { const o = fue(i, r, a, r[a]); (o !== void 0 || a in r) && (e[a] = o); }); } return e; }, Rue = function(t) { let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "default", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : t, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !0, i; if (t.$) { const a = t[e]; if (a !== void 0) return typeof a == "function" && r ? a(n) : a; i = t.$slots[e], i = r && i ? i(n) : i; } else if (nu(t)) { const a = t.props && t.props[e]; if (a !== void 0 && t.props !== null) return typeof a == "function" && r ? a(n) : a; t.type === wt ? i = t.children : t.children && t.children[e] && (i = t.children[e], i = r && i ? i(n) : i); } return Array.isArray(i) && (i = Yn(i), i = i.length === 1 ? i[0] : i, i = i.length === 0 ? void 0 : i), i; }; function t8() { let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, n = {}; return t.$ ? n = I(I({}, n), t.$attrs) : n = I(I({}, n), t.props), Mue(n)[e ? "onEvents" : "events"]; } function kue(t, e) { let r = ((nu(t) ? t.props : t.$attrs) || {}).style || {}; return typeof r == "string" && (r = Iue(r, e)), r; } function Lue(t) { return t.length === 1 && t[0].type === wt; } function rI(t) { return t && (t.type === H9 || t.type === wt && t.children.length === 0 || t.type === $S && t.children.trim() === ""); } function ss() { let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []; const e = []; return t.forEach((n) => { Array.isArray(n) ? e.push(...n) : (n == null ? void 0 : n.type) === wt ? e.push(...ss(n.children)) : e.push(n); }), e.filter((n) => !rI(n)); } function Yi(t) { return Array.isArray(t) && t.length === 1 && (t = t[0]), t && t.__v_isVNode && typeof t.type != "symbol"; } function RS(t, e) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "default"; var r, i; return (r = e[n]) !== null && r !== void 0 ? r : (i = t[n]) === null || i === void 0 ? void 0 : i.call(t); } const bh = te({ compatConfig: { MODE: 3 }, name: "ResizeObserver", props: { disabled: Boolean, onResize: Function }, emits: ["resize"], setup(t, e) { let { slots: n } = e; const r = tn({ width: 0, height: 0, offsetHeight: 0, offsetWidth: 0 }); let i = null, a = null; const o = () => { a && (a.disconnect(), a = null); }, s = (c) => { const { onResize: f } = t, d = c[0].target, { width: h, height: p } = d.getBoundingClientRect(), { offsetWidth: v, offsetHeight: g } = d, m = Math.floor(h), y = Math.floor(p); if (r.width !== m || r.height !== y || r.offsetWidth !== v || r.offsetHeight !== g) { const b = { width: m, height: y, offsetWidth: v, offsetHeight: g }; I(r, b), f && Promise.resolve().then(() => { f(I(I({}, b), { offsetWidth: v, offsetHeight: g }), d); }); } }, l = vn(), u = () => { const { disabled: c } = t; if (c) { o(); return; } const f = Ts(l); f !== i && (o(), i = f), !a && f && (a = new nj(s), a.observe(f)); }; return it(() => { u(); }), ap(() => { u(); }), rl(() => { o(); }), se(() => t.disabled, () => { u(); }, { flush: "post" }), () => { var c; return (c = n.default) === null || c === void 0 ? void 0 : c.call(n)[0]; }; } }); let aj = (t) => setTimeout(t, 16), oj = (t) => clearTimeout(t); typeof window < "u" && "requestAnimationFrame" in window && (aj = (t) => window.requestAnimationFrame(t), oj = (t) => window.cancelAnimationFrame(t)); let n8 = 0; const iI = /* @__PURE__ */ new Map(); function sj(t) { iI.delete(t); } function xt(t) { let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; n8 += 1; const n = n8; function r(i) { if (i === 0) sj(n), t(); else { const a = aj(() => { r(i - 1); }); iI.set(n, a); } } return r(e), n; } xt.cancel = (t) => { const e = iI.get(t); return sj(e), oj(e); }; const ru = function() { for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n]; return e; }, sp = (t) => { const e = t; return e.install = function(n) { n.component(e.displayName || e.name, t); }, t; }; function y1() { return { type: [Function, Array] }; } function $t(t) { return { type: Object, default: t }; } function nt(t) { return { type: Boolean, default: t }; } function tt(t) { return { type: Function, default: t }; } function ha(t, e) { return { validator: () => !0, default: t }; } function cf(t) { return { type: Array, default: t }; } function hn(t) { return { type: String, default: t }; } function gn(t, e) { return t ? { type: t, default: e } : ha(e); } let pr = !1; try { const t = Object.defineProperty({}, "passive", { get() { pr = !0; } }); window.addEventListener("testPassive", null, t), window.removeEventListener("testPassive", null, t); } catch { } function vr(t, e, n, r) { if (t && t.addEventListener) { let i = r; i === void 0 && pr && (e === "touchstart" || e === "touchmove" || e === "wheel") && (i = { passive: !1 }), t.addEventListener(e, n, i); } return { remove: () => { t && t.removeEventListener && t.removeEventListener(e, n); } }; } const aI = "anticon", lj = Symbol("GlobalFormContextKey"), Nue = (t) => { pt(lj, t); }, Bue = () => Ge(lj, { validateMessages: L(() => { }) }), zue = () => ({ iconPrefixCls: String, getTargetContainer: { type: Function }, getPopupContainer: { type: Function }, prefixCls: String, getPrefixCls: { type: Function }, renderEmpty: { type: Function }, transformCellText: { type: Function }, csp: $t(), input: $t(), autoInsertSpaceInButton: { type: Boolean, default: void 0 }, locale: $t(), pageHeader: $t(), componentSize: { type: String }, componentDisabled: { type: Boolean, default: void 0 }, direction: { type: String, default: "ltr" }, space: $t(), virtual: { type: Boolean, default: void 0 }, dropdownMatchSelectWidth: { type: [Number, Boolean], default: !0 }, form: $t(), pagination: $t(), theme: $t(), select: $t(), wave: $t() }), oI = Symbol("configProvider"), uj = { getPrefixCls: (t, e) => e || (t ? `ant-${t}` : "ant"), iconPrefixCls: L(() => aI), getPopupContainer: L(() => () => document.body), direction: L(() => "ltr") }, kS = () => Ge(oI, uj), Vue = (t) => pt(oI, t), cj = Symbol("DisabledContextKey"), Jo = () => Ge(cj, U(void 0)), fj = (t) => { const e = Jo(); return pt(cj, L(() => { var n; return (n = t.value) !== null && n !== void 0 ? n : e.value; })), t; }, Fue = { // Options.jsx items_per_page: "/ page", jump_to: "Go to", jump_to_confirm: "confirm", page: "", // Pagination.jsx prev_page: "Previous Page", next_page: "Next Page", prev_5: "Previous 5 Pages", next_5: "Next 5 Pages", prev_3: "Previous 3 Pages", next_3: "Next 3 Pages" }, Wue = { locale: "en_US", today: "Today", now: "Now", backToToday: "Back to today", ok: "Ok", clear: "Clear", month: "Month", year: "Year", timeSelect: "select time", dateSelect: "select date", weekSelect: "Choose a week", monthSelect: "Choose a month", yearSelect: "Choose a year", decadeSelect: "Choose a decade", yearFormat: "YYYY", dateFormat: "M/D/YYYY", dayFormat: "D", dateTimeFormat: "M/D/YYYY HH:mm:ss", monthBeforeYear: !0, previousMonth: "Previous month (PageUp)", nextMonth: "Next month (PageDown)", previousYear: "Last year (Control + left)", nextYear: "Next year (Control + right)", previousDecade: "Last decade", nextDecade: "Next decade", previousCentury: "Last century", nextCentury: "Next century" }, dj = { placeholder: "Select time", rangePlaceholder: ["Start time", "End time"] }, r8 = { lang: I({ placeholder: "Select date", yearPlaceholder: "Select year", quarterPlaceholder: "Select quarter", monthPlaceholder: "Select month", weekPlaceholder: "Select week", rangePlaceholder: ["Start date", "End date"], rangeYearPlaceholder: ["Start year", "End year"], rangeQuarterPlaceholder: ["Start quarter", "End quarter"], rangeMonthPlaceholder: ["Start month", "End month"], rangeWeekPlaceholder: ["Start week", "End week"] }, Wue), timePickerLocale: I({}, dj) }, $i = "${label} is not a valid ${type}", Vs = { locale: "en", Pagination: Fue, DatePicker: r8, TimePicker: dj, Calendar: r8, global: { placeholder: "Please select" }, Table: { filterTitle: "Filter menu", filterConfirm: "OK", filterReset: "Reset", filterEmptyText: "No filters", filterCheckall: "Select all items", filterSearchPlaceholder: "Search in filters", emptyText: "No data", selectAll: "Select current page", selectInvert: "Invert current page", selectNone: "Clear all data", selectionAll: "Select all data", sortTitle: "Sort", expand: "Expand row", collapse: "Collapse row", triggerDesc: "Click to sort descending", triggerAsc: "Click to sort ascending", cancelSort: "Click to cancel sorting" }, Tour: { Next: "Next", Previous: "Previous", Finish: "Finish" }, Modal: { okText: "OK", cancelText: "Cancel", justOkText: "OK" }, Popconfirm: { okText: "OK", cancelText: "Cancel" }, Transfer: { titles: ["", ""], searchPlaceholder: "Search here", itemUnit: "item", itemsUnit: "items", remove: "Remove", selectCurrent: "Select current page", removeCurrent: "Remove current page", selectAll: "Select all data", removeAll: "Remove all data", selectInvert: "Invert current page" }, Upload: { uploading: "Uploading...", removeFile: "Remove file", uploadError: "Upload error", previewFile: "Preview file", downloadFile: "Download file" }, Empty: { description: "No data" }, Icon: { icon: "icon" }, Text: { edit: "Edit", copy: "Copy", copied: "Copied", expand: "Expand" }, PageHeader: { back: "Back" }, Form: { optional: "(optional)", defaultValidateMessages: { default: "Field validation error for ${label}", required: "Please enter ${label}", enum: "${label} must be one of [${enum}]", whitespace: "${label} cannot be a blank character", date: { format: "${label} date format is invalid", parse: "${label} cannot be converted to a date", invalid: "${label} is an invalid date" }, types: { string: $i, method: $i, array: $i, object: $i, number: $i, date: $i, boolean: $i, integer: $i, float: $i, regexp: $i, email: $i, url: $i, hex: $i }, string: { len: "${label} must be ${len} characters", min: "${label} must be at least ${min} characters", max: "${label} must be up to ${max} characters", range: "${label} must be between ${min}-${max} characters" }, number: { len: "${label} must be equal to ${len}", min: "${label} must be minimum ${min}", max: "${label} must be maximum ${max}", range: "${label} must be between ${min}-${max}" }, array: { len: "Must be ${len} ${label}", min: "At least ${min} ${label}", max: "At most ${max} ${label}", range: "The amount of ${label} must be between ${min}-${max}" }, pattern: { mismatch: "${label} does not match the pattern ${pattern}" } } }, Image: { preview: "Preview" }, QRCode: { expired: "QR code expired", refresh: "Refresh", scanned: "Scanned" } }, hj = te({ compatConfig: { MODE: 3 }, name: "LocaleReceiver", props: { componentName: String, defaultLocale: { type: [Object, Function] }, children: { type: Function } }, setup(t, e) { let { slots: n } = e; const r = Ge("localeData", {}), i = L(() => { const { componentName: o = "global", defaultLocale: s } = t, l = s || Vs[o || "global"], { antLocale: u } = r, c = o && u ? u[o] : {}; return I(I({}, typeof l == "function" ? l() : l), c || {}); }), a = L(() => { const { antLocale: o } = r, s = o && o.locale; return o && o.exist && !s ? Vs.locale : s; }); return () => { const o = t.children || n.default, { antLocale: s } = r; return o == null ? void 0 : o(i.value, a.value, s); }; } }); function LS(t, e, n) { const r = Ge("localeData", {}); return [L(() => { const { antLocale: a } = r, o = z(e) || Vs[t || "global"], s = t && a ? a[t] : {}; return I(I(I({}, typeof o == "function" ? o() : o), s || {}), z(n) || {}); })]; } function sI(t) { for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4) n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */ n >>> 24, e = /* Math.imul(k, m): */ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16); switch (i) { case 3: e ^= (t.charCodeAt(r + 2) & 255) << 16; case 2: e ^= (t.charCodeAt(r + 1) & 255) << 8; case 1: e ^= t.charCodeAt(r) & 255, e = /* Math.imul(h, m): */ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16); } return e ^= e >>> 13, e = /* Math.imul(h, m): */ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36); } const i8 = "%"; class Que { constructor(e) { this.cache = /* @__PURE__ */ new Map(), this.instanceId = e; } get(e) { return this.cache.get(Array.isArray(e) ? e.join(i8) : e) || null; } update(e, n) { const r = Array.isArray(e) ? e.join(i8) : e, i = this.cache.get(r), a = n(i); a === null ? this.cache.delete(r) : this.cache.set(r, a); } } const pj = "data-token-hash", Hc = "data-css-hash", Hue = "data-cache-path", Bd = "__cssinjs_instance__"; function Jg() { const t = Math.random().toString(12).slice(2); if (typeof document < "u" && document.head && document.body) { const e = document.body.querySelectorAll(`style[${Hc}]`) || [], { firstChild: n } = document.head; Array.from(e).forEach((i) => { i[Bd] = i[Bd] || t, i[Bd] === t && document.head.insertBefore(i, n); }); const r = {}; Array.from(document.querySelectorAll(`style[${Hc}]`)).forEach((i) => { var a; const o = i.getAttribute(Hc); r[o] ? i[Bd] === t && ((a = i.parentNode) === null || a === void 0 || a.removeChild(i)) : r[o] = !0; }); } return new Que(t); } const vj = Symbol("StyleContextKey"), Gue = () => { var t, e, n; const r = vn(); let i; if (r && r.appContext) { const a = (n = (e = (t = r.appContext) === null || t === void 0 ? void 0 : t.config) === null || e === void 0 ? void 0 : e.globalProperties) === null || n === void 0 ? void 0 : n.__ANTDV_CSSINJS_CACHE__; a ? i = a : (i = Jg(), r.appContext.config.globalProperties && (r.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__ = i)); } else i = Jg(); return i; }, gj = { cache: Jg(), defaultCache: !0, hashPriority: "low" }, NS = () => { const t = Gue(); return Ge(vj, ae(I(I({}, gj), { cache: t }))); }, jue = (t) => { const e = NS(), n = ae(I(I({}, gj), { cache: Jg() })); return se([() => z(t), e], () => { const r = I({}, e.value), i = z(t); Object.keys(i).forEach((o) => { const s = i[o]; i[o] !== void 0 && (r[o] = s); }); const { cache: a } = i; r.cache = r.cache || Jg(), r.defaultCache = !a && e.value.defaultCache, n.value = r; }, { immediate: !0 }), pt(vj, n), n; }, Zue = () => ({ autoClear: nt(), /** @private Test only. Not work in production. */ mock: hn(), /** * Only set when you need ssr to extract style on you own. * If not provided, it will auto create