@antsoo-lib/components 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(J,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("@ant-design/colors"),require("lodash-es"),require("dayjs"),require("@ant-design/icons-vue")):typeof define=="function"&&define.amd?define(["exports","vue","@ant-design/colors","lodash-es","dayjs","@ant-design/icons-vue"],o):(J=typeof globalThis<"u"?globalThis:J||self,o(J.AkazaComponents={},J.Vue,J.AntDesignColors,J._,J.dayjs,J.AntDesignIconsVue))})(this,(function(J,o,yn,vb,Pt,W3){"use strict";class ke{name;style;constructor(t,n){this.name=t,this.style=n}getName(t=""){return t?`${t}-${this.name}`:this.name}_keyframe=!0}const Xt=(...e)=>e,K3=(...e)=>e,at=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function mr(){return{type:[Function,Array]}}function Se(e){return{type:Object,default:e}}function ne(e){return{type:Boolean,default:e}}function Q(e){return{type:Function,default:e}}function et(e,t){const n={validator:()=>!0,default:e};return n}function Lt(){return{validator:()=>!0}}function je(e){return{type:Array,default:e}}function we(e){return{type:String,default:e}}function Te(e,t){return e?{type:e,default:t}:et(t)}const $b="%";class G3{instanceId;constructor(t){this.instanceId=t}cache=new Map;get(t){return this.cache.get(Array.isArray(t)?t.join($b):t)||null}update(t,n){const r=Array.isArray(t)?t.join($b):t,a=this.cache.get(r),i=n(a);i===null?this.cache.delete(r):this.cache.set(r,i)}}const du="data-token-hash",Bo="data-css-hash",X3="data-cache-path",na="__cssinjs_instance__";function gr(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Bo}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(a=>{a[na]=a[na]||e,a[na]===e&&document.head.insertBefore(a,n)});const r={};Array.from(document.querySelectorAll(`style[${Bo}]`)).forEach(a=>{const i=a.getAttribute(Bo);r[i]?a[na]===e&&a.parentNode?.removeChild(a):r[i]=!0})}return new G3(e)}const Sb=Symbol("StyleContextKey"),U3=()=>{const e=o.getCurrentInstance();let t;if(e&&e.appContext){const n=e.appContext?.config?.globalProperties?.__ANTDV_CSSINJS_CACHE__;n?t=n:(t=gr(),e.appContext.config.globalProperties&&(e.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=t))}else t=gr();return t},Cb={cache:gr(),defaultCache:!0,hashPriority:"low"},oa=()=>{const e=U3();return o.inject(Sb,o.shallowRef({...Cb,cache:e}))},uu=e=>{const t=oa(),n=o.shallowRef({...Cb,cache:gr()});return o.watch([()=>o.unref(e),t],()=>{const r={...t.value},a=o.unref(e);Object.keys(a).forEach(l=>{const s=a[l];a[l]!==void 0&&(r[l]=s)});const{cache:i}=a;r.cache=r.cache||gr(),r.defaultCache=!i&&t.value.defaultCache,n.value=r},{immediate:!0}),o.provide(Sb,n),n},Y3=()=>({autoClear:ne(),mock:we(),cache:Se(),defaultCache:ne(),hashPriority:we(),container:Te(),ssrInline:ne(),transformers:je(),linters:je()}),wb=at(o.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:Y3(),setup(e,{slots:t}){return uu(e),()=>t.default?.()}}));function fu(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Ht(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Fo(e,t){return e&&e.contains?e.contains(t):!1}const xb="data-vc-order",q3="vc-util-key",pu=new Map;function Nb({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:q3}function ql(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Z3(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Pb(e){return Array.from((pu.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Ib(e,t={}){if(!Ht())return null;const{csp:n,prepend:r}=t,a=document.createElement("style");a.setAttribute(xb,Z3(r)),n?.nonce&&(a.nonce=n?.nonce),a.innerHTML=e;const i=ql(t),{firstChild:l}=i;if(r){if(r==="queue"){const s=Pb(i).filter(c=>["prepend","prependQueue"].includes(c.getAttribute(xb)));if(s.length)return i.insertBefore(a,s[s.length-1].nextSibling),a}i.insertBefore(a,l)}else i.appendChild(a);return a}function Tb(e,t={}){const n=ql(t);return Pb(n).find(r=>r.getAttribute(Nb(t))===e)}function Zl(e,t={}){const n=Tb(e,t);n&&ql(t).removeChild(n)}function Q3(e,t){const n=pu.get(e);if(!n||!Fo(document,n)){const r=Ib("",t),{parentNode:a}=r;pu.set(e,a),e.removeChild(r)}}function ai(e,t,n={}){const r=ql(n);Q3(r,n);const a=Tb(t,n);if(a)return n.csp?.nonce&&a.nonce!==n.csp?.nonce&&(a.nonce=n.csp?.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;const i=Ib(e,n);return i.setAttribute(Nb(n),t),i}let mu={};function He(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function Ob(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.warn(`Note: ${t}`)}function J3(){mu={}}function Eb(e,t,n){!t&&!mu[n]&&(e(!1,n),mu[n]=!0)}function tn(e,t){Eb(He,e,t)}function gu(e,t){Eb(Ob,e,t)}function eP(){}let Mb=eP;process.env.NODE_ENV!=="production"&&(Mb=(e,t,n)=>{tn(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&J3()});const tt=Mb;let Vb=0;class Ql{derivatives;id;constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Vb,t.length===0&&tt(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Vb+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}function tP(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}class Jl{static MAX_CACHE_SIZE=20;static MAX_CACHE_OFFSET=5;cache;keys;cacheCallTimes;constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t,n=!1){let r={map:this.cache};return t.forEach(a=>{r?r=r?.map?.get(a):r=void 0}),r?.value&&n&&(r.value[1]=this.cacheCallTimes++),r?.value}get(t){return this.internalGet(t,!0)?.[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Jl.MAX_CACHE_SIZE+Jl.MAX_CACHE_OFFSET){const[a]=this.keys.reduce((i,l)=>{const[,s]=i;return this.internalGet(l)[1]<s?[l,this.internalGet(l)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(a)}this.keys.push(t)}let r=this.cache;t.forEach((a,i)=>{if(i===t.length-1)r.set(a,{value:[n,this.cacheCallTimes++]});else{const l=r.get(a);l?l.map||(l.map=new Map):r.set(a,{map:new Map}),r=r.get(a).map}})}deleteByPath(t,n){const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),r.value?.[0];const a=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),a}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!tP(n,t)),this.deleteByPath(this.cache,t)}}const hu=new Jl;function es(e){const t=Array.isArray(e)?e:[e];return hu.has(t)||hu.set(t,new Ql(t)),hu.get(t)}const Rb=new WeakMap;function ts(e){let t=Rb.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof Ql?t+=r.id:r&&typeof r=="object"?t+=ts(r):t+=r}),Rb.set(e,t)),t}function nP(e,t){return fu(`${t}_${ts(e)}`)}const fo=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),bu="_bAmBoO_";function yu(e,t,n){if(Ht()){ai(e,fo);const r=document.createElement("div");r.style.position="fixed",r.style.left="0",r.style.top="0",t?.(r),document.body.appendChild(r),process.env.NODE_ENV!=="production"&&(r.innerHTML="Test",r.style.zIndex="9999999");const a=n?n(r):getComputedStyle(r).content?.includes(bu);return r.parentNode?.removeChild(r),Zl(fo),a}return!1}let vu;function oP(){return vu===void 0&&(vu=yu(`@layer ${fo} { .${fo} { content: "${bu}"!important; } }`,e=>{e.className=fo})),vu}let $u;function rP(){return $u===void 0&&($u=yu(`:where(.${fo}) { content: "${bu}"!important; }`,e=>{e.className=fo})),$u}let Su;function aP(){return Su===void 0&&(Su=yu(`.${fo} { inset-block: 93px !important; }`,e=>{e.className=fo},e=>getComputedStyle(e).bottom==="93px")),Su}function iP(){return!1}let Cu=!1;function lP(){return Cu}const sP=process.env.NODE_ENV==="production"?iP:lP;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){const e=window;if(typeof e.webpackHotUpdate=="function"){const t=e.webpackHotUpdate;e.webpackHotUpdate=(...n)=>(Cu=!0,setTimeout(()=>{Cu=!1},0),t(...n))}}function Ab(e,t,n,r){const a=oa(),i=o.shallowRef(""),l=o.shallowRef();o.watchEffect(()=>{i.value=[e,...t.value].join("%")});const s=sP(),c=d=>{a.value.cache.update(d,u=>{const[f=0,p]=u||[];return f-1===0?(r?.(p,!1),null):[f-1,p]})};return o.watch(i,(d,u)=>{u&&c(u),a.value.cache.update(d,f=>{const[p=0,m]=f||[];let g=m;process.env.NODE_ENV!=="production"&&m&&s&&(r?.(g,s),g=null);const b=g||n();return[p+1,b]}),l.value=a.value.cache.get(i.value)[1]},{immediate:!0}),o.onBeforeUnmount(()=>{c(i.value)}),l}const Db={},cP=process.env.NODE_ENV==="production",dP=process.env.NODE_ENV==="prerender",uP=!cP&&!dP?"css-dev-only-do-not-override":"css",hr=new Map;function fP(e){hr.set(e,(hr.get(e)||0)+1)}function pP(e,t){typeof document<"u"&&document.querySelectorAll(`style[${du}="${e}"]`).forEach(r=>{r[na]===t&&r.parentNode?.removeChild(r)})}const mP=0;function gP(e,t){hr.set(e,(hr.get(e)||0)-1);const n=Array.from(hr.keys()),r=n.filter(a=>(hr.get(a)||0)<=0);n.length-r.length>mP&&r.forEach(a=>{pP(a,t),hr.delete(a)})}const hP=(e,t,n,r)=>{let i={...n.getDerivativeToken(e),...t};return r&&(i=r(i)),i};function wu(e,t,n=o.ref({})){const r=oa(),a=o.computed(()=>Object.assign({},...t.value)),i=o.computed(()=>ts(a.value)),l=o.computed(()=>ts(n.value.override||Db));return Ab("token",o.computed(()=>[n.value.salt||"",e.value.id,i.value,l.value]),()=>{const{salt:c="",override:d=Db,formatToken:u,getComputedToken:f}=n.value,p=f?f(a.value,d,e.value):hP(a.value,d,e.value,u),m=nP(p,c);p._tokenKey=m,fP(m);const g=`${uP}-${fu(m)}`;return p._hashId=g,[p,g]},c=>{gP(c[0]._tokenKey,r.value?.cache.instanceId)})}var Bb={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Fb="comm",kb="rule",zb="decl",bP="@import",yP="@namespace",vP="@keyframes",$P="@layer",Lb=Math.abs,xu=String.fromCharCode;function Hb(e){return e.trim()}function ns(e,t,n){return e.replace(t,n)}function SP(e,t,n){return e.indexOf(t,n)}function ra(e,t){return e.charCodeAt(t)|0}function aa(e,t,n){return e.slice(t,n)}function Zn(e){return e.length}function CP(e){return e.length}function os(e,t){return t.push(e),e}var rs=1,ia=1,_b=0,vn=0,xt=0,la="";function Nu(e,t,n,r,a,i,l,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:rs,column:ia,length:l,return:"",siblings:s}}function wP(){return xt}function xP(){return xt=vn>0?ra(la,--vn):0,ia--,xt===10&&(ia=1,rs--),xt}function Rn(){return xt=vn<_b?ra(la,vn++):0,ia++,xt===10&&(ia=1,rs++),xt}function ko(){return ra(la,vn)}function as(){return vn}function is(e,t){return aa(la,e,t)}function ii(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function NP(e){return rs=ia=1,_b=Zn(la=e),vn=0,[]}function PP(e){return la="",e}function Pu(e){return Hb(is(vn-1,Iu(e===91?e+2:e===40?e+1:e)))}function IP(e){for(;(xt=ko())&&xt<33;)Rn();return ii(e)>2||ii(xt)>3?"":" "}function TP(e,t){for(;--t&&Rn()&&!(xt<48||xt>102||xt>57&&xt<65||xt>70&&xt<97););return is(e,as()+(t<6&&ko()==32&&Rn()==32))}function Iu(e){for(;Rn();)switch(xt){case e:return vn;case 34:case 39:e!==34&&e!==39&&Iu(xt);break;case 40:e===41&&Iu(e);break;case 92:Rn();break}return vn}function OP(e,t){for(;Rn()&&e+xt!==57;)if(e+xt===84&&ko()===47)break;return"/*"+is(t,vn-1)+"*"+xu(e===47?e:Rn())}function EP(e){for(;!ii(ko());)Rn();return is(e,vn)}function MP(e){return PP(ls("",null,null,null,[""],e=NP(e),0,[0],e))}function ls(e,t,n,r,a,i,l,s,c){for(var d=0,u=0,f=l,p=0,m=0,g=0,b=1,h=1,y=1,$=0,S="",v=a,C=i,w=r,x=S;h;)switch(g=$,$=Rn()){case 40:if(g!=108&&ra(x,f-1)==58){SP(x+=ns(Pu($),"&","&\f"),"&\f",Lb(d?s[d-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:x+=Pu($);break;case 9:case 10:case 13:case 32:x+=IP(g);break;case 92:x+=TP(as()-1,7);continue;case 47:switch(ko()){case 42:case 47:os(VP(OP(Rn(),as()),t,n,c),c),(ii(g||1)==5||ii(ko()||1)==5)&&Zn(x)&&aa(x,-1,void 0)!==" "&&(x+=" ");break;default:x+="/"}break;case 123*b:s[d++]=Zn(x)*y;case 125*b:case 59:case 0:switch($){case 0:case 125:h=0;case 59+u:y==-1&&(x=ns(x,/\f/g,"")),m>0&&(Zn(x)-f||b===0&&g===47)&&os(m>32?Wb(x+";",r,n,f-1,c):Wb(ns(x," ","")+";",r,n,f-2,c),c);break;case 59:x+=";";default:if(os(w=jb(x,t,n,d,u,a,s,S,v=[],C=[],f,i),i),$===123)if(u===0)ls(x,t,w,w,v,i,f,s,C);else{switch(p){case 99:if(ra(x,3)===110)break;case 108:if(ra(x,2)===97)break;default:u=0;case 100:case 109:case 115:}u?ls(e,w,w,r&&os(jb(e,w,w,0,0,a,s,S,a,v=[],f,C),C),a,C,f,s,r?v:C):ls(x,w,w,w,[""],C,0,s,C)}}d=u=m=0,b=y=1,S=x="",f=l;break;case 58:f=1+Zn(x),m=g;default:if(b<1){if($==123)--b;else if($==125&&b++==0&&xP()==125)continue}switch(x+=xu($),$*b){case 38:y=u>0?1:(x+="\f",-1);break;case 44:s[d++]=(Zn(x)-1)*y,y=1;break;case 64:ko()===45&&(x+=Pu(Rn())),p=ko(),u=f=Zn(S=x+=EP(as())),$++;break;case 45:g===45&&Zn(x)==2&&(b=0)}}return i}function jb(e,t,n,r,a,i,l,s,c,d,u,f){for(var p=a-1,m=a===0?i:[""],g=CP(m),b=0,h=0,y=0;b<r;++b)for(var $=0,S=aa(e,p+1,p=Lb(h=l[b])),v=e;$<g;++$)(v=Hb(h>0?m[$]+" "+S:ns(S,/&\f/g,m[$])))&&(c[y++]=v);return Nu(e,t,n,a===0?kb:s,c,d,u,f)}function VP(e,t,n,r){return Nu(e,t,n,Fb,xu(wP()),aa(e,2,-2),0,r)}function Wb(e,t,n,r,a){return Nu(e,t,n,zb,aa(e,0,r),aa(e,r+1,-1),r,a)}function Tu(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function RP(e,t,n,r){switch(e.type){case $P:if(e.children.length)break;case bP:case yP:case zb:return e.return=e.return||e.value;case Fb:return"";case vP:return e.return=e.value+"{"+Tu(e.children,r)+"}";case kb:if(!Zn(e.value=e.props.join(",")))return""}return Zn(n=Tu(e.children,r))?e.return=e.value+"{"+n+"}":""}function zo(e,t){const{path:n,parentSelectors:r}=t;tn(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${r.length?` Selector info: ${r.join(" -> ")}`:""}`)}const AP=(e,t,n)=>{if(e==="content"){const r=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||!["normal","none","initial","inherit","unset"].includes(t)&&!r.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&zo(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},DP=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&zo(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)};function BP(e){return(e.match(/:not\(([^)]*)\)/)?.[1]||"").split(/(\[[^[]*\])|(?=[.#])/).filter(r=>r).length>1}function FP(e){return e.parentSelectors.reduce((t,n)=>t?n.includes("&")?n.replace(/&/g,t):`${t} ${n}`:n,"")}const Kb=(e,t,n)=>{const a=FP(n).match(/:not\([^)]*\)/g)||[];a.length>0&&a.some(BP)&&zo("Concat ':not' selector not support in legacy browsers.",n)},Gb=(e,t,n)=>{switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":zo(`You seem to be using non-logical property '${e}' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof t=="string"){const r=t.split(" ").map(a=>a.trim());r.length===4&&r[1]!==r[3]&&zo(`You seem to be using '${e}' property with different left ${e} and right ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}return;case"clear":case"textAlign":(t==="left"||t==="right")&&zo(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"borderRadius":typeof t=="string"&&t.split("/").map(i=>i.trim()).reduce((i,l)=>{if(i)return i;const s=l.split(" ").map(c=>c.trim());return s.length>=2&&s[0]!==s[1]||s.length===3&&s[1]!==s[2]||s.length===4&&s[2]!==s[3]?!0:i},!1)&&zo(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}},Xb=(e,t,n)=>{n.parentSelectors.some(r=>r.split(",").some(i=>i.split("&").length>2))&&zo("Should not use more than one `&` in a selector.",n)},li="data-ant-cssinjs-cache-path",kP="_FILE_STYLE__";function zP(e){return Object.keys(e).map(t=>{const n=e[t];return`${t}:${n}`}).join(";")}let br,Ub=!0;function LP(){if(!br&&(br={},Ht())){const e=document.createElement("div");e.className=li,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);let t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(r=>{const[a,i]=r.split(":");br[a]=i});const n=document.querySelector(`style[${li}]`);n&&(Ub=!1,n.parentNode?.removeChild(n)),document.body.removeChild(e)}}function HP(e){return LP(),!!br[e]}function _P(e){const t=br[e];let n=null;if(t&&Ht())if(Ub)n=kP;else{const r=document.querySelector(`style[${Bo}="${br[e]}"]`);r?n=r.innerHTML:delete br[e]}return[n,t]}const Yb=Ht(),qb="_skip_check_",Zb="_multi_value_";function Ou(e){return Tu(MP(e),RP).replace(/\{%%%:[^;];\}/g,";")}function jP(e){return typeof e=="object"&&e&&(qb in e||Zb in e)}function WP(e,t,n){if(!t)return e;const r=`.${t}`,a=n==="low"?`:where(${r})`:r;return e.split(",").map(l=>{const s=l.trim().split(/\s+/);let c=s[0]||"";const d=c.match(/^\w+/)?.[0]||"";return c=`${d}${a}${c.slice(d.length)}`,[c,...s.slice(1)].join(" ")}).join(",")}const Eu=new Set;process.env.NODE_ENV;const Mu=(e,t={},{root:n,injectHash:r,parentSelectors:a}={root:!0,parentSelectors:[]})=>{const{hashId:i,layer:l,path:s,hashPriority:c,transformers:d=[],linters:u=[]}=t;let f="",p={};function m(h){const y=h.getName(i);if(!p[y]){const[$]=Mu(h.style,t,{root:!1,parentSelectors:a});p[y]=`@keyframes ${h.getName(i)}${$}`}}function g(h,y=[]){return h.forEach($=>{Array.isArray($)?g($,y):$&&y.push($)}),y}if(g(Array.isArray(e)?e:[e]).forEach(h=>{const y=typeof h=="string"&&!n?{}:h;if(typeof y=="string")f+=`${y}
|
|
1
|
+
(function(J,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("@ant-design/colors"),require("lodash-es"),require("dayjs"),require("@ant-design/icons-vue")):typeof define=="function"&&define.amd?define(["exports","vue","@ant-design/colors","lodash-es","dayjs","@ant-design/icons-vue"],o):(J=typeof globalThis<"u"?globalThis:J||self,o(J.AntsooComponents={},J.Vue,J.AntDesignColors,J._,J.dayjs,J.AntDesignIconsVue))})(this,(function(J,o,yn,vb,Pt,W3){"use strict";class ke{name;style;constructor(t,n){this.name=t,this.style=n}getName(t=""){return t?`${t}-${this.name}`:this.name}_keyframe=!0}const Xt=(...e)=>e,K3=(...e)=>e,at=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function mr(){return{type:[Function,Array]}}function Se(e){return{type:Object,default:e}}function ne(e){return{type:Boolean,default:e}}function Q(e){return{type:Function,default:e}}function et(e,t){const n={validator:()=>!0,default:e};return n}function Lt(){return{validator:()=>!0}}function je(e){return{type:Array,default:e}}function we(e){return{type:String,default:e}}function Te(e,t){return e?{type:e,default:t}:et(t)}const $b="%";class G3{instanceId;constructor(t){this.instanceId=t}cache=new Map;get(t){return this.cache.get(Array.isArray(t)?t.join($b):t)||null}update(t,n){const r=Array.isArray(t)?t.join($b):t,a=this.cache.get(r),i=n(a);i===null?this.cache.delete(r):this.cache.set(r,i)}}const du="data-token-hash",Bo="data-css-hash",X3="data-cache-path",na="__cssinjs_instance__";function gr(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Bo}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(a=>{a[na]=a[na]||e,a[na]===e&&document.head.insertBefore(a,n)});const r={};Array.from(document.querySelectorAll(`style[${Bo}]`)).forEach(a=>{const i=a.getAttribute(Bo);r[i]?a[na]===e&&a.parentNode?.removeChild(a):r[i]=!0})}return new G3(e)}const Sb=Symbol("StyleContextKey"),U3=()=>{const e=o.getCurrentInstance();let t;if(e&&e.appContext){const n=e.appContext?.config?.globalProperties?.__ANTDV_CSSINJS_CACHE__;n?t=n:(t=gr(),e.appContext.config.globalProperties&&(e.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=t))}else t=gr();return t},Cb={cache:gr(),defaultCache:!0,hashPriority:"low"},oa=()=>{const e=U3();return o.inject(Sb,o.shallowRef({...Cb,cache:e}))},uu=e=>{const t=oa(),n=o.shallowRef({...Cb,cache:gr()});return o.watch([()=>o.unref(e),t],()=>{const r={...t.value},a=o.unref(e);Object.keys(a).forEach(l=>{const s=a[l];a[l]!==void 0&&(r[l]=s)});const{cache:i}=a;r.cache=r.cache||gr(),r.defaultCache=!i&&t.value.defaultCache,n.value=r},{immediate:!0}),o.provide(Sb,n),n},Y3=()=>({autoClear:ne(),mock:we(),cache:Se(),defaultCache:ne(),hashPriority:we(),container:Te(),ssrInline:ne(),transformers:je(),linters:je()}),wb=at(o.defineComponent({name:"AStyleProvider",inheritAttrs:!1,props:Y3(),setup(e,{slots:t}){return uu(e),()=>t.default?.()}}));function fu(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Ht(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Fo(e,t){return e&&e.contains?e.contains(t):!1}const xb="data-vc-order",q3="vc-util-key",pu=new Map;function Nb({mark:e}={}){return e?e.startsWith("data-")?e:`data-${e}`:q3}function ql(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Z3(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Pb(e){return Array.from((pu.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Ib(e,t={}){if(!Ht())return null;const{csp:n,prepend:r}=t,a=document.createElement("style");a.setAttribute(xb,Z3(r)),n?.nonce&&(a.nonce=n?.nonce),a.innerHTML=e;const i=ql(t),{firstChild:l}=i;if(r){if(r==="queue"){const s=Pb(i).filter(c=>["prepend","prependQueue"].includes(c.getAttribute(xb)));if(s.length)return i.insertBefore(a,s[s.length-1].nextSibling),a}i.insertBefore(a,l)}else i.appendChild(a);return a}function Tb(e,t={}){const n=ql(t);return Pb(n).find(r=>r.getAttribute(Nb(t))===e)}function Zl(e,t={}){const n=Tb(e,t);n&&ql(t).removeChild(n)}function Q3(e,t){const n=pu.get(e);if(!n||!Fo(document,n)){const r=Ib("",t),{parentNode:a}=r;pu.set(e,a),e.removeChild(r)}}function ai(e,t,n={}){const r=ql(n);Q3(r,n);const a=Tb(t,n);if(a)return n.csp?.nonce&&a.nonce!==n.csp?.nonce&&(a.nonce=n.csp?.nonce),a.innerHTML!==e&&(a.innerHTML=e),a;const i=Ib(e,n);return i.setAttribute(Nb(n),t),i}let mu={};function He(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function Ob(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.warn(`Note: ${t}`)}function J3(){mu={}}function Eb(e,t,n){!t&&!mu[n]&&(e(!1,n),mu[n]=!0)}function tn(e,t){Eb(He,e,t)}function gu(e,t){Eb(Ob,e,t)}function eP(){}let Mb=eP;process.env.NODE_ENV!=="production"&&(Mb=(e,t,n)=>{tn(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&J3()});const tt=Mb;let Vb=0;class Ql{derivatives;id;constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Vb,t.length===0&&tt(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Vb+=1}getDerivativeToken(t){return this.derivatives.reduce((n,r)=>r(t,n),void 0)}}function tP(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}class Jl{static MAX_CACHE_SIZE=20;static MAX_CACHE_OFFSET=5;cache;keys;cacheCallTimes;constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t,n=!1){let r={map:this.cache};return t.forEach(a=>{r?r=r?.map?.get(a):r=void 0}),r?.value&&n&&(r.value[1]=this.cacheCallTimes++),r?.value}get(t){return this.internalGet(t,!0)?.[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Jl.MAX_CACHE_SIZE+Jl.MAX_CACHE_OFFSET){const[a]=this.keys.reduce((i,l)=>{const[,s]=i;return this.internalGet(l)[1]<s?[l,this.internalGet(l)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(a)}this.keys.push(t)}let r=this.cache;t.forEach((a,i)=>{if(i===t.length-1)r.set(a,{value:[n,this.cacheCallTimes++]});else{const l=r.get(a);l?l.map||(l.map=new Map):r.set(a,{map:new Map}),r=r.get(a).map}})}deleteByPath(t,n){const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),r.value?.[0];const a=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),a}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!tP(n,t)),this.deleteByPath(this.cache,t)}}const hu=new Jl;function es(e){const t=Array.isArray(e)?e:[e];return hu.has(t)||hu.set(t,new Ql(t)),hu.get(t)}const Rb=new WeakMap;function ts(e){let t=Rb.get(e)||"";return t||(Object.keys(e).forEach(n=>{const r=e[n];t+=n,r instanceof Ql?t+=r.id:r&&typeof r=="object"?t+=ts(r):t+=r}),Rb.set(e,t)),t}function nP(e,t){return fu(`${t}_${ts(e)}`)}const fo=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),bu="_bAmBoO_";function yu(e,t,n){if(Ht()){ai(e,fo);const r=document.createElement("div");r.style.position="fixed",r.style.left="0",r.style.top="0",t?.(r),document.body.appendChild(r),process.env.NODE_ENV!=="production"&&(r.innerHTML="Test",r.style.zIndex="9999999");const a=n?n(r):getComputedStyle(r).content?.includes(bu);return r.parentNode?.removeChild(r),Zl(fo),a}return!1}let vu;function oP(){return vu===void 0&&(vu=yu(`@layer ${fo} { .${fo} { content: "${bu}"!important; } }`,e=>{e.className=fo})),vu}let $u;function rP(){return $u===void 0&&($u=yu(`:where(.${fo}) { content: "${bu}"!important; }`,e=>{e.className=fo})),$u}let Su;function aP(){return Su===void 0&&(Su=yu(`.${fo} { inset-block: 93px !important; }`,e=>{e.className=fo},e=>getComputedStyle(e).bottom==="93px")),Su}function iP(){return!1}let Cu=!1;function lP(){return Cu}const sP=process.env.NODE_ENV==="production"?iP:lP;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){const e=window;if(typeof e.webpackHotUpdate=="function"){const t=e.webpackHotUpdate;e.webpackHotUpdate=(...n)=>(Cu=!0,setTimeout(()=>{Cu=!1},0),t(...n))}}function Ab(e,t,n,r){const a=oa(),i=o.shallowRef(""),l=o.shallowRef();o.watchEffect(()=>{i.value=[e,...t.value].join("%")});const s=sP(),c=d=>{a.value.cache.update(d,u=>{const[f=0,p]=u||[];return f-1===0?(r?.(p,!1),null):[f-1,p]})};return o.watch(i,(d,u)=>{u&&c(u),a.value.cache.update(d,f=>{const[p=0,m]=f||[];let g=m;process.env.NODE_ENV!=="production"&&m&&s&&(r?.(g,s),g=null);const b=g||n();return[p+1,b]}),l.value=a.value.cache.get(i.value)[1]},{immediate:!0}),o.onBeforeUnmount(()=>{c(i.value)}),l}const Db={},cP=process.env.NODE_ENV==="production",dP=process.env.NODE_ENV==="prerender",uP=!cP&&!dP?"css-dev-only-do-not-override":"css",hr=new Map;function fP(e){hr.set(e,(hr.get(e)||0)+1)}function pP(e,t){typeof document<"u"&&document.querySelectorAll(`style[${du}="${e}"]`).forEach(r=>{r[na]===t&&r.parentNode?.removeChild(r)})}const mP=0;function gP(e,t){hr.set(e,(hr.get(e)||0)-1);const n=Array.from(hr.keys()),r=n.filter(a=>(hr.get(a)||0)<=0);n.length-r.length>mP&&r.forEach(a=>{pP(a,t),hr.delete(a)})}const hP=(e,t,n,r)=>{let i={...n.getDerivativeToken(e),...t};return r&&(i=r(i)),i};function wu(e,t,n=o.ref({})){const r=oa(),a=o.computed(()=>Object.assign({},...t.value)),i=o.computed(()=>ts(a.value)),l=o.computed(()=>ts(n.value.override||Db));return Ab("token",o.computed(()=>[n.value.salt||"",e.value.id,i.value,l.value]),()=>{const{salt:c="",override:d=Db,formatToken:u,getComputedToken:f}=n.value,p=f?f(a.value,d,e.value):hP(a.value,d,e.value,u),m=nP(p,c);p._tokenKey=m,fP(m);const g=`${uP}-${fu(m)}`;return p._hashId=g,[p,g]},c=>{gP(c[0]._tokenKey,r.value?.cache.instanceId)})}var Bb={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Fb="comm",kb="rule",zb="decl",bP="@import",yP="@namespace",vP="@keyframes",$P="@layer",Lb=Math.abs,xu=String.fromCharCode;function Hb(e){return e.trim()}function ns(e,t,n){return e.replace(t,n)}function SP(e,t,n){return e.indexOf(t,n)}function ra(e,t){return e.charCodeAt(t)|0}function aa(e,t,n){return e.slice(t,n)}function Zn(e){return e.length}function CP(e){return e.length}function os(e,t){return t.push(e),e}var rs=1,ia=1,_b=0,vn=0,xt=0,la="";function Nu(e,t,n,r,a,i,l,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:rs,column:ia,length:l,return:"",siblings:s}}function wP(){return xt}function xP(){return xt=vn>0?ra(la,--vn):0,ia--,xt===10&&(ia=1,rs--),xt}function Rn(){return xt=vn<_b?ra(la,vn++):0,ia++,xt===10&&(ia=1,rs++),xt}function ko(){return ra(la,vn)}function as(){return vn}function is(e,t){return aa(la,e,t)}function ii(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function NP(e){return rs=ia=1,_b=Zn(la=e),vn=0,[]}function PP(e){return la="",e}function Pu(e){return Hb(is(vn-1,Iu(e===91?e+2:e===40?e+1:e)))}function IP(e){for(;(xt=ko())&&xt<33;)Rn();return ii(e)>2||ii(xt)>3?"":" "}function TP(e,t){for(;--t&&Rn()&&!(xt<48||xt>102||xt>57&&xt<65||xt>70&&xt<97););return is(e,as()+(t<6&&ko()==32&&Rn()==32))}function Iu(e){for(;Rn();)switch(xt){case e:return vn;case 34:case 39:e!==34&&e!==39&&Iu(xt);break;case 40:e===41&&Iu(e);break;case 92:Rn();break}return vn}function OP(e,t){for(;Rn()&&e+xt!==57;)if(e+xt===84&&ko()===47)break;return"/*"+is(t,vn-1)+"*"+xu(e===47?e:Rn())}function EP(e){for(;!ii(ko());)Rn();return is(e,vn)}function MP(e){return PP(ls("",null,null,null,[""],e=NP(e),0,[0],e))}function ls(e,t,n,r,a,i,l,s,c){for(var d=0,u=0,f=l,p=0,m=0,g=0,b=1,h=1,y=1,$=0,S="",v=a,C=i,w=r,x=S;h;)switch(g=$,$=Rn()){case 40:if(g!=108&&ra(x,f-1)==58){SP(x+=ns(Pu($),"&","&\f"),"&\f",Lb(d?s[d-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:x+=Pu($);break;case 9:case 10:case 13:case 32:x+=IP(g);break;case 92:x+=TP(as()-1,7);continue;case 47:switch(ko()){case 42:case 47:os(VP(OP(Rn(),as()),t,n,c),c),(ii(g||1)==5||ii(ko()||1)==5)&&Zn(x)&&aa(x,-1,void 0)!==" "&&(x+=" ");break;default:x+="/"}break;case 123*b:s[d++]=Zn(x)*y;case 125*b:case 59:case 0:switch($){case 0:case 125:h=0;case 59+u:y==-1&&(x=ns(x,/\f/g,"")),m>0&&(Zn(x)-f||b===0&&g===47)&&os(m>32?Wb(x+";",r,n,f-1,c):Wb(ns(x," ","")+";",r,n,f-2,c),c);break;case 59:x+=";";default:if(os(w=jb(x,t,n,d,u,a,s,S,v=[],C=[],f,i),i),$===123)if(u===0)ls(x,t,w,w,v,i,f,s,C);else{switch(p){case 99:if(ra(x,3)===110)break;case 108:if(ra(x,2)===97)break;default:u=0;case 100:case 109:case 115:}u?ls(e,w,w,r&&os(jb(e,w,w,0,0,a,s,S,a,v=[],f,C),C),a,C,f,s,r?v:C):ls(x,w,w,w,[""],C,0,s,C)}}d=u=m=0,b=y=1,S=x="",f=l;break;case 58:f=1+Zn(x),m=g;default:if(b<1){if($==123)--b;else if($==125&&b++==0&&xP()==125)continue}switch(x+=xu($),$*b){case 38:y=u>0?1:(x+="\f",-1);break;case 44:s[d++]=(Zn(x)-1)*y,y=1;break;case 64:ko()===45&&(x+=Pu(Rn())),p=ko(),u=f=Zn(S=x+=EP(as())),$++;break;case 45:g===45&&Zn(x)==2&&(b=0)}}return i}function jb(e,t,n,r,a,i,l,s,c,d,u,f){for(var p=a-1,m=a===0?i:[""],g=CP(m),b=0,h=0,y=0;b<r;++b)for(var $=0,S=aa(e,p+1,p=Lb(h=l[b])),v=e;$<g;++$)(v=Hb(h>0?m[$]+" "+S:ns(S,/&\f/g,m[$])))&&(c[y++]=v);return Nu(e,t,n,a===0?kb:s,c,d,u,f)}function VP(e,t,n,r){return Nu(e,t,n,Fb,xu(wP()),aa(e,2,-2),0,r)}function Wb(e,t,n,r,a){return Nu(e,t,n,zb,aa(e,0,r),aa(e,r+1,-1),r,a)}function Tu(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function RP(e,t,n,r){switch(e.type){case $P:if(e.children.length)break;case bP:case yP:case zb:return e.return=e.return||e.value;case Fb:return"";case vP:return e.return=e.value+"{"+Tu(e.children,r)+"}";case kb:if(!Zn(e.value=e.props.join(",")))return""}return Zn(n=Tu(e.children,r))?e.return=e.value+"{"+n+"}":""}function zo(e,t){const{path:n,parentSelectors:r}=t;tn(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${r.length?` Selector info: ${r.join(" -> ")}`:""}`)}const AP=(e,t,n)=>{if(e==="content"){const r=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||!["normal","none","initial","inherit","unset"].includes(t)&&!r.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&zo(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},DP=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&zo(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)};function BP(e){return(e.match(/:not\(([^)]*)\)/)?.[1]||"").split(/(\[[^[]*\])|(?=[.#])/).filter(r=>r).length>1}function FP(e){return e.parentSelectors.reduce((t,n)=>t?n.includes("&")?n.replace(/&/g,t):`${t} ${n}`:n,"")}const Kb=(e,t,n)=>{const a=FP(n).match(/:not\([^)]*\)/g)||[];a.length>0&&a.some(BP)&&zo("Concat ':not' selector not support in legacy browsers.",n)},Gb=(e,t,n)=>{switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":zo(`You seem to be using non-logical property '${e}' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof t=="string"){const r=t.split(" ").map(a=>a.trim());r.length===4&&r[1]!==r[3]&&zo(`You seem to be using '${e}' property with different left ${e} and right ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}return;case"clear":case"textAlign":(t==="left"||t==="right")&&zo(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n);return;case"borderRadius":typeof t=="string"&&t.split("/").map(i=>i.trim()).reduce((i,l)=>{if(i)return i;const s=l.split(" ").map(c=>c.trim());return s.length>=2&&s[0]!==s[1]||s.length===3&&s[1]!==s[2]||s.length===4&&s[2]!==s[3]?!0:i},!1)&&zo(`You seem to be using non-logical value '${t}' of ${e}, which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties.`,n)}},Xb=(e,t,n)=>{n.parentSelectors.some(r=>r.split(",").some(i=>i.split("&").length>2))&&zo("Should not use more than one `&` in a selector.",n)},li="data-ant-cssinjs-cache-path",kP="_FILE_STYLE__";function zP(e){return Object.keys(e).map(t=>{const n=e[t];return`${t}:${n}`}).join(";")}let br,Ub=!0;function LP(){if(!br&&(br={},Ht())){const e=document.createElement("div");e.className=li,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);let t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(r=>{const[a,i]=r.split(":");br[a]=i});const n=document.querySelector(`style[${li}]`);n&&(Ub=!1,n.parentNode?.removeChild(n)),document.body.removeChild(e)}}function HP(e){return LP(),!!br[e]}function _P(e){const t=br[e];let n=null;if(t&&Ht())if(Ub)n=kP;else{const r=document.querySelector(`style[${Bo}="${br[e]}"]`);r?n=r.innerHTML:delete br[e]}return[n,t]}const Yb=Ht(),qb="_skip_check_",Zb="_multi_value_";function Ou(e){return Tu(MP(e),RP).replace(/\{%%%:[^;];\}/g,";")}function jP(e){return typeof e=="object"&&e&&(qb in e||Zb in e)}function WP(e,t,n){if(!t)return e;const r=`.${t}`,a=n==="low"?`:where(${r})`:r;return e.split(",").map(l=>{const s=l.trim().split(/\s+/);let c=s[0]||"";const d=c.match(/^\w+/)?.[0]||"";return c=`${d}${a}${c.slice(d.length)}`,[c,...s.slice(1)].join(" ")}).join(",")}const Eu=new Set;process.env.NODE_ENV;const Mu=(e,t={},{root:n,injectHash:r,parentSelectors:a}={root:!0,parentSelectors:[]})=>{const{hashId:i,layer:l,path:s,hashPriority:c,transformers:d=[],linters:u=[]}=t;let f="",p={};function m(h){const y=h.getName(i);if(!p[y]){const[$]=Mu(h.style,t,{root:!1,parentSelectors:a});p[y]=`@keyframes ${h.getName(i)}${$}`}}function g(h,y=[]){return h.forEach($=>{Array.isArray($)?g($,y):$&&y.push($)}),y}if(g(Array.isArray(e)?e:[e]).forEach(h=>{const y=typeof h=="string"&&!n?{}:h;if(typeof y=="string")f+=`${y}
|
|
2
2
|
`;else if(y._keyframe)m(y);else{const $=d.reduce((S,v)=>v?.visit?.(S)||S,y);Object.keys($).forEach(S=>{const v=$[S];if(typeof v=="object"&&v&&(S!=="animationName"||!v._keyframe)&&!jP(v)){let C=!1,w=S.trim(),x=!1;(n||r)&&i?w.startsWith("@")?C=!0:w=WP(S,i,c):n&&!i&&(w==="&"||w==="")&&(w="",x=!0);const[I,P]=Mu(v,t,{root:x,injectHash:C,parentSelectors:[...a,w]});p={...p,...P},f+=`${w}${I}`}else{let C=function(x,I){process.env.NODE_ENV!=="production"&&(typeof v!="object"||!v?.[qb])&&[AP,DP,...u].forEach(T=>T(x,I,{path:s,hashId:i,parentSelectors:a}));const P=x.replace(/[A-Z]/g,T=>`-${T.toLowerCase()}`);let N=I;!Bb[x]&&typeof N=="number"&&N!==0&&(N=`${N}px`),x==="animationName"&&I?._keyframe&&(m(I),N=I.getName(i)),f+=`${P}:${N};`};const w=v?.value??v;typeof v=="object"&&v?.[Zb]&&Array.isArray(w)?w.forEach(x=>{C(S,x)}):C(S,w)}})}}),!n)f=`{${f}}`;else if(l&&oP()){const h=l.split(",");f=`@layer ${h[h.length-1].trim()} {${f}}`,h.length>1&&(f=`@layer ${l}{%%%:%}${f}`)}return[f,p]};function KP(e,t){return fu(`${e.join("%")}${t}`)}function si(e,t){const n=oa(),r=o.computed(()=>e.value.token._tokenKey),a=o.computed(()=>[r.value,...e.value.path]);let i=Yb;return process.env.NODE_ENV!=="production"&&n.value.mock!==void 0&&(i=n.value.mock==="client"),Ab("style",a,()=>{const{path:l,hashId:s,layer:c,nonce:d,clientOnly:u,order:f=0}=e.value,p=a.value.join("|");if(HP(p)){const[x,I]=_P(p);if(x)return[x,r.value,I,{},u,f]}const m=t(),{hashPriority:g,container:b,transformers:h,linters:y,cache:$}=n.value,[S,v]=Mu(m,{hashId:s,hashPriority:g,layer:c,path:l.join("-"),transformers:h,linters:y}),C=Ou(S),w=KP(a.value,C);if(i){const x={mark:Bo,prepend:"queue",attachTo:b},I=typeof d=="function"?d():d;I&&(x.csp={nonce:I});const P=ai(C,w,x);P[na]=$.instanceId,P.setAttribute(du,r.value),process.env.NODE_ENV!=="production"&&P.setAttribute(X3,a.value.join("|")),Object.keys(v).forEach(N=>{Eu.has(N)||(Eu.add(N),ai(Ou(v[N]),`_effect-${N}`,{mark:Bo,prepend:"queue",attachTo:b}))})}return[C,r.value,w,v,u,f]},([,,l],s)=>{(s||n.value.autoClear)&&Yb&&Zl(l,{mark:Bo})}),l=>l}function Qb(e,t=!1){const n="style%",r=Array.from(e.cache.keys()).filter(d=>d.startsWith(n)),a={},i={};let l="";function s(d,u,f,p={}){const m={...p,[du]:u,[Bo]:f},g=Object.keys(m).map(b=>{const h=m[b];return h?`${b}="${h}"`:null}).filter(b=>b).join(" ");return t?d:`<style ${g}>${d}</style>`}return r.map(d=>{const u=d.slice(n.length).replace(/%/g,"|"),[f,p,m,g,b,h]=e.cache.get(d)[1];if(b)return null;const y={"data-vc-order":"prependQueue","data-vc-priority":`${h}`};let $=s(f,p,m,y);return i[u]=m,g&&Object.keys(g).forEach(v=>{a[v]||(a[v]=!0,$+=s(Ou(g[v]),p,`_effect-${v}`,y))}),[h,$]}).filter(d=>d).sort((d,u)=>d[0]-u[0]).forEach(([,d])=>{l+=d}),l+=s(`.${li}{content:"${zP(i)}";}`,void 0,void 0,{[li]:li}),l}function GP(e){if(typeof e=="number")return[e];const t=String(e).split(/\s+/);let n="",r=0;return t.reduce((a,i)=>(i.includes("(")?(n+=i,r+=i.split("(").length-1):i.includes(")")?(n+=` ${i}`,r-=i.split(")").length-1,r===0&&(a.push(n),n="")):r>0?n+=` ${i}`:a.push(i),a),[])}function sa(e){return e.notSplit=!0,e}const XP={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:sa(["borderTop","borderBottom"]),borderBlockStart:sa(["borderTop"]),borderBlockEnd:sa(["borderBottom"]),borderInline:sa(["borderLeft","borderRight"]),borderInlineStart:sa(["borderLeft"]),borderInlineEnd:sa(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function ss(e){return{_skip_check_:!0,value:e}}const Jb={visit:e=>{const t={};return Object.keys(e).forEach(n=>{const r=e[n],a=XP[n];if(a&&(typeof r=="number"||typeof r=="string")){const i=GP(r);a.length&&a.notSplit?a.forEach(l=>{t[l]=ss(r)}):a.length===1?t[a[0]]=ss(r):a.length===2?a.forEach((l,s)=>{t[l]=ss(i[s]??i[0])}):a.length===4?a.forEach((l,s)=>{t[l]=ss(i[s]??i[s-2]??i[0])}):t[n]=r}else t[n]=r}),t}},Vu=/url\([^)]+\)|var\([^)]+\)|(\d+(?:\.\d+)?|\.\d+)px/g;function UP(e,t){const n=10**(t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}const ey=(e={})=>{const{rootValue:t=16,precision:n=5,mediaQuery:r=!1}=e,a=(l,s)=>{if(!s)return l;const c=Number.parseFloat(s);return c<=1?l:`${UP(c/t,n)}rem`};return{visit:l=>{const s={...l};return Object.entries(l).forEach(([c,d])=>{if(typeof d=="string"&&d.includes("px")){const f=d.replace(Vu,a);s[c]=f}!Bb[c]&&typeof d=="number"&&d!==0&&(s[c]=`${d}px`.replace(Vu,a));const u=c.trim();if(u.startsWith("@")&&u.includes("px")&&r){const f=c.replace(Vu,a);s[f]=s[c],delete s[c]}}),s}}},ty={Theme:Ql,createTheme:es,useStyleRegister:si,useCacheToken:wu,createCache:gr,useStyleInject:oa,useStyleProvider:uu,Keyframes:ke,extractStyle:Qb,legacyLogicalPropertiesTransformer:Jb,px2remTransformer:ey,logicalPropertiesLinter:Gb,legacyNotSelectorLinter:Kb,parentSelectorLinter:Xb,StyleProvider:wb},YP={supportModernCSS:()=>rP()&&aP()},Ru=e=>typeof e=="function",qP=Array.isArray,ZP=e=>typeof e=="string",QP=e=>e!==null&&typeof e=="object",JP=/^on[^a-z]/,e6=e=>JP.test(e),Au=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},t6=/-(\w)/g,ca=Au(e=>e.replace(t6,(t,n)=>n?n.toUpperCase():"")),n6=/\B([A-Z])/g,o6=Au(e=>e.replace(n6,"-$1").toLowerCase()),r6=Au(e=>e.charAt(0).toUpperCase()+e.slice(1)),a6=Object.prototype.hasOwnProperty,ny=(e,t)=>a6.call(e,t);function i6(e,t,n,r){const a=e[n];if(a!=null){const i=ny(a,"default");if(i&&r===void 0){const l=a.default;r=a.type!==Function&&Ru(l)?l():l}a.type===Boolean&&(!ny(t,n)&&!i?r=!1:r===""&&(r=!0))}return r}function l6(e){return Object.keys(e).reduce((t,n)=>((n.startsWith("data-")||n.startsWith("aria-"))&&(t[n]=e[n]),t),{})}function yr(e){return typeof e=="number"?`${e}px`:e}function da(e,t={},n){return typeof e=="function"?e(t):e??n}function s6(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t?.()};return r.then=(a,i)=>n.then(a,i),r.promise=n,r}function W(...e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];if(r){if(ZP(r))t.push(r);else if(qP(r))for(let a=0;a<r.length;a++){const i=W(r[a]);i&&t.push(i)}else if(QP(r))for(const a in r)r[a]&&t.push(a)}}return t.join(" ")}function ze(e,t){const n=Object.assign({},e);for(let r=0;r<t.length;r+=1){const a=t[r];delete n[a]}return n}let oy=e=>setTimeout(e,16),ry=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(oy=e=>window.requestAnimationFrame(e),ry=e=>window.cancelAnimationFrame(e));let ay=0;const Du=new Map;function iy(e){Du.delete(e)}function De(e,t=1){ay+=1;const n=ay;function r(a){if(a===0)iy(n),e();else{const i=oy(()=>{r(a-1)});Du.set(n,i)}}return r(t),n}De.cancel=e=>{const t=Du.get(e);return iy(t),ry(t)};function Bu(e){let t;const n=a=>()=>{t=null,e(...a)},r=(...a)=>{t==null&&(t=De(n(a)))};return r.cancel=()=>{De.cancel(t),t=null},r}const ly=Symbol("DisabledContextKey"),nn=()=>o.inject(ly,o.ref(void 0)),sy=e=>{const t=nn();return o.provide(ly,o.computed(()=>e.value??t.value)),e},cy=Symbol("SizeContextKey"),dy=()=>o.inject(cy,o.ref(void 0)),uy=e=>{const t=dy();return o.provide(cy,o.computed(()=>e.value||t.value)),e},Fu="anticon",fy=Symbol("GlobalFormContextKey"),c6=e=>{o.provide(fy,e)},d6=()=>o.inject(fy,{validateMessages:o.computed(()=>{})}),u6=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:Se(),input:Se(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:Se(),pageHeader:Se(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:Se(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:Se(),pagination:Se(),theme:Se(),select:Se(),wave:Se()}),ku=Symbol("configProvider"),py={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o.computed(()=>Fu),getPopupContainer:o.computed(()=>()=>document.body),direction:o.computed(()=>"ltr")},cs=()=>o.inject(ku,py),f6=e=>o.provide(ku,e),zu=e=>e!=null&&e!=="",Ve=(e,t)=>{const n={...e};return Object.keys(t).forEach(r=>{const a=n[r];if(a)a.type||a.default?a.default=t[r]:a.def?a.def(t[r]):n[r]={type:a,default:t[r]};else throw new Error(`not have ${r} prop`)}),n},Lu=e=>{const t=Object.keys(e),n={},r={},a={};for(let i=0,l=t.length;i<l;i++){const s=t[i];e6(s)?(n[s[2].toLowerCase()+s.slice(3)]=e[s],r[s]=e[s]):a[s]=e[s]}return{onEvents:r,events:n,extraAttrs:a}},p6=(e="",t=!1)=>{const n={},r=/;(?![^(]*\))/g,a=/:(.+)/;return typeof e=="object"?e:(e.split(r).forEach(i=>{if(i){const l=i.split(a);if(l.length>1){const s=t?ca(l[0].trim()):l[0].trim();n[s]=l[1].trim()}}}),n)},po=(e,t)=>e[t]!==void 0,my=Symbol("skipFlatten"),Qe=(e=[],t=!0)=>{const n=Array.isArray(e)?e:[e],r=[];return n.forEach(a=>{Array.isArray(a)?r.push(...Qe(a,t)):a&&a.type===o.Fragment?a.key===my?r.push(a):r.push(...Qe(a.children,t)):a&&o.isVNode(a)?t&&!ci(a)?r.push(a):t||r.push(a):zu(a)&&r.push(a)}),r},ds=(e,t="default",n={})=>{if(o.isVNode(e))return e.type===o.Fragment?t==="default"?Qe(e.children):[]:e.children&&e.children[t]?Qe(e.children[t](n)):[];{const r=e.$slots[t]&&e.$slots[t](n);return Qe(r)}},Ut=e=>{let t=e?.vnode?.el||e&&(e.$el||e);for(;t&&!t.tagName;)t=t.nextSibling;return t},gy=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(r=>{const a=e.$props[r],i=o6(r);(a!==void 0||i in n)&&(t[r]=a)})}else if(o.isVNode(e)&&typeof e.type=="object"){const n=e.props||{},r={};Object.keys(n).forEach(i=>{r[ca(i)]=n[i]});const a=e.type.props||{};Object.keys(a).forEach(i=>{const l=i6(a,r,i,r[i]);(l!==void 0||i in r)&&(t[i]=l)})}return t},hy=(e,t="default",n=e,r=!0)=>{let a;if(e.$){const i=e[t];if(i!==void 0)return typeof i=="function"&&r?i(n):i;a=e.$slots[t],a=r&&a?a(n):a}else if(o.isVNode(e)){const i=e.props&&e.props[t];if(i!==void 0&&e.props!==null)return typeof i=="function"&&r?i(n):i;e.type===o.Fragment?a=e.children:e.children&&e.children[t]&&(a=e.children[t],a=r&&a?a(n):a)}return Array.isArray(a)&&(a=Qe(a),a=a.length===1?a[0]:a,a=a.length===0?void 0:a),a};function by(e={},t=!0){let n={};return e.$?n={...n,...e.$attrs}:n={...n,...e.props},Lu(n)[t?"onEvents":"events"]}function m6(e){const n=((o.isVNode(e)?e.props:e.$attrs)||{}).class||{};let r={};return typeof n=="string"?n.split(" ").forEach(a=>{r[a.trim()]=!0}):Array.isArray(n)?W(n).split(" ").forEach(a=>{r[a.trim()]=!0}):r={...r,...n},r}function yy(e,t){let r=((o.isVNode(e)?e.props:e.$attrs)||{}).style||{};return typeof r=="string"&&(r=p6(r,t)),r}function g6(e){return e.length===1&&e[0].type===o.Fragment}function h6(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function ci(e){return e&&(e.type===o.Comment||e.type===o.Fragment&&e.children.length===0||e.type===o.Text&&e.children.trim()==="")}function b6(e){return e&&e.type===o.Text}function lt(e=[]){const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):n?.type===o.Fragment?t.push(...lt(n.children)):t.push(n)}),t.filter(n=>!ci(n))}function di(e){if(e){const t=lt(e);return t.length?t:void 0}else return e}function pt(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function St(e,t,n="default"){return t[n]??e[n]?.()}const vy={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},ui={lang:{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"],...{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"}},timePickerLocale:{...vy}},$y={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",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"},ln="${label} is not a valid ${type}",Yt={locale:"en",Pagination:$y,DatePicker:ui,TimePicker:vy,Calendar:ui,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:ln,method:ln,array:ln,object:ln,number:ln,date:ln,boolean:ln,integer:ln,float:ln,regexp:ln,email:ln,url:ln,hex:ln},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"}},vr=o.defineComponent({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,{slots:t}){const n=o.inject("localeData",{}),r=o.computed(()=>{const{componentName:i="global",defaultLocale:l}=e,s=l||Yt[i||"global"],{antLocale:c}=n,d=i&&c?c[i]:{};return{...typeof s=="function"?s():s,...d||{}}}),a=o.computed(()=>{const{antLocale:i}=n,l=i&&i.locale;return i&&i.exist&&!l?Yt.locale:l});return()=>{const i=e.children||t.default,{antLocale:l}=n;return i?.(r.value,a.value,l)}}});function $n(e,t,n){const r=o.inject("localeData",{});return[o.computed(()=>{const{antLocale:i}=r,l=o.unref(t)||Yt[e||"global"],s=e&&i?i[e]:{};return{...typeof l=="function"?l():l,...s||{},...o.unref(n)||{}}})]}function Vt(e,t){y6(e)&&(e="100%");var n=v6(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function us(e){return Math.min(1,Math.max(0,e))}function y6(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function v6(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Sy(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function fs(e){return e<=1?"".concat(Number(e)*100,"%"):e}function $r(e){return e.length===1?"0"+e:String(e)}function $6(e,t,n){return{r:Vt(e,255)*255,g:Vt(t,255)*255,b:Vt(n,255)*255}}function Cy(e,t,n){e=Vt(e,255),t=Vt(t,255),n=Vt(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,l=0,s=(r+a)/2;if(r===a)l=0,i=0;else{var c=r-a;switch(l=s>.5?c/(2-r-a):c/(r+a),r){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break}i/=6}return{h:i,s:l,l:s}}function Hu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function S6(e,t,n){var r,a,i;if(e=Vt(e,360),t=Vt(t,100),n=Vt(n,100),t===0)a=n,i=n,r=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;r=Hu(s,l,e+1/3),a=Hu(s,l,e),i=Hu(s,l,e-1/3)}return{r:r*255,g:a*255,b:i*255}}function wy(e,t,n){e=Vt(e,255),t=Vt(t,255),n=Vt(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,l=r,s=r-a,c=r===0?0:s/r;if(r===a)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:c,v:l}}function C6(e,t,n){e=Vt(e,360)*6,t=Vt(t,100),n=Vt(n,100);var r=Math.floor(e),a=e-r,i=n*(1-t),l=n*(1-a*t),s=n*(1-(1-a)*t),c=r%6,d=[n,l,i,i,s,n][c],u=[s,n,n,l,i,i][c],f=[i,i,s,n,n,l][c];return{r:d*255,g:u*255,b:f*255}}function xy(e,t,n,r){var a=[$r(Math.round(e).toString(16)),$r(Math.round(t).toString(16)),$r(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function w6(e,t,n,r,a){var i=[$r(Math.round(e).toString(16)),$r(Math.round(t).toString(16)),$r(Math.round(n).toString(16)),$r(x6(r))];return a&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function x6(e){return Math.round(parseFloat(e)*255).toString(16)}function Ny(e){return sn(e)/255}function sn(e){return parseInt(e,16)}function N6(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var _u={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function P6(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,l=!1,s=!1;return typeof e=="string"&&(e=O6(e)),typeof e=="object"&&(mo(e.r)&&mo(e.g)&&mo(e.b)?(t=$6(e.r,e.g,e.b),l=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):mo(e.h)&&mo(e.s)&&mo(e.v)?(r=fs(e.s),a=fs(e.v),t=C6(e.h,r,a),l=!0,s="hsv"):mo(e.h)&&mo(e.s)&&mo(e.l)&&(r=fs(e.s),i=fs(e.l),t=S6(e.h,r,i),l=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Sy(n),{ok:l,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var I6="[-\\+]?\\d+%?",T6="[-\\+]?\\d*\\.\\d+%?",Lo="(?:".concat(T6,")|(?:").concat(I6,")"),ju="[\\s|\\(]+(".concat(Lo,")[,|\\s]+(").concat(Lo,")[,|\\s]+(").concat(Lo,")\\s*\\)?"),Wu="[\\s|\\(]+(".concat(Lo,")[,|\\s]+(").concat(Lo,")[,|\\s]+(").concat(Lo,")[,|\\s]+(").concat(Lo,")\\s*\\)?"),An={CSS_UNIT:new RegExp(Lo),rgb:new RegExp("rgb"+ju),rgba:new RegExp("rgba"+Wu),hsl:new RegExp("hsl"+ju),hsla:new RegExp("hsla"+Wu),hsv:new RegExp("hsv"+ju),hsva:new RegExp("hsva"+Wu),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function O6(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(_u[e])e=_u[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=An.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=An.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=An.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=An.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=An.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=An.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=An.hex8.exec(e),n?{r:sn(n[1]),g:sn(n[2]),b:sn(n[3]),a:Ny(n[4]),format:t?"name":"hex8"}:(n=An.hex6.exec(e),n?{r:sn(n[1]),g:sn(n[2]),b:sn(n[3]),format:t?"name":"hex"}:(n=An.hex4.exec(e),n?{r:sn(n[1]+n[1]),g:sn(n[2]+n[2]),b:sn(n[3]+n[3]),a:Ny(n[4]+n[4]),format:t?"name":"hex8"}:(n=An.hex3.exec(e),n?{r:sn(n[1]+n[1]),g:sn(n[2]+n[2]),b:sn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function mo(e){return!!An.CSS_UNIT.exec(String(e))}var Ke=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=N6(t)),this.originalInput=t;var a=P6(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,i=t.r/255,l=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Sy(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=wy(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=wy(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Cy(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Cy(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),xy(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),w6(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Vt(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Vt(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+xy(this.r,this.g,this.b,!1),n=0,r=Object.entries(_u);n<r.length;n++){var a=r[n],i=a[0],l=a[1];if(t===l)return i}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,a=this.a<1&&this.a>=0,i=!n&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=us(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=us(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=us(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=us(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),i=n/100,l={r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a};return new e(l)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,i=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,i=n.v,l=[],s=1/t;t--;)l.push(new e({h:r,s:a,v:i})),i=(i+s)%1;return l},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],i=360/t,l=1;l<t;l++)a.push(new e({h:(r+l*i)%360,s:n.s,l:n.l}));return a},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e})();const fi=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Ku=localStorage.getItem("VXE_DOCS_PRIMARY_COLOR")||"#00B394",Gu={blue:Ku,purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},ps={...Gu,colorPrimary:Ku,colorSub:"#00A68A",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:Ku,colorTextBase:"",colorBgBase:"",colorBgSub:"#D9F5F0",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
3
3
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
4
4
|
'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:4,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1};function Py(e,{generateColorPalettes:t,generateNeutralColorPalettes:n}){const{colorSuccess:r,colorWarning:a,colorError:i,colorInfo:l,colorPrimary:s,colorBgBase:c,colorTextBase:d}=e,u=t(s),f=t(r),p=t(a),m=t(i),g=t(l);return{...n(c,d),colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorBgMask:new Ke("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}const E6=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?a=4:e>=8&&(a=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function M6(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return{motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1,...E6(r)}}const Iy=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function V6(e){const t=Array.from({length:10}).fill(null).map((n,r)=>{const a=r-1,i=e*2.71828**(a/5),l=r>1?Math.floor(i):Math.ceil(i);return Math.floor(l/2)*2});return t[1]=e,t.map(n=>{const r=n+8;return{size:n,lineHeight:r/n}})}const Ty=e=>{const t=V6(e),n=t.map(a=>a.size),r=t.map(a=>a.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function R6(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const go=(e,t)=>new Ke(e).setAlpha(t).toRgbString(),pi=(e,t)=>new Ke(e).darken(t).toHexString(),A6=e=>{const t=yn.generate(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},D6=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:go(r,.88),colorTextSecondary:go(r,.65),colorTextTertiary:go(r,.45),colorTextQuaternary:go(r,.25),colorFill:go(r,.15),colorFillSecondary:go(r,.06),colorFillTertiary:go(r,.04),colorFillQuaternary:go(r,.02),colorBgLayout:pi(n,4),colorBgContainer:pi(n,0),colorBgElevated:pi(n,0),colorBgSpotlight:go(r,.85),colorBorder:pi(n,15),colorBorderSecondary:pi(n,6)}};function ms(e){const t=Object.keys(Gu).map(n=>{const r=yn.generate(e[n]);return Array.from({length:10}).fill(1).reduce((a,i,l)=>(a[`${n}-${l+1}`]=r[l],a),{})}).reduce((n,r)=>(n={...n,...r},n),{});return{...e,...t,...Py(e,{generateColorPalettes:A6,generateNeutralColorPalettes:D6}),...Ty(e.fontSize),...R6(e),...Iy(e),...M6(e)}}function Xu(e){return e>=0&&e<=255}function gs(e,t){const{r:n,g:r,b:a,a:i}=new Ke(e).toRgb();if(i<1)return e;const{r:l,g:s,b:c}=new Ke(t).toRgb();for(let d=.01;d<=1;d+=.01){const u=Math.round((n-l*(1-d))/d),f=Math.round((r-s*(1-d))/d),p=Math.round((a-c*(1-d))/d);if(Xu(u)&&Xu(f)&&Xu(p))return new Ke({r:u,g:f,b:p,a:Math.round(d*100)/100}).toRgbString()}return new Ke({r:n,g:r,b:a,a:1}).toRgbString()}function B6(e){const{override:t,...n}=e,r={...t};Object.keys(ps).forEach(m=>{delete r[m]});const a={...n,...r},i=480,l=576,s=768,c=992,d=1200,u=1600,f=2e3;return{...a,colorLink:a.colorInfoText,colorLinkHover:a.colorInfoHover,colorLinkActive:a.colorInfoActive,colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:gs(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:gs(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:gs(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:gs(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antsoo-lib/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -10,14 +10,15 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.mjs",
|
|
15
|
+
"require": "./dist/index.umd.js"
|
|
15
16
|
},
|
|
16
17
|
"./*": "./src/*",
|
|
17
18
|
"./locale/*": "./src/locale/*.ts"
|
|
18
19
|
},
|
|
19
|
-
"main": "./dist/
|
|
20
|
-
"module": "./dist/
|
|
20
|
+
"main": "./dist/index.umd.js",
|
|
21
|
+
"module": "./dist/index.mjs",
|
|
21
22
|
"types": "./dist/index.d.ts",
|
|
22
23
|
"files": [
|
|
23
24
|
"dist"
|
|
File without changes
|