@yqg/permission 1.0.0-beta.1 → 1.0.1-beta.1
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.
- package/dist/{apply-modal-Cvb844zr.js → apply-modal-BGEJ1VGl.js} +3 -3
- package/dist/{checkbox-item-BF2euET4.js → checkbox-item-UGMn0mJf.js} +3 -3
- package/dist/{index-CLGbcS4L.js → index-9R-US_u5.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/index.umd.cjs +8 -8
- package/dist/{yqg-permission-YsWS5f49.js → yqg-permission-D4E6aSVe.js} +279 -279
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/yqg-permission.vue +4 -3
package/dist/index.umd.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".crane-wraper[data-v-
|
|
2
|
-
(function(gt,Se){typeof exports=="object"&&typeof module<"u"?module.exports=Se():typeof define=="function"&&define.amd?define(Se):(gt=typeof globalThis<"u"?globalThis:gt||self,gt["yqg-permission"]=Se())})(this,function(){"use strict";var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".crane-wraper[data-v-dafce49e]{display:flex;align-items:center;flex-direction:column;font-size:14px;white-space:nowrap}[data-v-d803332d] .success-modal-wrap .yqg-permission-modal-confirm-btns{text-align:center}.crane-step-wraper[data-v-6b35bb95]{display:flex;align-items:center;width:100%;overflow-x:scroll;line-height:32px;padding-bottom:8px}.crane-step-node[data-v-6b35bb95]{display:flex;align-items:center}.crane-step-icon[data-v-6b35bb95]{margin:0 8px;height:auto;max-width:none}.crane-flex-center[data-v-da0d7c0c]{display:flex;align-items:center}.crane-checkbox-line[data-v-da0d7c0c]{margin-bottom:12px;display:flex;align-items:center}.crane-checkbox-line[data-v-da0d7c0c]:last-child{margin-bottom:0}.crane-checkbox-label[data-v-da0d7c0c]{max-width:346px}.crane-tag-position[data-v-da0d7c0c]{margin-right:4px;font-size:10px;padding:2px 4px;line-height:12px;font-weight:500}.crane-margin-right-0[data-v-da0d7c0c]{margin-right:0}.crane-margin-left-4[data-v-da0d7c0c]{margin-left:4px}.crane-margin-right-4[data-v-da0d7c0c]{margin-right:4px}.crane-margin-left-12[data-v-da0d7c0c]{margin-left:12px}.crane-disabled-color[data-v-da0d7c0c]{color:#c9cdd4}.crane-week-color[data-v-da0d7c0c]{color:#86909c}.crane-text-overflow[data-v-da0d7c0c]{flex:1;overflow:hidden;text-overflow:ellipsis}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
(function(gt,Se){typeof exports=="object"&&typeof module<"u"?module.exports=Se():typeof define=="function"&&define.amd?define(Se):(gt=typeof globalThis<"u"?globalThis:gt||self,gt["yqg-permission"]=Se())})(this,function(){"use strict";var M5=Object.defineProperty;var H5=(gt,Se,Qn)=>Se in gt?M5(gt,Se,{enumerable:!0,configurable:!0,writable:!0,value:Qn}):gt[Se]=Qn;var Dd=(gt,Se,Qn)=>H5(gt,typeof Se!="symbol"?Se+"":Se,Qn);/**
|
|
3
3
|
* @vue/shared v3.5.12
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
5
|
* @license MIT
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
`,...zB(r)),console.warn(...i)}eo(),xc=!1}function jB(){let e=Xo[Xo.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function zB(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
|
|
17
17
|
`],...$B(n))}),t}function $B({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Il(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...kB(e.props),i]:[r+i]}function kB(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...sg(o,e[o]))}),n.length>3&&t.push(" ..."),t}function sg(e,t,n){return qe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:rt(t)?(t=sg(e,we(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Ie(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=we(t),n?t:[`${e}=`,t])}function VB(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?oe(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&oe(`${t} is NaN - the duration expression might be incorrect.`))}const Oc={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Hr(e,t,n,o){try{return o?e(...o):e()}catch(r){Rr(r,t,n)}}function On(e,t,n,o){if(Ie(e)){const r=Hr(e,t,n,o);return r&&fc(r)&&r.catch(i=>{Rr(i,t,n)}),r}if(ye(e)){const r=[];for(let i=0;i<e.length;i++)r.push(On(e[i],t,n,o));return r}else process.env.NODE_ENV!=="production"&&oe(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function Rr(e,t,n,o=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Se;if(t){let l=t.parent;const s=t.proxy,u=process.env.NODE_ENV!=="production"?Oc[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let A=0;A<c.length;A++)if(c[A](e,s,u)===!1)return}l=l.parent}if(i){Zn(),Hr(i,null,10,[e,s,u]),eo();return}}_B(e,n,r,o,a)}function _B(e,t,n,o=!0,r=!1){if(process.env.NODE_ENV!=="production"){const i=Oc[t];if(n&&ol(n),oe(`Unhandled error${i?` during execution of ${i}`:""}`),n&&rl(),o)throw e;console.error(e)}else{if(r)throw e;console.error(e)}}const Tt=[];let Vn=-1;const Fr=[];let yo=null,Lr=0;const cg=Promise.resolve();let il=null;const YB=100;function Ze(e){const t=il||cg;return e?t.then(this?e.bind(this):e):t}function UB(e){let t=Vn+1,n=Tt.length;for(;t<n;){const o=t+n>>>1,r=Tt[o],i=Di(r);i<e||i===e&&r.flags&2?t=o+1:n=o}return t}function al(e){if(!(e.flags&1)){const t=Di(e),n=Tt[Tt.length-1];!n||!(e.flags&2)&&t>=Di(n)?Tt.push(e):Tt.splice(UB(t),0,e),e.flags|=1,ug()}}function ug(){il||(il=cg.then(gg))}function Ag(e){ye(e)?Fr.push(...e):yo&&e.id===-1?yo.splice(Lr+1,0,e):e.flags&1||(Fr.push(e),e.flags|=1),ug()}function fg(e,t,n=Vn+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<Tt.length;n++){const o=Tt[n];if(o&&o.flags&2){if(e&&o.id!==e.uid||process.env.NODE_ENV!=="production"&&Pc(t,o))continue;Tt.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function dg(e){if(Fr.length){const t=[...new Set(Fr)].sort((n,o)=>Di(n)-Di(o));if(Fr.length=0,yo){yo.push(...t);return}for(yo=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Lr=0;Lr<yo.length;Lr++){const n=yo[Lr];process.env.NODE_ENV!=="production"&&Pc(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}yo=null,Lr=0}}const Di=e=>e.id==null?e.flags&2?-1:1/0:e.id;function gg(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Pc(e,n):pt;try{for(Vn=0;Vn<Tt.length;Vn++){const n=Tt[Vn];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Hr(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Vn<Tt.length;Vn++){const n=Tt[Vn];n&&(n.flags&=-2)}Vn=-1,Tt.length=0,dg(e),il=null,(Tt.length||Fr.length)&&gg(e)}}function Pc(e,t){const n=e.get(t)||0;if(n>YB){const o=t.i,r=o&&Bp(o.type);return Rr(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let Pn=!1;const ll=new Map;process.env.NODE_ENV!=="production"&&(Ii().__VUE_HMR_RUNTIME__={createRecord:Dc(pg),rerender:Dc(XB),reload:Dc(KB)});const Ko=new Map;function WB(e){const t=e.type.__hmrId;let n=Ko.get(t);n||(pg(t,e.type),n=Ko.get(t)),n.instances.add(e)}function GB(e){Ko.get(e.type.__hmrId).instances.delete(e)}function pg(e,t){return Ko.has(e)?!1:(Ko.set(e,{initialDef:sl(t),instances:new Set}),!0)}function sl(e){return Ip(e)?e.__vccOpts:e}function XB(e,t){const n=Ko.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,sl(o.type).render=t),o.renderCache=[],Pn=!0,o.update(),Pn=!1}))}function KB(e,t){const n=Ko.get(e);if(!n)return;t=sl(t),hg(n.initialDef,t);const o=[...n.instances];for(let r=0;r<o.length;r++){const i=o[r],a=sl(i.type);let l=ll.get(a);l||(a!==n.initialDef&&hg(a,t),ll.set(a,l=new Set)),l.add(i),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(l.add(i),i.ceReload(t.styles),l.delete(i)):i.parent?al(()=>{Pn=!0,i.parent.update(),Pn=!1,l.delete(i)}):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(a)}Ag(()=>{ll.clear()})}function hg(e,t){Le(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Dc(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Dn,Ti=[],Tc=!1;function Ni(e,...t){Dn?Dn.emit(e,...t):Tc||Ti.push({event:e,args:t})}function Nc(e,t){var n,o;Dn=e,Dn?(Dn.enabled=!0,Ti.forEach(({event:r,args:i})=>Dn.emit(r,...i)),Ti=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Nc(i,t)}),setTimeout(()=>{Dn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Tc=!0,Ti=[])},3e3)):(Tc=!0,Ti=[])}function JB(e,t){Ni("app:init",e,t,{Fragment:xe,Text:wo,Comment:lt,Static:El})}function qB(e){Ni("app:unmount",e)}const ZB=Mc("component:added"),mg=Mc("component:updated"),eI=Mc("component:removed"),tI=e=>{Dn&&typeof Dn.cleanupBuffer=="function"&&!Dn.cleanupBuffer(e)&&eI(e)};/*! #__NO_SIDE_EFFECTS__ */function Mc(e){return t=>{Ni(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const nI=vg("perf:start"),oI=vg("perf:end");function vg(e){return(t,n,o)=>{Ni(e,t.appContext.app,t.uid,t,n,o)}}function rI(e,t,n){Ni("component:emit",e.appContext.app,e,t,n)}let ct=null,Cg=null;function cl(e){const t=ct;return ct=e,Cg=e&&e.type.__scopeId||null,t}function Ke(e,t=ct,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&dp(-1);const i=cl(t);let a;try{a=e(...r)}finally{cl(i),o._d&&dp(1)}return process.env.NODE_ENV!=="production"&&mg(t),a};return o._n=!0,o._c=!0,o._d=!0,o}function Eg(e){_b(e)&&oe("Do not use built-in directive ids as custom directive id: "+e)}function jr(e,t){if(ct===null)return process.env.NODE_ENV!=="production"&&oe("withDirectives can only be used inside render functions."),e;const n=Bl(ct),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,l,s=Se]=t[r];i&&(Ie(i)&&(i={mounted:i,updated:i}),i.deep&&oo(a),o.push({dir:i,instance:n,value:a,oldValue:void 0,arg:l,modifiers:s}))}return e}function Jo(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];i&&(l.oldValue=i[a].value);let s=l.dir[o];s&&(Zn(),On(s,n,8,[e.el,l,e,t]),eo())}}const yg=Symbol("_vte"),bg=e=>e.__isTeleport,qo=e=>e&&(e.disabled||e.disabled===""),iI=e=>e&&(e.defer||e.defer===""),Bg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ig=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Hc=(e,t)=>{const n=e&&e.to;if(qe(n))if(t){const o=t(n);return process.env.NODE_ENV!=="production"&&!o&&!qo(e)&&oe(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),o}else return process.env.NODE_ENV!=="production"&&oe("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!qo(e)&&oe(`Invalid Teleport target: ${n}`),n},aI={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,l,s,u){const{mc:c,pc:A,pbc:f,o:{insert:d,querySelector:g,createText:p,createComment:v}}=u,E=qo(t.props);let{shapeFlag:b,children:m,dynamicChildren:I}=t;if(process.env.NODE_ENV!=="production"&&Pn&&(s=!1,I=null),e==null){const y=t.el=process.env.NODE_ENV!=="production"?v("teleport start"):p(""),w=t.anchor=process.env.NODE_ENV!=="production"?v("teleport end"):p("");d(y,n,o),d(w,n,o);const C=(O,T)=>{b&16&&(r&&r.isCE&&(r.ce._teleportTarget=O),c(m,O,T,r,i,a,l,s))},S=()=>{const O=t.target=Hc(t.props,g),T=Qg(O,t,p,d);O?(a!=="svg"&&Bg(O)?a="svg":a!=="mathml"&&Ig(O)&&(a="mathml"),E||(C(O,T),Al(t,!1))):process.env.NODE_ENV!=="production"&&!E&&oe("Invalid Teleport target on mount:",O,`(${typeof O})`)};E&&(C(n,w),Al(t,!0)),iI(t.props)?$t(S,i):S()}else{t.el=e.el,t.targetStart=e.targetStart;const y=t.anchor=e.anchor,w=t.target=e.target,C=t.targetAnchor=e.targetAnchor,S=qo(e.props),O=S?n:w,T=S?y:C;if(a==="svg"||Bg(w)?a="svg":(a==="mathml"||Ig(w))&&(a="mathml"),I?(f(e.dynamicChildren,I,O,r,i,a,l),Fi(e,t,!0)):s||A(e,t,O,T,r,i,a,l,!1),E)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ul(t,n,y,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const R=t.target=Hc(t.props,g);R?ul(t,R,null,u,0):process.env.NODE_ENV!=="production"&&oe("Invalid Teleport target on update:",w,`(${typeof w})`)}else S&&ul(t,w,C,u,1);Al(t,E)}},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:a,children:l,anchor:s,targetStart:u,targetAnchor:c,target:A,props:f}=e;if(A&&(r(u),r(c)),i&&r(s),a&16){const d=i||!qo(f);for(let g=0;g<l.length;g++){const p=l[g];o(p,t,n,d,!!p.dynamicChildren)}}},move:ul,hydrate:lI};function ul(e,t,n,{o:{insert:o},m:r},i=2){i===0&&o(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:s,children:u,props:c}=e,A=i===2;if(A&&o(a,t,n),(!A||qo(c))&&s&16)for(let f=0;f<u.length;f++)r(u[f],t,n,2);A&&o(l,t,n)}function lI(e,t,n,o,r,i,{o:{nextSibling:a,parentNode:l,querySelector:s,insert:u,createText:c}},A){const f=t.target=Hc(t.props,s);if(f){const d=qo(t.props),g=f._lpa||f.firstChild;if(t.shapeFlag&16)if(d)t.anchor=A(a(e),t,l(e),n,o,r,i),t.targetStart=g,t.targetAnchor=g&&a(g);else{t.anchor=a(e);let p=g;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,f._lpa=t.targetAnchor&&a(t.targetAnchor);break}}p=a(p)}t.targetAnchor||Qg(f,t,c,u),A(g&&a(g),t,f,n,o,r,i)}Al(t,d)}return t.anchor&&a(t.anchor)}const wg=aI;function Al(e,t){const n=e.ctx;if(n&&n.ut){let o,r;for(t?(o=e.el,r=e.anchor):(o=e.targetStart,r=e.targetAnchor);o&&o!==r;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function Qg(e,t,n,o){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[yg]=i,e&&(o(r,e),o(i,e)),i}const bo=Symbol("_leaveCb"),fl=Symbol("_enterCb");function Sg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ze(()=>{e.isMounted=!0}),et(()=>{e.isUnmounting=!0}),e}const dn=[Function,Array],xg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dn,onEnter:dn,onAfterEnter:dn,onEnterCancelled:dn,onBeforeLeave:dn,onLeave:dn,onAfterLeave:dn,onLeaveCancelled:dn,onBeforeAppear:dn,onAppear:dn,onAfterAppear:dn,onAppearCancelled:dn},Og=e=>{const t=e.subTree;return t.component?Og(t.component):t},sI={name:"BaseTransition",props:xg,setup(e,{slots:t}){const n=Zt(),o=Sg();return()=>{const r=t.default&&Fc(t.default(),!0);if(!r||!r.length)return;const i=Pg(r),a=we(e),{mode:l}=a;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&oe(`invalid <transition> mode: ${l}`),o.isLeaving)return Rc(i);const s=Tg(i);if(!s)return Rc(i);let u=Mi(s,a,o,n,f=>u=f);s.type!==lt&&Zo(s,u);const c=n.subTree,A=c&&Tg(c);if(A&&A.type!==lt&&!or(s,A)&&Og(n).type!==lt){const f=Mi(A,a,o,n);if(Zo(A,f),l==="out-in"&&s.type!==lt)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave},Rc(i);l==="in-out"&&s.type!==lt&&(f.delayLeave=(d,g,p)=>{const v=Dg(o,A);v[String(A.key)]=A,d[bo]=()=>{g(),d[bo]=void 0,delete u.delayedLeave},u.delayedLeave=p})}return i}}};function Pg(e){let t=e[0];if(e.length>1){let n=!1;for(const o of e)if(o.type!==lt){if(process.env.NODE_ENV!=="production"&&n){oe("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=o,n=!0,process.env.NODE_ENV==="production")break}}return t}const cI=sI;function Dg(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Mi(e,t,n,o,r){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:c,onEnterCancelled:A,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:v,onAppear:E,onAfterAppear:b,onAppearCancelled:m}=t,I=String(e.key),y=Dg(n,e),w=(O,T)=>{O&&On(O,o,9,T)},C=(O,T)=>{const R=T[1];w(O,T),ye(O)?O.every(F=>F.length<=1)&&R():O.length<=1&&R()},S={mode:a,persisted:l,beforeEnter(O){let T=s;if(!n.isMounted)if(i)T=v||s;else return;O[bo]&&O[bo](!0);const R=y[I];R&&or(e,R)&&R.el[bo]&&R.el[bo](),w(T,[O])},enter(O){let T=u,R=c,F=A;if(!n.isMounted)if(i)T=E||u,R=b||c,F=m||A;else return;let L=!1;const _=O[fl]=Q=>{L||(L=!0,Q?w(F,[O]):w(R,[O]),S.delayedLeave&&S.delayedLeave(),O[fl]=void 0)};T?C(T,[O,_]):_()},leave(O,T){const R=String(e.key);if(O[fl]&&O[fl](!0),n.isUnmounting)return T();w(f,[O]);let F=!1;const L=O[bo]=_=>{F||(F=!0,T(),_?w(p,[O]):w(g,[O]),O[bo]=void 0,y[R]===e&&delete y[R])};y[R]=e,d?C(d,[O,L]):L()},clone(O){const T=Mi(O,t,n,o,r);return r&&r(T),T}};return S}function Rc(e){if($r(e))return e=Mt(e),e.children=null,e}function Tg(e){if(!$r(e))return bg(e.type)&&e.children?Pg(e.children):e;if(process.env.NODE_ENV!=="production"&&e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ie(n.default))return n.default()}}function Zo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Zo(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fc(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===xe?(a.patchFlag&128&&r++,o=o.concat(Fc(a.children,t,l))):(t||a.type!==lt)&&o.push(l!=null?Mt(a,{key:l}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function ae(e,t){return Ie(e)?Le({name:e.name},t,{setup:e}):e}function Lc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const uI=new WeakSet;function jc(e,t,n,o,r=!1){if(ye(e)){e.forEach((g,p)=>jc(g,t&&(ye(t)?t[p]:t),n,o,r));return}if(zr(o)&&!r)return;const i=o.shapeFlag&4?Bl(o.component):o.el,a=r?null:i,{i:l,r:s}=e;if(process.env.NODE_ENV!=="production"&&!l){oe("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,c=l.refs===Se?l.refs={}:l.refs,A=l.setupState,f=we(A),d=A===Se?()=>!1:g=>process.env.NODE_ENV!=="production"&&(He(f,g)&&!rt(f[g])&&oe(`Template ref "${g}" used on a non-ref value. It will not work in the production build.`),uI.has(f[g]))?!1:He(f,g);if(u!=null&&u!==s&&(qe(u)?(c[u]=null,d(u)&&(A[u]=null)):rt(u)&&(u.value=null)),Ie(s))Hr(s,l,12,[a,c]);else{const g=qe(s),p=rt(s);if(g||p){const v=()=>{if(e.f){const E=g?d(s)?A[s]:c[s]:s.value;r?ye(E)&&Ac(E,i):ye(E)?E.includes(i)||E.push(i):g?(c[s]=[i],d(s)&&(A[s]=c[s])):(s.value=[i],e.k&&(c[e.k]=s.value))}else g?(c[s]=a,d(s)&&(A[s]=a)):p?(s.value=a,e.k&&(c[e.k]=a)):process.env.NODE_ENV!=="production"&&oe("Invalid template ref type:",s,`(${typeof s})`)};a?(v.id=-1,$t(v,n)):v()}else process.env.NODE_ENV!=="production"&&oe("Invalid template ref type:",s,`(${typeof s})`)}}const Ng=e=>e.nodeType===8;Ii().requestIdleCallback,Ii().cancelIdleCallback;function AI(e,t){if(Ng(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(Ng(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const zr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function zc(e){Ie(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,hydrate:i,timeout:a,suspensible:l=!0,onError:s}=e;let u=null,c,A=0;const f=()=>(A++,u=null,d()),d=()=>{let g;return u||(g=u=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,E)=>{s(p,()=>v(f()),()=>E(p),A+1)});throw p}).then(p=>{if(g!==u&&u)return u;if(process.env.NODE_ENV!=="production"&&!p&&oe("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),process.env.NODE_ENV!=="production"&&p&&!Re(p)&&!Ie(p))throw new Error(`Invalid async component load result: ${p}`);return c=p,p}))};return ae({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(g,p,v){const E=i?()=>{const b=i(v,m=>AI(g,m));b&&(p.bum||(p.bum=[])).push(b)}:v;c?E():d().then(()=>!p.isUnmounted&&E())},get __asyncResolved(){return c},setup(){const g=ut;if(Lc(g),c)return()=>$c(c,g);const p=m=>{u=null,Rr(m,g,13,!o)};if(l&&g.suspense||Vr)return d().then(m=>()=>$c(m,g)).catch(m=>(p(m),()=>o?B(o,{error:m}):null));const v=Ae(!1),E=Ae(),b=Ae(!!r);return r&&setTimeout(()=>{b.value=!1},r),a!=null&&setTimeout(()=>{if(!v.value&&!E.value){const m=new Error(`Async component timed out after ${a}ms.`);p(m),E.value=m}},a),d().then(()=>{v.value=!0,g.parent&&$r(g.parent.vnode)&&g.parent.update()}).catch(m=>{p(m),E.value=m}),()=>{if(v.value&&c)return $c(c,g);if(E.value&&o)return B(o,{error:E.value});if(n&&!b.value)return B(n)}}})}function $c(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,a=B(e,o,r);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const $r=e=>e.type.__isKeepAlive;function fI(e,t){Mg(e,"a",t)}function dI(e,t){Mg(e,"da",t)}function Mg(e,t,n=ut){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(dl(t,o,n),n){let r=n.parent;for(;r&&r.parent;)$r(r.parent.vnode)&&gI(o,t,n,r),r=r.parent}}function gI(e,t,n,o){const r=dl(t,e,o,!0);er(()=>{Ac(o[t],r)},n)}function dl(e,t,n=ut,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Zn();const l=zi(n),s=On(t,n,e,a);return l(),eo(),s});return o?r.unshift(i):r.push(i),i}else if(process.env.NODE_ENV!=="production"){const r=Yo(Oc[e].replace(/ hook$/,""));oe(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const ro=e=>(t,n=ut)=>{(!Vr||e==="sp")&&dl(e,(...o)=>t(...o),n)},Hg=ro("bm"),ze=ro("m"),Rg=ro("bu"),Bo=ro("u"),et=ro("bum"),er=ro("um"),pI=ro("sp"),hI=ro("rtg"),mI=ro("rtc");function vI(e,t=ut){dl("ec",e,t)}const CI="directives",EI=Symbol.for("v-ndc");function yI(e){return bI(CI,e)}function bI(e,t,n=!0,o=!1){const r=ct||ut;if(r){const i=r.type,a=Fg(r[e]||i[e],t)||Fg(r.appContext[e],t);return!a&&o?i:(process.env.NODE_ENV!=="production"&&n&&!a&&oe(`Failed to resolve ${e.slice(0,-1)}: ${t}`),a)}else process.env.NODE_ENV!=="production"&&oe(`resolve${Nr(e.slice(0,-1))} can only be used in render() or setup().`)}function Fg(e,t){return e&&(e[t]||e[yt(t)]||e[Nr(yt(t))])}function kc(e,t,n,o){let r;const i=n,a=ye(e);if(a||qe(e)){const l=a&&Wo(e);let s=!1;l&&(s=!Dt(e),e=Ka(e)),r=new Array(e.length);for(let u=0,c=e.length;u<c;u++)r[u]=t(s?St(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&oe(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(Re(e))if(e[Symbol.iterator])r=Array.from(e,(l,s)=>t(l,s,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let s=0,u=l.length;s<u;s++){const c=l[s];r[s]=t(e[c],c,s,i)}}else r=[];return r}function BI(e,t,n={},o,r){if(ct.ce||ct.parent&&zr(ct.parent)&&ct.parent.ce)return n.name=t,Ue(),Jt(xe,null,[B("slot",n,o)],64);let i=e[t];process.env.NODE_ENV!=="production"&&i&&i.length>1&&(oe("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),Ue();const a=i&&Lg(i(n)),l=n.key||a&&a.key,s=Jt(xe,{key:(l&&!qn(l)?l:`_${t}`)+(!a&&o?"_fb":"")},a||[],a&&e._===1?64:-2);return i&&i._c&&(i._d=!0),s}function Lg(e){return e.some(t=>qt(t)?!(t.type===lt||t.type===xe&&!Lg(t.children)):!0)?e:null}const Vc=e=>e?Cp(e)?Bl(e):Vc(e.parent):null,tr=Le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?kn(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?kn(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?kn(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?kn(e.refs):e.refs,$parent:e=>Vc(e.parent),$root:e=>Vc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Wc(e),$forceUpdate:e=>e.f||(e.f=()=>{al(e.update)}),$nextTick:e=>e.n||(e.n=Ze.bind(e.proxy)),$watch:e=>nw.bind(e)}),_c=e=>e==="_"||e==="$",Yc=(e,t)=>e!==Se&&!e.__isScriptSetup&&He(e,t),jg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:l,appContext:s}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let u;if(t[0]!=="$"){const d=a[t];if(d!==void 0)switch(d){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Yc(o,t))return a[t]=1,o[t];if(r!==Se&&He(r,t))return a[t]=2,r[t];if((u=e.propsOptions[0])&&He(u,t))return a[t]=3,i[t];if(n!==Se&&He(n,t))return a[t]=4,n[t];Uc&&(a[t]=0)}}const c=tr[t];let A,f;if(c)return t==="$attrs"?(ht(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Cl()):process.env.NODE_ENV!=="production"&&t==="$slots"&&ht(e,"get",t),c(e);if((A=l.__cssModules)&&(A=A[t]))return A;if(n!==Se&&He(n,t))return a[t]=4,n[t];if(f=s.config.globalProperties,He(f,t))return f[t];process.env.NODE_ENV!=="production"&&ct&&(!qe(t)||t.indexOf("__v")!==0)&&(r!==Se&&_c(t[0])&&He(r,t)?oe(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ct&&oe(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return Yc(r,t)?(r[t]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&He(r,t)?(oe(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==Se&&He(o,t)?(o[t]=n,!0):He(e.props,t)?(process.env.NODE_ENV!=="production"&&oe(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&oe(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let l;return!!n[a]||e!==Se&&He(e,a)||Yc(t,a)||(l=i[0])&&He(l,a)||He(o,a)||He(tr,a)||He(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:He(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(jg.ownKeys=e=>(oe("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function II(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(tr).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>tr[n](e),set:pt})}),t}function wI(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e.props[o],set:pt})})}function QI(e){const{ctx:t,setupState:n}=e;Object.keys(we(n)).forEach(o=>{if(!n.__isScriptSetup){if(_c(o[0])){oe(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n[o],set:pt})}})}function gl(e){return ye(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function zg(e,t){return!e||!t?e||t:ye(e)&&ye(t)?e.concat(t):Le({},gl(e),gl(t))}function SI(){const e=Object.create(null);return(t,n)=>{e[n]?oe(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let Uc=!0;function xI(e){const t=Wc(e),n=e.proxy,o=e.ctx;Uc=!1,t.beforeCreate&&$g(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:s,inject:u,created:c,beforeMount:A,mounted:f,beforeUpdate:d,updated:g,activated:p,deactivated:v,beforeDestroy:E,beforeUnmount:b,destroyed:m,unmounted:I,render:y,renderTracked:w,renderTriggered:C,errorCaptured:S,serverPrefetch:O,expose:T,inheritAttrs:R,components:F,directives:L,filters:_}=t,Q=process.env.NODE_ENV!=="production"?SI():null;if(process.env.NODE_ENV!=="production"){const[M]=e.propsOptions;if(M)for(const j in M)Q("Props",j)}if(u&&OI(u,o,Q),a)for(const M in a){const j=a[M];Ie(j)?(process.env.NODE_ENV!=="production"?Object.defineProperty(o,M,{value:j.bind(n),configurable:!0,enumerable:!0,writable:!0}):o[M]=j.bind(n),process.env.NODE_ENV!=="production"&&Q("Methods",M)):process.env.NODE_ENV!=="production"&&oe(`Method "${M}" has type "${typeof j}" in the component definition. Did you reference the function correctly?`)}if(r){process.env.NODE_ENV!=="production"&&!Ie(r)&&oe("The data option must be a function. Plain object usage is no longer supported.");const M=r.call(n,n);if(process.env.NODE_ENV!=="production"&&fc(M)&&oe("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Re(M))process.env.NODE_ENV!=="production"&&oe("data() should return an object.");else if(e.data=at(M),process.env.NODE_ENV!=="production")for(const j in M)Q("Data",j),_c(j[0])||Object.defineProperty(o,j,{configurable:!0,enumerable:!0,get:()=>M[j],set:pt})}if(Uc=!0,i)for(const M in i){const j=i[M],H=Ie(j)?j.bind(n,n):Ie(j.get)?j.get.bind(n,n):pt;process.env.NODE_ENV!=="production"&&H===pt&&oe(`Computed property "${M}" has no getter.`);const Y=!Ie(j)&&Ie(j.set)?j.set.bind(n):process.env.NODE_ENV!=="production"?()=>{oe(`Write operation failed: computed property "${M}" is readonly.`)}:pt,Z=P({get:H,set:Y});Object.defineProperty(o,M,{enumerable:!0,configurable:!0,get:()=>Z.value,set:ee=>Z.value=ee}),process.env.NODE_ENV!=="production"&&Q("Computed",M)}if(l)for(const M in l)kg(l[M],o,n,M);if(s){const M=Ie(s)?s.call(n):s;Reflect.ownKeys(M).forEach(j=>{tt(j,M[j])})}c&&$g(c,e,"c");function D(M,j){ye(j)?j.forEach(H=>M(H.bind(n))):j&&M(j.bind(n))}if(D(Hg,A),D(ze,f),D(Rg,d),D(Bo,g),D(fI,p),D(dI,v),D(vI,S),D(mI,w),D(hI,C),D(et,b),D(er,I),D(pI,O),ye(T))if(T.length){const M=e.exposed||(e.exposed={});T.forEach(j=>{Object.defineProperty(M,j,{get:()=>n[j],set:H=>n[j]=H})})}else e.exposed||(e.exposed={});y&&e.render===pt&&(e.render=y),R!=null&&(e.inheritAttrs=R),F&&(e.components=F),L&&(e.directives=L),O&&Lc(e)}function OI(e,t,n=pt){ye(e)&&(e=Gc(e));for(const o in e){const r=e[o];let i;Re(r)?"default"in r?i=Ve(r.from||o,r.default,!0):i=Ve(r.from||o):i=Ve(r),rt(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i,process.env.NODE_ENV!=="production"&&n("Inject",o)}}function $g(e,t,n){On(ye(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function kg(e,t,n,o){let r=o.includes(".")?ap(n,o):()=>n[o];if(qe(e)){const i=t[e];Ie(i)?me(r,i):process.env.NODE_ENV!=="production"&&oe(`Invalid watch handler specified by key "${e}"`,i)}else if(Ie(e))me(r,e.bind(n));else if(Re(e))if(ye(e))e.forEach(i=>kg(i,t,n,o));else{const i=Ie(e.handler)?e.handler.bind(n):t[e.handler];Ie(i)?me(r,i,e):process.env.NODE_ENV!=="production"&&oe(`Invalid watch handler specified by key "${e.handler}"`,i)}else process.env.NODE_ENV!=="production"&&oe(`Invalid watch option: "${o}"`,e)}function Wc(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let s;return l?s=l:!r.length&&!n&&!o?s=t:(s={},r.length&&r.forEach(u=>pl(s,u,a,!0)),pl(s,t,a)),Re(t)&&i.set(t,s),s}function pl(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&pl(e,i,n,!0),r&&r.forEach(a=>pl(e,a,n,!0));for(const a in t)if(o&&a==="expose")process.env.NODE_ENV!=="production"&&oe('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=PI[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const PI={data:Vg,props:_g,emits:_g,methods:Hi,computed:Hi,beforeCreate:Nt,created:Nt,beforeMount:Nt,mounted:Nt,beforeUpdate:Nt,updated:Nt,beforeDestroy:Nt,beforeUnmount:Nt,destroyed:Nt,unmounted:Nt,activated:Nt,deactivated:Nt,errorCaptured:Nt,serverPrefetch:Nt,components:Hi,directives:Hi,watch:TI,provide:Vg,inject:DI};function Vg(e,t){return t?e?function(){return Le(Ie(e)?e.call(this,this):e,Ie(t)?t.call(this,this):t)}:t:e}function DI(e,t){return Hi(Gc(e),Gc(t))}function Gc(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Nt(e,t){return e?[...new Set([].concat(e,t))]:t}function Hi(e,t){return e?Le(Object.create(null),e,t):t}function _g(e,t){return e?ye(e)&&ye(t)?[...new Set([...e,...t])]:Le(Object.create(null),gl(e),gl(t??{})):t}function TI(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const o in t)n[o]=Nt(e[o],t[o]);return n}function Yg(){return{app:null,config:{isNativeTag:kb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let NI=0;function MI(e,t){return function(o,r=null){Ie(o)||(o=Le({},o)),r!=null&&!Re(r)&&(process.env.NODE_ENV!=="production"&&oe("root props passed to app.mount() must be an object."),r=null);const i=Yg(),a=new WeakSet,l=[];let s=!1;const u=i.app={_uid:NI++,_component:o,_props:r,_container:null,_context:i,_instance:null,version:wp,get config(){return i.config},set config(c){process.env.NODE_ENV!=="production"&&oe("app.config cannot be replaced. Modify individual options instead.")},use(c,...A){return a.has(c)?process.env.NODE_ENV!=="production"&&oe("Plugin has already been applied to target app."):c&&Ie(c.install)?(a.add(c),c.install(u,...A)):Ie(c)?(a.add(c),c(u,...A)):process.env.NODE_ENV!=="production"&&oe('A plugin must either be a function or an object with an "install" function.'),u},mixin(c){return i.mixins.includes(c)?process.env.NODE_ENV!=="production"&&oe("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):i.mixins.push(c),u},component(c,A){return process.env.NODE_ENV!=="production"&&ru(c,i.config),A?(process.env.NODE_ENV!=="production"&&i.components[c]&&oe(`Component "${c}" has already been registered in target app.`),i.components[c]=A,u):i.components[c]},directive(c,A){return process.env.NODE_ENV!=="production"&&Eg(c),A?(process.env.NODE_ENV!=="production"&&i.directives[c]&&oe(`Directive "${c}" has already been registered in target app.`),i.directives[c]=A,u):i.directives[c]},mount(c,A,f){if(s)process.env.NODE_ENV!=="production"&&oe("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&c.__vue_app__&&oe("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const d=u._ceVNode||B(o,r);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),process.env.NODE_ENV!=="production"&&(i.reload=()=>{e(Mt(d),c,f)}),A&&t?t(d,c):e(d,c,f),s=!0,u._container=c,c.__vue_app__=u,process.env.NODE_ENV!=="production"&&(u._instance=d.component,JB(u,wp)),Bl(d.component)}},onUnmount(c){process.env.NODE_ENV!=="production"&&typeof c!="function"&&oe(`Expected function as first argument to app.onUnmount(), but got ${typeof c}`),l.push(c)},unmount(){s?(On(l,u._instance,16),e(null,u._container),process.env.NODE_ENV!=="production"&&(u._instance=null,qB(u)),delete u._container.__vue_app__):process.env.NODE_ENV!=="production"&&oe("Cannot unmount an app that is not mounted.")},provide(c,A){return process.env.NODE_ENV!=="production"&&c in i.provides&&oe(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),i.provides[c]=A,u},runWithContext(c){const A=kr;kr=u;try{return c()}finally{kr=A}}};return u}}let kr=null;function tt(e,t){if(!ut)process.env.NODE_ENV!=="production"&&oe("provide() can only be used inside setup().");else{let n=ut.provides;const o=ut.parent&&ut.parent.provides;o===n&&(n=ut.provides=Object.create(o)),n[e]=t}}function Ve(e,t,n=!1){const o=ut||ct;if(o||kr){const r=kr?kr._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Ie(t)?t.call(o&&o.proxy):t;process.env.NODE_ENV!=="production"&&oe(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&oe("inject() can only be used inside setup() or functional components.")}const Ug={},Wg=()=>Object.create(Ug),Gg=e=>Object.getPrototypeOf(e)===Ug;function HI(e,t,n,o=!1){const r={},i=Wg();e.propsDefaults=Object.create(null),Xg(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);process.env.NODE_ENV!=="production"&&qg(t||{},r,e),n?e.props=o?r:QB(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function RI(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function FI(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,l=we(r),[s]=e.propsOptions;let u=!1;if(!(process.env.NODE_ENV!=="production"&&RI(e))&&(o||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let A=0;A<c.length;A++){let f=c[A];if(vl(e.emitsOptions,f))continue;const d=t[f];if(s)if(He(i,f))d!==i[f]&&(i[f]=d,u=!0);else{const g=yt(f);r[g]=Xc(s,l,g,d,e,!1)}else d!==i[f]&&(i[f]=d,u=!0)}}}else{Xg(e,t,r,i)&&(u=!0);let c;for(const A in l)(!t||!He(t,A)&&((c=jt(A))===A||!He(t,c)))&&(s?n&&(n[A]!==void 0||n[c]!==void 0)&&(r[A]=Xc(s,l,A,void 0,e,!0)):delete r[A]);if(i!==l)for(const A in i)(!t||!He(t,A))&&(delete i[A],u=!0)}u&&$n(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&qg(t||{},r,e)}function Xg(e,t,n,o){const[r,i]=e.propsOptions;let a=!1,l;if(t)for(let s in t){if(bi(s))continue;const u=t[s];let c;r&&He(r,c=yt(s))?!i||!i.includes(c)?n[c]=u:(l||(l={}))[c]=u:vl(e.emitsOptions,s)||(!(s in o)||u!==o[s])&&(o[s]=u,a=!0)}if(i){const s=we(n),u=l||Se;for(let c=0;c<i.length;c++){const A=i[c];n[A]=Xc(r,s,A,u[A],e,!He(u,A))}}return a}function Xc(e,t,n,o,r,i){const a=e[n];if(a!=null){const l=He(a,"default");if(l&&o===void 0){const s=a.default;if(a.type!==Function&&!a.skipFactory&&Ie(s)){const{propsDefaults:u}=r;if(n in u)o=u[n];else{const c=zi(r);o=u[n]=s.call(null,t),c()}}else o=s;r.ce&&r.ce._setProp(n,o)}a[0]&&(i&&!l?o=!1:a[1]&&(o===""||o===jt(n))&&(o=!0))}return o}const LI=new WeakMap;function Kg(e,t,n=!1){const o=n?LI:t.propsCache,r=o.get(e);if(r)return r;const i=e.props,a={},l=[];let s=!1;if(!Ie(e)){const c=A=>{s=!0;const[f,d]=Kg(A,t,!0);Le(a,f),d&&l.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!s)return Re(e)&&o.set(e,Qn),Qn;if(ye(i))for(let c=0;c<i.length;c++){process.env.NODE_ENV!=="production"&&!qe(i[c])&&oe("props must be strings when using array syntax.",i[c]);const A=yt(i[c]);Jg(A)&&(a[A]=Se)}else if(i){process.env.NODE_ENV!=="production"&&!Re(i)&&oe("invalid props options",i);for(const c in i){const A=yt(c);if(Jg(A)){const f=i[c],d=a[A]=ye(f)||Ie(f)?{type:f}:Le({},f),g=d.type;let p=!1,v=!0;if(ye(g))for(let E=0;E<g.length;++E){const b=g[E],m=Ie(b)&&b.name;if(m==="Boolean"){p=!0;break}else m==="String"&&(v=!1)}else p=Ie(g)&&g.name==="Boolean";d[0]=p,d[1]=v,(p||He(d,"default"))&&l.push(A)}}}const u=[a,l];return Re(e)&&o.set(e,u),u}function Jg(e){return e[0]!=="$"&&!bi(e)?!0:(process.env.NODE_ENV!=="production"&&oe(`Invalid prop name: "${e}" is a reserved property.`),!1)}function jI(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function qg(e,t,n){const o=we(t),r=n.propsOptions[0],i=Object.keys(e).map(a=>yt(a));for(const a in r){let l=r[a];l!=null&&zI(a,o[a],l,process.env.NODE_ENV!=="production"?kn(o):o,!i.includes(a))}}function zI(e,t,n,o,r){const{type:i,required:a,validator:l,skipCheck:s}=n;if(a&&r){oe('Missing required prop: "'+e+'"');return}if(!(t==null&&!a)){if(i!=null&&i!==!0&&!s){let u=!1;const c=ye(i)?i:[i],A=[];for(let f=0;f<c.length&&!u;f++){const{valid:d,expectedType:g}=kI(t,c[f]);A.push(g||""),u=d}if(!u){oe(VI(e,t,A));return}}l&&!l(t,o)&&oe('Invalid prop: custom validator check failed for prop "'+e+'".')}}const $I=gt("String,Number,Boolean,Function,Symbol,BigInt");function kI(e,t){let n;const o=jI(t);if(o==="null")n=e===null;else if($I(o)){const r=typeof e;n=r===o.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else o==="Object"?n=Re(e):o==="Array"?n=ye(e):n=e instanceof t;return{valid:n,expectedType:o}}function VI(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let o=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Nr).join(" | ")}`;const r=n[0],i=dc(t),a=Zg(t,r),l=Zg(t,i);return n.length===1&&ep(r)&&!_I(r,i)&&(o+=` with value ${a}`),o+=`, got ${i} `,ep(i)&&(o+=`with value ${l}.`),o}function Zg(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function ep(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function _I(...e){return e.some(t=>t.toLowerCase()==="boolean")}const tp=e=>e[0]==="_"||e==="$stable",Kc=e=>ye(e)?e.map(Tn):[Tn(e)],YI=(e,t,n)=>{if(t._n)return t;const o=Ke((...r)=>(process.env.NODE_ENV!=="production"&&ut&&(!n||n.root===ut.root)&&oe(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Kc(t(...r))),n);return o._c=!1,o},np=(e,t,n)=>{const o=e._ctx;for(const r in e){if(tp(r))continue;const i=e[r];if(Ie(i))t[r]=YI(r,i,o);else if(i!=null){process.env.NODE_ENV!=="production"&&oe(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=Kc(i);t[r]=()=>a}}},op=(e,t)=>{process.env.NODE_ENV!=="production"&&!$r(e.vnode)&&oe("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Kc(t);e.slots.default=()=>n},Jc=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},UI=(e,t,n)=>{const o=e.slots=Wg();if(e.vnode.shapeFlag&32){const r=t._;r?(Jc(o,t,n),n&&Ua(o,"_",r,!0)):np(t,o)}else t&&op(e,t)},WI=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Se;if(o.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&Pn?(Jc(r,t,n),$n(e,"set","$slots")):n&&l===1?i=!1:Jc(r,t,n):(i=!t.$stable,np(t,r)),a=t}else t&&(op(e,t),a={default:1});if(i)for(const l in r)!tp(l)&&a[l]==null&&delete r[l]};let Ri,Io;function io(e,t){e.appContext.config.performance&&hl()&&Io.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&nI(e,t,hl()?Io.now():Date.now())}function ao(e,t){if(e.appContext.config.performance&&hl()){const n=`vue-${t}-${e.uid}`,o=n+":end";Io.mark(o),Io.measure(`<${Il(e,e.type)}> ${t}`,n,o),Io.clearMarks(n),Io.clearMarks(o)}process.env.NODE_ENV!=="production"&&oI(e,t,hl()?Io.now():Date.now())}function hl(){return Ri!==void 0||(typeof window<"u"&&window.performance?(Ri=!0,Io=window.performance):Ri=!1),Ri}function GI(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
18
18
|
|
|
19
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const $t=cw;function XI(e){return KI(e)}function KI(e,t){GI();const n=Ii();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Nc(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:i,createElement:a,createText:l,createComment:s,setText:u,setElementText:c,parentNode:A,nextSibling:f,setScopeId:d=pt,insertStaticContent:g}=e,p=(x,N,z,X=null,U=null,q=null,re=void 0,se=null,ie=process.env.NODE_ENV!=="production"&&Pn?!1:!!N.dynamicChildren)=>{if(x===N)return;x&&!or(x,N)&&(X=Ee(x),ue(x,U,q,!0),x=null),N.patchFlag===-2&&(ie=!1,N.dynamicChildren=null);const{type:te,ref:Be,shapeFlag:de}=N;switch(te){case wo:v(x,N,z,X);break;case lt:E(x,N,z,X);break;case El:x==null?b(N,z,X,re):process.env.NODE_ENV!=="production"&&m(x,N,z,re);break;case xe:L(x,N,z,X,U,q,re,se,ie);break;default:de&1?w(x,N,z,X,U,q,re,se,ie):de&6?_(x,N,z,X,U,q,re,se,ie):de&64||de&128?te.process(x,N,z,X,U,q,re,se,ie,G):process.env.NODE_ENV!=="production"&&oe("Invalid VNode type:",te,`(${typeof te})`)}Be!=null&&U&&jc(Be,x&&x.ref,q,N||x,!N)},v=(x,N,z,X)=>{if(x==null)o(N.el=l(N.children),z,X);else{const U=N.el=x.el;N.children!==x.children&&u(U,N.children)}},E=(x,N,z,X)=>{x==null?o(N.el=s(N.children||""),z,X):N.el=x.el},b=(x,N,z,X)=>{[x.el,x.anchor]=g(x.children,N,z,X,x.el,x.anchor)},m=(x,N,z,X)=>{if(N.children!==x.children){const U=f(x.anchor);y(x),[N.el,N.anchor]=g(N.children,z,U,X)}else N.el=x.el,N.anchor=x.anchor},I=({el:x,anchor:N},z,X)=>{let U;for(;x&&x!==N;)U=f(x),o(x,z,X),x=U;o(N,z,X)},y=({el:x,anchor:N})=>{let z;for(;x&&x!==N;)z=f(x),r(x),x=z;r(N)},w=(x,N,z,X,U,q,re,se,ie)=>{N.type==="svg"?re="svg":N.type==="math"&&(re="mathml"),x==null?C(N,z,X,U,q,re,se,ie):T(x,N,U,q,re,se,ie)},C=(x,N,z,X,U,q,re,se)=>{let ie,te;const{props:Be,shapeFlag:de,transition:be,dirs:Qe}=x;if(ie=x.el=a(x.type,q,Be&&Be.is,Be),de&8?c(ie,x.children):de&16&&O(x.children,ie,null,X,U,qc(x,q),re,se),Qe&&Jo(x,null,X,"created"),S(ie,x,x.scopeId,re,X),Be){for(const ke in Be)ke!=="value"&&!bi(ke)&&i(ie,ke,null,Be[ke],q,X);"value"in Be&&i(ie,"value",null,Be.value,q),(te=Be.onVnodeBeforeMount)&&_n(te,X,x)}process.env.NODE_ENV!=="production"&&(Ua(ie,"__vnode",x,!0),Ua(ie,"__vueParentComponent",X,!0)),Qe&&Jo(x,null,X,"beforeMount");const Me=JI(U,be);Me&&be.beforeEnter(ie),o(ie,N,z),((te=Be&&Be.onVnodeMounted)||Me||Qe)&&$t(()=>{te&&_n(te,X,x),Me&&be.enter(ie),Qe&&Jo(x,null,X,"mounted")},U)},S=(x,N,z,X,U)=>{if(z&&d(x,z),X)for(let q=0;q<X.length;q++)d(x,X[q]);if(U){let q=U.subTree;if(process.env.NODE_ENV!=="production"&&q.patchFlag>0&&q.patchFlag&2048&&(q=tu(q.children)||q),N===q||fp(q.type)&&(q.ssContent===N||q.ssFallback===N)){const re=U.vnode;S(x,re,re.scopeId,re.slotScopeIds,U.parent)}}},O=(x,N,z,X,U,q,re,se,ie=0)=>{for(let te=ie;te<x.length;te++){const Be=x[te]=se?Qo(x[te]):Tn(x[te]);p(null,Be,N,z,X,U,q,re,se)}},T=(x,N,z,X,U,q,re)=>{const se=N.el=x.el;process.env.NODE_ENV!=="production"&&(se.__vnode=N);let{patchFlag:ie,dynamicChildren:te,dirs:Be}=N;ie|=x.patchFlag&16;const de=x.props||Se,be=N.props||Se;let Qe;if(z&&nr(z,!1),(Qe=be.onVnodeBeforeUpdate)&&_n(Qe,z,N,x),Be&&Jo(N,x,z,"beforeUpdate"),z&&nr(z,!0),process.env.NODE_ENV!=="production"&&Pn&&(ie=0,re=!1,te=null),(de.innerHTML&&be.innerHTML==null||de.textContent&&be.textContent==null)&&c(se,""),te?(R(x.dynamicChildren,te,se,z,X,qc(N,U),q),process.env.NODE_ENV!=="production"&&Fi(x,N)):re||H(x,N,se,null,z,X,qc(N,U),q,!1),ie>0){if(ie&16)F(se,de,be,z,U);else if(ie&2&&de.class!==be.class&&i(se,"class",null,be.class,U),ie&4&&i(se,"style",de.style,be.style,U),ie&8){const Me=N.dynamicProps;for(let ke=0;ke<Me.length;ke++){const Fe=Me[ke],Ft=de[Fe],Et=be[Fe];(Et!==Ft||Fe==="value")&&i(se,Fe,Ft,Et,U,z)}}ie&1&&x.children!==N.children&&c(se,N.children)}else!re&&te==null&&F(se,de,be,z,U);((Qe=be.onVnodeUpdated)||Be)&&$t(()=>{Qe&&_n(Qe,z,N,x),Be&&Jo(N,x,z,"updated")},X)},R=(x,N,z,X,U,q,re)=>{for(let se=0;se<N.length;se++){const ie=x[se],te=N[se],Be=ie.el&&(ie.type===xe||!or(ie,te)||ie.shapeFlag&70)?A(ie.el):z;p(ie,te,Be,null,X,U,q,re,!0)}},F=(x,N,z,X,U)=>{if(N!==z){if(N!==Se)for(const q in N)!bi(q)&&!(q in z)&&i(x,q,N[q],null,U,X);for(const q in z){if(bi(q))continue;const re=z[q],se=N[q];re!==se&&q!=="value"&&i(x,q,se,re,U,X)}"value"in z&&i(x,"value",N.value,z.value,U)}},L=(x,N,z,X,U,q,re,se,ie)=>{const te=N.el=x?x.el:l(""),Be=N.anchor=x?x.anchor:l("");let{patchFlag:de,dynamicChildren:be,slotScopeIds:Qe}=N;process.env.NODE_ENV!=="production"&&(Pn||de&2048)&&(de=0,ie=!1,be=null),Qe&&(se=se?se.concat(Qe):Qe),x==null?(o(te,z,X),o(Be,z,X),O(N.children||[],z,Be,U,q,re,se,ie)):de>0&&de&64&&be&&x.dynamicChildren?(R(x.dynamicChildren,be,z,U,q,re,se),process.env.NODE_ENV!=="production"?Fi(x,N):(N.key!=null||U&&N===U.subTree)&&Fi(x,N,!0)):H(x,N,z,Be,U,q,re,se,ie)},_=(x,N,z,X,U,q,re,se,ie)=>{N.slotScopeIds=se,x==null?N.shapeFlag&512?U.ctx.activate(N,z,X,re,ie):Q(N,z,X,U,q,re,ie):D(x,N,ie)},Q=(x,N,z,X,U,q,re)=>{const se=x.component=hw(x,X,U);if(process.env.NODE_ENV!=="production"&&se.type.__hmrId&&WB(se),process.env.NODE_ENV!=="production"&&(ol(x),io(se,"mount")),$r(x)&&(se.ctx.renderer=G),process.env.NODE_ENV!=="production"&&io(se,"init"),vw(se,!1,re),process.env.NODE_ENV!=="production"&&ao(se,"init"),se.asyncDep){if(process.env.NODE_ENV!=="production"&&Pn&&(x.el=null),U&&U.registerDep(se,M,re),!x.el){const ie=se.subTree=B(lt);E(null,ie,N,z)}}else M(se,x,N,z,U,q,re);process.env.NODE_ENV!=="production"&&(rl(),ao(se,"mount"))},D=(x,N,z)=>{const X=N.component=x.component;if(lw(x,N,z))if(X.asyncDep&&!X.asyncResolved){process.env.NODE_ENV!=="production"&&ol(N),j(X,N,z),process.env.NODE_ENV!=="production"&&rl();return}else X.next=N,X.update();else N.el=x.el,X.vnode=N},M=(x,N,z,X,U,q,re)=>{const se=()=>{if(x.isMounted){let{next:de,bu:be,u:Qe,parent:Me,vnode:ke}=x;{const Lt=rp(x);if(Lt){de&&(de.el=ke.el,j(x,de,re)),Lt.asyncDep.then(()=>{x.isUnmounted||se()});return}}let Fe=de,Ft;process.env.NODE_ENV!=="production"&&ol(de||x.vnode),nr(x,!1),de?(de.el=ke.el,j(x,de,re)):de=ke,be&&Bi(be),(Ft=de.props&&de.props.onVnodeBeforeUpdate)&&_n(Ft,Me,de,ke),nr(x,!0),process.env.NODE_ENV!=="production"&&io(x,"render");const Et=eu(x);process.env.NODE_ENV!=="production"&&ao(x,"render");const fn=x.subTree;x.subTree=Et,process.env.NODE_ENV!=="production"&&io(x,"patch"),p(fn,Et,A(fn.el),Ee(fn),x,U,q),process.env.NODE_ENV!=="production"&&ao(x,"patch"),de.el=Et.el,Fe===null&&sw(x,Et.el),Qe&&$t(Qe,U),(Ft=de.props&&de.props.onVnodeUpdated)&&$t(()=>_n(Ft,Me,de,ke),U),process.env.NODE_ENV!=="production"&&mg(x),process.env.NODE_ENV!=="production"&&rl()}else{let de;const{el:be,props:Qe}=N,{bm:Me,m:ke,parent:Fe,root:Ft,type:Et}=x,fn=zr(N);if(nr(x,!1),Me&&Bi(Me),!fn&&(de=Qe&&Qe.onVnodeBeforeMount)&&_n(de,Fe,N),nr(x,!0),be&&ge){const Lt=()=>{process.env.NODE_ENV!=="production"&&io(x,"render"),x.subTree=eu(x),process.env.NODE_ENV!=="production"&&ao(x,"render"),process.env.NODE_ENV!=="production"&&io(x,"hydrate"),ge(be,x.subTree,x,U,null),process.env.NODE_ENV!=="production"&&ao(x,"hydrate")};fn&&Et.__asyncHydrate?Et.__asyncHydrate(be,x,Lt):Lt()}else{Ft.ce&&Ft.ce._injectChildStyle(Et),process.env.NODE_ENV!=="production"&&io(x,"render");const Lt=x.subTree=eu(x);process.env.NODE_ENV!=="production"&&ao(x,"render"),process.env.NODE_ENV!=="production"&&io(x,"patch"),p(null,Lt,z,X,x,U,q),process.env.NODE_ENV!=="production"&&ao(x,"patch"),N.el=Lt.el}if(ke&&$t(ke,U),!fn&&(de=Qe&&Qe.onVnodeMounted)){const Lt=N;$t(()=>_n(de,Fe,Lt),U)}(N.shapeFlag&256||Fe&&zr(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&x.a&&$t(x.a,U),x.isMounted=!0,process.env.NODE_ENV!=="production"&&ZB(x),N=z=X=null}};x.scope.on();const ie=x.effect=new Ld(se);x.scope.off();const te=x.update=ie.run.bind(ie),Be=x.job=ie.runIfDirty.bind(ie);Be.i=x,Be.id=x.uid,ie.scheduler=()=>al(Be),nr(x,!0),process.env.NODE_ENV!=="production"&&(ie.onTrack=x.rtc?de=>Bi(x.rtc,de):void 0,ie.onTrigger=x.rtg?de=>Bi(x.rtg,de):void 0),te()},j=(x,N,z)=>{N.component=x;const X=x.vnode.props;x.vnode=N,x.next=null,FI(x,N.props,X,z),WI(x,N.children,z),Zn(),fg(x),eo()},H=(x,N,z,X,U,q,re,se,ie=!1)=>{const te=x&&x.children,Be=x?x.shapeFlag:0,de=N.children,{patchFlag:be,shapeFlag:Qe}=N;if(be>0){if(be&128){Z(te,de,z,X,U,q,re,se,ie);return}else if(be&256){Y(te,de,z,X,U,q,re,se,ie);return}}Qe&8?(Be&16&&ve(te,U,q),de!==te&&c(z,de)):Be&16?Qe&16?Z(te,de,z,X,U,q,re,se,ie):ve(te,U,q,!0):(Be&8&&c(z,""),Qe&16&&O(de,z,X,U,q,re,se,ie))},Y=(x,N,z,X,U,q,re,se,ie)=>{x=x||Qn,N=N||Qn;const te=x.length,Be=N.length,de=Math.min(te,Be);let be;for(be=0;be<de;be++){const Qe=N[be]=ie?Qo(N[be]):Tn(N[be]);p(x[be],Qe,z,null,U,q,re,se,ie)}te>Be?ve(x,U,q,!0,!1,de):O(N,z,X,U,q,re,se,ie,de)},Z=(x,N,z,X,U,q,re,se,ie)=>{let te=0;const Be=N.length;let de=x.length-1,be=Be-1;for(;te<=de&&te<=be;){const Qe=x[te],Me=N[te]=ie?Qo(N[te]):Tn(N[te]);if(or(Qe,Me))p(Qe,Me,z,null,U,q,re,se,ie);else break;te++}for(;te<=de&&te<=be;){const Qe=x[de],Me=N[be]=ie?Qo(N[be]):Tn(N[be]);if(or(Qe,Me))p(Qe,Me,z,null,U,q,re,se,ie);else break;de--,be--}if(te>de){if(te<=be){const Qe=be+1,Me=Qe<Be?N[Qe].el:X;for(;te<=be;)p(null,N[te]=ie?Qo(N[te]):Tn(N[te]),z,Me,U,q,re,se,ie),te++}}else if(te>be)for(;te<=de;)ue(x[te],U,q,!0),te++;else{const Qe=te,Me=te,ke=new Map;for(te=Me;te<=be;te++){const Pt=N[te]=ie?Qo(N[te]):Tn(N[te]);Pt.key!=null&&(process.env.NODE_ENV!=="production"&&ke.has(Pt.key)&&oe("Duplicate keys found during update:",JSON.stringify(Pt.key),"Make sure keys are unique."),ke.set(Pt.key,te))}let Fe,Ft=0;const Et=be-Me+1;let fn=!1,Lt=0;const Ei=new Array(Et);for(te=0;te<Et;te++)Ei[te]=0;for(te=Qe;te<=de;te++){const Pt=x[te];if(Ft>=Et){ue(Pt,U,q,!0);continue}let wn;if(Pt.key!=null)wn=ke.get(Pt.key);else for(Fe=Me;Fe<=be;Fe++)if(Ei[Fe-Me]===0&&or(Pt,N[Fe])){wn=Fe;break}wn===void 0?ue(Pt,U,q,!0):(Ei[wn-Me]=te+1,wn>=Lt?Lt=wn:fn=!0,p(Pt,N[wn],z,null,U,q,re,se,ie),Ft++)}const sc=fn?qI(Ei):Qn;for(Fe=sc.length-1,te=Et-1;te>=0;te--){const Pt=Me+te,wn=N[Pt],cc=Pt+1<Be?N[Pt+1].el:X;Ei[te]===0?p(null,wn,z,cc,U,q,re,se,ie):fn&&(Fe<0||te!==sc[Fe]?ee(wn,z,cc,2):Fe--)}}},ee=(x,N,z,X,U=null)=>{const{el:q,type:re,transition:se,children:ie,shapeFlag:te}=x;if(te&6){ee(x.component.subTree,N,z,X);return}if(te&128){x.suspense.move(N,z,X);return}if(te&64){re.move(x,N,z,G);return}if(re===xe){o(q,N,z);for(let de=0;de<ie.length;de++)ee(ie[de],N,z,X);o(x.anchor,N,z);return}if(re===El){I(x,N,z);return}if(X!==2&&te&1&&se)if(X===0)se.beforeEnter(q),o(q,N,z),$t(()=>se.enter(q),U);else{const{leave:de,delayLeave:be,afterLeave:Qe}=se,Me=()=>o(q,N,z),ke=()=>{de(q,()=>{Me(),Qe&&Qe()})};be?be(q,Me,ke):ke()}else o(q,N,z)},ue=(x,N,z,X=!1,U=!1)=>{const{type:q,props:re,ref:se,children:ie,dynamicChildren:te,shapeFlag:Be,patchFlag:de,dirs:be,cacheIndex:Qe}=x;if(de===-2&&(U=!1),se!=null&&jc(se,null,z,x,!0),Qe!=null&&(N.renderCache[Qe]=void 0),Be&256){N.ctx.deactivate(x);return}const Me=Be&1&&be,ke=!zr(x);let Fe;if(ke&&(Fe=re&&re.onVnodeBeforeUnmount)&&_n(Fe,N,x),Be&6)ce(x.component,z,X);else{if(Be&128){x.suspense.unmount(z,X);return}Me&&Jo(x,null,N,"beforeUnmount"),Be&64?x.type.remove(x,N,z,G,X):te&&!te.hasOnce&&(q!==xe||de>0&&de&64)?ve(te,N,z,!1,!0):(q===xe&&de&384||!U&&Be&16)&&ve(ie,N,z),X&&Ce(x)}(ke&&(Fe=re&&re.onVnodeUnmounted)||Me)&&$t(()=>{Fe&&_n(Fe,N,x),Me&&Jo(x,null,N,"unmounted")},z)},Ce=x=>{const{type:N,el:z,anchor:X,transition:U}=x;if(N===xe){process.env.NODE_ENV!=="production"&&x.patchFlag>0&&x.patchFlag&2048&&U&&!U.persisted?x.children.forEach(re=>{re.type===lt?r(re.el):Ce(re)}):ne(z,X);return}if(N===El){y(x);return}const q=()=>{r(z),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(x.shapeFlag&1&&U&&!U.persisted){const{leave:re,delayLeave:se}=U,ie=()=>re(z,q);se?se(x.el,q,ie):ie()}else q()},ne=(x,N)=>{let z;for(;x!==N;)z=f(x),r(x),x=z;r(N)},ce=(x,N,z)=>{process.env.NODE_ENV!=="production"&&x.type.__hmrId&&GB(x);const{bum:X,scope:U,job:q,subTree:re,um:se,m:ie,a:te}=x;ip(ie),ip(te),X&&Bi(X),U.stop(),q&&(q.flags|=8,ue(re,x,N,z)),se&&$t(se,N),$t(()=>{x.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve()),process.env.NODE_ENV!=="production"&&tI(x)},ve=(x,N,z,X=!1,U=!1,q=0)=>{for(let re=q;re<x.length;re++)ue(x[re],N,z,X,U)},Ee=x=>{if(x.shapeFlag&6)return Ee(x.component.subTree);if(x.shapeFlag&128)return x.suspense.next();const N=f(x.anchor||x.el),z=N&&N[yg];return z?f(z):N};let K=!1;const k=(x,N,z)=>{x==null?N._vnode&&ue(N._vnode,null,null,!0):p(N._vnode||null,x,N,null,null,null,z),N._vnode=x,K||(K=!0,fg(),dg(),K=!1)},G={p,um:ue,m:ee,r:Ce,mt:Q,mc:O,pc:H,pbc:R,n:Ee,o:e};let fe,ge;return{render:k,hydrate:fe,createApp:MI(k,fe)}}function qc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function nr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function JI(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Fi(e,t,n=!1){const o=e.children,r=t.children;if(ye(o)&&ye(r))for(let i=0;i<o.length;i++){const a=o[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Qo(r[i]),l.el=a.el),!n&&l.patchFlag!==-2&&Fi(a,l)),l.type===wo&&(l.el=a.el),process.env.NODE_ENV!=="production"&&l.type===lt&&!l.el&&(l.el=a.el)}}function qI(e){const t=e.slice(),n=[0];let o,r,i,a,l;const s=e.length;for(o=0;o<s;o++){const u=e[o];if(u!==0){if(r=n[n.length-1],e[r]<u){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<u?i=l+1:a=l;u<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function rp(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rp(t)}function ip(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ZI=Symbol.for("v-scx"),ew=()=>{{const e=Ve(ZI);return e||process.env.NODE_ENV!=="production"&&oe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Ye(e,t){return ml(e,null,t)}function tw(e,t){return ml(e,null,process.env.NODE_ENV!=="production"?Le({},t,{flush:"sync"}):{flush:"sync"})}function me(e,t,n){return process.env.NODE_ENV!=="production"&&!Ie(t)&&oe("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ml(e,t,n)}function ml(e,t,n=Se){const{immediate:o,deep:r,flush:i,once:a}=n;process.env.NODE_ENV!=="production"&&!t&&(o!==void 0&&oe('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&oe('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&oe('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=Le({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=oe);const s=t&&o||!t&&i!=="post";let u;if(Vr){if(i==="sync"){const d=ew();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!s){const d=()=>{};return d.stop=pt,d.resume=pt,d.pause=pt,d}}const c=ut;l.call=(d,g,p)=>On(d,c,g,p);let A=!1;i==="post"?l.scheduler=d=>{$t(d,c&&c.suspense)}:i!=="sync"&&(A=!0,l.scheduler=(d,g)=>{g?d():al(d)}),l.augmentJob=d=>{t&&(d.flags|=4),A&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const f=LB(e,t,l);return Vr&&(u?u.push(f):s&&f()),f}function nw(e,t,n){const o=this.proxy,r=qe(e)?e.includes(".")?ap(o,e):()=>o[e]:e.bind(o,o);let i;Ie(t)?i=t:(i=t.handler,n=t);const a=zi(this),l=ml(r,i.bind(o),n);return a(),l}function ap(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function ow(e,t,n=Se){const o=Zt();if(process.env.NODE_ENV!=="production"&&!o)return oe("useModel() called without active instance."),Ae();const r=yt(t);if(process.env.NODE_ENV!=="production"&&!o.propsOptions[0][r])return oe(`useModel() called with prop "${t}" which is not declared.`),Ae();const i=jt(t),a=lp(e,r),l=TB((s,u)=>{let c,A=Se,f;return tw(()=>{const d=e[r];zt(c,d)&&(c=d,u())}),{get(){return s(),n.get?n.get(c):c},set(d){const g=n.set?n.set(d):d;if(!zt(g,c)&&!(A!==Se&&zt(d,A)))return;const p=o.vnode.props;p&&(t in p||r in p||i in p)&&(`onUpdate:${t}`in p||`onUpdate:${r}`in p||`onUpdate:${i}`in p)||(c=d,u()),o.emit(`update:${t}`,g),zt(d,g)&&zt(d,A)&&!zt(g,f)&&u(),A=d,f=g}}});return l[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?a||Se:l,done:!1}:{done:!0}}}},l}const lp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${yt(t)}Modifiers`]||e[`${jt(t)}Modifiers`];function rw(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Se;if(process.env.NODE_ENV!=="production"){const{emitsOptions:c,propsOptions:[A]}=e;if(c)if(!(t in c))(!A||!(Yo(yt(t))in A))&&oe(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Yo(yt(t))}" prop.`);else{const f=c[t];Ie(f)&&(f(...n)||oe(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),a=i&&lp(o,t.slice(7));if(a&&(a.trim&&(r=n.map(c=>qe(c)?c.trim():c)),a.number&&(r=n.map(Wb))),process.env.NODE_ENV!=="production"&&rI(e,t,r),process.env.NODE_ENV!=="production"){const c=t.toLowerCase();c!==t&&o[Yo(c)]&&oe(`Event "${c}" is emitted in component ${Il(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${jt(t)}" instead of "${t}".`)}let l,s=o[l=Yo(t)]||o[l=Yo(yt(t))];!s&&i&&(s=o[l=Yo(jt(t))]),s&&On(s,e,6,r);const u=o[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,On(u,e,6,r)}}function sp(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},l=!1;if(!Ie(e)){const s=u=>{const c=sp(u,t,!0);c&&(l=!0,Le(a,c))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(Re(e)&&o.set(e,null),null):(ye(i)?i.forEach(s=>a[s]=null):Le(a,i),Re(e)&&o.set(e,a),a)}function vl(e,t){return!e||!yi(t)?!1:(t=t.slice(2).replace(/Once$/,""),He(e,t[0].toLowerCase()+t.slice(1))||He(e,jt(t))||He(e,t))}let Zc=!1;function Cl(){Zc=!0}function eu(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:a,attrs:l,emit:s,render:u,renderCache:c,props:A,data:f,setupState:d,ctx:g,inheritAttrs:p}=e,v=cl(e);let E,b;process.env.NODE_ENV!=="production"&&(Zc=!1);try{if(n.shapeFlag&4){const y=r||o,w=process.env.NODE_ENV!=="production"&&d.__isScriptSetup?new Proxy(y,{get(C,S,O){return oe(`Property '${String(S)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,S,O)}}):y;E=Tn(u.call(w,y,c,process.env.NODE_ENV!=="production"?kn(A):A,d,f,g)),b=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===A&&Cl(),E=Tn(y.length>1?y(process.env.NODE_ENV!=="production"?kn(A):A,process.env.NODE_ENV!=="production"?{get attrs(){return Cl(),kn(l)},slots:a,emit:s}:{attrs:l,slots:a,emit:s}):y(process.env.NODE_ENV!=="production"?kn(A):A,null)),b=t.props?l:iw(l)}}catch(y){Li.length=0,Rr(y,e,1),E=B(lt)}let m=E,I;if(process.env.NODE_ENV!=="production"&&E.patchFlag>0&&E.patchFlag&2048&&([m,I]=cp(E)),b&&p!==!1){const y=Object.keys(b),{shapeFlag:w}=m;if(y.length){if(w&7)i&&y.some(ka)&&(b=aw(b,i)),m=Mt(m,b,!1,!0);else if(process.env.NODE_ENV!=="production"&&!Zc&&m.type!==lt){const C=Object.keys(l),S=[],O=[];for(let T=0,R=C.length;T<R;T++){const F=C[T];yi(F)?ka(F)||S.push(F[2].toLowerCase()+F.slice(3)):O.push(F)}O.length&&oe(`Extraneous non-props attributes (${O.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),S.length&&oe(`Extraneous non-emits event listeners (${S.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!up(m)&&oe("Runtime directive used on component with non-element root node. The directives will not function as intended."),m=Mt(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!up(m)&&oe("Component inside <Transition> renders non-element root node that cannot be animated."),Zo(m,n.transition)),process.env.NODE_ENV!=="production"&&I?I(m):E=m,cl(v),E}const cp=e=>{const t=e.children,n=e.dynamicChildren,o=tu(t,!1);if(o){if(process.env.NODE_ENV!=="production"&&o.patchFlag>0&&o.patchFlag&2048)return cp(o)}else return[e,void 0];const r=t.indexOf(o),i=n?n.indexOf(o):-1,a=l=>{t[r]=l,n&&(i>-1?n[i]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[Tn(o),a]};function tu(e,t=!0){let n;for(let o=0;o<e.length;o++){const r=e[o];if(qt(r)){if(r.type!==lt||r.children==="v-if"){if(n)return;if(n=r,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return tu(n.children)}}else return}return n}const iw=e=>{let t;for(const n in e)(n==="class"||n==="style"||yi(n))&&((t||(t={}))[n]=e[n]);return t},aw=(e,t)=>{const n={};for(const o in e)(!ka(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},up=e=>e.shapeFlag&7||e.type===lt;function lw(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:l,patchFlag:s}=t,u=i.emitsOptions;if(process.env.NODE_ENV!=="production"&&(r||l)&&Pn||t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return o?Ap(o,a,u):!!a;if(s&8){const c=t.dynamicProps;for(let A=0;A<c.length;A++){const f=c[A];if(a[f]!==o[f]&&!vl(u,f))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:o===a?!1:o?a?Ap(o,a,u):!0:!!a;return!1}function Ap(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!vl(n,i))return!0}return!1}function sw({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const fp=e=>e.__isSuspense;function cw(e,t){t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):Ag(e)}const xe=Symbol.for("v-fgt"),wo=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),El=Symbol.for("v-stc"),Li=[];let Kt=null;function Ue(e=!1){Li.push(Kt=e?null:[])}function uw(){Li.pop(),Kt=Li[Li.length-1]||null}let ji=1;function dp(e){ji+=e,e<0&&Kt&&(Kt.hasOnce=!0)}function gp(e){return e.dynamicChildren=ji>0?Kt||Qn:null,uw(),ji>0&&Kt&&Kt.push(e),e}function kt(e,t,n,o,r,i){return gp(Ct(e,t,n,o,r,i,!0))}function Jt(e,t,n,o,r){return gp(B(e,t,n,o,r,!0))}function qt(e){return e?e.__v_isVNode===!0:!1}function or(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=ll.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const Aw=(...e)=>hp(...e),pp=({key:e})=>e??null,yl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||rt(e)||Ie(e)?{i:ct,r:e,k:t,f:!!n}:e:null);function Ct(e,t=null,n=null,o=0,r=null,i=e===xe?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pp(t),ref:t&&yl(t),scopeId:Cg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ct};return l?(nu(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=qe(n)?8:16),process.env.NODE_ENV!=="production"&&s.key!==s.key&&oe("VNode created with invalid key (NaN). VNode type:",s.type),ji>0&&!a&&Kt&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&Kt.push(s),s}const B=process.env.NODE_ENV!=="production"?Aw:hp;function hp(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===EI)&&(process.env.NODE_ENV!=="production"&&!e&&oe(`Invalid vnode type when creating vnode: ${e}.`),e=lt),qt(e)){const l=Mt(e,t,!0);return n&&nu(l,n),ji>0&&!i&&Kt&&(l.shapeFlag&6?Kt[Kt.indexOf(e)]=l:Kt.push(l)),l.patchFlag=-2,l}if(Ip(e)&&(e=e.__vccOpts),t){t=fw(t);let{class:l,style:s}=t;l&&!qe(l)&&(t.class=Wa(l)),Re(s)&&(Pi(s)&&!ye(s)&&(s=Le({},s)),t.style=hc(s))}const a=qe(e)?1:fp(e)?128:bg(e)?64:Re(e)?4:Ie(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&Pi(e)&&(e=we(e),oe("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
20
|
-
Component that was made reactive: `,e)),Ct(e,t,n,o,r,a,i,!0)}function fw(e){return e?Pi(e)||Gg(e)?Le({},e):e:null}function Mt(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:a,children:l,transition:s}=e,u=t?dw(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&pp(u),ref:t&&t.ref?n&&i?ye(i)?i.concat(yl(t)):[i,yl(t)]:yl(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&a===-1&&ye(l)?l.map(mp):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&o&&Zo(c,s.clone(c)),c}function mp(e){const t=Mt(e);return ye(e.children)&&(t.children=e.children.map(mp)),t}function mt(e=" ",t=0){return B(wo,null,e,t)}function rr(e="",t=!1){return t?(Ue(),Jt(lt,null,e)):B(lt,null,e)}function Tn(e){return e==null||typeof e=="boolean"?B(lt):ye(e)?B(xe,null,e.slice()):qt(e)?Qo(e):B(wo,null,String(e))}function Qo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mt(e)}function nu(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ye(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),nu(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Gg(t)?t._ctx=ct:r===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ie(t)?(t={default:t,_ctx:ct},n=32):(t=String(t),o&64?(n=16,t=[mt(t)]):n=8);e.children=t,e.shapeFlag|=n}function dw(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=Wa([t.class,o.class]));else if(r==="style")t.style=hc([t.style,o.style]);else if(yi(r)){const i=t[r],a=o[r];a&&i!==a&&!(ye(i)&&i.includes(a))&&(t[r]=i?[].concat(i,a):a)}else r!==""&&(t[r]=o[r])}return t}function _n(e,t,n,o=null){On(e,t,7,[n,o])}const gw=Yg();let pw=0;function hw(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||gw,i={uid:pw++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new iB(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Kg(o,r),emitsOptions:sp(o,r),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:o.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?i.ctx=II(i):i.ctx={_:i},i.root=t?t.root:i,i.emit=rw.bind(null,i),e.ce&&e.ce(i),i}let ut=null;const Zt=()=>ut||ct;let bl,ou;{const e=Ii(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};bl=t("__VUE_INSTANCE_SETTERS__",n=>ut=n),ou=t("__VUE_SSR_SETTERS__",n=>Vr=n)}const zi=e=>{const t=ut;return bl(e),e.scope.on(),()=>{e.scope.off(),bl(t)}},vp=()=>{ut&&ut.scope.off(),bl(null)},mw=gt("slot,component");function ru(e,{isNativeTag:t}){(mw(e)||t(e))&&oe("Do not use built-in or reserved HTML elements as component id: "+e)}function Cp(e){return e.vnode.shapeFlag&4}let Vr=!1;function vw(e,t=!1,n=!1){t&&ou(t);const{props:o,children:r}=e.vnode,i=Cp(e);HI(e,o,i,t),UI(e,r,n);const a=i?Cw(e,t):void 0;return t&&ou(!1),a}function Cw(e,t){var n;const o=e.type;if(process.env.NODE_ENV!=="production"){if(o.name&&ru(o.name,e.appContext.config),o.components){const i=Object.keys(o.components);for(let a=0;a<i.length;a++)ru(i[a],e.appContext.config)}if(o.directives){const i=Object.keys(o.directives);for(let a=0;a<i.length;a++)Eg(i[a])}o.compilerOptions&&Ew()&&oe('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jg),process.env.NODE_ENV!=="production"&&wI(e);const{setup:r}=o;if(r){Zn();const i=e.setupContext=r.length>1?bw(e):null,a=zi(e),l=Hr(r,e,0,[process.env.NODE_ENV!=="production"?kn(e.props):e.props,i]),s=fc(l);if(eo(),a(),(s||e.sp)&&!zr(e)&&Lc(e),s){if(l.then(vp,vp),t)return l.then(u=>{Ep(e,u,t)}).catch(u=>{Rr(u,e,0)});if(e.asyncDep=l,process.env.NODE_ENV!=="production"&&!e.suspense){const u=(n=o.name)!=null?n:"Anonymous";oe(`Component <${u}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ep(e,l,t)}else yp(e,t)}function Ep(e,t,n){Ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)?(process.env.NODE_ENV!=="production"&&qt(t)&&oe("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=ig(t),process.env.NODE_ENV!=="production"&&QI(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&oe(`setup() should return an object. Received: ${t===null?"null":typeof t}`),yp(e,n)}let iu;const Ew=()=>!iu;function yp(e,t,n){const o=e.type;if(!e.render){if(!t&&iu&&!o.render){const r=o.template||Wc(e).template;if(r){process.env.NODE_ENV!=="production"&&io(e,"compile");const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=o,u=Le(Le({isCustomElement:i,delimiters:l},a),s);o.render=iu(r,u),process.env.NODE_ENV!=="production"&&ao(e,"compile")}}e.render=o.render||pt}{const r=zi(e);Zn();try{xI(e)}finally{eo(),r()}}process.env.NODE_ENV!=="production"&&!o.render&&e.render===pt&&!t&&(o.template?oe('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):oe("Component is missing template or render function: ",o))}const bp=process.env.NODE_ENV!=="production"?{get(e,t){return Cl(),ht(e,"get",""),e[t]},set(){return oe("setupContext.attrs is readonly."),!1},deleteProperty(){return oe("setupContext.attrs is readonly."),!1}}:{get(e,t){return ht(e,"get",""),e[t]}};function yw(e){return new Proxy(e.slots,{get(t,n){return ht(e,"get","$slots"),t[n]}})}function bw(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&oe("expose() should be called only once per setup()."),n!=null)){let o=typeof n;o==="object"&&(ye(n)?o="array":rt(n)&&(o="ref")),o!=="object"&&oe(`expose() should be passed a plain object, received ${o}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,o;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,bp))},get slots(){return o||(o=yw(e))},get emit(){return(r,...i)=>e.emit(r,...i)},expose:t})}else return{attrs:new Proxy(e.attrs,bp),slots:e.slots,emit:e.emit,expose:t}}function Bl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ig(SB(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in tr)return tr[n](e)},has(t,n){return n in t||n in tr}})):e.proxy}const Bw=/(?:^|[-_])(\w)/g,Iw=e=>e.replace(Bw,t=>t.toUpperCase()).replace(/[-_]/g,"");function Bp(e,t=!0){return Ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Il(e,t,n=!1){let o=Bp(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=i=>{for(const a in i)if(i[a]===t)return a};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?Iw(o):n?"App":"Anonymous"}function Ip(e){return Ie(e)&&"__vccOpts"in e}const P=(e,t)=>{const n=RB(e,t,Vr);if(process.env.NODE_ENV!=="production"){const o=Zt();o&&o.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function ir(e,t,n){const o=arguments.length;return o===2?Re(t)&&!ye(t)?qt(t)?B(e,null,[t]):B(e,t):B(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&qt(n)&&(n=[n]),B(e,t,n))}function ww(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(A){return Re(A)?A.__isVue?["div",e,"VueInstance"]:rt(A)?["div",{},["span",e,c(A)],"<",l("_value"in A?A._value:A),">"]:Wo(A)?["div",{},["span",e,Dt(A)?"ShallowReactive":"Reactive"],"<",l(A),`>${no(A)?" (readonly)":""}`]:no(A)?["div",{},["span",e,Dt(A)?"ShallowReadonly":"Readonly"],"<",l(A),">"]:null:null},hasBody(A){return A&&A.__isVue},body(A){if(A&&A.__isVue)return["div",{},...i(A.$)]}};function i(A){const f=[];A.type.props&&A.props&&f.push(a("props",we(A.props))),A.setupState!==Se&&f.push(a("setup",A.setupState)),A.data!==Se&&f.push(a("data",we(A.data)));const d=s(A,"computed");d&&f.push(a("computed",d));const g=s(A,"inject");return g&&f.push(a("injected",g)),f.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:A}]]),f}function a(A,f){return f=Le({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},A],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(d=>["div",{},["span",o,d+": "],l(f[d],!1)])]]:["span",{}]}function l(A,f=!0){return typeof A=="number"?["span",t,A]:typeof A=="string"?["span",n,JSON.stringify(A)]:typeof A=="boolean"?["span",o,A]:Re(A)?["object",{object:f?we(A):A}]:["span",n,String(A)]}function s(A,f){const d=A.type;if(Ie(d))return;const g={};for(const p in A.ctx)u(d,p,f)&&(g[p]=A.ctx[p]);return g}function u(A,f,d){const g=A[d];if(ye(g)&&g.includes(f)||Re(g)&&f in g||A.extends&&u(A.extends,f,d)||A.mixins&&A.mixins.some(p=>u(p,f,d)))return!0}function c(A){return Dt(A)?"ShallowRef":A.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const wp="3.5.12",en=process.env.NODE_ENV!=="production"?oe:pt;process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
19
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const $t=cw;function XI(e){return KI(e)}function KI(e,t){GI();const n=Ii();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Nc(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:o,remove:r,patchProp:i,createElement:a,createText:l,createComment:s,setText:u,setElementText:c,parentNode:A,nextSibling:f,setScopeId:d=pt,insertStaticContent:g}=e,p=(x,N,z,X=null,U=null,q=null,re=void 0,se=null,ie=process.env.NODE_ENV!=="production"&&Pn?!1:!!N.dynamicChildren)=>{if(x===N)return;x&&!or(x,N)&&(X=Ee(x),ue(x,U,q,!0),x=null),N.patchFlag===-2&&(ie=!1,N.dynamicChildren=null);const{type:te,ref:Be,shapeFlag:de}=N;switch(te){case wo:v(x,N,z,X);break;case lt:E(x,N,z,X);break;case El:x==null?b(N,z,X,re):process.env.NODE_ENV!=="production"&&m(x,N,z,re);break;case xe:L(x,N,z,X,U,q,re,se,ie);break;default:de&1?w(x,N,z,X,U,q,re,se,ie):de&6?_(x,N,z,X,U,q,re,se,ie):de&64||de&128?te.process(x,N,z,X,U,q,re,se,ie,G):process.env.NODE_ENV!=="production"&&oe("Invalid VNode type:",te,`(${typeof te})`)}Be!=null&&U&&jc(Be,x&&x.ref,q,N||x,!N)},v=(x,N,z,X)=>{if(x==null)o(N.el=l(N.children),z,X);else{const U=N.el=x.el;N.children!==x.children&&u(U,N.children)}},E=(x,N,z,X)=>{x==null?o(N.el=s(N.children||""),z,X):N.el=x.el},b=(x,N,z,X)=>{[x.el,x.anchor]=g(x.children,N,z,X,x.el,x.anchor)},m=(x,N,z,X)=>{if(N.children!==x.children){const U=f(x.anchor);y(x),[N.el,N.anchor]=g(N.children,z,U,X)}else N.el=x.el,N.anchor=x.anchor},I=({el:x,anchor:N},z,X)=>{let U;for(;x&&x!==N;)U=f(x),o(x,z,X),x=U;o(N,z,X)},y=({el:x,anchor:N})=>{let z;for(;x&&x!==N;)z=f(x),r(x),x=z;r(N)},w=(x,N,z,X,U,q,re,se,ie)=>{N.type==="svg"?re="svg":N.type==="math"&&(re="mathml"),x==null?C(N,z,X,U,q,re,se,ie):T(x,N,U,q,re,se,ie)},C=(x,N,z,X,U,q,re,se)=>{let ie,te;const{props:Be,shapeFlag:de,transition:be,dirs:Qe}=x;if(ie=x.el=a(x.type,q,Be&&Be.is,Be),de&8?c(ie,x.children):de&16&&O(x.children,ie,null,X,U,qc(x,q),re,se),Qe&&Jo(x,null,X,"created"),S(ie,x,x.scopeId,re,X),Be){for(const ke in Be)ke!=="value"&&!bi(ke)&&i(ie,ke,null,Be[ke],q,X);"value"in Be&&i(ie,"value",null,Be.value,q),(te=Be.onVnodeBeforeMount)&&_n(te,X,x)}process.env.NODE_ENV!=="production"&&(Ua(ie,"__vnode",x,!0),Ua(ie,"__vueParentComponent",X,!0)),Qe&&Jo(x,null,X,"beforeMount");const Me=JI(U,be);Me&&be.beforeEnter(ie),o(ie,N,z),((te=Be&&Be.onVnodeMounted)||Me||Qe)&&$t(()=>{te&&_n(te,X,x),Me&&be.enter(ie),Qe&&Jo(x,null,X,"mounted")},U)},S=(x,N,z,X,U)=>{if(z&&d(x,z),X)for(let q=0;q<X.length;q++)d(x,X[q]);if(U){let q=U.subTree;if(process.env.NODE_ENV!=="production"&&q.patchFlag>0&&q.patchFlag&2048&&(q=tu(q.children)||q),N===q||fp(q.type)&&(q.ssContent===N||q.ssFallback===N)){const re=U.vnode;S(x,re,re.scopeId,re.slotScopeIds,U.parent)}}},O=(x,N,z,X,U,q,re,se,ie=0)=>{for(let te=ie;te<x.length;te++){const Be=x[te]=se?Qo(x[te]):Tn(x[te]);p(null,Be,N,z,X,U,q,re,se)}},T=(x,N,z,X,U,q,re)=>{const se=N.el=x.el;process.env.NODE_ENV!=="production"&&(se.__vnode=N);let{patchFlag:ie,dynamicChildren:te,dirs:Be}=N;ie|=x.patchFlag&16;const de=x.props||Se,be=N.props||Se;let Qe;if(z&&nr(z,!1),(Qe=be.onVnodeBeforeUpdate)&&_n(Qe,z,N,x),Be&&Jo(N,x,z,"beforeUpdate"),z&&nr(z,!0),process.env.NODE_ENV!=="production"&&Pn&&(ie=0,re=!1,te=null),(de.innerHTML&&be.innerHTML==null||de.textContent&&be.textContent==null)&&c(se,""),te?(R(x.dynamicChildren,te,se,z,X,qc(N,U),q),process.env.NODE_ENV!=="production"&&Fi(x,N)):re||H(x,N,se,null,z,X,qc(N,U),q,!1),ie>0){if(ie&16)F(se,de,be,z,U);else if(ie&2&&de.class!==be.class&&i(se,"class",null,be.class,U),ie&4&&i(se,"style",de.style,be.style,U),ie&8){const Me=N.dynamicProps;for(let ke=0;ke<Me.length;ke++){const Fe=Me[ke],Ft=de[Fe],Et=be[Fe];(Et!==Ft||Fe==="value")&&i(se,Fe,Ft,Et,U,z)}}ie&1&&x.children!==N.children&&c(se,N.children)}else!re&&te==null&&F(se,de,be,z,U);((Qe=be.onVnodeUpdated)||Be)&&$t(()=>{Qe&&_n(Qe,z,N,x),Be&&Jo(N,x,z,"updated")},X)},R=(x,N,z,X,U,q,re)=>{for(let se=0;se<N.length;se++){const ie=x[se],te=N[se],Be=ie.el&&(ie.type===xe||!or(ie,te)||ie.shapeFlag&70)?A(ie.el):z;p(ie,te,Be,null,X,U,q,re,!0)}},F=(x,N,z,X,U)=>{if(N!==z){if(N!==Se)for(const q in N)!bi(q)&&!(q in z)&&i(x,q,N[q],null,U,X);for(const q in z){if(bi(q))continue;const re=z[q],se=N[q];re!==se&&q!=="value"&&i(x,q,se,re,U,X)}"value"in z&&i(x,"value",N.value,z.value,U)}},L=(x,N,z,X,U,q,re,se,ie)=>{const te=N.el=x?x.el:l(""),Be=N.anchor=x?x.anchor:l("");let{patchFlag:de,dynamicChildren:be,slotScopeIds:Qe}=N;process.env.NODE_ENV!=="production"&&(Pn||de&2048)&&(de=0,ie=!1,be=null),Qe&&(se=se?se.concat(Qe):Qe),x==null?(o(te,z,X),o(Be,z,X),O(N.children||[],z,Be,U,q,re,se,ie)):de>0&&de&64&&be&&x.dynamicChildren?(R(x.dynamicChildren,be,z,U,q,re,se),process.env.NODE_ENV!=="production"?Fi(x,N):(N.key!=null||U&&N===U.subTree)&&Fi(x,N,!0)):H(x,N,z,Be,U,q,re,se,ie)},_=(x,N,z,X,U,q,re,se,ie)=>{N.slotScopeIds=se,x==null?N.shapeFlag&512?U.ctx.activate(N,z,X,re,ie):Q(N,z,X,U,q,re,ie):D(x,N,ie)},Q=(x,N,z,X,U,q,re)=>{const se=x.component=hw(x,X,U);if(process.env.NODE_ENV!=="production"&&se.type.__hmrId&&WB(se),process.env.NODE_ENV!=="production"&&(ol(x),io(se,"mount")),$r(x)&&(se.ctx.renderer=G),process.env.NODE_ENV!=="production"&&io(se,"init"),vw(se,!1,re),process.env.NODE_ENV!=="production"&&ao(se,"init"),se.asyncDep){if(process.env.NODE_ENV!=="production"&&Pn&&(x.el=null),U&&U.registerDep(se,M,re),!x.el){const ie=se.subTree=B(lt);E(null,ie,N,z)}}else M(se,x,N,z,U,q,re);process.env.NODE_ENV!=="production"&&(rl(),ao(se,"mount"))},D=(x,N,z)=>{const X=N.component=x.component;if(lw(x,N,z))if(X.asyncDep&&!X.asyncResolved){process.env.NODE_ENV!=="production"&&ol(N),j(X,N,z),process.env.NODE_ENV!=="production"&&rl();return}else X.next=N,X.update();else N.el=x.el,X.vnode=N},M=(x,N,z,X,U,q,re)=>{const se=()=>{if(x.isMounted){let{next:de,bu:be,u:Qe,parent:Me,vnode:ke}=x;{const Lt=rp(x);if(Lt){de&&(de.el=ke.el,j(x,de,re)),Lt.asyncDep.then(()=>{x.isUnmounted||se()});return}}let Fe=de,Ft;process.env.NODE_ENV!=="production"&&ol(de||x.vnode),nr(x,!1),de?(de.el=ke.el,j(x,de,re)):de=ke,be&&Bi(be),(Ft=de.props&&de.props.onVnodeBeforeUpdate)&&_n(Ft,Me,de,ke),nr(x,!0),process.env.NODE_ENV!=="production"&&io(x,"render");const Et=eu(x);process.env.NODE_ENV!=="production"&&ao(x,"render");const fn=x.subTree;x.subTree=Et,process.env.NODE_ENV!=="production"&&io(x,"patch"),p(fn,Et,A(fn.el),Ee(fn),x,U,q),process.env.NODE_ENV!=="production"&&ao(x,"patch"),de.el=Et.el,Fe===null&&sw(x,Et.el),Qe&&$t(Qe,U),(Ft=de.props&&de.props.onVnodeUpdated)&&$t(()=>_n(Ft,Me,de,ke),U),process.env.NODE_ENV!=="production"&&mg(x),process.env.NODE_ENV!=="production"&&rl()}else{let de;const{el:be,props:Qe}=N,{bm:Me,m:ke,parent:Fe,root:Ft,type:Et}=x,fn=zr(N);if(nr(x,!1),Me&&Bi(Me),!fn&&(de=Qe&&Qe.onVnodeBeforeMount)&&_n(de,Fe,N),nr(x,!0),be&&ge){const Lt=()=>{process.env.NODE_ENV!=="production"&&io(x,"render"),x.subTree=eu(x),process.env.NODE_ENV!=="production"&&ao(x,"render"),process.env.NODE_ENV!=="production"&&io(x,"hydrate"),ge(be,x.subTree,x,U,null),process.env.NODE_ENV!=="production"&&ao(x,"hydrate")};fn&&Et.__asyncHydrate?Et.__asyncHydrate(be,x,Lt):Lt()}else{Ft.ce&&Ft.ce._injectChildStyle(Et),process.env.NODE_ENV!=="production"&&io(x,"render");const Lt=x.subTree=eu(x);process.env.NODE_ENV!=="production"&&ao(x,"render"),process.env.NODE_ENV!=="production"&&io(x,"patch"),p(null,Lt,z,X,x,U,q),process.env.NODE_ENV!=="production"&&ao(x,"patch"),N.el=Lt.el}if(ke&&$t(ke,U),!fn&&(de=Qe&&Qe.onVnodeMounted)){const Lt=N;$t(()=>_n(de,Fe,Lt),U)}(N.shapeFlag&256||Fe&&zr(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&x.a&&$t(x.a,U),x.isMounted=!0,process.env.NODE_ENV!=="production"&&ZB(x),N=z=X=null}};x.scope.on();const ie=x.effect=new Ld(se);x.scope.off();const te=x.update=ie.run.bind(ie),Be=x.job=ie.runIfDirty.bind(ie);Be.i=x,Be.id=x.uid,ie.scheduler=()=>al(Be),nr(x,!0),process.env.NODE_ENV!=="production"&&(ie.onTrack=x.rtc?de=>Bi(x.rtc,de):void 0,ie.onTrigger=x.rtg?de=>Bi(x.rtg,de):void 0),te()},j=(x,N,z)=>{N.component=x;const X=x.vnode.props;x.vnode=N,x.next=null,FI(x,N.props,X,z),WI(x,N.children,z),Zn(),fg(x),eo()},H=(x,N,z,X,U,q,re,se,ie=!1)=>{const te=x&&x.children,Be=x?x.shapeFlag:0,de=N.children,{patchFlag:be,shapeFlag:Qe}=N;if(be>0){if(be&128){Z(te,de,z,X,U,q,re,se,ie);return}else if(be&256){Y(te,de,z,X,U,q,re,se,ie);return}}Qe&8?(Be&16&&ve(te,U,q),de!==te&&c(z,de)):Be&16?Qe&16?Z(te,de,z,X,U,q,re,se,ie):ve(te,U,q,!0):(Be&8&&c(z,""),Qe&16&&O(de,z,X,U,q,re,se,ie))},Y=(x,N,z,X,U,q,re,se,ie)=>{x=x||Qn,N=N||Qn;const te=x.length,Be=N.length,de=Math.min(te,Be);let be;for(be=0;be<de;be++){const Qe=N[be]=ie?Qo(N[be]):Tn(N[be]);p(x[be],Qe,z,null,U,q,re,se,ie)}te>Be?ve(x,U,q,!0,!1,de):O(N,z,X,U,q,re,se,ie,de)},Z=(x,N,z,X,U,q,re,se,ie)=>{let te=0;const Be=N.length;let de=x.length-1,be=Be-1;for(;te<=de&&te<=be;){const Qe=x[te],Me=N[te]=ie?Qo(N[te]):Tn(N[te]);if(or(Qe,Me))p(Qe,Me,z,null,U,q,re,se,ie);else break;te++}for(;te<=de&&te<=be;){const Qe=x[de],Me=N[be]=ie?Qo(N[be]):Tn(N[be]);if(or(Qe,Me))p(Qe,Me,z,null,U,q,re,se,ie);else break;de--,be--}if(te>de){if(te<=be){const Qe=be+1,Me=Qe<Be?N[Qe].el:X;for(;te<=be;)p(null,N[te]=ie?Qo(N[te]):Tn(N[te]),z,Me,U,q,re,se,ie),te++}}else if(te>be)for(;te<=de;)ue(x[te],U,q,!0),te++;else{const Qe=te,Me=te,ke=new Map;for(te=Me;te<=be;te++){const Pt=N[te]=ie?Qo(N[te]):Tn(N[te]);Pt.key!=null&&(process.env.NODE_ENV!=="production"&&ke.has(Pt.key)&&oe("Duplicate keys found during update:",JSON.stringify(Pt.key),"Make sure keys are unique."),ke.set(Pt.key,te))}let Fe,Ft=0;const Et=be-Me+1;let fn=!1,Lt=0;const Ei=new Array(Et);for(te=0;te<Et;te++)Ei[te]=0;for(te=Qe;te<=de;te++){const Pt=x[te];if(Ft>=Et){ue(Pt,U,q,!0);continue}let wn;if(Pt.key!=null)wn=ke.get(Pt.key);else for(Fe=Me;Fe<=be;Fe++)if(Ei[Fe-Me]===0&&or(Pt,N[Fe])){wn=Fe;break}wn===void 0?ue(Pt,U,q,!0):(Ei[wn-Me]=te+1,wn>=Lt?Lt=wn:fn=!0,p(Pt,N[wn],z,null,U,q,re,se,ie),Ft++)}const sc=fn?qI(Ei):Qn;for(Fe=sc.length-1,te=Et-1;te>=0;te--){const Pt=Me+te,wn=N[Pt],cc=Pt+1<Be?N[Pt+1].el:X;Ei[te]===0?p(null,wn,z,cc,U,q,re,se,ie):fn&&(Fe<0||te!==sc[Fe]?ee(wn,z,cc,2):Fe--)}}},ee=(x,N,z,X,U=null)=>{const{el:q,type:re,transition:se,children:ie,shapeFlag:te}=x;if(te&6){ee(x.component.subTree,N,z,X);return}if(te&128){x.suspense.move(N,z,X);return}if(te&64){re.move(x,N,z,G);return}if(re===xe){o(q,N,z);for(let de=0;de<ie.length;de++)ee(ie[de],N,z,X);o(x.anchor,N,z);return}if(re===El){I(x,N,z);return}if(X!==2&&te&1&&se)if(X===0)se.beforeEnter(q),o(q,N,z),$t(()=>se.enter(q),U);else{const{leave:de,delayLeave:be,afterLeave:Qe}=se,Me=()=>o(q,N,z),ke=()=>{de(q,()=>{Me(),Qe&&Qe()})};be?be(q,Me,ke):ke()}else o(q,N,z)},ue=(x,N,z,X=!1,U=!1)=>{const{type:q,props:re,ref:se,children:ie,dynamicChildren:te,shapeFlag:Be,patchFlag:de,dirs:be,cacheIndex:Qe}=x;if(de===-2&&(U=!1),se!=null&&jc(se,null,z,x,!0),Qe!=null&&(N.renderCache[Qe]=void 0),Be&256){N.ctx.deactivate(x);return}const Me=Be&1&&be,ke=!zr(x);let Fe;if(ke&&(Fe=re&&re.onVnodeBeforeUnmount)&&_n(Fe,N,x),Be&6)ce(x.component,z,X);else{if(Be&128){x.suspense.unmount(z,X);return}Me&&Jo(x,null,N,"beforeUnmount"),Be&64?x.type.remove(x,N,z,G,X):te&&!te.hasOnce&&(q!==xe||de>0&&de&64)?ve(te,N,z,!1,!0):(q===xe&&de&384||!U&&Be&16)&&ve(ie,N,z),X&&Ce(x)}(ke&&(Fe=re&&re.onVnodeUnmounted)||Me)&&$t(()=>{Fe&&_n(Fe,N,x),Me&&Jo(x,null,N,"unmounted")},z)},Ce=x=>{const{type:N,el:z,anchor:X,transition:U}=x;if(N===xe){process.env.NODE_ENV!=="production"&&x.patchFlag>0&&x.patchFlag&2048&&U&&!U.persisted?x.children.forEach(re=>{re.type===lt?r(re.el):Ce(re)}):ne(z,X);return}if(N===El){y(x);return}const q=()=>{r(z),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(x.shapeFlag&1&&U&&!U.persisted){const{leave:re,delayLeave:se}=U,ie=()=>re(z,q);se?se(x.el,q,ie):ie()}else q()},ne=(x,N)=>{let z;for(;x!==N;)z=f(x),r(x),x=z;r(N)},ce=(x,N,z)=>{process.env.NODE_ENV!=="production"&&x.type.__hmrId&&GB(x);const{bum:X,scope:U,job:q,subTree:re,um:se,m:ie,a:te}=x;ip(ie),ip(te),X&&Bi(X),U.stop(),q&&(q.flags|=8,ue(re,x,N,z)),se&&$t(se,N),$t(()=>{x.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve()),process.env.NODE_ENV!=="production"&&tI(x)},ve=(x,N,z,X=!1,U=!1,q=0)=>{for(let re=q;re<x.length;re++)ue(x[re],N,z,X,U)},Ee=x=>{if(x.shapeFlag&6)return Ee(x.component.subTree);if(x.shapeFlag&128)return x.suspense.next();const N=f(x.anchor||x.el),z=N&&N[yg];return z?f(z):N};let K=!1;const k=(x,N,z)=>{x==null?N._vnode&&ue(N._vnode,null,null,!0):p(N._vnode||null,x,N,null,null,null,z),N._vnode=x,K||(K=!0,fg(),dg(),K=!1)},G={p,um:ue,m:ee,r:Ce,mt:Q,mc:O,pc:H,pbc:R,n:Ee,o:e};let fe,ge;return{render:k,hydrate:fe,createApp:MI(k,fe)}}function qc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function nr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function JI(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Fi(e,t,n=!1){const o=e.children,r=t.children;if(ye(o)&&ye(r))for(let i=0;i<o.length;i++){const a=o[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Qo(r[i]),l.el=a.el),!n&&l.patchFlag!==-2&&Fi(a,l)),l.type===wo&&(l.el=a.el),process.env.NODE_ENV!=="production"&&l.type===lt&&!l.el&&(l.el=a.el)}}function qI(e){const t=e.slice(),n=[0];let o,r,i,a,l;const s=e.length;for(o=0;o<s;o++){const u=e[o];if(u!==0){if(r=n[n.length-1],e[r]<u){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<u?i=l+1:a=l;u<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function rp(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rp(t)}function ip(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ZI=Symbol.for("v-scx"),ew=()=>{{const e=Ve(ZI);return e||process.env.NODE_ENV!=="production"&&oe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Ye(e,t){return ml(e,null,t)}function tw(e,t){return ml(e,null,process.env.NODE_ENV!=="production"?Le({},t,{flush:"sync"}):{flush:"sync"})}function me(e,t,n){return process.env.NODE_ENV!=="production"&&!Ie(t)&&oe("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ml(e,t,n)}function ml(e,t,n=Se){const{immediate:o,deep:r,flush:i,once:a}=n;process.env.NODE_ENV!=="production"&&!t&&(o!==void 0&&oe('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&oe('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&oe('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=Le({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=oe);const s=t&&o||!t&&i!=="post";let u;if(Vr){if(i==="sync"){const d=ew();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!s){const d=()=>{};return d.stop=pt,d.resume=pt,d.pause=pt,d}}const c=ut;l.call=(d,g,p)=>On(d,c,g,p);let A=!1;i==="post"?l.scheduler=d=>{$t(d,c&&c.suspense)}:i!=="sync"&&(A=!0,l.scheduler=(d,g)=>{g?d():al(d)}),l.augmentJob=d=>{t&&(d.flags|=4),A&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const f=LB(e,t,l);return Vr&&(u?u.push(f):s&&f()),f}function nw(e,t,n){const o=this.proxy,r=qe(e)?e.includes(".")?ap(o,e):()=>o[e]:e.bind(o,o);let i;Ie(t)?i=t:(i=t.handler,n=t);const a=zi(this),l=ml(r,i.bind(o),n);return a(),l}function ap(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function ow(e,t,n=Se){const o=Zt();if(process.env.NODE_ENV!=="production"&&!o)return oe("useModel() called without active instance."),Ae();const r=yt(t);if(process.env.NODE_ENV!=="production"&&!o.propsOptions[0][r])return oe(`useModel() called with prop "${t}" which is not declared.`),Ae();const i=jt(t),a=lp(e,r),l=TB((s,u)=>{let c,A=Se,f;return tw(()=>{const d=e[r];zt(c,d)&&(c=d,u())}),{get(){return s(),n.get?n.get(c):c},set(d){const g=n.set?n.set(d):d;if(!zt(g,c)&&!(A!==Se&&zt(d,A)))return;const p=o.vnode.props;p&&(t in p||r in p||i in p)&&(`onUpdate:${t}`in p||`onUpdate:${r}`in p||`onUpdate:${i}`in p)||(c=d,u()),o.emit(`update:${t}`,g),zt(d,g)&&zt(d,A)&&!zt(g,f)&&u(),A=d,f=g}}});return l[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?a||Se:l,done:!1}:{done:!0}}}},l}const lp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${yt(t)}Modifiers`]||e[`${jt(t)}Modifiers`];function rw(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Se;if(process.env.NODE_ENV!=="production"){const{emitsOptions:c,propsOptions:[A]}=e;if(c)if(!(t in c))(!A||!(Yo(yt(t))in A))&&oe(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Yo(yt(t))}" prop.`);else{const f=c[t];Ie(f)&&(f(...n)||oe(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),a=i&&lp(o,t.slice(7));if(a&&(a.trim&&(r=n.map(c=>qe(c)?c.trim():c)),a.number&&(r=n.map(Wb))),process.env.NODE_ENV!=="production"&&rI(e,t,r),process.env.NODE_ENV!=="production"){const c=t.toLowerCase();c!==t&&o[Yo(c)]&&oe(`Event "${c}" is emitted in component ${Il(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${jt(t)}" instead of "${t}".`)}let l,s=o[l=Yo(t)]||o[l=Yo(yt(t))];!s&&i&&(s=o[l=Yo(jt(t))]),s&&On(s,e,6,r);const u=o[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,On(u,e,6,r)}}function sp(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},l=!1;if(!Ie(e)){const s=u=>{const c=sp(u,t,!0);c&&(l=!0,Le(a,c))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(Re(e)&&o.set(e,null),null):(ye(i)?i.forEach(s=>a[s]=null):Le(a,i),Re(e)&&o.set(e,a),a)}function vl(e,t){return!e||!yi(t)?!1:(t=t.slice(2).replace(/Once$/,""),He(e,t[0].toLowerCase()+t.slice(1))||He(e,jt(t))||He(e,t))}let Zc=!1;function Cl(){Zc=!0}function eu(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:a,attrs:l,emit:s,render:u,renderCache:c,props:A,data:f,setupState:d,ctx:g,inheritAttrs:p}=e,v=cl(e);let E,b;process.env.NODE_ENV!=="production"&&(Zc=!1);try{if(n.shapeFlag&4){const y=r||o,w=process.env.NODE_ENV!=="production"&&d.__isScriptSetup?new Proxy(y,{get(C,S,O){return oe(`Property '${String(S)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(C,S,O)}}):y;E=Tn(u.call(w,y,c,process.env.NODE_ENV!=="production"?kn(A):A,d,f,g)),b=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===A&&Cl(),E=Tn(y.length>1?y(process.env.NODE_ENV!=="production"?kn(A):A,process.env.NODE_ENV!=="production"?{get attrs(){return Cl(),kn(l)},slots:a,emit:s}:{attrs:l,slots:a,emit:s}):y(process.env.NODE_ENV!=="production"?kn(A):A,null)),b=t.props?l:iw(l)}}catch(y){Li.length=0,Rr(y,e,1),E=B(lt)}let m=E,I;if(process.env.NODE_ENV!=="production"&&E.patchFlag>0&&E.patchFlag&2048&&([m,I]=cp(E)),b&&p!==!1){const y=Object.keys(b),{shapeFlag:w}=m;if(y.length){if(w&7)i&&y.some(ka)&&(b=aw(b,i)),m=Mt(m,b,!1,!0);else if(process.env.NODE_ENV!=="production"&&!Zc&&m.type!==lt){const C=Object.keys(l),S=[],O=[];for(let T=0,R=C.length;T<R;T++){const F=C[T];yi(F)?ka(F)||S.push(F[2].toLowerCase()+F.slice(3)):O.push(F)}O.length&&oe(`Extraneous non-props attributes (${O.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),S.length&&oe(`Extraneous non-emits event listeners (${S.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!up(m)&&oe("Runtime directive used on component with non-element root node. The directives will not function as intended."),m=Mt(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!up(m)&&oe("Component inside <Transition> renders non-element root node that cannot be animated."),Zo(m,n.transition)),process.env.NODE_ENV!=="production"&&I?I(m):E=m,cl(v),E}const cp=e=>{const t=e.children,n=e.dynamicChildren,o=tu(t,!1);if(o){if(process.env.NODE_ENV!=="production"&&o.patchFlag>0&&o.patchFlag&2048)return cp(o)}else return[e,void 0];const r=t.indexOf(o),i=n?n.indexOf(o):-1,a=l=>{t[r]=l,n&&(i>-1?n[i]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[Tn(o),a]};function tu(e,t=!0){let n;for(let o=0;o<e.length;o++){const r=e[o];if(qt(r)){if(r.type!==lt||r.children==="v-if"){if(n)return;if(n=r,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return tu(n.children)}}else return}return n}const iw=e=>{let t;for(const n in e)(n==="class"||n==="style"||yi(n))&&((t||(t={}))[n]=e[n]);return t},aw=(e,t)=>{const n={};for(const o in e)(!ka(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},up=e=>e.shapeFlag&7||e.type===lt;function lw(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:l,patchFlag:s}=t,u=i.emitsOptions;if(process.env.NODE_ENV!=="production"&&(r||l)&&Pn||t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return o?Ap(o,a,u):!!a;if(s&8){const c=t.dynamicProps;for(let A=0;A<c.length;A++){const f=c[A];if(a[f]!==o[f]&&!vl(u,f))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:o===a?!1:o?a?Ap(o,a,u):!0:!!a;return!1}function Ap(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!vl(n,i))return!0}return!1}function sw({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const fp=e=>e.__isSuspense;function cw(e,t){t&&t.pendingBranch?ye(e)?t.effects.push(...e):t.effects.push(e):Ag(e)}const xe=Symbol.for("v-fgt"),wo=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),El=Symbol.for("v-stc"),Li=[];let Kt=null;function Ue(e=!1){Li.push(Kt=e?null:[])}function uw(){Li.pop(),Kt=Li[Li.length-1]||null}let ji=1;function dp(e){ji+=e,e<0&&Kt&&(Kt.hasOnce=!0)}function gp(e){return e.dynamicChildren=ji>0?Kt||Qn:null,uw(),ji>0&&Kt&&Kt.push(e),e}function kt(e,t,n,o,r,i){return gp(mt(e,t,n,o,r,i,!0))}function Jt(e,t,n,o,r){return gp(B(e,t,n,o,r,!0))}function qt(e){return e?e.__v_isVNode===!0:!1}function or(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=ll.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const Aw=(...e)=>hp(...e),pp=({key:e})=>e??null,yl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?qe(e)||rt(e)||Ie(e)?{i:ct,r:e,k:t,f:!!n}:e:null);function mt(e,t=null,n=null,o=0,r=null,i=e===xe?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pp(t),ref:t&&yl(t),scopeId:Cg,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ct};return l?(nu(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=qe(n)?8:16),process.env.NODE_ENV!=="production"&&s.key!==s.key&&oe("VNode created with invalid key (NaN). VNode type:",s.type),ji>0&&!a&&Kt&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&Kt.push(s),s}const B=process.env.NODE_ENV!=="production"?Aw:hp;function hp(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===EI)&&(process.env.NODE_ENV!=="production"&&!e&&oe(`Invalid vnode type when creating vnode: ${e}.`),e=lt),qt(e)){const l=Mt(e,t,!0);return n&&nu(l,n),ji>0&&!i&&Kt&&(l.shapeFlag&6?Kt[Kt.indexOf(e)]=l:Kt.push(l)),l.patchFlag=-2,l}if(Ip(e)&&(e=e.__vccOpts),t){t=fw(t);let{class:l,style:s}=t;l&&!qe(l)&&(t.class=Wa(l)),Re(s)&&(Pi(s)&&!ye(s)&&(s=Le({},s)),t.style=hc(s))}const a=qe(e)?1:fp(e)?128:bg(e)?64:Re(e)?4:Ie(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&Pi(e)&&(e=we(e),oe("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
20
|
+
Component that was made reactive: `,e)),mt(e,t,n,o,r,a,i,!0)}function fw(e){return e?Pi(e)||Gg(e)?Le({},e):e:null}function Mt(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:a,children:l,transition:s}=e,u=t?dw(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&pp(u),ref:t&&t.ref?n&&i?ye(i)?i.concat(yl(t)):[i,yl(t)]:yl(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&a===-1&&ye(l)?l.map(mp):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mt(e.ssContent),ssFallback:e.ssFallback&&Mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&o&&Zo(c,s.clone(c)),c}function mp(e){const t=Mt(e);return ye(e.children)&&(t.children=e.children.map(mp)),t}function Ct(e=" ",t=0){return B(wo,null,e,t)}function rr(e="",t=!1){return t?(Ue(),Jt(lt,null,e)):B(lt,null,e)}function Tn(e){return e==null||typeof e=="boolean"?B(lt):ye(e)?B(xe,null,e.slice()):qt(e)?Qo(e):B(wo,null,String(e))}function Qo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mt(e)}function nu(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ye(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),nu(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Gg(t)?t._ctx=ct:r===3&&ct&&(ct.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ie(t)?(t={default:t,_ctx:ct},n=32):(t=String(t),o&64?(n=16,t=[Ct(t)]):n=8);e.children=t,e.shapeFlag|=n}function dw(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=Wa([t.class,o.class]));else if(r==="style")t.style=hc([t.style,o.style]);else if(yi(r)){const i=t[r],a=o[r];a&&i!==a&&!(ye(i)&&i.includes(a))&&(t[r]=i?[].concat(i,a):a)}else r!==""&&(t[r]=o[r])}return t}function _n(e,t,n,o=null){On(e,t,7,[n,o])}const gw=Yg();let pw=0;function hw(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||gw,i={uid:pw++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new iB(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Kg(o,r),emitsOptions:sp(o,r),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:o.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return process.env.NODE_ENV!=="production"?i.ctx=II(i):i.ctx={_:i},i.root=t?t.root:i,i.emit=rw.bind(null,i),e.ce&&e.ce(i),i}let ut=null;const Zt=()=>ut||ct;let bl,ou;{const e=Ii(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};bl=t("__VUE_INSTANCE_SETTERS__",n=>ut=n),ou=t("__VUE_SSR_SETTERS__",n=>Vr=n)}const zi=e=>{const t=ut;return bl(e),e.scope.on(),()=>{e.scope.off(),bl(t)}},vp=()=>{ut&&ut.scope.off(),bl(null)},mw=gt("slot,component");function ru(e,{isNativeTag:t}){(mw(e)||t(e))&&oe("Do not use built-in or reserved HTML elements as component id: "+e)}function Cp(e){return e.vnode.shapeFlag&4}let Vr=!1;function vw(e,t=!1,n=!1){t&&ou(t);const{props:o,children:r}=e.vnode,i=Cp(e);HI(e,o,i,t),UI(e,r,n);const a=i?Cw(e,t):void 0;return t&&ou(!1),a}function Cw(e,t){var n;const o=e.type;if(process.env.NODE_ENV!=="production"){if(o.name&&ru(o.name,e.appContext.config),o.components){const i=Object.keys(o.components);for(let a=0;a<i.length;a++)ru(i[a],e.appContext.config)}if(o.directives){const i=Object.keys(o.directives);for(let a=0;a<i.length;a++)Eg(i[a])}o.compilerOptions&&Ew()&&oe('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jg),process.env.NODE_ENV!=="production"&&wI(e);const{setup:r}=o;if(r){Zn();const i=e.setupContext=r.length>1?bw(e):null,a=zi(e),l=Hr(r,e,0,[process.env.NODE_ENV!=="production"?kn(e.props):e.props,i]),s=fc(l);if(eo(),a(),(s||e.sp)&&!zr(e)&&Lc(e),s){if(l.then(vp,vp),t)return l.then(u=>{Ep(e,u,t)}).catch(u=>{Rr(u,e,0)});if(e.asyncDep=l,process.env.NODE_ENV!=="production"&&!e.suspense){const u=(n=o.name)!=null?n:"Anonymous";oe(`Component <${u}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ep(e,l,t)}else yp(e,t)}function Ep(e,t,n){Ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)?(process.env.NODE_ENV!=="production"&&qt(t)&&oe("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=ig(t),process.env.NODE_ENV!=="production"&&QI(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&oe(`setup() should return an object. Received: ${t===null?"null":typeof t}`),yp(e,n)}let iu;const Ew=()=>!iu;function yp(e,t,n){const o=e.type;if(!e.render){if(!t&&iu&&!o.render){const r=o.template||Wc(e).template;if(r){process.env.NODE_ENV!=="production"&&io(e,"compile");const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=o,u=Le(Le({isCustomElement:i,delimiters:l},a),s);o.render=iu(r,u),process.env.NODE_ENV!=="production"&&ao(e,"compile")}}e.render=o.render||pt}{const r=zi(e);Zn();try{xI(e)}finally{eo(),r()}}process.env.NODE_ENV!=="production"&&!o.render&&e.render===pt&&!t&&(o.template?oe('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):oe("Component is missing template or render function: ",o))}const bp=process.env.NODE_ENV!=="production"?{get(e,t){return Cl(),ht(e,"get",""),e[t]},set(){return oe("setupContext.attrs is readonly."),!1},deleteProperty(){return oe("setupContext.attrs is readonly."),!1}}:{get(e,t){return ht(e,"get",""),e[t]}};function yw(e){return new Proxy(e.slots,{get(t,n){return ht(e,"get","$slots"),t[n]}})}function bw(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&oe("expose() should be called only once per setup()."),n!=null)){let o=typeof n;o==="object"&&(ye(n)?o="array":rt(n)&&(o="ref")),o!=="object"&&oe(`expose() should be passed a plain object, received ${o}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,o;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,bp))},get slots(){return o||(o=yw(e))},get emit(){return(r,...i)=>e.emit(r,...i)},expose:t})}else return{attrs:new Proxy(e.attrs,bp),slots:e.slots,emit:e.emit,expose:t}}function Bl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ig(SB(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in tr)return tr[n](e)},has(t,n){return n in t||n in tr}})):e.proxy}const Bw=/(?:^|[-_])(\w)/g,Iw=e=>e.replace(Bw,t=>t.toUpperCase()).replace(/[-_]/g,"");function Bp(e,t=!0){return Ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Il(e,t,n=!1){let o=Bp(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=i=>{for(const a in i)if(i[a]===t)return a};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?Iw(o):n?"App":"Anonymous"}function Ip(e){return Ie(e)&&"__vccOpts"in e}const P=(e,t)=>{const n=RB(e,t,Vr);if(process.env.NODE_ENV!=="production"){const o=Zt();o&&o.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function ir(e,t,n){const o=arguments.length;return o===2?Re(t)&&!ye(t)?qt(t)?B(e,null,[t]):B(e,t):B(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&qt(n)&&(n=[n]),B(e,t,n))}function ww(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(A){return Re(A)?A.__isVue?["div",e,"VueInstance"]:rt(A)?["div",{},["span",e,c(A)],"<",l("_value"in A?A._value:A),">"]:Wo(A)?["div",{},["span",e,Dt(A)?"ShallowReactive":"Reactive"],"<",l(A),`>${no(A)?" (readonly)":""}`]:no(A)?["div",{},["span",e,Dt(A)?"ShallowReadonly":"Readonly"],"<",l(A),">"]:null:null},hasBody(A){return A&&A.__isVue},body(A){if(A&&A.__isVue)return["div",{},...i(A.$)]}};function i(A){const f=[];A.type.props&&A.props&&f.push(a("props",we(A.props))),A.setupState!==Se&&f.push(a("setup",A.setupState)),A.data!==Se&&f.push(a("data",we(A.data)));const d=s(A,"computed");d&&f.push(a("computed",d));const g=s(A,"inject");return g&&f.push(a("injected",g)),f.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:A}]]),f}function a(A,f){return f=Le({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},A],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(d=>["div",{},["span",o,d+": "],l(f[d],!1)])]]:["span",{}]}function l(A,f=!0){return typeof A=="number"?["span",t,A]:typeof A=="string"?["span",n,JSON.stringify(A)]:typeof A=="boolean"?["span",o,A]:Re(A)?["object",{object:f?we(A):A}]:["span",n,String(A)]}function s(A,f){const d=A.type;if(Ie(d))return;const g={};for(const p in A.ctx)u(d,p,f)&&(g[p]=A.ctx[p]);return g}function u(A,f,d){const g=A[d];if(ye(g)&&g.includes(f)||Re(g)&&f in g||A.extends&&u(A.extends,f,d)||A.mixins&&A.mixins.some(p=>u(p,f,d)))return!0}function c(A){return Dt(A)?"ShallowRef":A.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const wp="3.5.12",en=process.env.NODE_ENV!=="production"?oe:pt;process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
21
21
|
* @vue/runtime-dom v3.5.12
|
|
22
22
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
23
23
|
* @license MIT
|
|
@@ -26,7 +26,7 @@ Expected function or array of functions, received type ${typeof e}.`),pt)}functi
|
|
|
26
26
|
* vue v3.5.12
|
|
27
27
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
28
28
|
* @license MIT
|
|
29
|
-
**/function aQ(){ww()}process.env.NODE_ENV!=="production"&&aQ();const lQ=zc(()=>Promise.resolve().then(()=>n5)),sQ=e=>{customElements.define(e,Ww(lQ,{shadowRoot:!1,styles:[]}))};class cQ{constructor(){Dd(this,"tagName");Dd(this,"hasInit");this.tagName="yqg-permission",this.hasInit=!1}start(t){if(!window||!window.customElements){console.error("yqg-permission is not supported in this environment");return}if(this.hasInit){console.warn("yqg-permission has already been initialized");return}if(this.hasInit=!0,t!=null&&t.tagName)if(/^yqg-permission(-\S+)?/.test(t.tagName))this.tagName=t.tagName;else{console.error(`${t.tagName} is invalid tagName`);return}window.customElements.get(this.tagName)||sQ(this.tagName)}}const uQ=new cQ;function Vi(e){"@babel/helpers - typeof";return Vi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vi(e)}function AQ(e,t){if(Vi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(Vi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fQ(e){var t=AQ(e,"string");return Vi(t)=="symbol"?t:t+""}function dQ(e,t,n){return(t=fQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nh(Object(n),!0).forEach(function(o){dQ(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nh(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},h.apply(null,arguments)}const gQ=e=>typeof e=="function",pQ=Array.isArray,hQ=e=>typeof e=="string",mQ=e=>e!==null&&typeof e=="object",vQ=/^on[^a-z]/,CQ=e=>vQ.test(e),du=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},EQ=/-(\w)/g,oh=du(e=>e.replace(EQ,(t,n)=>n?n.toUpperCase():"")),yQ=/\B([A-Z])/g,bQ=du(e=>e.replace(yQ,"-$1").toLowerCase()),BQ=du(e=>e.charAt(0).toUpperCase()+e.slice(1)),IQ=Object.prototype.hasOwnProperty,rh=(e,t)=>IQ.call(e,t);function wQ(e,t,n,o){const r=e[n];if(r!=null){const i=rh(r,"default");if(i&&o===void 0){const a=r.default;o=r.type!==Function&&gQ(a)?a():a}r.type===Boolean&&(!rh(t,n)&&!i?o=!1:o===""&&(o=!0))}return o}function Ur(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function QQ(e){let t;const n=new Promise(r=>{t=e(()=>{r(!0)})}),o=()=>{t==null||t()};return o.then=(r,i)=>n.then(r,i),o.promise=n,o}function he(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(hQ(n))e.push(n);else if(pQ(n))for(let o=0;o<n.length;o++){const r=he(n[o]);r&&e.push(r)}else if(mQ(n))for(const o in n)n[o]&&e.push(o)}}return e.join(" ")}var ih=function(){if(typeof Map<"u")return Map;function e(t,n){var o=-1;return t.some(function(r,i){return r[0]===n?(o=i,!0):!1}),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var o=e(this.__entries__,n),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(n,o){var r=e(this.__entries__,n);~r?this.__entries__[r][1]=o:this.__entries__.push([n,o])},t.prototype.delete=function(n){var o=this.__entries__,r=e(o,n);~r&&o.splice(r,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,o){o===void 0&&(o=null);for(var r=0,i=this.__entries__;r<i.length;r++){var a=i[r];n.call(o,a[1],a[0])}},t}()}(),gu=typeof window<"u"&&typeof document<"u"&&window.document===document,xl=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")()}(),SQ=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(xl):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),xQ=2;function OQ(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){SQ(i)}function l(){var s=Date.now();if(n){if(s-r<xQ)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=s}return l}var PQ=20,DQ=["top","right","bottom","left","width","height","size","weight"],TQ=typeof MutationObserver<"u",NQ=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=OQ(this.refresh.bind(this),PQ)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,o=n.indexOf(t);~o&&n.splice(o,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!gu||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),TQ?(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)},e.prototype.disconnect_=function(){!gu||!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)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=n===void 0?"":n,r=DQ.some(function(i){return!!~o.indexOf(i)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ah=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},Wr=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||xl},lh=Pl(0,0,0,0);function Ol(e){return parseFloat(e)||0}function sh(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(o,r){var i=e["border-"+r+"-width"];return o+Ol(i)},0)}function MQ(e){for(var t=["top","right","bottom","left"],n={},o=0,r=t;o<r.length;o++){var i=r[o],a=e["padding-"+i];n[i]=Ol(a)}return n}function HQ(e){var t=e.getBBox();return Pl(0,0,t.width,t.height)}function RQ(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return lh;var o=Wr(e).getComputedStyle(e),r=MQ(o),i=r.left+r.right,a=r.top+r.bottom,l=Ol(o.width),s=Ol(o.height);if(o.boxSizing==="border-box"&&(Math.round(l+i)!==t&&(l-=sh(o,"left","right")+i),Math.round(s+a)!==n&&(s-=sh(o,"top","bottom")+a)),!LQ(e)){var u=Math.round(l+i)-t,c=Math.round(s+a)-n;Math.abs(u)!==1&&(l-=u),Math.abs(c)!==1&&(s-=c)}return Pl(r.left,r.top,l,s)}var FQ=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Wr(e).SVGGraphicsElement}:function(e){return e instanceof Wr(e).SVGElement&&typeof e.getBBox=="function"}}();function LQ(e){return e===Wr(e).document.documentElement}function jQ(e){return gu?FQ(e)?HQ(e):RQ(e):lh}function zQ(e){var t=e.x,n=e.y,o=e.width,r=e.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return ah(a,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),a}function Pl(e,t,n,o){return{x:e,y:t,width:n,height:o}}var $Q=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Pl(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=jQ(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),kQ=function(){function e(t,n){var o=zQ(n);ah(this,{target:t,contentRect:o})}return e}(),VQ=function(){function e(t,n,o){if(this.activeObservations_=[],this.observations_=new ih,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=o}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Wr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new $Q(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Wr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(o){return new kQ(o.target,o.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),ch=typeof WeakMap<"u"?new WeakMap:new ih,uh=function(){function e(t){if(!(this instanceof e))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=NQ.getInstance(),o=new VQ(t,n,this);ch.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){uh.prototype[e]=function(){var t;return(t=ch.get(this))[e].apply(t,arguments)}});var Ah=function(){return typeof xl.ResizeObserver<"u"?xl.ResizeObserver:uh}();const _Q=e=>e!=null&&e!=="",gn=(e,t)=>{const n=h({},e);return Object.keys(t).forEach(o=>{const r=n[o];if(r)r.type||r.default?r.default=t[o]:r.def?r.def(t[o]):n[o]={type:r,default:t[o]};else throw new Error(`not have ${o} prop`)}),n},YQ=e=>{const t=Object.keys(e),n={},o={},r={};for(let i=0,a=t.length;i<a;i++){const l=t[i];CQ(l)?(n[l[2].toLowerCase()+l.slice(3)]=e[l],o[l]=e[l]):r[l]=e[l]}return{onEvents:o,events:n,extraAttrs:r}},UQ=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},o=/;(?![^(]*\))/g,r=/:(.+)/;return typeof e=="object"?e:(e.split(o).forEach(function(i){if(i){const a=i.split(r);if(a.length>1){const l=t?oh(a[0].trim()):a[0].trim();n[l]=a[1].trim()}}}),n)},WQ=(e,t)=>e[t]!==void 0,GQ=Symbol("skipFlatten"),Vt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],o=[];return n.forEach(r=>{Array.isArray(r)?o.push(...Vt(r,t)):r&&r.type===xe?r.key===GQ?o.push(r):o.push(...Vt(r.children,t)):r&&qt(r)?t&&!dh(r)?o.push(r):t||o.push(r):_Q(r)&&o.push(r)}),o},XQ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(qt(e))return e.type===xe?t==="default"?Vt(e.children):[]:e.children&&e.children[t]?Vt(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return Vt(o)}},pn=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},KQ=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],i=bQ(o);(r!==void 0||i in n)&&(t[o]=r)})}else if(qt(e)&&typeof e.type=="object"){const n=e.props||{},o={};Object.keys(n).forEach(i=>{o[oh(i)]=n[i]});const r=e.type.props||{};Object.keys(r).forEach(i=>{const a=wQ(r,o,i,o[i]);(a!==void 0||i in o)&&(t[i]=a)})}return t},JQ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,r;if(e.$){const i=e[t];if(i!==void 0)return typeof i=="function"&&o?i(n):i;r=e.$slots[t],r=o&&r?r(n):r}else if(qt(e)){const i=e.props&&e.props[t];if(i!==void 0&&e.props!==null)return typeof i=="function"&&o?i(n):i;e.type===xe?r=e.children:e.children&&e.children[t]&&(r=e.children[t],r=o&&r?r(n):r)}return Array.isArray(r)&&(r=Vt(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function fh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=h(h({},n),e.$attrs):n=h(h({},n),e.props),YQ(n)[t?"onEvents":"events"]}function qQ(e,t){let o=((qt(e)?e.props:e.$attrs)||{}).style||{};return typeof o=="string"&&(o=UQ(o,t)),o}function ZQ(e){return e.length===1&&e[0].type===xe}function dh(e){return e&&(e.type===lt||e.type===xe&&e.children.length===0||e.type===wo&&e.children.trim()==="")}function Nn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===xe?t.push(...Nn(n.children)):t.push(n)}),t.filter(n=>!dh(n))}function Po(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function eS(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var o,r;return(o=t[n])!==null&&o!==void 0?o:(r=e[n])===null||r===void 0?void 0:r.call(e)}const _i=ae({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const o=at({width:0,height:0,offsetHeight:0,offsetWidth:0});let r=null,i=null;const a=()=>{i&&(i.disconnect(),i=null)},l=c=>{const{onResize:A}=e,f=c[0].target,{width:d,height:g}=f.getBoundingClientRect(),{offsetWidth:p,offsetHeight:v}=f,E=Math.floor(d),b=Math.floor(g);if(o.width!==E||o.height!==b||o.offsetWidth!==p||o.offsetHeight!==v){const m={width:E,height:b,offsetWidth:p,offsetHeight:v};h(o,m),A&&Promise.resolve().then(()=>{A(h(h({},m),{offsetWidth:p,offsetHeight:v}),f)})}},s=Zt(),u=()=>{const{disabled:c}=e;if(c){a();return}const A=pn(s);A!==r&&(a(),r=A),!i&&A&&(i=new Ah(l),i.observe(A))};return ze(()=>{u()}),Bo(()=>{u()}),er(()=>{a()}),me(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});let gh=e=>setTimeout(e,16),ph=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(gh=e=>window.requestAnimationFrame(e),ph=e=>window.cancelAnimationFrame(e));let hh=0;const pu=new Map;function mh(e){pu.delete(e)}function $e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;hh+=1;const n=hh;function o(r){if(r===0)mh(n),e();else{const i=gh(()=>{o(r-1)});pu.set(n,i)}}return o(t),n}$e.cancel=e=>{const t=pu.get(e);return mh(t),ph(t)};const Do=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},tS=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},Yi=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Ui(){return{type:[Function,Array]}}function _e(e){return{type:Object,default:e}}function At(e){return{type:Boolean,default:e}}function hn(e){return{type:Function,default:e}}function tn(e,t){const n={validator:()=>!0,default:e};return n}function Wi(e){return{type:Array,default:e}}function Mn(e){return{type:String,default:e}}function To(e,t){return e?{type:e,default:t}:tn(t)}let Ht=!1;try{const e=Object.defineProperty({},"passive",{get(){Ht=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Gr(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&Ht&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const hu="anticon",vh=Symbol("GlobalFormContextKey"),nS=e=>{tt(vh,e)},oS=()=>Ve(vh,{validateMessages:P(()=>{})}),rS=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:_e(),input:_e(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:_e(),pageHeader:_e(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:_e(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:_e(),pagination:_e(),theme:_e(),select:_e(),wave:_e()}),mu=Symbol("configProvider"),Ch={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:P(()=>hu),getPopupContainer:P(()=>()=>document.body),direction:P(()=>"ltr")},vu=()=>Ve(mu,Ch),iS=e=>tt(mu,e),Eh=Symbol("DisabledContextKey"),lr=()=>Ve(Eh,Ae(void 0)),yh=e=>{const t=lr();return tt(Eh,P(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},aS={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"},lS={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"},bh={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Bh={lang:h({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"]},lS),timePickerLocale:h({},bh)},nn="${label} is not a valid ${type}",No={locale:"en",Pagination:aS,DatePicker:Bh,TimePicker:bh,Calendar:Bh,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:nn,method:nn,array:nn,object:nn,number:nn,date:nn,boolean:nn,integer:nn,float:nn,regexp:nn,email:nn,url:nn,hex:nn},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"}},Cu=ae({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const o=Ve("localeData",{}),r=P(()=>{const{componentName:a="global",defaultLocale:l}=e,s=l||No[a||"global"],{antLocale:u}=o,c=a&&u?u[a]:{};return h(h({},typeof s=="function"?s():s),c||{})}),i=P(()=>{const{antLocale:a}=o,l=a&&a.locale;return a&&a.exist&&!l?No.locale:l});return()=>{const a=e.children||n.default,{antLocale:l}=o;return a==null?void 0:a(r.value,i.value,l)}}});function Dl(e,t,n){const o=Ve("localeData",{});return[P(()=>{const{antLocale:i}=o,a=pe(t)||No[e||"global"],l=e&&i?i[e]:{};return h(h(h({},typeof a=="function"?a():a),l||{}),pe(n)||{})})]}function Eu(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&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(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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)}const Ih="%";class sS{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Ih):t)||null}update(t,n){const o=Array.isArray(t)?t.join(Ih):t,r=this.cache.get(o),i=n(r);i===null?this.cache.delete(o):this.cache.set(o,i)}}const wh="data-token-hash",sr="data-css-hash",cS="data-cache-path",Xr="__cssinjs_instance__";function Gi(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${sr}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[Xr]=r[Xr]||e,r[Xr]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${sr}]`)).forEach(r=>{var i;const a=r.getAttribute(sr);o[a]?r[Xr]===e&&((i=r.parentNode)===null||i===void 0||i.removeChild(r)):o[a]=!0})}return new sS(e)}const Qh=Symbol("StyleContextKey"),uS=()=>{var e,t,n;const o=Zt();let r;if(o&&o.appContext){const i=(n=(t=(e=o.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;i?r=i:(r=Gi(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=Gi();return r},Sh={cache:Gi(),defaultCache:!0,hashPriority:"low"},Tl=()=>{const e=uS();return Ve(Qh,J(h(h({},Sh),{cache:e})))},AS=e=>{const t=Tl(),n=J(h(h({},Sh),{cache:Gi()}));return me([()=>pe(e),t],()=>{const o=h({},t.value),r=pe(e);Object.keys(r).forEach(a=>{const l=r[a];r[a]!==void 0&&(o[a]=l)});const{cache:i}=r;o.cache=o.cache||Gi(),o.defaultCache=!i&&t.value.defaultCache,n.value=o},{immediate:!0}),tt(Qh,n),n};Yi(ae({name:"AStyleProvider",inheritAttrs:!1,props:{autoClear:At(),mock:Mn(),cache:_e(),defaultCache:At(),hashPriority:Mn(),container:To(),ssrInline:At(),transformers:Wi(),linters:Wi()},setup(e,t){let{slots:n}=t;return AS(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function fS(){return!1}let yu=!1;function dS(){return yu}const gS=process.env.NODE_ENV==="production"?fS:dS;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=function(){return yu=!0,setTimeout(()=>{yu=!1},0),t(...arguments)}}}function xh(e,t,n,o){const r=Tl(),i=J(""),a=J();Ye(()=>{i.value=[e,...t.value].join("%")});const l=gS(),s=u=>{r.value.cache.update(u,c=>{const[A=0,f]=c||[];return A-1===0?(o==null||o(f,!1),null):[A-1,f]})};return me(i,(u,c)=>{c&&s(c),r.value.cache.update(u,A=>{const[f=0,d]=A||[];let g=d;process.env.NODE_ENV!=="production"&&d&&l&&(o==null||o(g,l),g=null);const p=g||n();return[f+1,p]}),a.value=r.value.cache.get(i.value)[1]},{immediate:!0}),et(()=>{s(i.value)}),a}function on(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Mo(e,t){return e&&e.contains?e.contains(t):!1}const Oh="data-vc-order",pS="vc-util-key",bu=new Map;function Ph(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:pS}function Nl(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function hS(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Dh(e){return Array.from((bu.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Th(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!on())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(Oh,hS(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const i=Nl(t),{firstChild:a}=i;if(o){if(o==="queue"){const l=Dh(i).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(Oh)));if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function Nh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Nl(t);return Dh(n).find(o=>o.getAttribute(Ph(t))===e)}function Ml(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Nh(e,t);n&&Nl(t).removeChild(n)}function mS(e,t){const n=bu.get(e);if(!n||!Mo(document,n)){const o=Th("",t),{parentNode:r}=o;bu.set(e,r),e.removeChild(o)}}function Xi(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var o,r,i;const a=Nl(n);mS(a,n);const l=Nh(t,n);if(l)return!((o=n.csp)===null||o===void 0)&&o.nonce&&l.nonce!==((r=n.csp)===null||r===void 0?void 0:r.nonce)&&(l.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;const s=Th(e,n);return s.setAttribute(Ph(n),t),s}function vS(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 Kr{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return t.forEach(r=>{var i;o?o=(i=o==null?void 0:o.map)===null||i===void 0?void 0:i.get(r):o=void 0}),o!=null&&o.value&&n&&(o.value[1]=this.cacheCallTimes++),o==null?void 0:o.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Kr.MAX_CACHE_SIZE+Kr.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((i,a)=>{const[,l]=i;return this.internalGet(a)[1]<l?[a,this.internalGet(a)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(r)}this.keys.push(t)}let o=this.cache;t.forEach((r,i)=>{if(i===t.length-1)o.set(r,{value:[n,this.cacheCallTimes++]});else{const a=o.get(r);a?a.map||(a.map=new Map):o.set(r,{map:new Map}),o=o.get(r).map}})}deleteByPath(t,n){var o;const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(o=r.value)===null||o===void 0?void 0:o[0];const i=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!vS(n,t)),this.deleteByPath(this.cache,t)}}Kr.MAX_CACHE_SIZE=20,Kr.MAX_CACHE_OFFSET=5;let Bu={};function Ki(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function CS(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.warn(`Note: ${t}`)}function ES(){Bu={}}function Mh(e,t,n){!t&&!Bu[n]&&(e(!1,n),Bu[n]=!0)}function mn(e,t){Mh(Ki,e,t)}function Hh(e,t){Mh(CS,e,t)}function yS(){}let ft=yS;process.env.NODE_ENV!=="production"&&(ft=(e,t,n)=>{mn(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&ES()});let Rh=0;class Fh{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Rh,t.length===0&&ft(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Rh+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const Iu=new Kr;function Lh(e){const t=Array.isArray(e)?e:[e];return Iu.has(t)||Iu.set(t,new Fh(t)),Iu.get(t)}const jh=new WeakMap;function Hl(e){let t=jh.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof Fh?t+=o.id:o&&typeof o=="object"?t+=Hl(o):t+=o}),jh.set(e,t)),t}function bS(e,t){return Eu(`${t}_${Hl(e)}`)}const Ji=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),zh="_bAmBoO_";function BS(e,t,n){var o,r;if(on()){Xi(e,Ji);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");const a=n?n(i):(o=getComputedStyle(i).content)===null||o===void 0?void 0:o.includes(zh);return(r=i.parentNode)===null||r===void 0||r.removeChild(i),Ml(Ji),a}return!1}let wu;function IS(){return wu===void 0&&(wu=BS(`@layer ${Ji} { .${Ji} { content: "${zh}"!important; } }`,e=>{e.className=Ji})),wu}const $h={},wS=process.env.NODE_ENV==="production",QS=process.env.NODE_ENV==="prerender",SS=!wS&&!QS?"css-dev-only-do-not-override":"css",cr=new Map;function xS(e){cr.set(e,(cr.get(e)||0)+1)}function OS(e,t){typeof document<"u"&&document.querySelectorAll(`style[${wh}="${e}"]`).forEach(o=>{var r;o[Xr]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const PS=0;function DS(e,t){cr.set(e,(cr.get(e)||0)-1);const n=Array.from(cr.keys()),o=n.filter(r=>(cr.get(r)||0)<=0);n.length-o.length>PS&&o.forEach(r=>{OS(r,t),cr.delete(r)})}const TS=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let i=h(h({},r),t);return o&&(i=o(i)),i};function NS(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ae({});const o=Tl(),r=P(()=>h({},...t.value)),i=P(()=>Hl(r.value)),a=P(()=>Hl(n.value.override||$h));return xh("token",P(()=>[n.value.salt||"",e.value.id,i.value,a.value]),()=>{const{salt:s="",override:u=$h,formatToken:c,getComputedToken:A}=n.value,f=A?A(r.value,u,e.value):TS(r.value,u,e.value,c),d=bS(f,s);f._tokenKey=d,xS(d);const g=`${SS}-${Eu(d)}`;return f._hashId=g,[f,g]},s=>{var u;DS(s[0]._tokenKey,(u=o.value)===null||u===void 0?void 0:u.cache.instanceId)})}var MS={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,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},kh="comm",Vh="rule",_h="decl",HS="@import",RS="@keyframes",FS="@layer",Yh=Math.abs,Qu=String.fromCharCode;function Uh(e){return e.trim()}function Rl(e,t,n){return e.replace(t,n)}function LS(e,t,n){return e.indexOf(t,n)}function qi(e,t){return e.charCodeAt(t)|0}function Jr(e,t,n){return e.slice(t,n)}function Yn(e){return e.length}function jS(e){return e.length}function Fl(e,t){return t.push(e),e}var Ll=1,qr=1,Wh=0,vn=0,dt=0,Zr="";function Su(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Ll,column:qr,length:a,return:"",siblings:l}}function zS(){return dt}function $S(){return dt=vn>0?qi(Zr,--vn):0,qr--,dt===10&&(qr=1,Ll--),dt}function Hn(){return dt=vn<Wh?qi(Zr,vn++):0,qr++,dt===10&&(qr=1,Ll++),dt}function Ho(){return qi(Zr,vn)}function jl(){return vn}function zl(e,t){return Jr(Zr,e,t)}function Zi(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 kS(e){return Ll=qr=1,Wh=Yn(Zr=e),vn=0,[]}function VS(e){return Zr="",e}function xu(e){return Uh(zl(vn-1,Ou(e===91?e+2:e===40?e+1:e)))}function _S(e){for(;(dt=Ho())&&dt<33;)Hn();return Zi(e)>2||Zi(dt)>3?"":" "}function YS(e,t){for(;--t&&Hn()&&!(dt<48||dt>102||dt>57&&dt<65||dt>70&&dt<97););return zl(e,jl()+(t<6&&Ho()==32&&Hn()==32))}function Ou(e){for(;Hn();)switch(dt){case e:return vn;case 34:case 39:e!==34&&e!==39&&Ou(dt);break;case 40:e===41&&Ou(e);break;case 92:Hn();break}return vn}function US(e,t){for(;Hn()&&e+dt!==57;)if(e+dt===84&&Ho()===47)break;return"/*"+zl(t,vn-1)+"*"+Qu(e===47?e:Hn())}function WS(e){for(;!Zi(Ho());)Hn();return zl(e,vn)}function GS(e){return VS($l("",null,null,null,[""],e=kS(e),0,[0],e))}function $l(e,t,n,o,r,i,a,l,s){for(var u=0,c=0,A=a,f=0,d=0,g=0,p=1,v=1,E=1,b=0,m="",I=r,y=i,w=o,C=m;v;)switch(g=b,b=Hn()){case 40:if(g!=108&&qi(C,A-1)==58){LS(C+=Rl(xu(b),"&","&\f"),"&\f",Yh(u?l[u-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:C+=xu(b);break;case 9:case 10:case 13:case 32:C+=_S(g);break;case 92:C+=YS(jl()-1,7);continue;case 47:switch(Ho()){case 42:case 47:Fl(XS(US(Hn(),jl()),t,n,s),s),(Zi(g||1)==5||Zi(Ho()||1)==5)&&Yn(C)&&Jr(C,-1,void 0)!==" "&&(C+=" ");break;default:C+="/"}break;case 123*p:l[u++]=Yn(C)*E;case 125*p:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:E==-1&&(C=Rl(C,/\f/g,"")),d>0&&(Yn(C)-A||p===0&&g===47)&&Fl(d>32?Xh(C+";",o,n,A-1,s):Xh(Rl(C," ","")+";",o,n,A-2,s),s);break;case 59:C+=";";default:if(Fl(w=Gh(C,t,n,u,c,r,l,m,I=[],y=[],A,i),i),b===123)if(c===0)$l(C,t,w,w,I,i,A,l,y);else switch(f===99&&qi(C,3)===110?100:f){case 100:case 108:case 109:case 115:$l(e,w,w,o&&Fl(Gh(e,w,w,0,0,r,l,m,r,I=[],A,y),y),r,y,A,l,o?I:y);break;default:$l(C,w,w,w,[""],y,0,l,y)}}u=c=d=0,p=E=1,m=C="",A=a;break;case 58:A=1+Yn(C),d=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&$S()==125)continue}switch(C+=Qu(b),b*p){case 38:E=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(Yn(C)-1)*E,E=1;break;case 64:Ho()===45&&(C+=xu(Hn())),f=Ho(),c=A=Yn(m=C+=WS(jl())),b++;break;case 45:g===45&&Yn(C)==2&&(p=0)}}return i}function Gh(e,t,n,o,r,i,a,l,s,u,c,A){for(var f=r-1,d=r===0?i:[""],g=jS(d),p=0,v=0,E=0;p<o;++p)for(var b=0,m=Jr(e,f+1,f=Yh(v=a[p])),I=e;b<g;++b)(I=Uh(v>0?d[b]+" "+m:Rl(m,/&\f/g,d[b])))&&(s[E++]=I);return Su(e,t,n,r===0?Vh:l,s,u,c,A)}function XS(e,t,n,o){return Su(e,t,n,kh,Qu(zS()),Jr(e,2,-2),0,o)}function Xh(e,t,n,o,r){return Su(e,t,n,_h,Jr(e,0,o),Jr(e,o+1,-1),o,r)}function Pu(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function KS(e,t,n,o){switch(e.type){case FS:if(e.children.length)break;case HS:case _h:return e.return=e.return||e.value;case kh:return"";case RS:return e.return=e.value+"{"+Pu(e.children,o)+"}";case Vh:if(!Yn(e.value=e.props.join(",")))return""}return Yn(n=Pu(e.children,o))?e.return=e.value+"{"+n+"}":""}function Kh(e,t){const{path:n,parentSelectors:o}=t;mn(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${o.length?` Selector info: ${o.join(" -> ")}`:""}`)}const JS=(e,t,n)=>{if(e==="content"){const o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!o.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&Kh(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},qS=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&Kh(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},Jh="data-ant-cssinjs-cache-path",ZS="_FILE_STYLE__";let ur,qh=!0;function e1(){var e;if(!ur&&(ur={},on())){const t=document.createElement("div");t.className=Jh,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(r=>{const[i,a]=r.split(":");ur[i]=a});const o=document.querySelector(`style[${Jh}]`);o&&(qh=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function t1(e){return e1(),!!ur[e]}function n1(e){const t=ur[e];let n=null;if(t&&on())if(qh)n=ZS;else{const o=document.querySelector(`style[${sr}="${ur[e]}"]`);o?n=o.innerHTML:delete ur[e]}return[n,t]}const Zh=on(),em="_skip_check_",tm="_multi_value_";function nm(e){return Pu(GS(e),KS).replace(/\{%%%\:[^;];}/g,";")}function o1(e){return typeof e=="object"&&e&&(em in e||tm in e)}function r1(e,t,n){if(!t)return e;const o=`.${t}`,r=n==="low"?`:where(${o})`:o;return e.split(",").map(a=>{var l;const s=a.trim().split(/\s+/);let u=s[0]||"";const c=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u=`${c}${r}${u.slice(c.length)}`,[u,...s.slice(1)].join(" ")}).join(",")}const Du=new Set;process.env.NODE_ENV;const Tu=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:o,parentSelectors:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:i,layer:a,path:l,hashPriority:s,transformers:u=[],linters:c=[]}=t;let A="",f={};function d(v){const E=v.getName(i);if(!f[E]){const[b]=Tu(v.style,t,{root:!1,parentSelectors:r});f[E]=`@keyframes ${v.getName(i)}${b}`}}function g(v){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v.forEach(b=>{Array.isArray(b)?g(b,E):b&&E.push(b)}),E}if(g(Array.isArray(e)?e:[e]).forEach(v=>{const E=typeof v=="string"&&!n?{}:v;if(typeof E=="string")A+=`${E}
|
|
29
|
+
**/function aQ(){ww()}process.env.NODE_ENV!=="production"&&aQ();const lQ=zc(()=>Promise.resolve().then(()=>o5)),sQ=e=>{customElements.define(e,Ww(lQ,{shadowRoot:!1,styles:[]}))};class cQ{constructor(){Dd(this,"tagName");Dd(this,"hasInit");this.tagName="yqg-permission",this.hasInit=!1}start(t){if(!window||!window.customElements){console.error("yqg-permission is not supported in this environment");return}if(this.hasInit){console.warn("yqg-permission has already been initialized");return}if(this.hasInit=!0,t!=null&&t.tagName)if(/^yqg-permission(-\S+)?/.test(t.tagName))this.tagName=t.tagName;else{console.error(`${t.tagName} is invalid tagName`);return}window.customElements.get(this.tagName)||sQ(this.tagName)}}const uQ=new cQ;function Vi(e){"@babel/helpers - typeof";return Vi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vi(e)}function AQ(e,t){if(Vi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(Vi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fQ(e){var t=AQ(e,"string");return Vi(t)=="symbol"?t:t+""}function dQ(e,t,n){return(t=fQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nh(Object(n),!0).forEach(function(o){dQ(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nh(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},h.apply(null,arguments)}const gQ=e=>typeof e=="function",pQ=Array.isArray,hQ=e=>typeof e=="string",mQ=e=>e!==null&&typeof e=="object",vQ=/^on[^a-z]/,CQ=e=>vQ.test(e),du=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},EQ=/-(\w)/g,oh=du(e=>e.replace(EQ,(t,n)=>n?n.toUpperCase():"")),yQ=/\B([A-Z])/g,bQ=du(e=>e.replace(yQ,"-$1").toLowerCase()),BQ=du(e=>e.charAt(0).toUpperCase()+e.slice(1)),IQ=Object.prototype.hasOwnProperty,rh=(e,t)=>IQ.call(e,t);function wQ(e,t,n,o){const r=e[n];if(r!=null){const i=rh(r,"default");if(i&&o===void 0){const a=r.default;o=r.type!==Function&&gQ(a)?a():a}r.type===Boolean&&(!rh(t,n)&&!i?o=!1:o===""&&(o=!0))}return o}function Ur(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function QQ(e){let t;const n=new Promise(r=>{t=e(()=>{r(!0)})}),o=()=>{t==null||t()};return o.then=(r,i)=>n.then(r,i),o.promise=n,o}function he(){const e=[];for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n){if(hQ(n))e.push(n);else if(pQ(n))for(let o=0;o<n.length;o++){const r=he(n[o]);r&&e.push(r)}else if(mQ(n))for(const o in n)n[o]&&e.push(o)}}return e.join(" ")}var ih=function(){if(typeof Map<"u")return Map;function e(t,n){var o=-1;return t.some(function(r,i){return r[0]===n?(o=i,!0):!1}),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var o=e(this.__entries__,n),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(n,o){var r=e(this.__entries__,n);~r?this.__entries__[r][1]=o:this.__entries__.push([n,o])},t.prototype.delete=function(n){var o=this.__entries__,r=e(o,n);~r&&o.splice(r,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,o){o===void 0&&(o=null);for(var r=0,i=this.__entries__;r<i.length;r++){var a=i[r];n.call(o,a[1],a[0])}},t}()}(),gu=typeof window<"u"&&typeof document<"u"&&window.document===document,xl=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")()}(),SQ=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(xl):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),xQ=2;function OQ(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){SQ(i)}function l(){var s=Date.now();if(n){if(s-r<xQ)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=s}return l}var PQ=20,DQ=["top","right","bottom","left","width","height","size","weight"],TQ=typeof MutationObserver<"u",NQ=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=OQ(this.refresh.bind(this),PQ)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,o=n.indexOf(t);~o&&n.splice(o,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!gu||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),TQ?(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)},e.prototype.disconnect_=function(){!gu||!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)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=n===void 0?"":n,r=DQ.some(function(i){return!!~o.indexOf(i)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ah=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},Wr=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||xl},lh=Pl(0,0,0,0);function Ol(e){return parseFloat(e)||0}function sh(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(o,r){var i=e["border-"+r+"-width"];return o+Ol(i)},0)}function MQ(e){for(var t=["top","right","bottom","left"],n={},o=0,r=t;o<r.length;o++){var i=r[o],a=e["padding-"+i];n[i]=Ol(a)}return n}function HQ(e){var t=e.getBBox();return Pl(0,0,t.width,t.height)}function RQ(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return lh;var o=Wr(e).getComputedStyle(e),r=MQ(o),i=r.left+r.right,a=r.top+r.bottom,l=Ol(o.width),s=Ol(o.height);if(o.boxSizing==="border-box"&&(Math.round(l+i)!==t&&(l-=sh(o,"left","right")+i),Math.round(s+a)!==n&&(s-=sh(o,"top","bottom")+a)),!LQ(e)){var u=Math.round(l+i)-t,c=Math.round(s+a)-n;Math.abs(u)!==1&&(l-=u),Math.abs(c)!==1&&(s-=c)}return Pl(r.left,r.top,l,s)}var FQ=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Wr(e).SVGGraphicsElement}:function(e){return e instanceof Wr(e).SVGElement&&typeof e.getBBox=="function"}}();function LQ(e){return e===Wr(e).document.documentElement}function jQ(e){return gu?FQ(e)?HQ(e):RQ(e):lh}function zQ(e){var t=e.x,n=e.y,o=e.width,r=e.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return ah(a,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),a}function Pl(e,t,n,o){return{x:e,y:t,width:n,height:o}}var $Q=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Pl(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=jQ(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),kQ=function(){function e(t,n){var o=zQ(n);ah(this,{target:t,contentRect:o})}return e}(),VQ=function(){function e(t,n,o){if(this.activeObservations_=[],this.observations_=new ih,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=o}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Wr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new $Q(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Wr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(o){return new kQ(o.target,o.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),ch=typeof WeakMap<"u"?new WeakMap:new ih,uh=function(){function e(t){if(!(this instanceof e))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=NQ.getInstance(),o=new VQ(t,n,this);ch.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){uh.prototype[e]=function(){var t;return(t=ch.get(this))[e].apply(t,arguments)}});var Ah=function(){return typeof xl.ResizeObserver<"u"?xl.ResizeObserver:uh}();const _Q=e=>e!=null&&e!=="",gn=(e,t)=>{const n=h({},e);return Object.keys(t).forEach(o=>{const r=n[o];if(r)r.type||r.default?r.default=t[o]:r.def?r.def(t[o]):n[o]={type:r,default:t[o]};else throw new Error(`not have ${o} prop`)}),n},YQ=e=>{const t=Object.keys(e),n={},o={},r={};for(let i=0,a=t.length;i<a;i++){const l=t[i];CQ(l)?(n[l[2].toLowerCase()+l.slice(3)]=e[l],o[l]=e[l]):r[l]=e[l]}return{onEvents:o,events:n,extraAttrs:r}},UQ=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},o=/;(?![^(]*\))/g,r=/:(.+)/;return typeof e=="object"?e:(e.split(o).forEach(function(i){if(i){const a=i.split(r);if(a.length>1){const l=t?oh(a[0].trim()):a[0].trim();n[l]=a[1].trim()}}}),n)},WQ=(e,t)=>e[t]!==void 0,GQ=Symbol("skipFlatten"),Vt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],o=[];return n.forEach(r=>{Array.isArray(r)?o.push(...Vt(r,t)):r&&r.type===xe?r.key===GQ?o.push(r):o.push(...Vt(r.children,t)):r&&qt(r)?t&&!dh(r)?o.push(r):t||o.push(r):_Q(r)&&o.push(r)}),o},XQ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(qt(e))return e.type===xe?t==="default"?Vt(e.children):[]:e.children&&e.children[t]?Vt(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return Vt(o)}},pn=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},KQ=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],i=bQ(o);(r!==void 0||i in n)&&(t[o]=r)})}else if(qt(e)&&typeof e.type=="object"){const n=e.props||{},o={};Object.keys(n).forEach(i=>{o[oh(i)]=n[i]});const r=e.type.props||{};Object.keys(r).forEach(i=>{const a=wQ(r,o,i,o[i]);(a!==void 0||i in o)&&(t[i]=a)})}return t},JQ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,r;if(e.$){const i=e[t];if(i!==void 0)return typeof i=="function"&&o?i(n):i;r=e.$slots[t],r=o&&r?r(n):r}else if(qt(e)){const i=e.props&&e.props[t];if(i!==void 0&&e.props!==null)return typeof i=="function"&&o?i(n):i;e.type===xe?r=e.children:e.children&&e.children[t]&&(r=e.children[t],r=o&&r?r(n):r)}return Array.isArray(r)&&(r=Vt(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function fh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=h(h({},n),e.$attrs):n=h(h({},n),e.props),YQ(n)[t?"onEvents":"events"]}function qQ(e,t){let o=((qt(e)?e.props:e.$attrs)||{}).style||{};return typeof o=="string"&&(o=UQ(o,t)),o}function ZQ(e){return e.length===1&&e[0].type===xe}function dh(e){return e&&(e.type===lt||e.type===xe&&e.children.length===0||e.type===wo&&e.children.trim()==="")}function Nn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===xe?t.push(...Nn(n.children)):t.push(n)}),t.filter(n=>!dh(n))}function Po(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function eS(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var o,r;return(o=t[n])!==null&&o!==void 0?o:(r=e[n])===null||r===void 0?void 0:r.call(e)}const _i=ae({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const o=at({width:0,height:0,offsetHeight:0,offsetWidth:0});let r=null,i=null;const a=()=>{i&&(i.disconnect(),i=null)},l=c=>{const{onResize:A}=e,f=c[0].target,{width:d,height:g}=f.getBoundingClientRect(),{offsetWidth:p,offsetHeight:v}=f,E=Math.floor(d),b=Math.floor(g);if(o.width!==E||o.height!==b||o.offsetWidth!==p||o.offsetHeight!==v){const m={width:E,height:b,offsetWidth:p,offsetHeight:v};h(o,m),A&&Promise.resolve().then(()=>{A(h(h({},m),{offsetWidth:p,offsetHeight:v}),f)})}},s=Zt(),u=()=>{const{disabled:c}=e;if(c){a();return}const A=pn(s);A!==r&&(a(),r=A),!i&&A&&(i=new Ah(l),i.observe(A))};return ze(()=>{u()}),Bo(()=>{u()}),er(()=>{a()}),me(()=>e.disabled,()=>{u()},{flush:"post"}),()=>{var c;return(c=n.default)===null||c===void 0?void 0:c.call(n)[0]}}});let gh=e=>setTimeout(e,16),ph=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(gh=e=>window.requestAnimationFrame(e),ph=e=>window.cancelAnimationFrame(e));let hh=0;const pu=new Map;function mh(e){pu.delete(e)}function $e(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;hh+=1;const n=hh;function o(r){if(r===0)mh(n),e();else{const i=gh(()=>{o(r-1)});pu.set(n,i)}}return o(t),n}$e.cancel=e=>{const t=pu.get(e);return mh(t),ph(t)};const Do=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},tS=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},Yi=e=>{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function Ui(){return{type:[Function,Array]}}function _e(e){return{type:Object,default:e}}function At(e){return{type:Boolean,default:e}}function hn(e){return{type:Function,default:e}}function tn(e,t){const n={validator:()=>!0,default:e};return n}function Wi(e){return{type:Array,default:e}}function Mn(e){return{type:String,default:e}}function To(e,t){return e?{type:e,default:t}:tn(t)}let Ht=!1;try{const e=Object.defineProperty({},"passive",{get(){Ht=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function Gr(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&Ht&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const hu="anticon",vh=Symbol("GlobalFormContextKey"),nS=e=>{tt(vh,e)},oS=()=>Ve(vh,{validateMessages:P(()=>{})}),rS=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:_e(),input:_e(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:_e(),pageHeader:_e(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:_e(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:_e(),pagination:_e(),theme:_e(),select:_e(),wave:_e()}),mu=Symbol("configProvider"),Ch={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:P(()=>hu),getPopupContainer:P(()=>()=>document.body),direction:P(()=>"ltr")},vu=()=>Ve(mu,Ch),iS=e=>tt(mu,e),Eh=Symbol("DisabledContextKey"),lr=()=>Ve(Eh,Ae(void 0)),yh=e=>{const t=lr();return tt(Eh,P(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},aS={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"},lS={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"},bh={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Bh={lang:h({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"]},lS),timePickerLocale:h({},bh)},nn="${label} is not a valid ${type}",No={locale:"en",Pagination:aS,DatePicker:Bh,TimePicker:bh,Calendar:Bh,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:nn,method:nn,array:nn,object:nn,number:nn,date:nn,boolean:nn,integer:nn,float:nn,regexp:nn,email:nn,url:nn,hex:nn},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"}},Cu=ae({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const o=Ve("localeData",{}),r=P(()=>{const{componentName:a="global",defaultLocale:l}=e,s=l||No[a||"global"],{antLocale:u}=o,c=a&&u?u[a]:{};return h(h({},typeof s=="function"?s():s),c||{})}),i=P(()=>{const{antLocale:a}=o,l=a&&a.locale;return a&&a.exist&&!l?No.locale:l});return()=>{const a=e.children||n.default,{antLocale:l}=o;return a==null?void 0:a(r.value,i.value,l)}}});function Dl(e,t,n){const o=Ve("localeData",{});return[P(()=>{const{antLocale:i}=o,a=pe(t)||No[e||"global"],l=e&&i?i[e]:{};return h(h(h({},typeof a=="function"?a():a),l||{}),pe(n)||{})})]}function Eu(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&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(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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)}const Ih="%";class sS{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(Ih):t)||null}update(t,n){const o=Array.isArray(t)?t.join(Ih):t,r=this.cache.get(o),i=n(r);i===null?this.cache.delete(o):this.cache.set(o,i)}}const wh="data-token-hash",sr="data-css-hash",cS="data-cache-path",Xr="__cssinjs_instance__";function Gi(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${sr}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[Xr]=r[Xr]||e,r[Xr]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${sr}]`)).forEach(r=>{var i;const a=r.getAttribute(sr);o[a]?r[Xr]===e&&((i=r.parentNode)===null||i===void 0||i.removeChild(r)):o[a]=!0})}return new sS(e)}const Qh=Symbol("StyleContextKey"),uS=()=>{var e,t,n;const o=Zt();let r;if(o&&o.appContext){const i=(n=(t=(e=o.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;i?r=i:(r=Gi(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=Gi();return r},Sh={cache:Gi(),defaultCache:!0,hashPriority:"low"},Tl=()=>{const e=uS();return Ve(Qh,J(h(h({},Sh),{cache:e})))},AS=e=>{const t=Tl(),n=J(h(h({},Sh),{cache:Gi()}));return me([()=>pe(e),t],()=>{const o=h({},t.value),r=pe(e);Object.keys(r).forEach(a=>{const l=r[a];r[a]!==void 0&&(o[a]=l)});const{cache:i}=r;o.cache=o.cache||Gi(),o.defaultCache=!i&&t.value.defaultCache,n.value=o},{immediate:!0}),tt(Qh,n),n};Yi(ae({name:"AStyleProvider",inheritAttrs:!1,props:{autoClear:At(),mock:Mn(),cache:_e(),defaultCache:At(),hashPriority:Mn(),container:To(),ssrInline:At(),transformers:Wi(),linters:Wi()},setup(e,t){let{slots:n}=t;return AS(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function fS(){return!1}let yu=!1;function dS(){return yu}const gS=process.env.NODE_ENV==="production"?fS:dS;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=function(){return yu=!0,setTimeout(()=>{yu=!1},0),t(...arguments)}}}function xh(e,t,n,o){const r=Tl(),i=J(""),a=J();Ye(()=>{i.value=[e,...t.value].join("%")});const l=gS(),s=u=>{r.value.cache.update(u,c=>{const[A=0,f]=c||[];return A-1===0?(o==null||o(f,!1),null):[A-1,f]})};return me(i,(u,c)=>{c&&s(c),r.value.cache.update(u,A=>{const[f=0,d]=A||[];let g=d;process.env.NODE_ENV!=="production"&&d&&l&&(o==null||o(g,l),g=null);const p=g||n();return[f+1,p]}),a.value=r.value.cache.get(i.value)[1]},{immediate:!0}),et(()=>{s(i.value)}),a}function on(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Mo(e,t){return e&&e.contains?e.contains(t):!1}const Oh="data-vc-order",pS="vc-util-key",bu=new Map;function Ph(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:pS}function Nl(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function hS(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function Dh(e){return Array.from((bu.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function Th(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!on())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(Oh,hS(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const i=Nl(t),{firstChild:a}=i;if(o){if(o==="queue"){const l=Dh(i).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(Oh)));if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function Nh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Nl(t);return Dh(n).find(o=>o.getAttribute(Ph(t))===e)}function Ml(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Nh(e,t);n&&Nl(t).removeChild(n)}function mS(e,t){const n=bu.get(e);if(!n||!Mo(document,n)){const o=Th("",t),{parentNode:r}=o;bu.set(e,r),e.removeChild(o)}}function Xi(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var o,r,i;const a=Nl(n);mS(a,n);const l=Nh(t,n);if(l)return!((o=n.csp)===null||o===void 0)&&o.nonce&&l.nonce!==((r=n.csp)===null||r===void 0?void 0:r.nonce)&&(l.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;const s=Th(e,n);return s.setAttribute(Ph(n),t),s}function vS(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 Kr{constructor(){this.cache=new Map,this.keys=[],this.cacheCallTimes=0}size(){return this.keys.length}internalGet(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return t.forEach(r=>{var i;o?o=(i=o==null?void 0:o.map)===null||i===void 0?void 0:i.get(r):o=void 0}),o!=null&&o.value&&n&&(o.value[1]=this.cacheCallTimes++),o==null?void 0:o.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Kr.MAX_CACHE_SIZE+Kr.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((i,a)=>{const[,l]=i;return this.internalGet(a)[1]<l?[a,this.internalGet(a)[1]]:i},[this.keys[0],this.cacheCallTimes]);this.delete(r)}this.keys.push(t)}let o=this.cache;t.forEach((r,i)=>{if(i===t.length-1)o.set(r,{value:[n,this.cacheCallTimes++]});else{const a=o.get(r);a?a.map||(a.map=new Map):o.set(r,{map:new Map}),o=o.get(r).map}})}deleteByPath(t,n){var o;const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(o=r.value)===null||o===void 0?void 0:o[0];const i=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!vS(n,t)),this.deleteByPath(this.cache,t)}}Kr.MAX_CACHE_SIZE=20,Kr.MAX_CACHE_OFFSET=5;let Bu={};function Ki(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error(`Warning: ${t}`)}function CS(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.warn(`Note: ${t}`)}function ES(){Bu={}}function Mh(e,t,n){!t&&!Bu[n]&&(e(!1,n),Bu[n]=!0)}function mn(e,t){Mh(Ki,e,t)}function Hh(e,t){Mh(CS,e,t)}function yS(){}let ft=yS;process.env.NODE_ENV!=="production"&&(ft=(e,t,n)=>{mn(e,`[ant-design-vue: ${t}] ${n}`),process.env.NODE_ENV==="test"&&ES()});let Rh=0;class Fh{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=Rh,t.length===0&&ft(t.length>0,"[Ant Design Vue CSS-in-JS] Theme should have at least one derivative function."),Rh+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const Iu=new Kr;function Lh(e){const t=Array.isArray(e)?e:[e];return Iu.has(t)||Iu.set(t,new Fh(t)),Iu.get(t)}const jh=new WeakMap;function Hl(e){let t=jh.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof Fh?t+=o.id:o&&typeof o=="object"?t+=Hl(o):t+=o}),jh.set(e,t)),t}function bS(e,t){return Eu(`${t}_${Hl(e)}`)}const Ji=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),zh="_bAmBoO_";function BS(e,t,n){var o,r;if(on()){Xi(e,Ji);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i),process.env.NODE_ENV!=="production"&&(i.innerHTML="Test",i.style.zIndex="9999999");const a=n?n(i):(o=getComputedStyle(i).content)===null||o===void 0?void 0:o.includes(zh);return(r=i.parentNode)===null||r===void 0||r.removeChild(i),Ml(Ji),a}return!1}let wu;function IS(){return wu===void 0&&(wu=BS(`@layer ${Ji} { .${Ji} { content: "${zh}"!important; } }`,e=>{e.className=Ji})),wu}const $h={},wS=process.env.NODE_ENV==="production",QS=process.env.NODE_ENV==="prerender",SS=!wS&&!QS?"css-dev-only-do-not-override":"css",cr=new Map;function xS(e){cr.set(e,(cr.get(e)||0)+1)}function OS(e,t){typeof document<"u"&&document.querySelectorAll(`style[${wh}="${e}"]`).forEach(o=>{var r;o[Xr]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const PS=0;function DS(e,t){cr.set(e,(cr.get(e)||0)-1);const n=Array.from(cr.keys()),o=n.filter(r=>(cr.get(r)||0)<=0);n.length-o.length>PS&&o.forEach(r=>{OS(r,t),cr.delete(r)})}const TS=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let i=h(h({},r),t);return o&&(i=o(i)),i};function NS(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ae({});const o=Tl(),r=P(()=>h({},...t.value)),i=P(()=>Hl(r.value)),a=P(()=>Hl(n.value.override||$h));return xh("token",P(()=>[n.value.salt||"",e.value.id,i.value,a.value]),()=>{const{salt:s="",override:u=$h,formatToken:c,getComputedToken:A}=n.value,f=A?A(r.value,u,e.value):TS(r.value,u,e.value,c),d=bS(f,s);f._tokenKey=d,xS(d);const g=`${SS}-${Eu(d)}`;return f._hashId=g,[f,g]},s=>{var u;DS(s[0]._tokenKey,(u=o.value)===null||u===void 0?void 0:u.cache.instanceId)})}var MS={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,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},kh="comm",Vh="rule",_h="decl",HS="@import",RS="@keyframes",FS="@layer",Yh=Math.abs,Qu=String.fromCharCode;function Uh(e){return e.trim()}function Rl(e,t,n){return e.replace(t,n)}function LS(e,t,n){return e.indexOf(t,n)}function qi(e,t){return e.charCodeAt(t)|0}function Jr(e,t,n){return e.slice(t,n)}function Yn(e){return e.length}function jS(e){return e.length}function Fl(e,t){return t.push(e),e}var Ll=1,qr=1,Wh=0,vn=0,dt=0,Zr="";function Su(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Ll,column:qr,length:a,return:"",siblings:l}}function zS(){return dt}function $S(){return dt=vn>0?qi(Zr,--vn):0,qr--,dt===10&&(qr=1,Ll--),dt}function Hn(){return dt=vn<Wh?qi(Zr,vn++):0,qr++,dt===10&&(qr=1,Ll++),dt}function Ho(){return qi(Zr,vn)}function jl(){return vn}function zl(e,t){return Jr(Zr,e,t)}function Zi(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 kS(e){return Ll=qr=1,Wh=Yn(Zr=e),vn=0,[]}function VS(e){return Zr="",e}function xu(e){return Uh(zl(vn-1,Ou(e===91?e+2:e===40?e+1:e)))}function _S(e){for(;(dt=Ho())&&dt<33;)Hn();return Zi(e)>2||Zi(dt)>3?"":" "}function YS(e,t){for(;--t&&Hn()&&!(dt<48||dt>102||dt>57&&dt<65||dt>70&&dt<97););return zl(e,jl()+(t<6&&Ho()==32&&Hn()==32))}function Ou(e){for(;Hn();)switch(dt){case e:return vn;case 34:case 39:e!==34&&e!==39&&Ou(dt);break;case 40:e===41&&Ou(e);break;case 92:Hn();break}return vn}function US(e,t){for(;Hn()&&e+dt!==57;)if(e+dt===84&&Ho()===47)break;return"/*"+zl(t,vn-1)+"*"+Qu(e===47?e:Hn())}function WS(e){for(;!Zi(Ho());)Hn();return zl(e,vn)}function GS(e){return VS($l("",null,null,null,[""],e=kS(e),0,[0],e))}function $l(e,t,n,o,r,i,a,l,s){for(var u=0,c=0,A=a,f=0,d=0,g=0,p=1,v=1,E=1,b=0,m="",I=r,y=i,w=o,C=m;v;)switch(g=b,b=Hn()){case 40:if(g!=108&&qi(C,A-1)==58){LS(C+=Rl(xu(b),"&","&\f"),"&\f",Yh(u?l[u-1]:0))!=-1&&(E=-1);break}case 34:case 39:case 91:C+=xu(b);break;case 9:case 10:case 13:case 32:C+=_S(g);break;case 92:C+=YS(jl()-1,7);continue;case 47:switch(Ho()){case 42:case 47:Fl(XS(US(Hn(),jl()),t,n,s),s),(Zi(g||1)==5||Zi(Ho()||1)==5)&&Yn(C)&&Jr(C,-1,void 0)!==" "&&(C+=" ");break;default:C+="/"}break;case 123*p:l[u++]=Yn(C)*E;case 125*p:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:E==-1&&(C=Rl(C,/\f/g,"")),d>0&&(Yn(C)-A||p===0&&g===47)&&Fl(d>32?Xh(C+";",o,n,A-1,s):Xh(Rl(C," ","")+";",o,n,A-2,s),s);break;case 59:C+=";";default:if(Fl(w=Gh(C,t,n,u,c,r,l,m,I=[],y=[],A,i),i),b===123)if(c===0)$l(C,t,w,w,I,i,A,l,y);else switch(f===99&&qi(C,3)===110?100:f){case 100:case 108:case 109:case 115:$l(e,w,w,o&&Fl(Gh(e,w,w,0,0,r,l,m,r,I=[],A,y),y),r,y,A,l,o?I:y);break;default:$l(C,w,w,w,[""],y,0,l,y)}}u=c=d=0,p=E=1,m=C="",A=a;break;case 58:A=1+Yn(C),d=g;default:if(p<1){if(b==123)--p;else if(b==125&&p++==0&&$S()==125)continue}switch(C+=Qu(b),b*p){case 38:E=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(Yn(C)-1)*E,E=1;break;case 64:Ho()===45&&(C+=xu(Hn())),f=Ho(),c=A=Yn(m=C+=WS(jl())),b++;break;case 45:g===45&&Yn(C)==2&&(p=0)}}return i}function Gh(e,t,n,o,r,i,a,l,s,u,c,A){for(var f=r-1,d=r===0?i:[""],g=jS(d),p=0,v=0,E=0;p<o;++p)for(var b=0,m=Jr(e,f+1,f=Yh(v=a[p])),I=e;b<g;++b)(I=Uh(v>0?d[b]+" "+m:Rl(m,/&\f/g,d[b])))&&(s[E++]=I);return Su(e,t,n,r===0?Vh:l,s,u,c,A)}function XS(e,t,n,o){return Su(e,t,n,kh,Qu(zS()),Jr(e,2,-2),0,o)}function Xh(e,t,n,o,r){return Su(e,t,n,_h,Jr(e,0,o),Jr(e,o+1,-1),o,r)}function Pu(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function KS(e,t,n,o){switch(e.type){case FS:if(e.children.length)break;case HS:case _h:return e.return=e.return||e.value;case kh:return"";case RS:return e.return=e.value+"{"+Pu(e.children,o)+"}";case Vh:if(!Yn(e.value=e.props.join(",")))return""}return Yn(n=Pu(e.children,o))?e.return=e.value+"{"+n+"}":""}function Kh(e,t){const{path:n,parentSelectors:o}=t;mn(!1,`[Ant Design Vue CSS-in-JS] ${n?`Error in '${n}': `:""}${e}${o.length?` Selector info: ${o.join(" -> ")}`:""}`)}const JS=(e,t,n)=>{if(e==="content"){const o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;(typeof t!="string"||["normal","none","initial","inherit","unset"].indexOf(t)===-1&&!o.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'"))&&Kh(`You seem to be using a value for 'content' without quotes, try replacing it with \`content: '"${t}"'\`.`,n)}},qS=(e,t,n)=>{e==="animation"&&n.hashId&&t!=="none"&&Kh(`You seem to be using hashed animation '${t}', in which case 'animationName' with Keyframe as value is recommended.`,n)},Jh="data-ant-cssinjs-cache-path",ZS="_FILE_STYLE__";let ur,qh=!0;function e1(){var e;if(!ur&&(ur={},on())){const t=document.createElement("div");t.className=Jh,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);let n=getComputedStyle(t).content||"";n=n.replace(/^"/,"").replace(/"$/,""),n.split(";").forEach(r=>{const[i,a]=r.split(":");ur[i]=a});const o=document.querySelector(`style[${Jh}]`);o&&(qh=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function t1(e){return e1(),!!ur[e]}function n1(e){const t=ur[e];let n=null;if(t&&on())if(qh)n=ZS;else{const o=document.querySelector(`style[${sr}="${ur[e]}"]`);o?n=o.innerHTML:delete ur[e]}return[n,t]}const Zh=on(),em="_skip_check_",tm="_multi_value_";function nm(e){return Pu(GS(e),KS).replace(/\{%%%\:[^;];}/g,";")}function o1(e){return typeof e=="object"&&e&&(em in e||tm in e)}function r1(e,t,n){if(!t)return e;const o=`.${t}`,r=n==="low"?`:where(${o})`:o;return e.split(",").map(a=>{var l;const s=a.trim().split(/\s+/);let u=s[0]||"";const c=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u=`${c}${r}${u.slice(c.length)}`,[u,...s.slice(1)].join(" ")}).join(",")}const Du=new Set;process.env.NODE_ENV;const Tu=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:o,parentSelectors:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:i,layer:a,path:l,hashPriority:s,transformers:u=[],linters:c=[]}=t;let A="",f={};function d(v){const E=v.getName(i);if(!f[E]){const[b]=Tu(v.style,t,{root:!1,parentSelectors:r});f[E]=`@keyframes ${v.getName(i)}${b}`}}function g(v){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v.forEach(b=>{Array.isArray(b)?g(b,E):b&&E.push(b)}),E}if(g(Array.isArray(e)?e:[e]).forEach(v=>{const E=typeof v=="string"&&!n?{}:v;if(typeof E=="string")A+=`${E}
|
|
30
30
|
`;else if(E._keyframe)d(E);else{const b=u.reduce((m,I)=>{var y;return((y=I==null?void 0:I.visit)===null||y===void 0?void 0:y.call(I,m))||m},E);Object.keys(b).forEach(m=>{var I;const y=b[m];if(typeof y=="object"&&y&&(m!=="animationName"||!y._keyframe)&&!o1(y)){let w=!1,C=m.trim(),S=!1;(n||o)&&i?C.startsWith("@")?w=!0:C=r1(m,i,s):n&&!i&&(C==="&"||C==="")&&(C="",S=!0);const[O,T]=Tu(y,t,{root:S,injectHash:w,parentSelectors:[...r,C]});f=h(h({},f),T),A+=`${C}${O}`}else{let w=function(S,O){process.env.NODE_ENV!=="production"&&(typeof y!="object"||!(y!=null&&y[em]))&&[JS,qS,...c].forEach(F=>F(S,O,{path:l,hashId:i,parentSelectors:r}));const T=S.replace(/[A-Z]/g,F=>`-${F.toLowerCase()}`);let R=O;!MS[S]&&typeof R=="number"&&R!==0&&(R=`${R}px`),S==="animationName"&&(O!=null&&O._keyframe)&&(d(O),R=O.getName(i)),A+=`${T}:${R};`};const C=(I=y==null?void 0:y.value)!==null&&I!==void 0?I:y;typeof y=="object"&&(y!=null&&y[tm])&&Array.isArray(C)?C.forEach(S=>{w(m,S)}):w(m,C)}})}}),!n)A=`{${A}}`;else if(a&&IS()){const v=a.split(",");A=`@layer ${v[v.length-1].trim()} {${A}}`,v.length>1&&(A=`@layer ${a}{%%%:%}${A}`)}return[A,f]};function i1(e,t){return Eu(`${e.join("%")}${t}`)}function Nu(e,t){const n=Tl(),o=P(()=>e.value.token._tokenKey),r=P(()=>[o.value,...e.value.path]);let i=Zh;return process.env.NODE_ENV!=="production"&&n.value.mock!==void 0&&(i=n.value.mock==="client"),xh("style",r,()=>{const{path:a,hashId:l,layer:s,nonce:u,clientOnly:c,order:A=0}=e.value,f=r.value.join("|");if(t1(f)){const[C,S]=n1(f);if(C)return[C,o.value,S,{},c,A]}const d=t(),{hashPriority:g,container:p,transformers:v,linters:E,cache:b}=n.value,[m,I]=Tu(d,{hashId:l,hashPriority:g,layer:s,path:a.join("-"),transformers:v,linters:E}),y=nm(m),w=i1(r.value,y);if(i){const C={mark:sr,prepend:"queue",attachTo:p,priority:A},S=typeof u=="function"?u():u;S&&(C.csp={nonce:S});const O=Xi(y,w,C);O[Xr]=b.instanceId,O.setAttribute(wh,o.value),process.env.NODE_ENV!=="production"&&O.setAttribute(cS,r.value.join("|")),Object.keys(I).forEach(T=>{Du.has(T)||(Du.add(T),Xi(nm(I[T]),`_effect-${T}`,{mark:sr,prepend:"queue",attachTo:p}))})}return[y,o.value,w,I,c,A]},(a,l)=>{let[,,s]=a;(l||n.value.autoClear)&&Zh&&Ml(s,{mark:sr})}),a=>a}class Te{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}function ei(e){return e.notSplit=!0,e}ei(["borderTop","borderBottom"]),ei(["borderTop"]),ei(["borderBottom"]),ei(["borderLeft","borderRight"]),ei(["borderLeft"]),ei(["borderRight"]);const a1="4.2.5",ea=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function bt(e,t){l1(e)&&(e="100%");var n=s1(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 kl(e){return Math.min(1,Math.max(0,e))}function l1(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function s1(e){return typeof e=="string"&&e.indexOf("%")!==-1}function om(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Vl(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ar(e){return e.length===1?"0"+e:String(e)}function c1(e,t,n){return{r:bt(e,255)*255,g:bt(t,255)*255,b:bt(n,255)*255}}function rm(e,t,n){e=bt(e,255),t=bt(t,255),n=bt(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=0,l=(o+r)/2;if(o===r)a=0,i=0;else{var s=o-r;switch(a=l>.5?s/(2-o-r):s/(o+r),o){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:a,l}}function Mu(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 u1(e,t,n){var o,r,i;if(e=bt(e,360),t=bt(t,100),n=bt(n,100),t===0)r=n,i=n,o=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Mu(l,a,e+1/3),r=Mu(l,a,e),i=Mu(l,a,e-1/3)}return{r:o*255,g:r*255,b:i*255}}function Hu(e,t,n){e=bt(e,255),t=bt(t,255),n=bt(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=o,l=o-r,s=o===0?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s,v:a}}function A1(e,t,n){e=bt(e,360)*6,t=bt(t,100),n=bt(n,100);var o=Math.floor(e),r=e-o,i=n*(1-t),a=n*(1-r*t),l=n*(1-(1-r)*t),s=o%6,u=[n,a,i,i,l,n][s],c=[l,n,n,a,i,i][s],A=[i,i,l,n,n,a][s];return{r:u*255,g:c*255,b:A*255}}function Ru(e,t,n,o){var r=[Ar(Math.round(e).toString(16)),Ar(Math.round(t).toString(16)),Ar(Math.round(n).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function f1(e,t,n,o,r){var i=[Ar(Math.round(e).toString(16)),Ar(Math.round(t).toString(16)),Ar(Math.round(n).toString(16)),Ar(d1(o))];return r&&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 d1(e){return Math.round(parseFloat(e)*255).toString(16)}function im(e){return rn(e)/255}function rn(e){return parseInt(e,16)}function g1(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Fu={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 ti(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,i=null,a=!1,l=!1;return typeof e=="string"&&(e=m1(e)),typeof e=="object"&&(uo(e.r)&&uo(e.g)&&uo(e.b)?(t=c1(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):uo(e.h)&&uo(e.s)&&uo(e.v)?(o=Vl(e.s),r=Vl(e.v),t=A1(e.h,o,r),a=!0,l="hsv"):uo(e.h)&&uo(e.s)&&uo(e.l)&&(o=Vl(e.s),i=Vl(e.l),t=u1(e.h,o,i),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=om(n),{ok:a,format:e.format||l,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 p1="[-\\+]?\\d+%?",h1="[-\\+]?\\d*\\.\\d+%?",Ro="(?:".concat(h1,")|(?:").concat(p1,")"),Lu="[\\s|\\(]+(".concat(Ro,")[,|\\s]+(").concat(Ro,")[,|\\s]+(").concat(Ro,")\\s*\\)?"),ju="[\\s|\\(]+(".concat(Ro,")[,|\\s]+(").concat(Ro,")[,|\\s]+(").concat(Ro,")[,|\\s]+(").concat(Ro,")\\s*\\)?"),Rn={CSS_UNIT:new RegExp(Ro),rgb:new RegExp("rgb"+Lu),rgba:new RegExp("rgba"+ju),hsl:new RegExp("hsl"+Lu),hsla:new RegExp("hsla"+ju),hsv:new RegExp("hsv"+Lu),hsva:new RegExp("hsva"+ju),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 m1(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Fu[e])e=Fu[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Rn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Rn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Rn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Rn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Rn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Rn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Rn.hex8.exec(e),n?{r:rn(n[1]),g:rn(n[2]),b:rn(n[3]),a:im(n[4]),format:t?"name":"hex8"}:(n=Rn.hex6.exec(e),n?{r:rn(n[1]),g:rn(n[2]),b:rn(n[3]),format:t?"name":"hex"}:(n=Rn.hex4.exec(e),n?{r:rn(n[1]+n[1]),g:rn(n[2]+n[2]),b:rn(n[3]+n[3]),a:im(n[4]+n[4]),format:t?"name":"hex8"}:(n=Rn.hex3.exec(e),n?{r:rn(n[1]+n[1]),g:rn(n[2]+n[2]),b:rn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function uo(e){return!!Rn.CSS_UNIT.exec(String(e))}var Bt=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=g1(t)),this.originalInput=t;var r=ti(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.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=r.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,o,r,i=t.r/255,a=t.g/255,l=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=om(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=Hu(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=Hu(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=rm(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=rm(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Ru(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),f1(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),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(bt(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(bt(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="#"+Ru(this.r,this.g,this.b,!1),n=0,o=Object.entries(Fu);n<o.length;n++){var r=o[n],i=r[0],a=r[1];if(t===a)return i}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var o=!1,r=this.a<1&&this.a>=0,i=!n&&r&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||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=kl(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=kl(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=kl(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=kl(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),i=n/100,a={r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,i=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(new e(o));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(),o=n.h,r=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:r,v:i})),i=(i+l)%1;return a},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(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},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(),o=n.h,r=[this],i=360/t,a=1;a<t;a++)r.push(new e({h:(o+a*i)%360,s:n.s,l:n.l}));return r},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}(),_l=2,am=.16,v1=.05,C1=.05,E1=.15,lm=5,sm=4,y1=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function cm(e){var t=e.r,n=e.g,o=e.b,r=Hu(t,n,o);return{h:r.h*360,s:r.s,v:r.v}}function Yl(e){var t=e.r,n=e.g,o=e.b;return"#".concat(Ru(t,n,o,!1))}function b1(e,t,n){var o=n/100,r={r:(t.r-e.r)*o+e.r,g:(t.g-e.g)*o+e.g,b:(t.b-e.b)*o+e.b};return r}function um(e,t,n){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=n?Math.round(e.h)-_l*t:Math.round(e.h)+_l*t:o=n?Math.round(e.h)+_l*t:Math.round(e.h)-_l*t,o<0?o+=360:o>=360&&(o-=360),o}function Am(e,t,n){if(e.h===0&&e.s===0)return e.s;var o;return n?o=e.s-am*t:t===sm?o=e.s+am:o=e.s+v1*t,o>1&&(o=1),n&&t===lm&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function fm(e,t,n){var o;return n?o=e.v+C1*t:o=e.v-E1*t,o>1&&(o=1),Number(o.toFixed(2))}function fr(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],o=ti(e),r=lm;r>0;r-=1){var i=cm(o),a=Yl(ti({h:um(i,r,!0),s:Am(i,r,!0),v:fm(i,r,!0)}));n.push(a)}n.push(Yl(o));for(var l=1;l<=sm;l+=1){var s=cm(o),u=Yl(ti({h:um(s,l),s:Am(s,l),v:fm(s,l)}));n.push(u)}return t.theme==="dark"?y1.map(function(c){var A=c.index,f=c.opacity,d=Yl(b1(ti(t.backgroundColor||"#141414"),ti(n[A]),f*100));return d}):n}var zu={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ta={},$u={};Object.keys(zu).forEach(function(e){ta[e]=fr(zu[e]),ta[e].primary=ta[e][5],$u[e]=fr(zu[e],{theme:"dark",backgroundColor:"#141414"}),$u[e].primary=$u[e][5]});var B1=ta.gold,I1=ta.blue;const w1=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Q1(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 dm={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Ul=h(h({},dm),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
31
31
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
32
32
|
'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:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});function S1(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:r,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:c}=e,A=n(s),f=n(r),d=n(i),g=n(a),p=n(l),v=o(u,c);return h(h({},v),{colorPrimaryBg:A[1],colorPrimaryBgHover:A[2],colorPrimaryBorder:A[3],colorPrimaryBorderHover:A[4],colorPrimaryHover:A[5],colorPrimary:A[6],colorPrimaryActive:A[7],colorPrimaryTextHover:A[8],colorPrimaryText:A[9],colorPrimaryTextActive:A[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:g[1],colorErrorBgHover:g[2],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:p[1],colorInfoBgHover:p[2],colorInfoBorder:p[3],colorInfoBorderHover:p[4],colorInfoHover:p[4],colorInfo:p[6],colorInfoActive:p[7],colorInfoTextHover:p[8],colorInfoText:p[9],colorInfoTextActive:p[10],colorBgMask:new Bt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const x1=e=>{let t=e,n=e,o=e,r=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?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e>16?16:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}};function O1(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return h({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:r+1},x1(o))}const Ao=(e,t)=>new Bt(e).setAlpha(t).toRgbString(),na=(e,t)=>new Bt(e).darken(t).toHexString(),P1=e=>{const t=fr(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]}},D1=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:Ao(o,.88),colorTextSecondary:Ao(o,.65),colorTextTertiary:Ao(o,.45),colorTextQuaternary:Ao(o,.25),colorFill:Ao(o,.15),colorFillSecondary:Ao(o,.06),colorFillTertiary:Ao(o,.04),colorFillQuaternary:Ao(o,.02),colorBgLayout:na(n,4),colorBgContainer:na(n,0),colorBgElevated:na(n,0),colorBgSpotlight:Ao(o,.85),colorBorder:na(n,15),colorBorderSecondary:na(n,6)}};function T1(e){const t=new Array(10).fill(null).map((n,o)=>{const r=o-1,i=e*Math.pow(2.71828,r/5),a=o>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>{const o=n+8;return{size:n,lineHeight:o/n}})}const N1=e=>{const t=T1(e),n=t.map(r=>r.size),o=t.map(r=>r.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:o[1],lineHeightLG:o[2],lineHeightSM:o[0],lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};function M1(e){const t=Object.keys(dm).map(n=>{const o=fr(e[n]);return new Array(10).fill(1).reduce((r,i,a)=>(r[`${n}-${a+1}`]=o[a],r),{})}).reduce((n,o)=>(n=h(h({},n),o),n),{});return h(h(h(h(h(h(h({},e),t),S1(e,{generateColorPalettes:P1,generateNeutralColorPalettes:D1})),N1(e.fontSize)),Q1(e)),w1(e)),O1(e))}function ku(e){return e>=0&&e<=255}function Wl(e,t){const{r:n,g:o,b:r,a:i}=new Bt(e).toRgb();if(i<1)return e;const{r:a,g:l,b:s}=new Bt(t).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-a*(1-u))/u),A=Math.round((o-l*(1-u))/u),f=Math.round((r-s*(1-u))/u);if(ku(c)&&ku(A)&&ku(f))return new Bt({r:c,g:A,b:f,a:Math.round(u*100)/100}).toRgbString()}return new Bt({r:n,g:o,b:r,a:1}).toRgbString()}var H1=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function R1(e){const{override:t}=e,n=H1(e,["override"]),o=h({},t);Object.keys(Ul).forEach(d=>{delete o[d]});const r=h(h({},n),o),i=480,a=576,l=768,s=992,u=1200,c=1600,A=2e3;return h(h(h({},r),{colorLink:r.colorInfoText,colorLinkHover:r.colorInfoHover,colorLinkActive:r.colorInfoActive,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:Wl(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:Wl(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:Wl(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:Wl(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
|
|
@@ -89,9 +89,9 @@ summary tabindex target title type usemap value width wmode wrap onCopy onCut on
|
|
|
89
89
|
onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
|
|
90
90
|
onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
|
|
91
91
|
onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
|
|
92
|
-
onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`.split(/[\s\n]+/),nT="aria-",oT="data-";function oC(e,t){return e.indexOf(t)===0}function ps(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=h({},t);const o={};return Object.keys(e).forEach(r=>{(n.aria&&(r==="role"||oC(r,nT))||n.data&&oC(r,oT)||n.attr&&(nC.includes(r)||nC.includes(r.toLowerCase())))&&(o[r]=e[r])}),o}const rC=Symbol("OverflowContextProviderKey"),NA=ae({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return tt(rC,P(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),rT=()=>Ve(rC,P(()=>null));var iT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const li=void 0,hs=ae({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:V.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:V.any,invalidate:Boolean},setup(e,t){let{slots:n,expose:o}=t;const r=P(()=>e.responsive&&!e.display),i=Ae();o({itemNodeRef:i});function a(l){e.registerSize(e.itemKey,l)}return er(()=>{a(null)}),()=>{var l;const{prefixCls:s,invalidate:u,item:c,renderItem:A,responsive:f,registerSize:d,itemKey:g,display:p,order:v,component:E="div"}=e,b=iT(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),m=(l=n.default)===null||l===void 0?void 0:l.call(n),I=A&&c!==li?A(c):m;let y;u||(y={opacity:r.value?0:1,height:r.value?0:li,overflowY:r.value?"hidden":li,order:f?v:li,pointerEvents:r.value?"none":li,position:r.value?"absolute":li});const w={};return r.value&&(w["aria-hidden"]=!0),B(_i,{disabled:!f,onResize:C=>{let{offsetWidth:S}=C;a(S)}},{default:()=>B(E,$($($({class:he(!u&&s),style:y},w),b),{},{ref:i}),{default:()=>[I]})})}}});var MA=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const aT=ae({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:V.any,title:V.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(e,t){let{slots:n,attrs:o}=t;const r=rT();return()=>{var i;if(!r.value){const{component:A="div"}=e,f=MA(e,["component"]);return B(A,$($({},f),o),{default:()=>[(i=n.default)===null||i===void 0?void 0:i.call(n)]})}const a=r.value,{className:l}=a,s=MA(a,["className"]),{class:u}=o,c=MA(o,["class"]);return B(NA,{value:null},{default:()=>[B(hs,$($($({class:he(l,u)},s),c),e),n)]})}}});var lT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const iC="responsive",aC="invalidate";function sT(e){return`+ ${e.length} ...`}const ms=ae({name:"Overflow",inheritAttrs:!1,props:{id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:V.any,component:String,itemComponent:V.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String},emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const i=P(()=>e.ssr==="full"),a=J(null),l=P(()=>a.value||0),s=J(new Map),u=J(0),c=J(0),A=J(0),f=J(null),d=J(null),g=P(()=>d.value===null&&i.value?Number.MAX_SAFE_INTEGER:d.value||0),p=J(!1),v=P(()=>`${e.prefixCls}-item`),E=P(()=>Math.max(u.value,c.value)),b=P(()=>!!(e.data.length&&e.maxCount===iC)),m=P(()=>e.maxCount===aC),I=P(()=>b.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),y=P(()=>{let Q=e.data;return b.value?a.value===null&&i.value?Q=e.data:Q=e.data.slice(0,Math.min(e.data.length,l.value/e.itemWidth)):typeof e.maxCount=="number"&&(Q=e.data.slice(0,e.maxCount)),Q}),w=P(()=>b.value?e.data.slice(g.value+1):e.data.slice(y.value.length)),C=(Q,D)=>{var M;return typeof e.itemKey=="function"?e.itemKey(Q):(M=e.itemKey&&(Q==null?void 0:Q[e.itemKey]))!==null&&M!==void 0?M:D},S=P(()=>e.renderItem||(Q=>Q)),O=(Q,D)=>{d.value=Q,D||(p.value=Q<e.data.length-1,o("visibleChange",Q))},T=(Q,D)=>{a.value=D.clientWidth},R=(Q,D)=>{const M=new Map(s.value);D===null?M.delete(Q):M.set(Q,D),s.value=M},F=(Q,D)=>{u.value=c.value,c.value=D},L=(Q,D)=>{A.value=D},_=Q=>s.value.get(C(y.value[Q],Q));return me([l,s,c,A,()=>e.itemKey,y],()=>{if(l.value&&E.value&&y.value){let Q=A.value;const D=y.value.length,M=D-1;if(!D){O(0),f.value=null;return}for(let j=0;j<D;j+=1){const H=_(j);if(H===void 0){O(j-1,!0);break}if(Q+=H,M===0&&Q<=l.value||j===M-1&&Q+_(M)<=l.value){O(M),f.value=null;break}else if(Q+E.value>l.value){O(j-1),f.value=Q-H-A.value+c.value;break}}e.suffix&&_(0)+A.value>l.value&&(f.value=null)}}),()=>{const Q=p.value&&!!w.value.length,{itemComponent:D,renderRawItem:M,renderRawRest:j,renderRest:H,prefixCls:Y="rc-overflow",suffix:Z,component:ee="div",id:ue,onMousedown:Ce}=e,{class:ne,style:ce}=n,ve=lT(n,["class","style"]);let Ee={};f.value!==null&&b.value&&(Ee={position:"absolute",left:`${f.value}px`,top:0});const K={prefixCls:v.value,responsive:b.value,component:D,invalidate:m.value},k=M?(x,N)=>{const z=C(x,N);return B(NA,{key:z,value:h(h({},K),{order:N,item:x,itemKey:z,registerSize:R,display:N<=g.value})},{default:()=>[M(x,N)]})}:(x,N)=>{const z=C(x,N);return B(hs,$($({},K),{},{order:N,key:z,item:x,renderItem:S.value,itemKey:z,registerSize:R,display:N<=g.value}),null)};let G=()=>null;const fe={order:Q?g.value:Number.MAX_SAFE_INTEGER,className:`${v.value} ${v.value}-rest`,registerSize:F,display:Q};if(j)j&&(G=()=>B(NA,{value:h(h({},K),fe)},{default:()=>[j(w.value)]}));else{const x=H||sT;G=()=>B(hs,$($({},K),fe),{default:()=>typeof x=="function"?x(w.value):x})}const ge=()=>{var x;return B(ee,$({id:ue,class:he(!m.value&&Y,ne),style:ce,onMousedown:Ce,role:e.role},ve),{default:()=>[y.value.map(k),I.value?G():null,Z&&B(hs,$($({},K),{},{order:g.value,class:`${v.value}-suffix`,registerSize:L,display:!0,style:Ee}),{default:()=>Z}),(x=r.default)===null||x===void 0?void 0:x.call(r)]})};return B(_i,{disabled:!b.value,onResize:T},{default:ge})}}});ms.Item=aT,ms.RESPONSIVE=iC,ms.INVALIDATE=aC;const cT=Symbol("TreeSelectLegacyContextPropsKey");function HA(){return Ve(cT,{})}const uT={id:String,prefixCls:String,values:V.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:V.any,placeholder:V.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),compositionStatus:Boolean,removeIcon:V.any,choiceTransitionName:String,maxTagCount:V.oneOfType([V.number,V.string]),maxTagTextLength:Number,maxTagPlaceholder:V.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},lC=e=>{e.preventDefault(),e.stopPropagation()},AT=ae({name:"MultipleSelectSelector",inheritAttrs:!1,props:uT,setup(e){const t=J(),n=J(0),o=J(!1),r=HA(),i=P(()=>`${e.prefixCls}-selection`),a=P(()=>e.open||e.mode==="tags"?e.searchValue:""),l=P(()=>e.mode==="tags"||e.showSearch&&(e.open||o.value)),s=Ae("");Ye(()=>{s.value=a.value}),ze(()=>{me(s,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function u(g,p,v,E,b){return B("span",{class:he(`${i.value}-item`,{[`${i.value}-item-disabled`]:v}),title:typeof g=="string"||typeof g=="number"?g.toString():void 0},[B("span",{class:`${i.value}-item-content`},[p]),E&&B(br,{class:`${i.value}-item-remove`,onMousedown:lC,onClick:b,customizeIcon:e.removeIcon},{default:()=>[mt("×")]})])}function c(g,p,v,E,b,m){var I;const y=C=>{lC(C),e.onToggleOpen(!open)};let w=m;return r.keyEntities&&(w=((I=r.keyEntities[g])===null||I===void 0?void 0:I.node)||{}),B("span",{key:g,onMousedown:y},[e.tagRender({label:p,value:g,disabled:v,closable:E,onClose:b,option:w})])}function A(g){const{disabled:p,label:v,value:E,option:b}=g,m=!e.disabled&&!p;let I=v;if(typeof e.maxTagTextLength=="number"&&(typeof v=="string"||typeof v=="number")){const w=String(I);w.length>e.maxTagTextLength&&(I=`${w.slice(0,e.maxTagTextLength)}...`)}const y=w=>{var C;w&&w.stopPropagation(),(C=e.onRemove)===null||C===void 0||C.call(e,g)};return typeof e.tagRender=="function"?c(E,I,p,m,y,b):u(v,I,p,m,y)}function f(g){const{maxTagPlaceholder:p=E=>`+ ${E.length} ...`}=e,v=typeof p=="function"?p(g):p;return u(v,v,!1)}const d=g=>{const p=g.target.composing;s.value=g.target.value,p||e.onInputChange(g)};return()=>{const{id:g,prefixCls:p,values:v,open:E,inputRef:b,placeholder:m,disabled:I,autofocus:y,autocomplete:w,activeDescendantId:C,tabindex:S,compositionStatus:O,onInputPaste:T,onInputKeyDown:R,onInputMouseDown:F,onInputCompositionStart:L,onInputCompositionEnd:_}=e,Q=B("div",{class:`${i.value}-search`,style:{width:n.value+"px"},key:"input"},[B(tC,{inputRef:b,open:E,prefixCls:p,id:g,inputElement:null,disabled:I,autofocus:y,autocomplete:w,editable:l.value,activeDescendantId:C,value:s.value,onKeydown:R,onMousedown:F,onChange:d,onPaste:T,onCompositionstart:L,onCompositionend:_,tabindex:S,attrs:ps(e,!0),onFocus:()=>o.value=!0,onBlur:()=>o.value=!1},null),B("span",{ref:t,class:`${i.value}-search-mirror`,"aria-hidden":!0},[s.value,mt(" ")])]),D=B(ms,{prefixCls:`${i.value}-overflow`,data:v,renderItem:A,renderRest:f,suffix:Q,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return B(xe,null,[D,!v.length&&!a.value&&!O&&B("span",{class:`${i.value}-placeholder`},[m])])}}}),fT={inputElement:V.any,id:String,prefixCls:String,values:V.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:V.any,placeholder:V.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},RA=ae({name:"SingleSelector",setup(e){const t=J(!1),n=P(()=>e.mode==="combobox"),o=P(()=>n.value||e.showSearch),r=P(()=>{let c=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(c=e.activeValue),c}),i=HA();me([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const a=P(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!r.value||e.compositionStatus),l=P(()=>{const c=e.values[0];return c&&(typeof c.label=="string"||typeof c.label=="number")?c.label.toString():void 0}),s=()=>{if(e.values[0])return null;const c=a.value?{visibility:"hidden"}:void 0;return B("span",{class:`${e.prefixCls}-selection-placeholder`,style:c},[e.placeholder])},u=c=>{c.target.composing||(t.value=!0,e.onInputChange(c))};return()=>{var c,A,f,d;const{inputElement:g,prefixCls:p,id:v,values:E,inputRef:b,disabled:m,autofocus:I,autocomplete:y,activeDescendantId:w,open:C,tabindex:S,optionLabelRender:O,onInputKeyDown:T,onInputMouseDown:R,onInputPaste:F,onInputCompositionStart:L,onInputCompositionEnd:_}=e,Q=E[0];let D=null;if(Q&&i.customSlots){const M=(c=Q.key)!==null&&c!==void 0?c:Q.value,j=((A=i.keyEntities[M])===null||A===void 0?void 0:A.node)||{};D=i.customSlots[(f=j.slots)===null||f===void 0?void 0:f.title]||i.customSlots.title||Q.label,typeof D=="function"&&(D=D(j))}else D=O&&Q?O(Q.option):Q==null?void 0:Q.label;return B(xe,null,[B("span",{class:`${p}-selection-search`},[B(tC,{inputRef:b,prefixCls:p,id:v,open:C,inputElement:g,disabled:m,autofocus:I,autocomplete:y,editable:o.value,activeDescendantId:w,value:r.value,onKeydown:T,onMousedown:R,onChange:u,onPaste:F,onCompositionstart:L,onCompositionend:_,tabindex:S,attrs:ps(e,!0)},null)]),!n.value&&Q&&!a.value&&B("span",{class:`${p}-selection-item`,title:l.value},[B(xe,{key:(d=Q.key)!==null&&d!==void 0?d:Q.value},[D])]),s()])}}});RA.props=fT,RA.inheritAttrs=!1;function dT(e){return![le.ESC,le.SHIFT,le.BACKSPACE,le.TAB,le.WIN_KEY,le.ALT,le.META,le.WIN_KEY_RIGHT,le.CTRL,le.SEMICOLON,le.EQUALS,le.CAPS_LOCK,le.CONTEXT_MENU,le.F1,le.F2,le.F3,le.F4,le.F5,le.F6,le.F7,le.F8,le.F9,le.F10,le.F11,le.F12].includes(e)}function sC(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;et(()=>{clearTimeout(n)});function o(r){(r||t===null)&&(t=r),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,o]}function ma(){const e=t=>{e.current=t};return e}const gT=ae({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:V.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:V.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),disabled:{type:Boolean,default:void 0},placeholder:V.any,removeIcon:V.any,maxTagCount:V.oneOfType([V.number,V.string]),maxTagTextLength:Number,maxTagPlaceholder:V.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const o=ma(),r=Ae(!1),[i,a]=sC(0),l=E=>{const{which:b}=E;(b===le.UP||b===le.DOWN)&&E.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(E),b===le.ENTER&&e.mode==="tags"&&!r.value&&!e.open&&e.onSearchSubmit(E.target.value),dT(b)&&e.onToggleOpen(!0)},s=()=>{a(!0)};let u=null;const c=E=>{e.onSearch(E,!0,r.value)!==!1&&e.onToggleOpen(!0)},A=()=>{r.value=!0},f=E=>{r.value=!1,e.mode!=="combobox"&&c(E.target.value)},d=E=>{let{target:{value:b}}=E;if(e.tokenWithEnter&&u&&/[\r\n]/.test(u)){const m=u.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");b=b.replace(m,u)}u=null,c(b)},g=E=>{const{clipboardData:b}=E;u=b.getData("text")},p=E=>{let{target:b}=E;b!==o.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{o.current.focus()}):o.current.focus())},v=E=>{const b=i();E.target!==o.current&&!b&&E.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!b)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{o.current.focus()},blur:()=>{o.current.blur()}}),()=>{const{prefixCls:E,domRef:b,mode:m}=e,I={inputRef:o,onInputKeyDown:l,onInputMouseDown:s,onInputChange:d,onInputPaste:g,compositionStatus:r.value,onInputCompositionStart:A,onInputCompositionEnd:f},y=m==="multiple"||m==="tags"?B(AT,$($({},e),I),null):B(RA,$($({},e),I),null);return B("div",{ref:b,class:`${E}-selector`,onClick:p,onMousedown:v},[y])}}});function pT(e,t,n){function o(r){var i,a,l;let s=r.target;s.shadowRoot&&r.composed&&(s=r.composedPath()[0]||s);const u=[(i=e[0])===null||i===void 0?void 0:i.value,(l=(a=e[1])===null||a===void 0?void 0:a.value)===null||l===void 0?void 0:l.getPopupElement()];t.value&&u.every(c=>c&&!c.contains(s)&&c!==s)&&n(!1)}ze(()=>{window.addEventListener("mousedown",o)}),et(()=>{window.removeEventListener("mousedown",o)})}function hT(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=J(!1);let n;const o=()=>{clearTimeout(n)};return ze(()=>{o()}),[t,(i,a)=>{o(),n=setTimeout(()=>{t.value=i,a&&a()},e)},o]}const cC=Symbol("BaseSelectContextKey");function mT(e){return tt(cC,e)}function vT(){return Ve(cC,{})}const CT=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function uC(e){if(!rt(e))return at(e);const t=new Proxy({},{get(n,o,r){return Reflect.get(e.value,o,r)},set(n,o,r){return e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return at(t)}var ET=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const yT=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],bT=()=>({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:V.any,emptyOptions:Boolean}),AC=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:V.any,placeholder:V.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:V.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:V.any,clearIcon:V.any,removeIcon:V.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),BT=()=>h(h({},bT()),AC());function FA(e){return e==="tags"||e==="multiple"}const IT=ae({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:gn(BT(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const i=P(()=>FA(e.mode)),a=P(()=>e.showSearch!==void 0?e.showSearch:i.value||e.mode==="combobox"),l=J(!1);ze(()=>{l.value=CT()});const s=HA(),u=J(null),c=ma(),A=J(null),f=J(null),d=J(null),g=Ae(!1),[p,v,E]=hT();o({focus:()=>{var k;(k=f.value)===null||k===void 0||k.focus()},blur:()=>{var k;(k=f.value)===null||k===void 0||k.blur()},scrollTo:k=>{var G;return(G=d.value)===null||G===void 0?void 0:G.scrollTo(k)}});const I=P(()=>{var k;if(e.mode!=="combobox")return e.searchValue;const G=(k=e.displayValues[0])===null||k===void 0?void 0:k.value;return typeof G=="string"||typeof G=="number"?String(G):""}),y=e.open!==void 0?e.open:e.defaultOpen,w=J(y),C=J(y),S=k=>{w.value=e.open!==void 0?e.open:k,C.value=w.value};me(()=>e.open,()=>{S(e.open)});const O=P(()=>!e.notFoundContent&&e.emptyOptions);Ye(()=>{C.value=w.value,(e.disabled||O.value&&C.value&&e.mode==="combobox")&&(C.value=!1)});const T=P(()=>O.value?!1:C.value),R=k=>{const G=k!==void 0?k:!C.value;C.value!==G&&!e.disabled&&(S(G),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(G))},F=P(()=>(e.tokenSeparators||[]).some(k=>[`
|
|
92
|
+
onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`.split(/[\s\n]+/),nT="aria-",oT="data-";function oC(e,t){return e.indexOf(t)===0}function ps(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=h({},t);const o={};return Object.keys(e).forEach(r=>{(n.aria&&(r==="role"||oC(r,nT))||n.data&&oC(r,oT)||n.attr&&(nC.includes(r)||nC.includes(r.toLowerCase())))&&(o[r]=e[r])}),o}const rC=Symbol("OverflowContextProviderKey"),NA=ae({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return tt(rC,P(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),rT=()=>Ve(rC,P(()=>null));var iT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const li=void 0,hs=ae({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:V.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:V.any,invalidate:Boolean},setup(e,t){let{slots:n,expose:o}=t;const r=P(()=>e.responsive&&!e.display),i=Ae();o({itemNodeRef:i});function a(l){e.registerSize(e.itemKey,l)}return er(()=>{a(null)}),()=>{var l;const{prefixCls:s,invalidate:u,item:c,renderItem:A,responsive:f,registerSize:d,itemKey:g,display:p,order:v,component:E="div"}=e,b=iT(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),m=(l=n.default)===null||l===void 0?void 0:l.call(n),I=A&&c!==li?A(c):m;let y;u||(y={opacity:r.value?0:1,height:r.value?0:li,overflowY:r.value?"hidden":li,order:f?v:li,pointerEvents:r.value?"none":li,position:r.value?"absolute":li});const w={};return r.value&&(w["aria-hidden"]=!0),B(_i,{disabled:!f,onResize:C=>{let{offsetWidth:S}=C;a(S)}},{default:()=>B(E,$($($({class:he(!u&&s),style:y},w),b),{},{ref:i}),{default:()=>[I]})})}}});var MA=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const aT=ae({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:V.any,title:V.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(e,t){let{slots:n,attrs:o}=t;const r=rT();return()=>{var i;if(!r.value){const{component:A="div"}=e,f=MA(e,["component"]);return B(A,$($({},f),o),{default:()=>[(i=n.default)===null||i===void 0?void 0:i.call(n)]})}const a=r.value,{className:l}=a,s=MA(a,["className"]),{class:u}=o,c=MA(o,["class"]);return B(NA,{value:null},{default:()=>[B(hs,$($($({class:he(l,u)},s),c),e),n)]})}}});var lT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const iC="responsive",aC="invalidate";function sT(e){return`+ ${e.length} ...`}const ms=ae({name:"Overflow",inheritAttrs:!1,props:{id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:V.any,component:String,itemComponent:V.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String},emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const i=P(()=>e.ssr==="full"),a=J(null),l=P(()=>a.value||0),s=J(new Map),u=J(0),c=J(0),A=J(0),f=J(null),d=J(null),g=P(()=>d.value===null&&i.value?Number.MAX_SAFE_INTEGER:d.value||0),p=J(!1),v=P(()=>`${e.prefixCls}-item`),E=P(()=>Math.max(u.value,c.value)),b=P(()=>!!(e.data.length&&e.maxCount===iC)),m=P(()=>e.maxCount===aC),I=P(()=>b.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),y=P(()=>{let Q=e.data;return b.value?a.value===null&&i.value?Q=e.data:Q=e.data.slice(0,Math.min(e.data.length,l.value/e.itemWidth)):typeof e.maxCount=="number"&&(Q=e.data.slice(0,e.maxCount)),Q}),w=P(()=>b.value?e.data.slice(g.value+1):e.data.slice(y.value.length)),C=(Q,D)=>{var M;return typeof e.itemKey=="function"?e.itemKey(Q):(M=e.itemKey&&(Q==null?void 0:Q[e.itemKey]))!==null&&M!==void 0?M:D},S=P(()=>e.renderItem||(Q=>Q)),O=(Q,D)=>{d.value=Q,D||(p.value=Q<e.data.length-1,o("visibleChange",Q))},T=(Q,D)=>{a.value=D.clientWidth},R=(Q,D)=>{const M=new Map(s.value);D===null?M.delete(Q):M.set(Q,D),s.value=M},F=(Q,D)=>{u.value=c.value,c.value=D},L=(Q,D)=>{A.value=D},_=Q=>s.value.get(C(y.value[Q],Q));return me([l,s,c,A,()=>e.itemKey,y],()=>{if(l.value&&E.value&&y.value){let Q=A.value;const D=y.value.length,M=D-1;if(!D){O(0),f.value=null;return}for(let j=0;j<D;j+=1){const H=_(j);if(H===void 0){O(j-1,!0);break}if(Q+=H,M===0&&Q<=l.value||j===M-1&&Q+_(M)<=l.value){O(M),f.value=null;break}else if(Q+E.value>l.value){O(j-1),f.value=Q-H-A.value+c.value;break}}e.suffix&&_(0)+A.value>l.value&&(f.value=null)}}),()=>{const Q=p.value&&!!w.value.length,{itemComponent:D,renderRawItem:M,renderRawRest:j,renderRest:H,prefixCls:Y="rc-overflow",suffix:Z,component:ee="div",id:ue,onMousedown:Ce}=e,{class:ne,style:ce}=n,ve=lT(n,["class","style"]);let Ee={};f.value!==null&&b.value&&(Ee={position:"absolute",left:`${f.value}px`,top:0});const K={prefixCls:v.value,responsive:b.value,component:D,invalidate:m.value},k=M?(x,N)=>{const z=C(x,N);return B(NA,{key:z,value:h(h({},K),{order:N,item:x,itemKey:z,registerSize:R,display:N<=g.value})},{default:()=>[M(x,N)]})}:(x,N)=>{const z=C(x,N);return B(hs,$($({},K),{},{order:N,key:z,item:x,renderItem:S.value,itemKey:z,registerSize:R,display:N<=g.value}),null)};let G=()=>null;const fe={order:Q?g.value:Number.MAX_SAFE_INTEGER,className:`${v.value} ${v.value}-rest`,registerSize:F,display:Q};if(j)j&&(G=()=>B(NA,{value:h(h({},K),fe)},{default:()=>[j(w.value)]}));else{const x=H||sT;G=()=>B(hs,$($({},K),fe),{default:()=>typeof x=="function"?x(w.value):x})}const ge=()=>{var x;return B(ee,$({id:ue,class:he(!m.value&&Y,ne),style:ce,onMousedown:Ce,role:e.role},ve),{default:()=>[y.value.map(k),I.value?G():null,Z&&B(hs,$($({},K),{},{order:g.value,class:`${v.value}-suffix`,registerSize:L,display:!0,style:Ee}),{default:()=>Z}),(x=r.default)===null||x===void 0?void 0:x.call(r)]})};return B(_i,{disabled:!b.value,onResize:T},{default:ge})}}});ms.Item=aT,ms.RESPONSIVE=iC,ms.INVALIDATE=aC;const cT=Symbol("TreeSelectLegacyContextPropsKey");function HA(){return Ve(cT,{})}const uT={id:String,prefixCls:String,values:V.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:V.any,placeholder:V.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),compositionStatus:Boolean,removeIcon:V.any,choiceTransitionName:String,maxTagCount:V.oneOfType([V.number,V.string]),maxTagTextLength:Number,maxTagPlaceholder:V.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},lC=e=>{e.preventDefault(),e.stopPropagation()},AT=ae({name:"MultipleSelectSelector",inheritAttrs:!1,props:uT,setup(e){const t=J(),n=J(0),o=J(!1),r=HA(),i=P(()=>`${e.prefixCls}-selection`),a=P(()=>e.open||e.mode==="tags"?e.searchValue:""),l=P(()=>e.mode==="tags"||e.showSearch&&(e.open||o.value)),s=Ae("");Ye(()=>{s.value=a.value}),ze(()=>{me(s,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function u(g,p,v,E,b){return B("span",{class:he(`${i.value}-item`,{[`${i.value}-item-disabled`]:v}),title:typeof g=="string"||typeof g=="number"?g.toString():void 0},[B("span",{class:`${i.value}-item-content`},[p]),E&&B(br,{class:`${i.value}-item-remove`,onMousedown:lC,onClick:b,customizeIcon:e.removeIcon},{default:()=>[Ct("×")]})])}function c(g,p,v,E,b,m){var I;const y=C=>{lC(C),e.onToggleOpen(!open)};let w=m;return r.keyEntities&&(w=((I=r.keyEntities[g])===null||I===void 0?void 0:I.node)||{}),B("span",{key:g,onMousedown:y},[e.tagRender({label:p,value:g,disabled:v,closable:E,onClose:b,option:w})])}function A(g){const{disabled:p,label:v,value:E,option:b}=g,m=!e.disabled&&!p;let I=v;if(typeof e.maxTagTextLength=="number"&&(typeof v=="string"||typeof v=="number")){const w=String(I);w.length>e.maxTagTextLength&&(I=`${w.slice(0,e.maxTagTextLength)}...`)}const y=w=>{var C;w&&w.stopPropagation(),(C=e.onRemove)===null||C===void 0||C.call(e,g)};return typeof e.tagRender=="function"?c(E,I,p,m,y,b):u(v,I,p,m,y)}function f(g){const{maxTagPlaceholder:p=E=>`+ ${E.length} ...`}=e,v=typeof p=="function"?p(g):p;return u(v,v,!1)}const d=g=>{const p=g.target.composing;s.value=g.target.value,p||e.onInputChange(g)};return()=>{const{id:g,prefixCls:p,values:v,open:E,inputRef:b,placeholder:m,disabled:I,autofocus:y,autocomplete:w,activeDescendantId:C,tabindex:S,compositionStatus:O,onInputPaste:T,onInputKeyDown:R,onInputMouseDown:F,onInputCompositionStart:L,onInputCompositionEnd:_}=e,Q=B("div",{class:`${i.value}-search`,style:{width:n.value+"px"},key:"input"},[B(tC,{inputRef:b,open:E,prefixCls:p,id:g,inputElement:null,disabled:I,autofocus:y,autocomplete:w,editable:l.value,activeDescendantId:C,value:s.value,onKeydown:R,onMousedown:F,onChange:d,onPaste:T,onCompositionstart:L,onCompositionend:_,tabindex:S,attrs:ps(e,!0),onFocus:()=>o.value=!0,onBlur:()=>o.value=!1},null),B("span",{ref:t,class:`${i.value}-search-mirror`,"aria-hidden":!0},[s.value,Ct(" ")])]),D=B(ms,{prefixCls:`${i.value}-overflow`,data:v,renderItem:A,renderRest:f,suffix:Q,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return B(xe,null,[D,!v.length&&!a.value&&!O&&B("span",{class:`${i.value}-placeholder`},[m])])}}}),fT={inputElement:V.any,id:String,prefixCls:String,values:V.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:V.any,placeholder:V.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},RA=ae({name:"SingleSelector",setup(e){const t=J(!1),n=P(()=>e.mode==="combobox"),o=P(()=>n.value||e.showSearch),r=P(()=>{let c=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(c=e.activeValue),c}),i=HA();me([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const a=P(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!r.value||e.compositionStatus),l=P(()=>{const c=e.values[0];return c&&(typeof c.label=="string"||typeof c.label=="number")?c.label.toString():void 0}),s=()=>{if(e.values[0])return null;const c=a.value?{visibility:"hidden"}:void 0;return B("span",{class:`${e.prefixCls}-selection-placeholder`,style:c},[e.placeholder])},u=c=>{c.target.composing||(t.value=!0,e.onInputChange(c))};return()=>{var c,A,f,d;const{inputElement:g,prefixCls:p,id:v,values:E,inputRef:b,disabled:m,autofocus:I,autocomplete:y,activeDescendantId:w,open:C,tabindex:S,optionLabelRender:O,onInputKeyDown:T,onInputMouseDown:R,onInputPaste:F,onInputCompositionStart:L,onInputCompositionEnd:_}=e,Q=E[0];let D=null;if(Q&&i.customSlots){const M=(c=Q.key)!==null&&c!==void 0?c:Q.value,j=((A=i.keyEntities[M])===null||A===void 0?void 0:A.node)||{};D=i.customSlots[(f=j.slots)===null||f===void 0?void 0:f.title]||i.customSlots.title||Q.label,typeof D=="function"&&(D=D(j))}else D=O&&Q?O(Q.option):Q==null?void 0:Q.label;return B(xe,null,[B("span",{class:`${p}-selection-search`},[B(tC,{inputRef:b,prefixCls:p,id:v,open:C,inputElement:g,disabled:m,autofocus:I,autocomplete:y,editable:o.value,activeDescendantId:w,value:r.value,onKeydown:T,onMousedown:R,onChange:u,onPaste:F,onCompositionstart:L,onCompositionend:_,tabindex:S,attrs:ps(e,!0)},null)]),!n.value&&Q&&!a.value&&B("span",{class:`${p}-selection-item`,title:l.value},[B(xe,{key:(d=Q.key)!==null&&d!==void 0?d:Q.value},[D])]),s()])}}});RA.props=fT,RA.inheritAttrs=!1;function dT(e){return![le.ESC,le.SHIFT,le.BACKSPACE,le.TAB,le.WIN_KEY,le.ALT,le.META,le.WIN_KEY_RIGHT,le.CTRL,le.SEMICOLON,le.EQUALS,le.CAPS_LOCK,le.CONTEXT_MENU,le.F1,le.F2,le.F3,le.F4,le.F5,le.F6,le.F7,le.F8,le.F9,le.F10,le.F11,le.F12].includes(e)}function sC(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;et(()=>{clearTimeout(n)});function o(r){(r||t===null)&&(t=r),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,o]}function ma(){const e=t=>{e.current=t};return e}const gT=ae({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:V.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:V.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:V.oneOfType([V.number,V.string]),disabled:{type:Boolean,default:void 0},placeholder:V.any,removeIcon:V.any,maxTagCount:V.oneOfType([V.number,V.string]),maxTagTextLength:Number,maxTagPlaceholder:V.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const o=ma(),r=Ae(!1),[i,a]=sC(0),l=E=>{const{which:b}=E;(b===le.UP||b===le.DOWN)&&E.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(E),b===le.ENTER&&e.mode==="tags"&&!r.value&&!e.open&&e.onSearchSubmit(E.target.value),dT(b)&&e.onToggleOpen(!0)},s=()=>{a(!0)};let u=null;const c=E=>{e.onSearch(E,!0,r.value)!==!1&&e.onToggleOpen(!0)},A=()=>{r.value=!0},f=E=>{r.value=!1,e.mode!=="combobox"&&c(E.target.value)},d=E=>{let{target:{value:b}}=E;if(e.tokenWithEnter&&u&&/[\r\n]/.test(u)){const m=u.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");b=b.replace(m,u)}u=null,c(b)},g=E=>{const{clipboardData:b}=E;u=b.getData("text")},p=E=>{let{target:b}=E;b!==o.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{o.current.focus()}):o.current.focus())},v=E=>{const b=i();E.target!==o.current&&!b&&E.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!b)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{o.current.focus()},blur:()=>{o.current.blur()}}),()=>{const{prefixCls:E,domRef:b,mode:m}=e,I={inputRef:o,onInputKeyDown:l,onInputMouseDown:s,onInputChange:d,onInputPaste:g,compositionStatus:r.value,onInputCompositionStart:A,onInputCompositionEnd:f},y=m==="multiple"||m==="tags"?B(AT,$($({},e),I),null):B(RA,$($({},e),I),null);return B("div",{ref:b,class:`${E}-selector`,onClick:p,onMousedown:v},[y])}}});function pT(e,t,n){function o(r){var i,a,l;let s=r.target;s.shadowRoot&&r.composed&&(s=r.composedPath()[0]||s);const u=[(i=e[0])===null||i===void 0?void 0:i.value,(l=(a=e[1])===null||a===void 0?void 0:a.value)===null||l===void 0?void 0:l.getPopupElement()];t.value&&u.every(c=>c&&!c.contains(s)&&c!==s)&&n(!1)}ze(()=>{window.addEventListener("mousedown",o)}),et(()=>{window.removeEventListener("mousedown",o)})}function hT(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=J(!1);let n;const o=()=>{clearTimeout(n)};return ze(()=>{o()}),[t,(i,a)=>{o(),n=setTimeout(()=>{t.value=i,a&&a()},e)},o]}const cC=Symbol("BaseSelectContextKey");function mT(e){return tt(cC,e)}function vT(){return Ve(cC,{})}const CT=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function uC(e){if(!rt(e))return at(e);const t=new Proxy({},{get(n,o,r){return Reflect.get(e.value,o,r)},set(n,o,r){return e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return at(t)}var ET=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const yT=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],bT=()=>({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:V.any,emptyOptions:Boolean}),AC=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:V.any,placeholder:V.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:V.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:V.any,clearIcon:V.any,removeIcon:V.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),BT=()=>h(h({},bT()),AC());function FA(e){return e==="tags"||e==="multiple"}const IT=ae({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:gn(BT(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const i=P(()=>FA(e.mode)),a=P(()=>e.showSearch!==void 0?e.showSearch:i.value||e.mode==="combobox"),l=J(!1);ze(()=>{l.value=CT()});const s=HA(),u=J(null),c=ma(),A=J(null),f=J(null),d=J(null),g=Ae(!1),[p,v,E]=hT();o({focus:()=>{var k;(k=f.value)===null||k===void 0||k.focus()},blur:()=>{var k;(k=f.value)===null||k===void 0||k.blur()},scrollTo:k=>{var G;return(G=d.value)===null||G===void 0?void 0:G.scrollTo(k)}});const I=P(()=>{var k;if(e.mode!=="combobox")return e.searchValue;const G=(k=e.displayValues[0])===null||k===void 0?void 0:k.value;return typeof G=="string"||typeof G=="number"?String(G):""}),y=e.open!==void 0?e.open:e.defaultOpen,w=J(y),C=J(y),S=k=>{w.value=e.open!==void 0?e.open:k,C.value=w.value};me(()=>e.open,()=>{S(e.open)});const O=P(()=>!e.notFoundContent&&e.emptyOptions);Ye(()=>{C.value=w.value,(e.disabled||O.value&&C.value&&e.mode==="combobox")&&(C.value=!1)});const T=P(()=>O.value?!1:C.value),R=k=>{const G=k!==void 0?k:!C.value;C.value!==G&&!e.disabled&&(S(G),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(G))},F=P(()=>(e.tokenSeparators||[]).some(k=>[`
|
|
93
93
|
`,`\r
|
|
94
|
-
`].includes(k))),L=(k,G,fe)=>{var ge,x;let N=!0,z=k;(ge=e.onActiveValueChange)===null||ge===void 0||ge.call(e,null);const X=fe?null:Cx(k,e.tokenSeparators);return e.mode!=="combobox"&&X&&(z="",(x=e.onSearchSplit)===null||x===void 0||x.call(e,X),R(!1),N=!1),e.onSearch&&I.value!==z&&e.onSearch(z,{source:G?"typing":"effect"}),N},_=k=>{var G;!k||!k.trim()||(G=e.onSearch)===null||G===void 0||G.call(e,k,{source:"submit"})};me(C,()=>{!C.value&&!i.value&&e.mode!=="combobox"&&L("",!1,!1)},{immediate:!0,flush:"post"}),me(()=>e.disabled,()=>{w.value&&e.disabled&&S(!1),e.disabled&&!g.value&&v(!1)},{immediate:!0});const[Q,D]=sC(),M=function(k){var G;const fe=Q(),{which:ge}=k;if(ge===le.ENTER&&(e.mode!=="combobox"&&k.preventDefault(),C.value||R(!0)),D(!!I.value),ge===le.BACKSPACE&&!fe&&i.value&&!I.value&&e.displayValues.length){const X=[...e.displayValues];let U=null;for(let q=X.length-1;q>=0;q-=1){const re=X[q];if(!re.disabled){X.splice(q,1),U=re;break}}U&&e.onDisplayValuesChange(X,{type:"remove",values:[U]})}for(var x=arguments.length,N=new Array(x>1?x-1:0),z=1;z<x;z++)N[z-1]=arguments[z];C.value&&d.value&&d.value.onKeydown(k,...N),(G=e.onKeydown)===null||G===void 0||G.call(e,k,...N)},j=function(k){for(var G=arguments.length,fe=new Array(G>1?G-1:0),ge=1;ge<G;ge++)fe[ge-1]=arguments[ge];C.value&&d.value&&d.value.onKeyup(k,...fe),e.onKeyup&&e.onKeyup(k,...fe)},H=k=>{const G=e.displayValues.filter(fe=>fe!==k);e.onDisplayValuesChange(G,{type:"remove",values:[k]})},Y=J(!1),Z=function(){v(!0),e.disabled||(e.onFocus&&!Y.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&R(!0)),Y.value=!0},ee=Ae(!1),ue=function(){if(ee.value||(g.value=!0,v(!1,()=>{Y.value=!1,g.value=!1,R(!1)}),e.disabled))return;const k=I.value;k&&(e.mode==="tags"?e.onSearch(k,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},Ce=()=>{ee.value=!0},ne=()=>{ee.value=!1};tt("VCSelectContainerEvent",{focus:Z,blur:ue});const ce=[];ze(()=>{ce.forEach(k=>clearTimeout(k)),ce.splice(0,ce.length)}),et(()=>{ce.forEach(k=>clearTimeout(k)),ce.splice(0,ce.length)});const ve=function(k){var G,fe;const{target:ge}=k,x=(G=A.value)===null||G===void 0?void 0:G.getPopupElement();if(x&&x.contains(ge)){const U=setTimeout(()=>{var q;const re=ce.indexOf(U);re!==-1&&ce.splice(re,1),E(),!l.value&&!x.contains(document.activeElement)&&((q=f.value)===null||q===void 0||q.focus())});ce.push(U)}for(var N=arguments.length,z=new Array(N>1?N-1:0),X=1;X<N;X++)z[X-1]=arguments[X];(fe=e.onMousedown)===null||fe===void 0||fe.call(e,k,...z)},Ee=J(null),K=()=>{};return ze(()=>{me(T,()=>{var k;if(T.value){const G=Math.ceil((k=u.value)===null||k===void 0?void 0:k.offsetWidth);Ee.value!==G&&!Number.isNaN(G)&&(Ee.value=G)}},{immediate:!0,flush:"post"})}),pT([u,A],T,R),mT(uC(h(h({},ag(e)),{open:C,triggerOpen:T,showSearch:a,multiple:i,toggleOpen:R}))),()=>{const k=h(h({},e),n),{prefixCls:G,id:fe,open:ge,defaultOpen:x,mode:N,showSearch:z,searchValue:X,onSearch:U,allowClear:q,clearIcon:re,showArrow:se,inputIcon:ie,disabled:te,loading:Be,getInputElement:de,getPopupContainer:be,placement:Qe,animation:Me,transitionName:ke,dropdownStyle:Fe,dropdownClassName:Ft,dropdownMatchSelectWidth:Et,dropdownRender:fn,dropdownAlign:Lt,showAction:Ei,direction:sc,tokenSeparators:Pt,tagRender:wn,optionLabelRender:cc,onPopupScroll:dj,onDropdownVisibleChange:gj,onFocus:pj,onBlur:hj,onKeyup:mj,onKeydown:vj,onMousedown:Cj,onClear:Sd,omitDomProps:xd,getRawInputElement:Mb,displayValues:uc,onDisplayValuesChange:B5,emptyOptions:I5,activeDescendantId:w5,activeValue:Q5,OptionList:S5}=k,x5=ET(k,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Hb=N==="combobox"&&de&&de()||null,$a=typeof Mb=="function"&&Mb(),Od=h({},x5);let Rb;$a&&(Rb=Tr=>{R(Tr)}),yT.forEach(Tr=>{delete Od[Tr]}),xd==null||xd.forEach(Tr=>{delete Od[Tr]});const Fb=se!==void 0?se:Be||!i.value&&N!=="combobox";let Lb;Fb&&(Lb=B(br,{class:he(`${G}-arrow`,{[`${G}-arrow-loading`]:Be}),customizeIcon:ie,customizeIconProps:{loading:Be,searchValue:I.value,open:C.value,focused:p.value,showSearch:a.value}},null));let jb;const O5=()=>{Sd==null||Sd(),B5([],{type:"clear",values:uc}),L("",!1,!1)};!te&&q&&(uc.length||I.value)&&(jb=B(br,{class:`${G}-clear`,onMousedown:O5,customizeIcon:re},{default:()=>[mt("×")]}));const P5=B(S5,{ref:d},h(h({},s.customSlots),{option:r.option})),D5=he(G,n.class,{[`${G}-focused`]:p.value,[`${G}-multiple`]:i.value,[`${G}-single`]:!i.value,[`${G}-allow-clear`]:q,[`${G}-show-arrow`]:Fb,[`${G}-disabled`]:te,[`${G}-loading`]:Be,[`${G}-open`]:C.value,[`${G}-customize-input`]:Hb,[`${G}-show-search`]:a.value}),zb=B(XD,{ref:A,disabled:te,prefixCls:G,visible:T.value,popupElement:P5,containerWidth:Ee.value,animation:Me,transitionName:ke,dropdownStyle:Fe,dropdownClassName:Ft,direction:sc,dropdownMatchSelectWidth:Et,dropdownRender:fn,dropdownAlign:Lt,placement:Qe,getPopupContainer:be,empty:I5,getTriggerDOMNode:()=>c.current,onPopupVisibleChange:Rb,onPopupMouseEnter:K,onPopupFocusin:Ce,onPopupFocusout:ne},{default:()=>$a?Po($a)&&ln($a,{ref:c},!1,!0):B(gT,$($({},e),{},{domRef:c,prefixCls:G,inputElement:Hb,ref:f,id:fe,showSearch:a.value,mode:N,activeDescendantId:w5,tagRender:wn,optionLabelRender:cc,values:uc,open:C.value,onToggleOpen:R,activeValue:Q5,searchValue:I.value,onSearch:L,onSearchSubmit:_,onRemove:H,tokenWithEnter:F.value}),null)});let Pd;return $a?Pd=zb:Pd=B("div",$($({},Od),{},{class:D5,ref:u,onMousedown:ve,onKeydown:M,onKeyup:j}),[p.value&&!C.value&&B("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${uc.map(Tr=>{let{label:$b,value:T5}=Tr;return["number","string"].includes(typeof $b)?$b:T5}).join(", ")}`]),zb,Lb,jb]),Pd}}}),vs=(e,t)=>{let{height:n,offset:o,prefixCls:r,onInnerResize:i}=e,{slots:a}=t;var l;let s={},u={display:"flex",flexDirection:"column"};return o!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},u=h(h({},u),{transform:`translateY(${o}px)`,position:"absolute",left:0,right:0,top:0})),B("div",{style:s},[B(_i,{onResize:c=>{let{offsetHeight:A}=c;A&&i&&i()}},{default:()=>[B("div",{style:u,class:he({[`${r}-holder-inner`]:r})},[(l=a.default)===null||l===void 0?void 0:l.call(a)])]})])};vs.displayName="Filter",vs.inheritAttrs=!1,vs.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const fC=(e,t)=>{let{setRef:n}=e,{slots:o}=t;var r;const i=Vt((r=o.default)===null||r===void 0?void 0:r.call(o));return i&&i.length?Mt(i[0],{ref:n}):i};fC.props={setRef:{type:Function,default:()=>{}}};const wT=20;function dC(e){return"touches"in e?e.touches[0].pageY:e.pageY}const QT=ae({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:ma(),thumbRef:ma(),visibleTimeout:null,state:at({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,Ht?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,Ht?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,Ht?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,Ht?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,Ht?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,Ht?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),$e.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;h(this.state,{dragging:!0,pageY:dC(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:o}=this.state,{onScroll:r}=this.$props;if($e.cancel(this.moveRaf),t){const i=dC(e)-n,a=o+i,l=this.getEnableScrollRange(),s=this.getEnableHeightRange(),u=s?a/s:0,c=Math.ceil(u*l);this.moveRaf=$e(()=>{r(c)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,wT),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,o=this.getSpinHeight()+"px",r=this.getTop()+"px",i=this.showScroll(),a=i&&t;return B("div",{ref:this.scrollbarRef,class:he(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:i}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:a?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[B("div",{ref:this.thumbRef,class:he(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:o,top:r,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function ST(e,t,n,o){const r=new Map,i=new Map,a=Ae(Symbol("update"));me(e,()=>{a.value=Symbol("update")});let l;function s(){$e.cancel(l)}function u(){s(),l=$e(()=>{r.forEach((A,f)=>{if(A&&A.offsetParent){const{offsetHeight:d}=A;i.get(f)!==d&&(a.value=Symbol("update"),i.set(f,A.offsetHeight))}})})}function c(A,f){const d=t(A);r.get(d),f?(r.set(d,f.$el||f),u()):r.delete(d)}return er(()=>{s()}),[c,u,i,a]}function xT(e,t,n,o,r,i,a,l){let s;return u=>{if(u==null){l();return}$e.cancel(s);const c=t.value,A=o.itemHeight;if(typeof u=="number")a(u);else if(u&&typeof u=="object"){let f;const{align:d}=u;"index"in u?{index:f}=u:f=c.findIndex(v=>r(v)===u.key);const{offset:g=0}=u,p=(v,E)=>{if(v<0||!e.value)return;const b=e.value.clientHeight;let m=!1,I=E;if(b){const y=E||d;let w=0,C=0,S=0;const O=Math.min(c.length,f);for(let F=0;F<=O;F+=1){const L=r(c[F]);C=w;const _=n.get(L);S=C+(_===void 0?A:_),w=S,F===f&&_===void 0&&(m=!0)}const T=e.value.scrollTop;let R=null;switch(y){case"top":R=C-g;break;case"bottom":R=S-b+g;break;default:{const F=T+b;C<T?I="top":S>F&&(I="bottom")}}R!==null&&R!==T&&a(R)}s=$e(()=>{m&&i(),p(v-1,I)},2)};p(5)}}}const OT=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),gC=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o),n=!0,o=setTimeout(()=>{n=!1},50)}return function(i){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const l=i<0&&e.value||i>0&&t.value;return a&&l?(clearTimeout(o),n=!1):(!l||n)&&r(),!n&&l}};function PT(e,t,n,o){let r=0,i=null,a=null,l=!1;const s=gC(t,n);function u(A){if(!e.value)return;$e.cancel(i);const{deltaY:f}=A;r+=f,a=f,!s(f)&&(OT||A.preventDefault(),i=$e(()=>{o(r*(l?10:1)),r=0}))}function c(A){e.value&&(l=A.detail===a)}return[u,c]}const DT=14/15;function TT(e,t,n){let o=!1,r=0,i=null,a=null;const l=()=>{i&&(i.removeEventListener("touchmove",s),i.removeEventListener("touchend",u))},s=f=>{if(o){const d=Math.ceil(f.touches[0].pageY);let g=r-d;r=d,n(g)&&f.preventDefault(),clearInterval(a),a=setInterval(()=>{g*=DT,(!n(g,!0)||Math.abs(g)<=.1)&&clearInterval(a)},16)}},u=()=>{o=!1,l()},c=f=>{l(),f.touches.length===1&&!o&&(o=!0,r=Math.ceil(f.touches[0].pageY),i=f.target,i.addEventListener("touchmove",s,{passive:!1}),i.addEventListener("touchend",u))},A=()=>{};ze(()=>{document.addEventListener("touchmove",A,{passive:!1}),me(e,f=>{t.value.removeEventListener("touchstart",c),l(),clearInterval(a),f&&t.value.addEventListener("touchstart",c,{passive:!1})},{immediate:!0})}),et(()=>{document.removeEventListener("touchmove",A)})}var NT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const MT=[],HT={overflowY:"auto",overflowAnchor:"none"};function RT(e,t,n,o,r,i){let{getKey:a}=i;return e.slice(t,n+1).map((l,s)=>{const u=t+s,c=r(l,u,{}),A=a(l);return B(fC,{key:A,setRef:f=>o(l,f)},{default:()=>[c]})})}const FT=ae({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:V.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const o=P(()=>{const{height:H,itemHeight:Y,virtual:Z}=e;return!!(Z!==!1&&H&&Y)}),r=P(()=>{const{height:H,itemHeight:Y,data:Z}=e;return o.value&&Z&&Y*Z.length>H}),i=at({scrollTop:0,scrollMoving:!1}),a=P(()=>e.data||MT),l=J([]);me(a,()=>{l.value=we(a.value).slice()},{immediate:!0});const s=J(H=>{});me(()=>e.itemKey,H=>{typeof H=="function"?s.value=H:s.value=Y=>Y==null?void 0:Y[H]},{immediate:!0});const u=J(),c=J(),A=J(),f=H=>s.value(H),d={getKey:f};function g(H){let Y;typeof H=="function"?Y=H(i.scrollTop):Y=H;const Z=w(Y);u.value&&(u.value.scrollTop=Z),i.scrollTop=Z}const[p,v,E,b]=ST(l,f),m=at({scrollHeight:void 0,start:0,end:0,offset:void 0}),I=J(0);ze(()=>{Ze(()=>{var H;I.value=((H=c.value)===null||H===void 0?void 0:H.offsetHeight)||0})}),Bo(()=>{Ze(()=>{var H;I.value=((H=c.value)===null||H===void 0?void 0:H.offsetHeight)||0})}),me([o,l],()=>{o.value||h(m,{scrollHeight:void 0,start:0,end:l.value.length-1,offset:void 0})},{immediate:!0}),me([o,l,I,r],()=>{o.value&&!r.value&&h(m,{scrollHeight:I.value,start:0,end:l.value.length-1,offset:void 0}),u.value&&(i.scrollTop=u.value.scrollTop)},{immediate:!0}),me([r,o,()=>i.scrollTop,l,b,()=>e.height,I],()=>{if(!o.value||!r.value)return;let H=0,Y,Z,ee;const ue=l.value.length,Ce=l.value,ne=i.scrollTop,{itemHeight:ce,height:ve}=e,Ee=ne+ve;for(let K=0;K<ue;K+=1){const k=Ce[K],G=f(k);let fe=E.get(G);fe===void 0&&(fe=ce);const ge=H+fe;Y===void 0&&ge>=ne&&(Y=K,Z=H),ee===void 0&&ge>Ee&&(ee=K),H=ge}Y===void 0&&(Y=0,Z=0,ee=Math.ceil(ve/ce)),ee===void 0&&(ee=ue-1),ee=Math.min(ee+1,ue),h(m,{scrollHeight:H,start:Y,end:ee,offset:Z})},{immediate:!0});const y=P(()=>m.scrollHeight-e.height);function w(H){let Y=H;return Number.isNaN(y.value)||(Y=Math.min(Y,y.value)),Y=Math.max(Y,0),Y}const C=P(()=>i.scrollTop<=0),S=P(()=>i.scrollTop>=y.value),O=gC(C,S);function T(H){g(H)}function R(H){var Y;const{scrollTop:Z}=H.currentTarget;Z!==i.scrollTop&&g(Z),(Y=e.onScroll)===null||Y===void 0||Y.call(e,H)}const[F,L]=PT(o,C,S,H=>{g(Y=>Y+H)});TT(o,u,(H,Y)=>O(H,Y)?!1:(F({preventDefault(){},deltaY:H}),!0));function _(H){o.value&&H.preventDefault()}const Q=()=>{u.value&&(u.value.removeEventListener("wheel",F,Ht?{passive:!1}:!1),u.value.removeEventListener("DOMMouseScroll",L),u.value.removeEventListener("MozMousePixelScroll",_))};Ye(()=>{Ze(()=>{u.value&&(Q(),u.value.addEventListener("wheel",F,Ht?{passive:!1}:!1),u.value.addEventListener("DOMMouseScroll",L),u.value.addEventListener("MozMousePixelScroll",_))})}),et(()=>{Q()});const D=xT(u,l,E,e,f,v,g,()=>{var H;(H=A.value)===null||H===void 0||H.delayHidden()});n({scrollTo:D});const M=P(()=>{let H=null;return e.height&&(H=h({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},HT),o.value&&(H.overflowY="hidden",i.scrollMoving&&(H.pointerEvents="none"))),H});return me([()=>m.start,()=>m.end,l],()=>{if(e.onVisibleChange){const H=l.value.slice(m.start,m.end+1);e.onVisibleChange(H,l.value)}},{flush:"post"}),{state:i,mergedData:l,componentStyle:M,onFallbackScroll:R,onScrollBar:T,componentRef:u,useVirtual:o,calRes:m,collectHeight:v,setInstance:p,sharedConfig:d,scrollBarRef:A,fillerInnerRef:c,delayHideScrollBar:()=>{var H;(H=A.value)===null||H===void 0||H.delayHidden()}}},render(){const e=h(h({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:o,fullHeight:r,data:i,itemKey:a,virtual:l,component:s="div",onScroll:u,children:c=this.$slots.default,style:A,class:f}=e,d=NT(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),g=he(t,f),{scrollTop:p}=this.state,{scrollHeight:v,offset:E,start:b,end:m}=this.calRes,{componentStyle:I,onFallbackScroll:y,onScrollBar:w,useVirtual:C,collectHeight:S,sharedConfig:O,setInstance:T,mergedData:R,delayHideScrollBar:F}=this;return B("div",$({style:h(h({},A),{position:"relative"}),class:g},d),[B(s,{class:`${t}-holder`,style:I,ref:"componentRef",onScroll:y,onMouseenter:F},{default:()=>[B(vs,{prefixCls:t,height:v,offset:E,onInnerResize:S,ref:"fillerInnerRef"},{default:()=>RT(R,b,m,T,c,O)})]}),C&&B(QT,{ref:"scrollBarRef",prefixCls:t,scrollTop:p,height:n,scrollHeight:v,count:R.length,onScroll:w,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}});function LT(e,t,n){const o=Ae(e());return me(t,(r,i)=>{n?n(r,i)&&(o.value=e()):o.value=e()}),o}function jT(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const pC=Symbol("SelectContextKey");function zT(e){return tt(pC,e)}function $T(){return Ve(pC,{})}var kT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function hC(e){return typeof e=="string"||typeof e=="number"}const VT=ae({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{expose:n,slots:o}=t;const r=vT(),i=$T(),a=P(()=>`${r.prefixCls}-item`),l=LT(()=>i.flattenOptions,[()=>r.open,()=>i.flattenOptions],y=>y[0]),s=ma(),u=y=>{y.preventDefault()},c=y=>{s.current&&s.current.scrollTo(typeof y=="number"?{index:y}:y)},A=function(y){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const C=l.value.length;for(let S=0;S<C;S+=1){const O=(y+S*w+C)%C,{group:T,data:R}=l.value[O];if(!T&&!R.disabled)return O}return-1},f=at({activeIndex:A(0)}),d=function(y){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;f.activeIndex=y;const C={source:w?"keyboard":"mouse"},S=l.value[y];if(!S){i.onActiveValue(null,-1,C);return}i.onActiveValue(S.value,y,C)};me([()=>l.value.length,()=>r.searchValue],()=>{d(i.defaultActiveFirstOption!==!1?A(0):-1)},{immediate:!0});const g=y=>i.rawValues.has(y)&&r.mode!=="combobox";me([()=>r.open,()=>r.searchValue],()=>{if(!r.multiple&&r.open&&i.rawValues.size===1){const y=Array.from(i.rawValues)[0],w=we(l.value).findIndex(C=>{let{data:S}=C;return S[i.fieldNames.value]===y});w!==-1&&(d(w),Ze(()=>{c(w)}))}r.open&&Ze(()=>{var y;(y=s.current)===null||y===void 0||y.scrollTo(void 0)})},{immediate:!0,flush:"post"});const p=y=>{y!==void 0&&i.onSelect(y,{selected:!i.rawValues.has(y)}),r.multiple||r.toggleOpen(!1)},v=y=>typeof y.label=="function"?y.label():y.label;function E(y){const w=l.value[y];if(!w)return null;const C=w.data||{},{value:S}=C,{group:O}=w,T=ps(C,!0),R=v(w);return w?B("div",$($({"aria-label":typeof R=="string"&&!O?R:null},T),{},{key:y,role:O?"presentation":"option",id:`${r.id}_list_${y}`,"aria-selected":g(S)}),[S]):null}return n({onKeydown:y=>{const{which:w,ctrlKey:C}=y;switch(w){case le.N:case le.P:case le.UP:case le.DOWN:{let S=0;if(w===le.UP?S=-1:w===le.DOWN?S=1:jT()&&C&&(w===le.N?S=1:w===le.P&&(S=-1)),S!==0){const O=A(f.activeIndex+S,S);c(O),d(O,!0)}break}case le.ENTER:{const S=l.value[f.activeIndex];S&&!S.data.disabled?p(S.value):p(void 0),r.open&&y.preventDefault();break}case le.ESC:r.toggleOpen(!1),r.open&&y.stopPropagation()}},onKeyup:()=>{},scrollTo:y=>{c(y)}}),()=>{const{id:y,notFoundContent:w,onPopupScroll:C}=r,{menuItemSelectedIcon:S,fieldNames:O,virtual:T,listHeight:R,listItemHeight:F}=i,L=o.option,{activeIndex:_}=f,Q=Object.keys(O).map(D=>O[D]);return l.value.length===0?B("div",{role:"listbox",id:`${y}_list`,class:`${a.value}-empty`,onMousedown:u},[w]):B(xe,null,[B("div",{role:"listbox",id:`${y}_list`,style:{height:0,width:0,overflow:"hidden"}},[E(_-1),E(_),E(_+1)]),B(FT,{itemKey:"key",ref:s,data:l.value,height:R,itemHeight:F,fullHeight:!1,onMousedown:u,onScroll:C,virtual:T},{default:(D,M)=>{var j;const{group:H,groupOption:Y,data:Z,value:ee}=D,{key:ue}=Z,Ce=typeof D.label=="function"?D.label():D.label;if(H){const re=(j=Z.title)!==null&&j!==void 0?j:hC(Ce)&&Ce;return B("div",{class:he(a.value,`${a.value}-group`),title:re},[L?L(Z):Ce!==void 0?Ce:ue])}const{disabled:ne,title:ce,children:ve,style:Ee,class:K,className:k}=Z,G=kT(Z,["disabled","title","children","style","class","className"]),fe=st(G,Q),ge=g(ee),x=`${a.value}-option`,N=he(a.value,x,K,k,{[`${x}-grouped`]:Y,[`${x}-active`]:_===M&&!ne,[`${x}-disabled`]:ne,[`${x}-selected`]:ge}),z=v(D),X=!S||typeof S=="function"||ge,U=typeof z=="number"?z:z||ee;let q=hC(U)?U.toString():void 0;return ce!==void 0&&(q=ce),B("div",$($({},fe),{},{"aria-selected":ge,class:N,title:q,onMousemove:re=>{G.onMousemove&&G.onMousemove(re),!(_===M||ne)&&d(M)},onClick:re=>{ne||p(ee),G.onClick&&G.onClick(re)},style:Ee}),[B("div",{class:`${x}-content`},[L?L(Z):U]),Po(S)||ge,X&&B(br,{class:`${a.value}-option-state`,customizeIcon:S,customizeIconProps:{isSelected:ge}},{default:()=>[ge?"✓":null]})])}})])}}});var _T=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function YT(e){const t=e,{key:n,children:o}=t,r=t.props,{value:i,disabled:a}=r,l=_T(r,["value","disabled"]),s=o==null?void 0:o.default;return h({key:n,value:i!==void 0?i:n,children:s,disabled:a||a===""},l)}function LA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Vt(e).map((o,r)=>{var i;if(!Po(o)||!o.type)return null;const{type:{isSelectOptGroup:a},key:l,children:s,props:u}=o;if(t||!a)return YT(o);const c=s&&s.default?s.default():void 0,A=(u==null?void 0:u.label)||((i=s.label)===null||i===void 0?void 0:i.call(s))||l;return h(h({key:`__RC_SELECT_GRP__${l===null?r:String(l)}__`},u),{label:A,options:LA(c||[])})}).filter(o=>o)}function UT(e,t,n){const o=J(),r=J(),i=J(),a=J([]);return me([e,t],()=>{e.value?a.value=we(e.value).slice():a.value=LA(t.value)},{immediate:!0,deep:!0}),Ye(()=>{const l=a.value,s=new Map,u=new Map,c=n.value;function A(f){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let g=0;g<f.length;g+=1){const p=f[g];!p[c.options]||d?(s.set(p[c.value],p),u.set(p[c.label],p)):A(p[c.options],!0)}}A(l),o.value=l,r.value=s,i.value=u}),{options:o,valueOptions:r,labelOptions:i}}let mC=0;const WT=process.env.NODE_ENV!=="test"&&on();function GT(){let e;return WT?(e=mC,mC+=1):e="TEST_OR_SSR",e}function XT(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ae("");const t=`rc_select_${GT()}`;return e.value||t}function jA(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}const KT=typeof window<"u"&&window.document&&window.document.documentElement;process.env.NODE_ENV;function JT(e){const{mode:t,options:n,children:o,backfill:r,allowClear:i,placeholder:a,getInputElement:l,showSearch:s,onSearch:u,defaultOpen:c,autofocus:A,labelInValue:f,value:d,inputValue:g,optionLabelProp:p}=e,v=FA(t),E=s!==void 0?s:v||t==="combobox",b=n||LA(o);if(mn(t!=="tags"||b.every(m=>!m.disabled),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),mn(t!=="combobox"||!p,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),mn(t==="combobox"||!r,"`backfill` only works with `combobox` mode."),mn(t==="combobox"||!l,"`getInputElement` only work with `combobox` mode."),Hh(t!=="combobox"||!l||!i||!a,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),u&&!E&&t!=="combobox"&&t!=="tags"&&mn(!1,"`onSearch` should work with `showSearch` instead of use alone."),Hh(!c||A,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autofocus` if needed."),d!=null){const m=jA(d);mn(!f||m.every(I=>typeof I=="object"&&("key"in I||"value"in I)),"`value` should in shape of `{ value: string | number, label?: any }` when you set `labelInValue` to `true`"),mn(!v||Array.isArray(d),"`value` should be array when `mode` is `multiple` or `tags`")}if(o){let m=null;o.some(I=>{var y;if(!Po(I)||!I.type)return!1;const{type:w}=I;return w.isSelectOption?!1:w.isSelectOptGroup?!(((y=I.children)===null||y===void 0?void 0:y.default())||[]).every(O=>!Po(O)||!I.type||O.type.isSelectOption?!0:(m=O.type,!1)):(m=w,!0)}),m&&mn(!1,`\`children\` should be \`Select.Option\` or \`Select.OptGroup\` instead of \`${m.displayName||m.name||m}\`.`),mn(g===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function zA(e,t){return jA(e).join("").toUpperCase().includes(t)}const qT=(e,t,n,o,r)=>P(()=>{const i=n.value,a=r==null?void 0:r.value,l=o==null?void 0:o.value;if(!i||l===!1)return e.value;const{options:s,label:u,value:c}=t.value,A=[],f=typeof l=="function",d=i.toUpperCase(),g=f?l:(v,E)=>a?zA(E[a],d):E[s]?zA(E[u!=="children"?u:"label"],d):zA(E[c],d),p=f?v=>qu(v):v=>v;return e.value.forEach(v=>{if(v[s]){if(g(i,p(v)))A.push(v);else{const b=v[s].filter(m=>g(i,p(m)));b.length&&A.push(h(h({},v),{[s]:b}))}return}g(i,p(v))&&A.push(v)}),A}),ZT=(e,t)=>{const n=J({values:new Map,options:new Map});return[P(()=>{const{values:i,options:a}=n.value,l=e.value.map(c=>{var A;return c.label===void 0?h(h({},c),{label:(A=i.get(c.value))===null||A===void 0?void 0:A.label}):c}),s=new Map,u=new Map;return l.forEach(c=>{s.set(c.value,c),u.set(c.value,t.value.get(c.value)||a.get(c.value))}),n.value.values=s,n.value.options=u,l}),i=>t.value.get(i)||n.value.options.get(i)]};function $A(e,t){const{defaultValue:n,value:o=Ae()}=t||{};let r=typeof e=="function"?e():e;o.value!==void 0&&(r=pe(o)),n!==void 0&&(r=typeof n=="function"?n():n);const i=Ae(r),a=Ae(r);Ye(()=>{let s=o.value!==void 0?o.value:i.value;t.postState&&(s=t.postState(s)),a.value=s});function l(s){const u=a.value;i.value=s,we(a.value)!==s&&t.onChange&&t.onChange(s,u)}return me(o,()=>{i.value=o.value}),[a,l]}function ho(e){const t=typeof e=="function"?e():e,n=Ae(t);function o(r){n.value=r}return[n,o]}const eN=["inputValue"];function vC(){return h(h({},AC()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:V.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:V.any,defaultValue:V.any,onChange:Function,children:Array})}function tN(e){return!e||typeof e!="object"}const nN=ae({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:gn(vC(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:o,slots:r}=t;const i=XT(Xt(e,"id")),a=P(()=>FA(e.mode)),l=P(()=>!!(!e.options&&e.children)),s=P(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),u=P(()=>Vm(e.fieldNames,l.value)),[c,A]=$A("",{value:P(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:K=>K||""}),f=UT(Xt(e,"options"),Xt(e,"children"),u),{valueOptions:d,labelOptions:g,options:p}=f,v=K=>jA(K).map(G=>{var fe,ge;let x,N,z,X;tN(G)?x=G:(z=G.key,N=G.label,x=(fe=G.value)!==null&&fe!==void 0?fe:z);const U=d.value.get(x);return U&&(N===void 0&&(N=U==null?void 0:U[e.optionLabelProp||u.value.label]),z===void 0&&(z=(ge=U==null?void 0:U.key)!==null&&ge!==void 0?ge:x),X=U==null?void 0:U.disabled),{label:N,value:x,key:z,disabled:X,option:U}}),[E,b]=$A(e.defaultValue,{value:Xt(e,"value")}),m=P(()=>{var K;const k=v(E.value);return e.mode==="combobox"&&!(!((K=k[0])===null||K===void 0)&&K.value)?[]:k}),[I,y]=ZT(m,d),w=P(()=>{if(!e.mode&&I.value.length===1){const K=I.value[0];if(K.value===null&&(K.label===null||K.label===void 0))return[]}return I.value.map(K=>{var k;return h(h({},K),{label:(k=typeof K.label=="function"?K.label():K.label)!==null&&k!==void 0?k:K.value})})}),C=P(()=>new Set(I.value.map(K=>K.value)));Ye(()=>{var K;if(e.mode==="combobox"){const k=(K=I.value[0])===null||K===void 0?void 0:K.value;k!=null&&A(String(k))}},{flush:"post"});const S=(K,k)=>{const G=k??K;return{[u.value.value]:K,[u.value.label]:G}},O=J();Ye(()=>{if(e.mode!=="tags"){O.value=p.value;return}const K=p.value.slice(),k=G=>d.value.has(G);[...I.value].sort((G,fe)=>G.value<fe.value?-1:1).forEach(G=>{const fe=G.value;k(fe)||K.push(S(fe,G.label))}),O.value=K});const T=qT(O,u,c,s,Xt(e,"optionFilterProp")),R=P(()=>e.mode!=="tags"||!c.value||T.value.some(K=>K[e.optionFilterProp||"value"]===c.value)?T.value:[S(c.value),...T.value]),F=P(()=>e.filterSort?[...R.value].sort((K,k)=>e.filterSort(K,k)):R.value),L=P(()=>vx(F.value,{fieldNames:u.value,childrenAsData:l.value})),_=K=>{const k=v(K);if(b(k),e.onChange&&(k.length!==I.value.length||k.some((G,fe)=>{var ge;return((ge=I.value[fe])===null||ge===void 0?void 0:ge.value)!==(G==null?void 0:G.value)}))){const G=e.labelInValue?k.map(ge=>h(h({},ge),{originLabel:ge.label,label:typeof ge.label=="function"?ge.label():ge.label})):k.map(ge=>ge.value),fe=k.map(ge=>qu(y(ge.value)));e.onChange(a.value?G:G[0],a.value?fe:fe[0])}},[Q,D]=ho(null),[M,j]=ho(0),H=P(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),Y=function(K,k){let{source:G="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};j(k),e.backfill&&e.mode==="combobox"&&K!==null&&G==="keyboard"&&D(String(K))},Z=(K,k)=>{const G=()=>{var fe;const ge=y(K),x=ge==null?void 0:ge[u.value.label];return[e.labelInValue?{label:typeof x=="function"?x():x,originLabel:x,value:K,key:(fe=ge==null?void 0:ge.key)!==null&&fe!==void 0?fe:K}:K,qu(ge)]};if(k&&e.onSelect){const[fe,ge]=G();e.onSelect(fe,ge)}else if(!k&&e.onDeselect){const[fe,ge]=G();e.onDeselect(fe,ge)}},ee=(K,k)=>{let G;const fe=a.value?k.selected:!0;fe?G=a.value?[...I.value,K]:[K]:G=I.value.filter(ge=>ge.value!==K),_(G),Z(K,fe),e.mode==="combobox"?D(""):(!a.value||e.autoClearSearchValue)&&(A(""),D(""))},ue=(K,k)=>{_(K),(k.type==="remove"||k.type==="clear")&&k.values.forEach(G=>{Z(G.value,!1)})},Ce=(K,k)=>{var G;if(A(K),D(null),k.source==="submit"){const fe=(K||"").trim();if(fe){const ge=Array.from(new Set([...C.value,fe]));_(ge),Z(fe,!0),A("")}return}k.source!=="blur"&&(e.mode==="combobox"&&_(K),(G=e.onSearch)===null||G===void 0||G.call(e,K))},ne=K=>{let k=K;e.mode!=="tags"&&(k=K.map(fe=>{const ge=g.value.get(fe);return ge==null?void 0:ge.value}).filter(fe=>fe!==void 0));const G=Array.from(new Set([...C.value,...k]));_(G),G.forEach(fe=>{Z(fe,!0)})},ce=P(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);zT(uC(h(h({},f),{flattenOptions:L,onActiveValue:Y,defaultActiveFirstOption:H,onSelect:ee,menuItemSelectedIcon:Xt(e,"menuItemSelectedIcon"),rawValues:C,fieldNames:u,virtual:ce,listHeight:Xt(e,"listHeight"),listItemHeight:Xt(e,"listItemHeight"),childrenAsData:l}))),process.env.NODE_ENV!=="production"&&Ye(()=>{JT(e)},{flush:"post"});const ve=Ae();n({focus(){var K;(K=ve.value)===null||K===void 0||K.focus()},blur(){var K;(K=ve.value)===null||K===void 0||K.blur()},scrollTo(K){var k;(k=ve.value)===null||k===void 0||k.scrollTo(K)}});const Ee=P(()=>st(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>B(IT,$($($({},Ee.value),o),{},{id:i,prefixCls:e.prefixCls,ref:ve,omitDomProps:eN,mode:e.mode,displayValues:w.value,onDisplayValuesChange:ue,searchValue:c.value,onSearch:Ce,onSearchSplit:ne,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:VT,emptyOptions:!L.value.length,activeValue:Q.value,activeDescendantId:`${i}_list_${M.value}`}),r)}}),kA=()=>null;kA.isSelectOption=!0,kA.displayName="ASelectOption";const VA=()=>null;VA.isSelectOptGroup=!0,VA.displayName="ASelectOptGroup";var oN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},rN=Symbol("iconContext"),CC=function(){return Ve(rN,{prefixCls:Ae("anticon"),rootClassName:Ae(""),csp:Ae()})};function _A(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function iN(e,t){return e&&e.contains?e.contains(t):!1}var EC="data-vc-order",aN="vc-icon-key",YA=new Map;function yC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):aN}function UA(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function lN(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function bC(e){return Array.from((YA.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function BC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!_A())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(EC,lN(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var i=UA(t),a=i.firstChild;if(o){if(o==="queue"){var l=bC(i).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(EC))});if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function sN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=UA(t);return bC(n).find(function(o){return o.getAttribute(yC(t))===e})}function cN(e,t){var n=YA.get(e);if(!n||!iN(document,n)){var o=BC("",t),r=o.parentNode;YA.set(e,r),e.removeChild(o)}}function uN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=UA(n);cN(o,n);var r=sN(t,n);if(r)return n.csp&&n.csp.nonce&&r.nonce!==n.csp.nonce&&(r.nonce=n.csp.nonce),r.innerHTML!==e&&(r.innerHTML=e),r;var i=BC(e,n);return i.setAttribute(yC(n),t),i}function IC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){AN(e,r,n[r])})}return e}function AN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fN(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(t))}function dN(e,t){fN(e,"[@ant-design/icons-vue] ".concat(t))}function wC(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function WA(e,t,n){return n?ir(e.tag,IC({key:t},n,e.attrs),(e.children||[]).map(function(o,r){return WA(o,"".concat(t,"-").concat(e.tag,"-").concat(r))})):ir(e.tag,IC({key:t},e.attrs),(e.children||[]).map(function(o,r){return WA(o,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function QC(e){return fr(e)[0]}function SC(e){return e?Array.isArray(e)?e:[e]:[]}var gN=`
|
|
94
|
+
`].includes(k))),L=(k,G,fe)=>{var ge,x;let N=!0,z=k;(ge=e.onActiveValueChange)===null||ge===void 0||ge.call(e,null);const X=fe?null:Cx(k,e.tokenSeparators);return e.mode!=="combobox"&&X&&(z="",(x=e.onSearchSplit)===null||x===void 0||x.call(e,X),R(!1),N=!1),e.onSearch&&I.value!==z&&e.onSearch(z,{source:G?"typing":"effect"}),N},_=k=>{var G;!k||!k.trim()||(G=e.onSearch)===null||G===void 0||G.call(e,k,{source:"submit"})};me(C,()=>{!C.value&&!i.value&&e.mode!=="combobox"&&L("",!1,!1)},{immediate:!0,flush:"post"}),me(()=>e.disabled,()=>{w.value&&e.disabled&&S(!1),e.disabled&&!g.value&&v(!1)},{immediate:!0});const[Q,D]=sC(),M=function(k){var G;const fe=Q(),{which:ge}=k;if(ge===le.ENTER&&(e.mode!=="combobox"&&k.preventDefault(),C.value||R(!0)),D(!!I.value),ge===le.BACKSPACE&&!fe&&i.value&&!I.value&&e.displayValues.length){const X=[...e.displayValues];let U=null;for(let q=X.length-1;q>=0;q-=1){const re=X[q];if(!re.disabled){X.splice(q,1),U=re;break}}U&&e.onDisplayValuesChange(X,{type:"remove",values:[U]})}for(var x=arguments.length,N=new Array(x>1?x-1:0),z=1;z<x;z++)N[z-1]=arguments[z];C.value&&d.value&&d.value.onKeydown(k,...N),(G=e.onKeydown)===null||G===void 0||G.call(e,k,...N)},j=function(k){for(var G=arguments.length,fe=new Array(G>1?G-1:0),ge=1;ge<G;ge++)fe[ge-1]=arguments[ge];C.value&&d.value&&d.value.onKeyup(k,...fe),e.onKeyup&&e.onKeyup(k,...fe)},H=k=>{const G=e.displayValues.filter(fe=>fe!==k);e.onDisplayValuesChange(G,{type:"remove",values:[k]})},Y=J(!1),Z=function(){v(!0),e.disabled||(e.onFocus&&!Y.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&R(!0)),Y.value=!0},ee=Ae(!1),ue=function(){if(ee.value||(g.value=!0,v(!1,()=>{Y.value=!1,g.value=!1,R(!1)}),e.disabled))return;const k=I.value;k&&(e.mode==="tags"?e.onSearch(k,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},Ce=()=>{ee.value=!0},ne=()=>{ee.value=!1};tt("VCSelectContainerEvent",{focus:Z,blur:ue});const ce=[];ze(()=>{ce.forEach(k=>clearTimeout(k)),ce.splice(0,ce.length)}),et(()=>{ce.forEach(k=>clearTimeout(k)),ce.splice(0,ce.length)});const ve=function(k){var G,fe;const{target:ge}=k,x=(G=A.value)===null||G===void 0?void 0:G.getPopupElement();if(x&&x.contains(ge)){const U=setTimeout(()=>{var q;const re=ce.indexOf(U);re!==-1&&ce.splice(re,1),E(),!l.value&&!x.contains(document.activeElement)&&((q=f.value)===null||q===void 0||q.focus())});ce.push(U)}for(var N=arguments.length,z=new Array(N>1?N-1:0),X=1;X<N;X++)z[X-1]=arguments[X];(fe=e.onMousedown)===null||fe===void 0||fe.call(e,k,...z)},Ee=J(null),K=()=>{};return ze(()=>{me(T,()=>{var k;if(T.value){const G=Math.ceil((k=u.value)===null||k===void 0?void 0:k.offsetWidth);Ee.value!==G&&!Number.isNaN(G)&&(Ee.value=G)}},{immediate:!0,flush:"post"})}),pT([u,A],T,R),mT(uC(h(h({},ag(e)),{open:C,triggerOpen:T,showSearch:a,multiple:i,toggleOpen:R}))),()=>{const k=h(h({},e),n),{prefixCls:G,id:fe,open:ge,defaultOpen:x,mode:N,showSearch:z,searchValue:X,onSearch:U,allowClear:q,clearIcon:re,showArrow:se,inputIcon:ie,disabled:te,loading:Be,getInputElement:de,getPopupContainer:be,placement:Qe,animation:Me,transitionName:ke,dropdownStyle:Fe,dropdownClassName:Ft,dropdownMatchSelectWidth:Et,dropdownRender:fn,dropdownAlign:Lt,showAction:Ei,direction:sc,tokenSeparators:Pt,tagRender:wn,optionLabelRender:cc,onPopupScroll:gj,onDropdownVisibleChange:pj,onFocus:hj,onBlur:mj,onKeyup:vj,onKeydown:Cj,onMousedown:Ej,onClear:Sd,omitDomProps:xd,getRawInputElement:Mb,displayValues:uc,onDisplayValuesChange:I5,emptyOptions:w5,activeDescendantId:Q5,activeValue:S5,OptionList:x5}=k,O5=ET(k,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Hb=N==="combobox"&&de&&de()||null,$a=typeof Mb=="function"&&Mb(),Od=h({},O5);let Rb;$a&&(Rb=Tr=>{R(Tr)}),yT.forEach(Tr=>{delete Od[Tr]}),xd==null||xd.forEach(Tr=>{delete Od[Tr]});const Fb=se!==void 0?se:Be||!i.value&&N!=="combobox";let Lb;Fb&&(Lb=B(br,{class:he(`${G}-arrow`,{[`${G}-arrow-loading`]:Be}),customizeIcon:ie,customizeIconProps:{loading:Be,searchValue:I.value,open:C.value,focused:p.value,showSearch:a.value}},null));let jb;const P5=()=>{Sd==null||Sd(),I5([],{type:"clear",values:uc}),L("",!1,!1)};!te&&q&&(uc.length||I.value)&&(jb=B(br,{class:`${G}-clear`,onMousedown:P5,customizeIcon:re},{default:()=>[Ct("×")]}));const D5=B(x5,{ref:d},h(h({},s.customSlots),{option:r.option})),T5=he(G,n.class,{[`${G}-focused`]:p.value,[`${G}-multiple`]:i.value,[`${G}-single`]:!i.value,[`${G}-allow-clear`]:q,[`${G}-show-arrow`]:Fb,[`${G}-disabled`]:te,[`${G}-loading`]:Be,[`${G}-open`]:C.value,[`${G}-customize-input`]:Hb,[`${G}-show-search`]:a.value}),zb=B(XD,{ref:A,disabled:te,prefixCls:G,visible:T.value,popupElement:D5,containerWidth:Ee.value,animation:Me,transitionName:ke,dropdownStyle:Fe,dropdownClassName:Ft,direction:sc,dropdownMatchSelectWidth:Et,dropdownRender:fn,dropdownAlign:Lt,placement:Qe,getPopupContainer:be,empty:w5,getTriggerDOMNode:()=>c.current,onPopupVisibleChange:Rb,onPopupMouseEnter:K,onPopupFocusin:Ce,onPopupFocusout:ne},{default:()=>$a?Po($a)&&ln($a,{ref:c},!1,!0):B(gT,$($({},e),{},{domRef:c,prefixCls:G,inputElement:Hb,ref:f,id:fe,showSearch:a.value,mode:N,activeDescendantId:Q5,tagRender:wn,optionLabelRender:cc,values:uc,open:C.value,onToggleOpen:R,activeValue:S5,searchValue:I.value,onSearch:L,onSearchSubmit:_,onRemove:H,tokenWithEnter:F.value}),null)});let Pd;return $a?Pd=zb:Pd=B("div",$($({},Od),{},{class:T5,ref:u,onMousedown:ve,onKeydown:M,onKeyup:j}),[p.value&&!C.value&&B("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${uc.map(Tr=>{let{label:$b,value:N5}=Tr;return["number","string"].includes(typeof $b)?$b:N5}).join(", ")}`]),zb,Lb,jb]),Pd}}}),vs=(e,t)=>{let{height:n,offset:o,prefixCls:r,onInnerResize:i}=e,{slots:a}=t;var l;let s={},u={display:"flex",flexDirection:"column"};return o!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},u=h(h({},u),{transform:`translateY(${o}px)`,position:"absolute",left:0,right:0,top:0})),B("div",{style:s},[B(_i,{onResize:c=>{let{offsetHeight:A}=c;A&&i&&i()}},{default:()=>[B("div",{style:u,class:he({[`${r}-holder-inner`]:r})},[(l=a.default)===null||l===void 0?void 0:l.call(a)])]})])};vs.displayName="Filter",vs.inheritAttrs=!1,vs.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const fC=(e,t)=>{let{setRef:n}=e,{slots:o}=t;var r;const i=Vt((r=o.default)===null||r===void 0?void 0:r.call(o));return i&&i.length?Mt(i[0],{ref:n}):i};fC.props={setRef:{type:Function,default:()=>{}}};const wT=20;function dC(e){return"touches"in e?e.touches[0].pageY:e.pageY}const QT=ae({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:ma(),thumbRef:ma(),visibleTimeout:null,state:at({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,Ht?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,Ht?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,Ht?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,Ht?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,Ht?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,Ht?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),$e.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;h(this.state,{dragging:!0,pageY:dC(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:o}=this.state,{onScroll:r}=this.$props;if($e.cancel(this.moveRaf),t){const i=dC(e)-n,a=o+i,l=this.getEnableScrollRange(),s=this.getEnableHeightRange(),u=s?a/s:0,c=Math.ceil(u*l);this.moveRaf=$e(()=>{r(c)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,wT),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,o=this.getSpinHeight()+"px",r=this.getTop()+"px",i=this.showScroll(),a=i&&t;return B("div",{ref:this.scrollbarRef,class:he(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:i}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:a?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[B("div",{ref:this.thumbRef,class:he(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:o,top:r,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function ST(e,t,n,o){const r=new Map,i=new Map,a=Ae(Symbol("update"));me(e,()=>{a.value=Symbol("update")});let l;function s(){$e.cancel(l)}function u(){s(),l=$e(()=>{r.forEach((A,f)=>{if(A&&A.offsetParent){const{offsetHeight:d}=A;i.get(f)!==d&&(a.value=Symbol("update"),i.set(f,A.offsetHeight))}})})}function c(A,f){const d=t(A);r.get(d),f?(r.set(d,f.$el||f),u()):r.delete(d)}return er(()=>{s()}),[c,u,i,a]}function xT(e,t,n,o,r,i,a,l){let s;return u=>{if(u==null){l();return}$e.cancel(s);const c=t.value,A=o.itemHeight;if(typeof u=="number")a(u);else if(u&&typeof u=="object"){let f;const{align:d}=u;"index"in u?{index:f}=u:f=c.findIndex(v=>r(v)===u.key);const{offset:g=0}=u,p=(v,E)=>{if(v<0||!e.value)return;const b=e.value.clientHeight;let m=!1,I=E;if(b){const y=E||d;let w=0,C=0,S=0;const O=Math.min(c.length,f);for(let F=0;F<=O;F+=1){const L=r(c[F]);C=w;const _=n.get(L);S=C+(_===void 0?A:_),w=S,F===f&&_===void 0&&(m=!0)}const T=e.value.scrollTop;let R=null;switch(y){case"top":R=C-g;break;case"bottom":R=S-b+g;break;default:{const F=T+b;C<T?I="top":S>F&&(I="bottom")}}R!==null&&R!==T&&a(R)}s=$e(()=>{m&&i(),p(v-1,I)},2)};p(5)}}}const OT=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),gC=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o),n=!0,o=setTimeout(()=>{n=!1},50)}return function(i){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const l=i<0&&e.value||i>0&&t.value;return a&&l?(clearTimeout(o),n=!1):(!l||n)&&r(),!n&&l}};function PT(e,t,n,o){let r=0,i=null,a=null,l=!1;const s=gC(t,n);function u(A){if(!e.value)return;$e.cancel(i);const{deltaY:f}=A;r+=f,a=f,!s(f)&&(OT||A.preventDefault(),i=$e(()=>{o(r*(l?10:1)),r=0}))}function c(A){e.value&&(l=A.detail===a)}return[u,c]}const DT=14/15;function TT(e,t,n){let o=!1,r=0,i=null,a=null;const l=()=>{i&&(i.removeEventListener("touchmove",s),i.removeEventListener("touchend",u))},s=f=>{if(o){const d=Math.ceil(f.touches[0].pageY);let g=r-d;r=d,n(g)&&f.preventDefault(),clearInterval(a),a=setInterval(()=>{g*=DT,(!n(g,!0)||Math.abs(g)<=.1)&&clearInterval(a)},16)}},u=()=>{o=!1,l()},c=f=>{l(),f.touches.length===1&&!o&&(o=!0,r=Math.ceil(f.touches[0].pageY),i=f.target,i.addEventListener("touchmove",s,{passive:!1}),i.addEventListener("touchend",u))},A=()=>{};ze(()=>{document.addEventListener("touchmove",A,{passive:!1}),me(e,f=>{t.value.removeEventListener("touchstart",c),l(),clearInterval(a),f&&t.value.addEventListener("touchstart",c,{passive:!1})},{immediate:!0})}),et(()=>{document.removeEventListener("touchmove",A)})}var NT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const MT=[],HT={overflowY:"auto",overflowAnchor:"none"};function RT(e,t,n,o,r,i){let{getKey:a}=i;return e.slice(t,n+1).map((l,s)=>{const u=t+s,c=r(l,u,{}),A=a(l);return B(fC,{key:A,setRef:f=>o(l,f)},{default:()=>[c]})})}const FT=ae({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:V.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const o=P(()=>{const{height:H,itemHeight:Y,virtual:Z}=e;return!!(Z!==!1&&H&&Y)}),r=P(()=>{const{height:H,itemHeight:Y,data:Z}=e;return o.value&&Z&&Y*Z.length>H}),i=at({scrollTop:0,scrollMoving:!1}),a=P(()=>e.data||MT),l=J([]);me(a,()=>{l.value=we(a.value).slice()},{immediate:!0});const s=J(H=>{});me(()=>e.itemKey,H=>{typeof H=="function"?s.value=H:s.value=Y=>Y==null?void 0:Y[H]},{immediate:!0});const u=J(),c=J(),A=J(),f=H=>s.value(H),d={getKey:f};function g(H){let Y;typeof H=="function"?Y=H(i.scrollTop):Y=H;const Z=w(Y);u.value&&(u.value.scrollTop=Z),i.scrollTop=Z}const[p,v,E,b]=ST(l,f),m=at({scrollHeight:void 0,start:0,end:0,offset:void 0}),I=J(0);ze(()=>{Ze(()=>{var H;I.value=((H=c.value)===null||H===void 0?void 0:H.offsetHeight)||0})}),Bo(()=>{Ze(()=>{var H;I.value=((H=c.value)===null||H===void 0?void 0:H.offsetHeight)||0})}),me([o,l],()=>{o.value||h(m,{scrollHeight:void 0,start:0,end:l.value.length-1,offset:void 0})},{immediate:!0}),me([o,l,I,r],()=>{o.value&&!r.value&&h(m,{scrollHeight:I.value,start:0,end:l.value.length-1,offset:void 0}),u.value&&(i.scrollTop=u.value.scrollTop)},{immediate:!0}),me([r,o,()=>i.scrollTop,l,b,()=>e.height,I],()=>{if(!o.value||!r.value)return;let H=0,Y,Z,ee;const ue=l.value.length,Ce=l.value,ne=i.scrollTop,{itemHeight:ce,height:ve}=e,Ee=ne+ve;for(let K=0;K<ue;K+=1){const k=Ce[K],G=f(k);let fe=E.get(G);fe===void 0&&(fe=ce);const ge=H+fe;Y===void 0&&ge>=ne&&(Y=K,Z=H),ee===void 0&&ge>Ee&&(ee=K),H=ge}Y===void 0&&(Y=0,Z=0,ee=Math.ceil(ve/ce)),ee===void 0&&(ee=ue-1),ee=Math.min(ee+1,ue),h(m,{scrollHeight:H,start:Y,end:ee,offset:Z})},{immediate:!0});const y=P(()=>m.scrollHeight-e.height);function w(H){let Y=H;return Number.isNaN(y.value)||(Y=Math.min(Y,y.value)),Y=Math.max(Y,0),Y}const C=P(()=>i.scrollTop<=0),S=P(()=>i.scrollTop>=y.value),O=gC(C,S);function T(H){g(H)}function R(H){var Y;const{scrollTop:Z}=H.currentTarget;Z!==i.scrollTop&&g(Z),(Y=e.onScroll)===null||Y===void 0||Y.call(e,H)}const[F,L]=PT(o,C,S,H=>{g(Y=>Y+H)});TT(o,u,(H,Y)=>O(H,Y)?!1:(F({preventDefault(){},deltaY:H}),!0));function _(H){o.value&&H.preventDefault()}const Q=()=>{u.value&&(u.value.removeEventListener("wheel",F,Ht?{passive:!1}:!1),u.value.removeEventListener("DOMMouseScroll",L),u.value.removeEventListener("MozMousePixelScroll",_))};Ye(()=>{Ze(()=>{u.value&&(Q(),u.value.addEventListener("wheel",F,Ht?{passive:!1}:!1),u.value.addEventListener("DOMMouseScroll",L),u.value.addEventListener("MozMousePixelScroll",_))})}),et(()=>{Q()});const D=xT(u,l,E,e,f,v,g,()=>{var H;(H=A.value)===null||H===void 0||H.delayHidden()});n({scrollTo:D});const M=P(()=>{let H=null;return e.height&&(H=h({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},HT),o.value&&(H.overflowY="hidden",i.scrollMoving&&(H.pointerEvents="none"))),H});return me([()=>m.start,()=>m.end,l],()=>{if(e.onVisibleChange){const H=l.value.slice(m.start,m.end+1);e.onVisibleChange(H,l.value)}},{flush:"post"}),{state:i,mergedData:l,componentStyle:M,onFallbackScroll:R,onScrollBar:T,componentRef:u,useVirtual:o,calRes:m,collectHeight:v,setInstance:p,sharedConfig:d,scrollBarRef:A,fillerInnerRef:c,delayHideScrollBar:()=>{var H;(H=A.value)===null||H===void 0||H.delayHidden()}}},render(){const e=h(h({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:o,fullHeight:r,data:i,itemKey:a,virtual:l,component:s="div",onScroll:u,children:c=this.$slots.default,style:A,class:f}=e,d=NT(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),g=he(t,f),{scrollTop:p}=this.state,{scrollHeight:v,offset:E,start:b,end:m}=this.calRes,{componentStyle:I,onFallbackScroll:y,onScrollBar:w,useVirtual:C,collectHeight:S,sharedConfig:O,setInstance:T,mergedData:R,delayHideScrollBar:F}=this;return B("div",$({style:h(h({},A),{position:"relative"}),class:g},d),[B(s,{class:`${t}-holder`,style:I,ref:"componentRef",onScroll:y,onMouseenter:F},{default:()=>[B(vs,{prefixCls:t,height:v,offset:E,onInnerResize:S,ref:"fillerInnerRef"},{default:()=>RT(R,b,m,T,c,O)})]}),C&&B(QT,{ref:"scrollBarRef",prefixCls:t,scrollTop:p,height:n,scrollHeight:v,count:R.length,onScroll:w,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}});function LT(e,t,n){const o=Ae(e());return me(t,(r,i)=>{n?n(r,i)&&(o.value=e()):o.value=e()}),o}function jT(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}const pC=Symbol("SelectContextKey");function zT(e){return tt(pC,e)}function $T(){return Ve(pC,{})}var kT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function hC(e){return typeof e=="string"||typeof e=="number"}const VT=ae({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){let{expose:n,slots:o}=t;const r=vT(),i=$T(),a=P(()=>`${r.prefixCls}-item`),l=LT(()=>i.flattenOptions,[()=>r.open,()=>i.flattenOptions],y=>y[0]),s=ma(),u=y=>{y.preventDefault()},c=y=>{s.current&&s.current.scrollTo(typeof y=="number"?{index:y}:y)},A=function(y){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const C=l.value.length;for(let S=0;S<C;S+=1){const O=(y+S*w+C)%C,{group:T,data:R}=l.value[O];if(!T&&!R.disabled)return O}return-1},f=at({activeIndex:A(0)}),d=function(y){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;f.activeIndex=y;const C={source:w?"keyboard":"mouse"},S=l.value[y];if(!S){i.onActiveValue(null,-1,C);return}i.onActiveValue(S.value,y,C)};me([()=>l.value.length,()=>r.searchValue],()=>{d(i.defaultActiveFirstOption!==!1?A(0):-1)},{immediate:!0});const g=y=>i.rawValues.has(y)&&r.mode!=="combobox";me([()=>r.open,()=>r.searchValue],()=>{if(!r.multiple&&r.open&&i.rawValues.size===1){const y=Array.from(i.rawValues)[0],w=we(l.value).findIndex(C=>{let{data:S}=C;return S[i.fieldNames.value]===y});w!==-1&&(d(w),Ze(()=>{c(w)}))}r.open&&Ze(()=>{var y;(y=s.current)===null||y===void 0||y.scrollTo(void 0)})},{immediate:!0,flush:"post"});const p=y=>{y!==void 0&&i.onSelect(y,{selected:!i.rawValues.has(y)}),r.multiple||r.toggleOpen(!1)},v=y=>typeof y.label=="function"?y.label():y.label;function E(y){const w=l.value[y];if(!w)return null;const C=w.data||{},{value:S}=C,{group:O}=w,T=ps(C,!0),R=v(w);return w?B("div",$($({"aria-label":typeof R=="string"&&!O?R:null},T),{},{key:y,role:O?"presentation":"option",id:`${r.id}_list_${y}`,"aria-selected":g(S)}),[S]):null}return n({onKeydown:y=>{const{which:w,ctrlKey:C}=y;switch(w){case le.N:case le.P:case le.UP:case le.DOWN:{let S=0;if(w===le.UP?S=-1:w===le.DOWN?S=1:jT()&&C&&(w===le.N?S=1:w===le.P&&(S=-1)),S!==0){const O=A(f.activeIndex+S,S);c(O),d(O,!0)}break}case le.ENTER:{const S=l.value[f.activeIndex];S&&!S.data.disabled?p(S.value):p(void 0),r.open&&y.preventDefault();break}case le.ESC:r.toggleOpen(!1),r.open&&y.stopPropagation()}},onKeyup:()=>{},scrollTo:y=>{c(y)}}),()=>{const{id:y,notFoundContent:w,onPopupScroll:C}=r,{menuItemSelectedIcon:S,fieldNames:O,virtual:T,listHeight:R,listItemHeight:F}=i,L=o.option,{activeIndex:_}=f,Q=Object.keys(O).map(D=>O[D]);return l.value.length===0?B("div",{role:"listbox",id:`${y}_list`,class:`${a.value}-empty`,onMousedown:u},[w]):B(xe,null,[B("div",{role:"listbox",id:`${y}_list`,style:{height:0,width:0,overflow:"hidden"}},[E(_-1),E(_),E(_+1)]),B(FT,{itemKey:"key",ref:s,data:l.value,height:R,itemHeight:F,fullHeight:!1,onMousedown:u,onScroll:C,virtual:T},{default:(D,M)=>{var j;const{group:H,groupOption:Y,data:Z,value:ee}=D,{key:ue}=Z,Ce=typeof D.label=="function"?D.label():D.label;if(H){const re=(j=Z.title)!==null&&j!==void 0?j:hC(Ce)&&Ce;return B("div",{class:he(a.value,`${a.value}-group`),title:re},[L?L(Z):Ce!==void 0?Ce:ue])}const{disabled:ne,title:ce,children:ve,style:Ee,class:K,className:k}=Z,G=kT(Z,["disabled","title","children","style","class","className"]),fe=st(G,Q),ge=g(ee),x=`${a.value}-option`,N=he(a.value,x,K,k,{[`${x}-grouped`]:Y,[`${x}-active`]:_===M&&!ne,[`${x}-disabled`]:ne,[`${x}-selected`]:ge}),z=v(D),X=!S||typeof S=="function"||ge,U=typeof z=="number"?z:z||ee;let q=hC(U)?U.toString():void 0;return ce!==void 0&&(q=ce),B("div",$($({},fe),{},{"aria-selected":ge,class:N,title:q,onMousemove:re=>{G.onMousemove&&G.onMousemove(re),!(_===M||ne)&&d(M)},onClick:re=>{ne||p(ee),G.onClick&&G.onClick(re)},style:Ee}),[B("div",{class:`${x}-content`},[L?L(Z):U]),Po(S)||ge,X&&B(br,{class:`${a.value}-option-state`,customizeIcon:S,customizeIconProps:{isSelected:ge}},{default:()=>[ge?"✓":null]})])}})])}}});var _T=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function YT(e){const t=e,{key:n,children:o}=t,r=t.props,{value:i,disabled:a}=r,l=_T(r,["value","disabled"]),s=o==null?void 0:o.default;return h({key:n,value:i!==void 0?i:n,children:s,disabled:a||a===""},l)}function LA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Vt(e).map((o,r)=>{var i;if(!Po(o)||!o.type)return null;const{type:{isSelectOptGroup:a},key:l,children:s,props:u}=o;if(t||!a)return YT(o);const c=s&&s.default?s.default():void 0,A=(u==null?void 0:u.label)||((i=s.label)===null||i===void 0?void 0:i.call(s))||l;return h(h({key:`__RC_SELECT_GRP__${l===null?r:String(l)}__`},u),{label:A,options:LA(c||[])})}).filter(o=>o)}function UT(e,t,n){const o=J(),r=J(),i=J(),a=J([]);return me([e,t],()=>{e.value?a.value=we(e.value).slice():a.value=LA(t.value)},{immediate:!0,deep:!0}),Ye(()=>{const l=a.value,s=new Map,u=new Map,c=n.value;function A(f){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(let g=0;g<f.length;g+=1){const p=f[g];!p[c.options]||d?(s.set(p[c.value],p),u.set(p[c.label],p)):A(p[c.options],!0)}}A(l),o.value=l,r.value=s,i.value=u}),{options:o,valueOptions:r,labelOptions:i}}let mC=0;const WT=process.env.NODE_ENV!=="test"&&on();function GT(){let e;return WT?(e=mC,mC+=1):e="TEST_OR_SSR",e}function XT(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ae("");const t=`rc_select_${GT()}`;return e.value||t}function jA(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}const KT=typeof window<"u"&&window.document&&window.document.documentElement;process.env.NODE_ENV;function JT(e){const{mode:t,options:n,children:o,backfill:r,allowClear:i,placeholder:a,getInputElement:l,showSearch:s,onSearch:u,defaultOpen:c,autofocus:A,labelInValue:f,value:d,inputValue:g,optionLabelProp:p}=e,v=FA(t),E=s!==void 0?s:v||t==="combobox",b=n||LA(o);if(mn(t!=="tags"||b.every(m=>!m.disabled),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),mn(t!=="combobox"||!p,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),mn(t==="combobox"||!r,"`backfill` only works with `combobox` mode."),mn(t==="combobox"||!l,"`getInputElement` only work with `combobox` mode."),Hh(t!=="combobox"||!l||!i||!a,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),u&&!E&&t!=="combobox"&&t!=="tags"&&mn(!1,"`onSearch` should work with `showSearch` instead of use alone."),Hh(!c||A,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autofocus` if needed."),d!=null){const m=jA(d);mn(!f||m.every(I=>typeof I=="object"&&("key"in I||"value"in I)),"`value` should in shape of `{ value: string | number, label?: any }` when you set `labelInValue` to `true`"),mn(!v||Array.isArray(d),"`value` should be array when `mode` is `multiple` or `tags`")}if(o){let m=null;o.some(I=>{var y;if(!Po(I)||!I.type)return!1;const{type:w}=I;return w.isSelectOption?!1:w.isSelectOptGroup?!(((y=I.children)===null||y===void 0?void 0:y.default())||[]).every(O=>!Po(O)||!I.type||O.type.isSelectOption?!0:(m=O.type,!1)):(m=w,!0)}),m&&mn(!1,`\`children\` should be \`Select.Option\` or \`Select.OptGroup\` instead of \`${m.displayName||m.name||m}\`.`),mn(g===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function zA(e,t){return jA(e).join("").toUpperCase().includes(t)}const qT=(e,t,n,o,r)=>P(()=>{const i=n.value,a=r==null?void 0:r.value,l=o==null?void 0:o.value;if(!i||l===!1)return e.value;const{options:s,label:u,value:c}=t.value,A=[],f=typeof l=="function",d=i.toUpperCase(),g=f?l:(v,E)=>a?zA(E[a],d):E[s]?zA(E[u!=="children"?u:"label"],d):zA(E[c],d),p=f?v=>qu(v):v=>v;return e.value.forEach(v=>{if(v[s]){if(g(i,p(v)))A.push(v);else{const b=v[s].filter(m=>g(i,p(m)));b.length&&A.push(h(h({},v),{[s]:b}))}return}g(i,p(v))&&A.push(v)}),A}),ZT=(e,t)=>{const n=J({values:new Map,options:new Map});return[P(()=>{const{values:i,options:a}=n.value,l=e.value.map(c=>{var A;return c.label===void 0?h(h({},c),{label:(A=i.get(c.value))===null||A===void 0?void 0:A.label}):c}),s=new Map,u=new Map;return l.forEach(c=>{s.set(c.value,c),u.set(c.value,t.value.get(c.value)||a.get(c.value))}),n.value.values=s,n.value.options=u,l}),i=>t.value.get(i)||n.value.options.get(i)]};function $A(e,t){const{defaultValue:n,value:o=Ae()}=t||{};let r=typeof e=="function"?e():e;o.value!==void 0&&(r=pe(o)),n!==void 0&&(r=typeof n=="function"?n():n);const i=Ae(r),a=Ae(r);Ye(()=>{let s=o.value!==void 0?o.value:i.value;t.postState&&(s=t.postState(s)),a.value=s});function l(s){const u=a.value;i.value=s,we(a.value)!==s&&t.onChange&&t.onChange(s,u)}return me(o,()=>{i.value=o.value}),[a,l]}function ho(e){const t=typeof e=="function"?e():e,n=Ae(t);function o(r){n.value=r}return[n,o]}const eN=["inputValue"];function vC(){return h(h({},AC()),{prefixCls:String,id:String,backfill:{type:Boolean,default:void 0},fieldNames:Object,inputValue:String,searchValue:String,onSearch:Function,autoClearSearchValue:{type:Boolean,default:void 0},onSelect:Function,onDeselect:Function,filterOption:{type:[Boolean,Function],default:void 0},filterSort:Function,optionFilterProp:String,optionLabelProp:String,options:Array,defaultActiveFirstOption:{type:Boolean,default:void 0},virtual:{type:Boolean,default:void 0},listHeight:Number,listItemHeight:Number,menuItemSelectedIcon:V.any,mode:String,labelInValue:{type:Boolean,default:void 0},value:V.any,defaultValue:V.any,onChange:Function,children:Array})}function tN(e){return!e||typeof e!="object"}const nN=ae({compatConfig:{MODE:3},name:"VcSelect",inheritAttrs:!1,props:gn(vC(),{prefixCls:"vc-select",autoClearSearchValue:!0,listHeight:200,listItemHeight:20,dropdownMatchSelectWidth:!0}),setup(e,t){let{expose:n,attrs:o,slots:r}=t;const i=XT(Xt(e,"id")),a=P(()=>FA(e.mode)),l=P(()=>!!(!e.options&&e.children)),s=P(()=>e.filterOption===void 0&&e.mode==="combobox"?!1:e.filterOption),u=P(()=>Vm(e.fieldNames,l.value)),[c,A]=$A("",{value:P(()=>e.searchValue!==void 0?e.searchValue:e.inputValue),postState:K=>K||""}),f=UT(Xt(e,"options"),Xt(e,"children"),u),{valueOptions:d,labelOptions:g,options:p}=f,v=K=>jA(K).map(G=>{var fe,ge;let x,N,z,X;tN(G)?x=G:(z=G.key,N=G.label,x=(fe=G.value)!==null&&fe!==void 0?fe:z);const U=d.value.get(x);return U&&(N===void 0&&(N=U==null?void 0:U[e.optionLabelProp||u.value.label]),z===void 0&&(z=(ge=U==null?void 0:U.key)!==null&&ge!==void 0?ge:x),X=U==null?void 0:U.disabled),{label:N,value:x,key:z,disabled:X,option:U}}),[E,b]=$A(e.defaultValue,{value:Xt(e,"value")}),m=P(()=>{var K;const k=v(E.value);return e.mode==="combobox"&&!(!((K=k[0])===null||K===void 0)&&K.value)?[]:k}),[I,y]=ZT(m,d),w=P(()=>{if(!e.mode&&I.value.length===1){const K=I.value[0];if(K.value===null&&(K.label===null||K.label===void 0))return[]}return I.value.map(K=>{var k;return h(h({},K),{label:(k=typeof K.label=="function"?K.label():K.label)!==null&&k!==void 0?k:K.value})})}),C=P(()=>new Set(I.value.map(K=>K.value)));Ye(()=>{var K;if(e.mode==="combobox"){const k=(K=I.value[0])===null||K===void 0?void 0:K.value;k!=null&&A(String(k))}},{flush:"post"});const S=(K,k)=>{const G=k??K;return{[u.value.value]:K,[u.value.label]:G}},O=J();Ye(()=>{if(e.mode!=="tags"){O.value=p.value;return}const K=p.value.slice(),k=G=>d.value.has(G);[...I.value].sort((G,fe)=>G.value<fe.value?-1:1).forEach(G=>{const fe=G.value;k(fe)||K.push(S(fe,G.label))}),O.value=K});const T=qT(O,u,c,s,Xt(e,"optionFilterProp")),R=P(()=>e.mode!=="tags"||!c.value||T.value.some(K=>K[e.optionFilterProp||"value"]===c.value)?T.value:[S(c.value),...T.value]),F=P(()=>e.filterSort?[...R.value].sort((K,k)=>e.filterSort(K,k)):R.value),L=P(()=>vx(F.value,{fieldNames:u.value,childrenAsData:l.value})),_=K=>{const k=v(K);if(b(k),e.onChange&&(k.length!==I.value.length||k.some((G,fe)=>{var ge;return((ge=I.value[fe])===null||ge===void 0?void 0:ge.value)!==(G==null?void 0:G.value)}))){const G=e.labelInValue?k.map(ge=>h(h({},ge),{originLabel:ge.label,label:typeof ge.label=="function"?ge.label():ge.label})):k.map(ge=>ge.value),fe=k.map(ge=>qu(y(ge.value)));e.onChange(a.value?G:G[0],a.value?fe:fe[0])}},[Q,D]=ho(null),[M,j]=ho(0),H=P(()=>e.defaultActiveFirstOption!==void 0?e.defaultActiveFirstOption:e.mode!=="combobox"),Y=function(K,k){let{source:G="keyboard"}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};j(k),e.backfill&&e.mode==="combobox"&&K!==null&&G==="keyboard"&&D(String(K))},Z=(K,k)=>{const G=()=>{var fe;const ge=y(K),x=ge==null?void 0:ge[u.value.label];return[e.labelInValue?{label:typeof x=="function"?x():x,originLabel:x,value:K,key:(fe=ge==null?void 0:ge.key)!==null&&fe!==void 0?fe:K}:K,qu(ge)]};if(k&&e.onSelect){const[fe,ge]=G();e.onSelect(fe,ge)}else if(!k&&e.onDeselect){const[fe,ge]=G();e.onDeselect(fe,ge)}},ee=(K,k)=>{let G;const fe=a.value?k.selected:!0;fe?G=a.value?[...I.value,K]:[K]:G=I.value.filter(ge=>ge.value!==K),_(G),Z(K,fe),e.mode==="combobox"?D(""):(!a.value||e.autoClearSearchValue)&&(A(""),D(""))},ue=(K,k)=>{_(K),(k.type==="remove"||k.type==="clear")&&k.values.forEach(G=>{Z(G.value,!1)})},Ce=(K,k)=>{var G;if(A(K),D(null),k.source==="submit"){const fe=(K||"").trim();if(fe){const ge=Array.from(new Set([...C.value,fe]));_(ge),Z(fe,!0),A("")}return}k.source!=="blur"&&(e.mode==="combobox"&&_(K),(G=e.onSearch)===null||G===void 0||G.call(e,K))},ne=K=>{let k=K;e.mode!=="tags"&&(k=K.map(fe=>{const ge=g.value.get(fe);return ge==null?void 0:ge.value}).filter(fe=>fe!==void 0));const G=Array.from(new Set([...C.value,...k]));_(G),G.forEach(fe=>{Z(fe,!0)})},ce=P(()=>e.virtual!==!1&&e.dropdownMatchSelectWidth!==!1);zT(uC(h(h({},f),{flattenOptions:L,onActiveValue:Y,defaultActiveFirstOption:H,onSelect:ee,menuItemSelectedIcon:Xt(e,"menuItemSelectedIcon"),rawValues:C,fieldNames:u,virtual:ce,listHeight:Xt(e,"listHeight"),listItemHeight:Xt(e,"listItemHeight"),childrenAsData:l}))),process.env.NODE_ENV!=="production"&&Ye(()=>{JT(e)},{flush:"post"});const ve=Ae();n({focus(){var K;(K=ve.value)===null||K===void 0||K.focus()},blur(){var K;(K=ve.value)===null||K===void 0||K.blur()},scrollTo(K){var k;(k=ve.value)===null||k===void 0||k.scrollTo(K)}});const Ee=P(()=>st(e,["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"]));return()=>B(IT,$($($({},Ee.value),o),{},{id:i,prefixCls:e.prefixCls,ref:ve,omitDomProps:eN,mode:e.mode,displayValues:w.value,onDisplayValuesChange:ue,searchValue:c.value,onSearch:Ce,onSearchSplit:ne,dropdownMatchSelectWidth:e.dropdownMatchSelectWidth,OptionList:VT,emptyOptions:!L.value.length,activeValue:Q.value,activeDescendantId:`${i}_list_${M.value}`}),r)}}),kA=()=>null;kA.isSelectOption=!0,kA.displayName="ASelectOption";const VA=()=>null;VA.isSelectOptGroup=!0,VA.displayName="ASelectOptGroup";var oN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},rN=Symbol("iconContext"),CC=function(){return Ve(rN,{prefixCls:Ae("anticon"),rootClassName:Ae(""),csp:Ae()})};function _A(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function iN(e,t){return e&&e.contains?e.contains(t):!1}var EC="data-vc-order",aN="vc-icon-key",YA=new Map;function yC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):aN}function UA(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function lN(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function bC(e){return Array.from((YA.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function BC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!_A())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(EC,lN(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var i=UA(t),a=i.firstChild;if(o){if(o==="queue"){var l=bC(i).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(EC))});if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function sN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=UA(t);return bC(n).find(function(o){return o.getAttribute(yC(t))===e})}function cN(e,t){var n=YA.get(e);if(!n||!iN(document,n)){var o=BC("",t),r=o.parentNode;YA.set(e,r),e.removeChild(o)}}function uN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=UA(n);cN(o,n);var r=sN(t,n);if(r)return n.csp&&n.csp.nonce&&r.nonce!==n.csp.nonce&&(r.nonce=n.csp.nonce),r.innerHTML!==e&&(r.innerHTML=e),r;var i=BC(e,n);return i.setAttribute(yC(n),t),i}function IC(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){AN(e,r,n[r])})}return e}function AN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fN(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(t))}function dN(e,t){fN(e,"[@ant-design/icons-vue] ".concat(t))}function wC(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function WA(e,t,n){return n?ir(e.tag,IC({key:t},n,e.attrs),(e.children||[]).map(function(o,r){return WA(o,"".concat(t,"-").concat(e.tag,"-").concat(r))})):ir(e.tag,IC({key:t},e.attrs),(e.children||[]).map(function(o,r){return WA(o,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function QC(e){return fr(e)[0]}function SC(e){return e?Array.isArray(e)?e:[e]:[]}var gN=`
|
|
95
95
|
.anticon {
|
|
96
96
|
display: inline-block;
|
|
97
97
|
color: inherit;
|
|
@@ -268,4 +268,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
268
268
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[pb]=this[pb]={accessors:{}}).accessors,r=this.prototype;function i(a){const l=za(a);o[l]||(IL(r,a),o[l]=!0)}return W.isArray(t)?t.forEach(i):i(t),this}}Wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(Wt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}}),W.freezeMethods(Wt);function md(e,t){const n=this||ja,o=t||n,r=Wt.from(o.headers);let i=o.data;return W.forEach(e,function(l){i=l.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function hb(e){return!!(e&&e.__CANCEL__)}function Ci(e,t,n){Pe.call(this,e??"canceled",Pe.ERR_CANCELED,t,n),this.name="CanceledError"}W.inherits(Ci,Pe,{__CANCEL__:!0});function mb(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new Pe("Request failed with status code "+n.status,[Pe.ERR_BAD_REQUEST,Pe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function wL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function QL(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(s){const u=Date.now(),c=o[i];a||(a=u),n[r]=s,o[r]=u;let A=i,f=0;for(;A!==r;)f+=n[A++],A=A%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),u-a<t)return;const d=c&&u-c;return d?Math.round(f*1e3/d):void 0}}function SL(e,t){let n=0,o=1e3/t,r,i;const a=(u,c=Date.now())=>{n=c,r=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),A=c-n;A>=o?a(u,c):(r=u,i||(i=setTimeout(()=>{i=null,a(r)},o-A)))},()=>r&&a(r)]}const rc=(e,t,n=3)=>{let o=0;const r=QL(50,250);return SL(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,s=a-o,u=r(s),c=a<=l;o=a;const A={loaded:a,total:l,progress:l?a/l:void 0,bytes:s,rate:u||void 0,estimated:u&&l&&c?(l-a)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(A)},n)},vb=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},Cb=e=>(...t)=>W.asap(()=>e(...t)),xL=Ut.hasStandardBrowserEnv?function(){const t=Ut.navigator&&/(msie|trident)/i.test(Ut.navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(a){const l=W.isString(a)?r(a):a;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),OL=Ut.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];W.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),W.isString(o)&&a.push("path="+o),W.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function PL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function DL(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Eb(e,t){return e&&!PL(t)?DL(e,t):t}const yb=e=>e instanceof Wt?{...e}:e;function Pr(e,t){t=t||{};const n={};function o(u,c,A){return W.isPlainObject(u)&&W.isPlainObject(c)?W.merge.call({caseless:A},u,c):W.isPlainObject(c)?W.merge({},c):W.isArray(c)?c.slice():c}function r(u,c,A){if(W.isUndefined(c)){if(!W.isUndefined(u))return o(void 0,u,A)}else return o(u,c,A)}function i(u,c){if(!W.isUndefined(c))return o(void 0,c)}function a(u,c){if(W.isUndefined(c)){if(!W.isUndefined(u))return o(void 0,u)}else return o(void 0,c)}function l(u,c,A){if(A in t)return o(u,c);if(A in e)return o(void 0,u)}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,c)=>r(yb(u),yb(c),!0)};return W.forEach(Object.keys(Object.assign({},e,t)),function(c){const A=s[c]||r,f=A(e[c],t[c],c);W.isUndefined(f)&&A!==l||(n[c]=f)}),n}const bb=e=>{const t=Pr({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:a,auth:l}=t;t.headers=a=Wt.from(a),t.url=Ab(Eb(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let s;if(W.isFormData(n)){if(Ut.hasStandardBrowserEnv||Ut.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((s=a.getContentType())!==!1){const[u,...c]=s?s.split(";").map(A=>A.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Ut.hasStandardBrowserEnv&&(o&&W.isFunction(o)&&(o=o(t)),o||o!==!1&&xL(t.url))){const u=r&&i&&OL.read(i);u&&a.set(r,u)}return t},TL=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,o){const r=bb(e);let i=r.data;const a=Wt.from(r.headers).normalize();let{responseType:l,onUploadProgress:s,onDownloadProgress:u}=r,c,A,f,d,g;function p(){d&&d(),g&&g(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(r.method.toUpperCase(),r.url,!0),v.timeout=r.timeout;function E(){if(!v)return;const m=Wt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),y={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:m,config:e,request:v};mb(function(C){n(C),p()},function(C){o(C),p()},y),v=null}"onloadend"in v?v.onloadend=E:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(E)},v.onabort=function(){v&&(o(new Pe("Request aborted",Pe.ECONNABORTED,e,v)),v=null)},v.onerror=function(){o(new Pe("Network Error",Pe.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let I=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const y=r.transitional||db;r.timeoutErrorMessage&&(I=r.timeoutErrorMessage),o(new Pe(I,y.clarifyTimeoutError?Pe.ETIMEDOUT:Pe.ECONNABORTED,e,v)),v=null},i===void 0&&a.setContentType(null),"setRequestHeader"in v&&W.forEach(a.toJSON(),function(I,y){v.setRequestHeader(y,I)}),W.isUndefined(r.withCredentials)||(v.withCredentials=!!r.withCredentials),l&&l!=="json"&&(v.responseType=r.responseType),u&&([f,g]=rc(u,!0),v.addEventListener("progress",f)),s&&v.upload&&([A,d]=rc(s),v.upload.addEventListener("progress",A),v.upload.addEventListener("loadend",d)),(r.cancelToken||r.signal)&&(c=m=>{v&&(o(!m||m.type?new Ci(null,e,v):m),v.abort(),v=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal&&(r.signal.aborted?c():r.signal.addEventListener("abort",c)));const b=wL(r.url);if(b&&Ut.protocols.indexOf(b)===-1){o(new Pe("Unsupported protocol "+b+":",Pe.ERR_BAD_REQUEST,e));return}v.send(i||null)})},NL=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,r;const i=function(u){if(!r){r=!0,l();const c=u instanceof Error?u:this.reason;o.abort(c instanceof Pe?c:new Ci(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,i(new Pe(`timeout ${t} of ms exceeded`,Pe.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:s}=o;return s.unsubscribe=()=>W.asap(l),s}},ML=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,r;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},HL=async function*(e,t){for await(const n of RL(e))yield*ML(n,t)},RL=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},Bb=(e,t,n,o)=>{const r=HL(e,t);let i=0,a,l=s=>{a||(a=!0,o&&o(s))};return new ReadableStream({async pull(s){try{const{done:u,value:c}=await r.next();if(u){l(),s.close();return}let A=c.byteLength;if(n){let f=i+=A;n(f)}s.enqueue(new Uint8Array(c))}catch(u){throw l(u),u}},cancel(s){return l(s),r.return()}},{highWaterMark:2})},ic=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ib=ic&&typeof ReadableStream=="function",FL=ic&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),wb=(e,...t)=>{try{return!!e(...t)}catch{return!1}},LL=Ib&&wb(()=>{let e=!1;const t=new Request(Ut.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Qb=64*1024,vd=Ib&&wb(()=>W.isReadableStream(new Response("").body)),ac={stream:vd&&(e=>e.body)};ic&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ac[t]&&(ac[t]=W.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new Pe(`Response type '${t}' is not supported`,Pe.ERR_NOT_SUPPORT,o)})})})(new Response);const jL=async e=>{if(e==null)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e))return(await new Request(Ut.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(W.isArrayBufferView(e)||W.isArrayBuffer(e))return e.byteLength;if(W.isURLSearchParams(e)&&(e=e+""),W.isString(e))return(await FL(e)).byteLength},zL=async(e,t)=>{const n=W.toFiniteNumber(e.getContentLength());return n??jL(t)},Cd={http:lL,xhr:TL,fetch:ic&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:s,responseType:u,headers:c,withCredentials:A="same-origin",fetchOptions:f}=bb(e);u=u?(u+"").toLowerCase():"text";let d=NL([r,i&&i.toAbortSignal()],a),g;const p=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let v;try{if(s&&LL&&n!=="get"&&n!=="head"&&(v=await zL(c,o))!==0){let y=new Request(t,{method:"POST",body:o,duplex:"half"}),w;if(W.isFormData(o)&&(w=y.headers.get("content-type"))&&c.setContentType(w),y.body){const[C,S]=vb(v,rc(Cb(s)));o=Bb(y.body,Qb,C,S)}}W.isString(A)||(A=A?"include":"omit");const E="credentials"in Request.prototype;g=new Request(t,{...f,signal:d,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:o,duplex:"half",credentials:E?A:void 0});let b=await fetch(g);const m=vd&&(u==="stream"||u==="response");if(vd&&(l||m&&p)){const y={};["status","statusText","headers"].forEach(O=>{y[O]=b[O]});const w=W.toFiniteNumber(b.headers.get("content-length")),[C,S]=l&&vb(w,rc(Cb(l),!0))||[];b=new Response(Bb(b.body,Qb,C,()=>{S&&S(),p&&p()}),y)}u=u||"text";let I=await ac[W.findKey(ac,u)||"text"](b,e);return!m&&p&&p(),await new Promise((y,w)=>{mb(y,w,{data:I,headers:Wt.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:g})})}catch(E){throw p&&p(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new Pe("Network Error",Pe.ERR_NETWORK,e,g),{cause:E.cause||E}):Pe.from(E,E&&E.code,e,g)}})};W.forEach(Cd,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Sb=e=>`- ${e}`,$L=e=>W.isFunction(e)||e===null||e===!1,xb={getAdapter:e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i<t;i++){n=e[i];let a;if(o=n,!$L(n)&&(o=Cd[(a=String(n)).toLowerCase()],o===void 0))throw new Pe(`Unknown adapter '${a}'`);if(o)break;r[a||"#"+i]=o}if(!o){const i=Object.entries(r).map(([l,s])=>`adapter ${l} `+(s===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
|
|
269
269
|
`+i.map(Sb).join(`
|
|
270
270
|
`):" "+Sb(i[0]):"as no adapter specified";throw new Pe("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Cd};function Ed(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ci(null,e)}function Ob(e){return Ed(e),e.headers=Wt.from(e.headers),e.data=md.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xb.getAdapter(e.adapter||ja.adapter)(e).then(function(o){return Ed(e),o.data=md.call(e,e.transformResponse,o),o.headers=Wt.from(o.headers),o},function(o){return hb(o)||(Ed(e),o&&o.response&&(o.response.data=md.call(e,e.transformResponse,o.response),o.response.headers=Wt.from(o.response.headers))),Promise.reject(o)})}const Pb="1.7.7",yd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{yd[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Db={};yd.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Pb+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,l)=>{if(t===!1)throw new Pe(r(a," has been removed"+(n?" in "+n:"")),Pe.ERR_DEPRECATED);return n&&!Db[a]&&(Db[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,l):!0}};function kL(e,t,n){if(typeof e!="object")throw new Pe("options must be an object",Pe.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const l=e[i],s=l===void 0||a(l,i,e);if(s!==!0)throw new Pe("option "+i+" must be "+s,Pe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Pe("Unknown option "+i,Pe.ERR_BAD_OPTION)}}const bd={assertOptions:kL,validators:yd},Vo=bd.validators;class Dr{constructor(t){this.defaults=t,this.interceptors={request:new fb,response:new fb}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
|
271
|
-
`+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pr(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&bd.assertOptions(o,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean)},!1),r!=null&&(W.isFunction(r)?n.paramsSerializer={serialize:r}:bd.assertOptions(r,{encode:Vo.function,serialize:Vo.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&W.merge(i.common,i[n.method]);i&&W.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Wt.concat(a,i);const l=[];let s=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(s=s&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const u=[];this.interceptors.response.forEach(function(p){u.push(p.fulfilled,p.rejected)});let c,A=0,f;if(!s){const g=[Ob.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,u),f=g.length,c=Promise.resolve(n);A<f;)c=c.then(g[A++],g[A++]);return c}f=l.length;let d=n;for(A=0;A<f;){const g=l[A++],p=l[A++];try{d=g(d)}catch(v){p.call(this,v);break}}try{c=Ob.call(this,d)}catch(g){return Promise.reject(g)}for(A=0,f=u.length;A<f;)c=c.then(u[A++],u[A++]);return c}getUri(t){t=Pr(this.defaults,t);const n=Eb(t.baseURL,t.url);return Ab(n,t.params,t.paramsSerializer)}}W.forEach(["delete","get","head","options"],function(t){Dr.prototype[t]=function(n,o){return this.request(Pr(o||{},{method:t,url:n,data:(o||{}).data}))}}),W.forEach(["post","put","patch"],function(t){function n(o){return function(i,a,l){return this.request(Pr(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Dr.prototype[t]=n(),Dr.prototype[t+"Form"]=n(!0)});class Bd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const o=this;this.promise.then(r=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(l=>{o.subscribe(l),i=l}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,l){o.reason||(o.reason=new Ci(i,a,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Bd(function(r){t=r}),cancel:t}}}function VL(e){return function(n){return e.apply(null,n)}}function _L(e){return W.isObject(e)&&e.isAxiosError===!0}const Id={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Id).forEach(([e,t])=>{Id[t]=e});function Tb(e){const t=new Dr(e),n=X0(Dr.prototype.request,t);return W.extend(n,Dr.prototype,t,{allOwnKeys:!0}),W.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Tb(Pr(e,r))},n}const ot=Tb(ja);ot.Axios=Dr,ot.CanceledError=Ci,ot.CancelToken=Bd,ot.isCancel=hb,ot.VERSION=Pb,ot.toFormData=nc,ot.AxiosError=Pe,ot.Cancel=ot.CanceledError,ot.all=function(t){return Promise.all(t)},ot.spread=VL,ot.isAxiosError=_L,ot.mergeConfig=Pr,ot.AxiosHeaders=Wt,ot.formToJSON=e=>gb(W.isHTMLForm(e)?new FormData(e):e),ot.getAdapter=xb.getAdapter,ot.HttpStatusCode=Id,ot.default=ot;const YL=0,UL=10008;ot.defaults.withCredentials=!0,ot.defaults.headers.common["Accept-Language"]=localStorage.getItem("permission_locale"),ot.interceptors.response.use(e=>{var i,a;const{status:t}=(e==null?void 0:e.data)||{},n=(e==null?void 0:e.data)||{},{code:o,detail:r}=t||{};if(((i=e==null?void 0:e.config)==null?void 0:i.responseType)==="blob")if(((a=e==null?void 0:e.data)==null?void 0:a.type)==="application/json"){const l=new FileReader;return l.readAsText(e.data,"utf-8"),l.onload=()=>{var u;const s=JSON.parse(l.result);ko.info((u=s==null?void 0:s.status)==null?void 0:u.detail)},Promise.reject()}else return e;if(e.headers&&e.headers["content-type"]==="image/jpeg")return e;switch(o){case YL:return Promise.resolve(n);case UL:return Promise.reject(n);default:return ko.error(r),Promise.reject(n)}},e=>{var n,o;const t=((o=(n=e==null?void 0:e.data)==null?void 0:n.status)==null?void 0:o.detail)||"Unknown error";return ko.error(t),Promise.reject(e)});const wd="/admin/crane",Qd={getPermissions:e=>ot.get(`${wd}/permission/apply`,{params:e}),getFlowPreview:e=>ot.post(`${wd}/permission/apply/oa/flow/submit/preview`,e),submitApply:e=>ot.post(`${wd}/permission/apply/oa/flow/submit`,e)},Nb={"zh-CN":{permissionApply:"权限申请",applyPermission:"申请权限",applyReason:"申请理由",approvalProcess:"审批流程",applyReason1:"新入职员工申请",applyReason2:"临时项目",applyReason3:"数据查询与分析",applyReasonPlaceholder:"请尽可能详细描述申请理由",cancel:"取消",submit:"确定",close:"关闭",viewApprovalDetail:"查看审批详情",applyMore:"继续申请其他权限",successTips:"已提交申请,审批通过后可拥有相关权限",resoultTitle:"操作结果反馈",start:"发起",end:"结束",noNeed:"无需审批",adaptDepartment:"适用部门",noApprovalProcess:"无审批流程",excessTips:"一次最多可申请{number}个权限",unavailableTips:"您暂无权限查看/操作该页面,请点击按钮进行申请",appliedTips:"权限已申请,正在{status}...",unapplyTips:"您暂无权限查看/操作该页面,且该页面中没有您可以申请的权限,",callManager:"如有需要请联系系统管理员",manager:"系统管理员",availableTime:"有效期",selectPlaceholder:"请选择权限点",reasonPlaceholder:"请输入申请理由",availiables:{SEVEN_DAYS:"7天",THIRTY_DAYS:"30天",SIXTY_DAYS:"60天",NINETY_DAYS:"90天",FOREVER:"永久有效"},levels:{L1:"低",L2:"中",L3:"高"},status:{PENDING:"审批中",NO:"不可申请",OWNER:"已拥有"},operationType:{QUERY:"查询",MANAGE:"操作"}},"en-US":{permissionApply:"权限申请",applyPermission:"申请权限",applyReason:"申请理由",approvalProcess:"审批流程",applyReason1:"新入职员工申请",applyReason2:"临时项目",applyReason3:"数据查询与分析",applyReasonPlaceholder:"请尽可能详细描述申请理由",cancel:"取消",submit:"确定",close:"关闭",viewApprovalDetail:"查看审批详情",applyMore:"继续申请其他权限",successTips:"已提交申请,审批通过后可拥有相关权限",resoultTitle:"操作结果反馈",start:"发起",end:"结束",noNeed:"无需审批",adaptDepartment:"适用部门",noApprovalProcess:"无审批流程",excessTips:"一次最多可申请{number}个权限",unavailableTips:"您暂无权限查看/操作该页面,请点击按钮进行申请",appliedTips:"权限已申请,正在{status}...",unapplyTips:"您暂无权限查看/操作该页面,且该页面中没有您可以申请的权限,",callManager:"如有需要请联系系统管理员",manager:"系统管理员",availableTime:"有效期",selectPlaceholder:"请选择权限点",reasonPlaceholder:"请输入申请理由",availiables:{SEVEN_DAYS:"7天",THIRTY_DAYS:"30天",SIXTY_DAYS:"60天",NINETY_DAYS:"90天",FOREVER:"永久有效"},levels:{L1:"低",L2:"中",L3:"高"},status:{PENDING:"审批中",NO:"不可申请",OWNER:"已拥有"},operationType:{QUERY:"查询",MANAGE:"操作"}}},De=(e,t)=>{const n=localStorage.getItem("permission_locale")||"en-US",o=e.split(".");let r=Nb[n]||Nb["en-US"];for(let i=0;i<o.length;i++)r=r[o[i]];return t&&Object.keys(t).forEach(i=>{r=r.replace(new RegExp(`{${i}}`,"g"),t[i])}),r||e},WL=(e,t)=>{let n=null;return function(){n||(n=setTimeout(()=>{e(arguments),n=null},t*1e3))}},GL=e=>{const t=De(e);return Object.keys(t).map(n=>({label:t[n],value:n}))},XL={class:"crane-wraper"},KL=["src"],JL={style:{margin:"10px"}},qL={style:{margin:"10px"}},ZL=["innerHTML"],e5={key:2,style:{margin:"10px"}},t5=ae({__name:"yqg-permission",props:{workNumber:{type:String,default:""},permissions:{type:[String,Array],default:[]},businessCode:{type:String,default:""},locale:{type:String,default:"zh-CN"},color:{type:String,default:"#1677ff"},type:{type:String,default:"default"}},emits:["onSuccess"],setup(e,{emit:t}){const n=zc(()=>Promise.resolve().then(()=>f5)),o={DEFAULT:"DEFAULT",PENDING:"PENDING",NO:"NO"},r=e,i=Ae(!1);let a=Ae([]),l=Ae({imageUrl:G0,status:o.DEFAULT});const s=P(()=>Array.isArray(r.permissions)?r.permissions:r.permissions.split(",")),u=d=>{const g=[],p=b=>{b.forEach(m=>{m.children?p(m.children):g.push(m)})};p(d);const v=[null,"PENDING","OWNER","NO"],E=["L1","L2","L3"];return g.sort((b,m)=>v.indexOf(b.businessApplyType)-v.indexOf(m.businessApplyType)||E.indexOf(b.securityLevel)-E.indexOf(m.securityLevel)),g},c=d=>{var v,E;if(!d.length)return l.value;const g=d.find(b=>b.businessApplyType===o.PENDING),p=d.every(b=>b.businessApplyType===o.NO);return g?{imageUrl:y6,status:o.PENDING,tips:De("status.PENDING"),url:g.oaFlowUrl}:p?{imageUrl:G0,status:o.NO,tips:(E=(v=d[0].admin)==null?void 0:v.map(b=>b.name))==null?void 0:E.join(",")}:l.value},A=async()=>{if(!s.value.length||!r.businessCode||!r.workNumber)return;const d={businessCode:r.businessCode,features:s.value.toString(),workNumber:r.workNumber};let g=await Qd.getPermissions(d);a.value=u(g.body||[]),l.value=c(a.value)},f=()=>{i.value=!i.value};return Ye(A),me(()=>r.locale,(d,g)=>{d!==g&&localStorage.setItem("permission_locale",r.locale)},{immediate:!0}),(d,g)=>s.value.length?(Ue(),Jt(pe(Qr),{key:0,prefixCls:"yqg-permission",theme:{token:{colorPrimary:r.color}}},{default:Ke(()=>[Ct("div",XL,[e.type==="text"?(Ue(),Jt(pe(mi),{key:0,onClick:f},{default:Ke(()=>[mt(Xe(pe(De)("permissionApply")),1)]),_:1})):e.type==="custom"?(Ue(),kt("div",{key:1,onClick:f},[BI(d.$slots,"custom",{},void 0,!0)])):(Ue(),kt(xe,{key:2},[Ct("img",{src:pe(l).imageUrl,height:"200",width:"200",style:{"margin-top":"calc(50vh - 273px)"}},null,8,KL),pe(l).status===o.DEFAULT?(Ue(),kt(xe,{key:0},[Ct("div",JL,Xe(pe(De)("unavailableTips")),1),Ct("div",null,[B(pe(jn),{type:"primary",onClick:f},{default:Ke(()=>[mt("+ "+Xe(pe(De)("applyPermission")),1)]),_:1})])],64)):pe(l).status===o.PENDING?(Ue(),kt(xe,{key:1},[Ct("div",qL,[Ct("span",{class:"crane-unapply",innerHTML:pe(De)("appliedTips",{status:`<style>.crane-unapply span {color: orange;}</style><span>${pe(l).tips}</span>`})},null,8,ZL)]),Ct("div",null,[B(pe(jn),{style:{"margin-right":"10px"}},{default:Ke(()=>[mt(Xe(pe(De)("viewApprovalDetail")),1)]),_:1}),B(pe(jn),{type:"primary",onClick:f},{default:Ke(()=>[mt("+ "+Xe(pe(De)("applyMore")),1)]),_:1})])],64)):(Ue(),kt("div",e5,[mt(Xe(pe(De)("unapplyTips"))+" ",1),B(pe(Ia),null,{content:Ke(()=>[mt(Xe(pe(De)("manager"))+": "+Xe(pe(l).tips),1)]),default:Ke(()=>[mt(" "+Xe(pe(De)("callManager")),1)]),_:1})]))],64))]),B(pe(n),{modelValue:i.value,"onUpdate:modelValue":g[0]||(g[0]=p=>i.value=p),permissionList:pe(a),workNumber:e.workNumber,businessCode:e.businessCode,onOnSuccess:A},null,8,["modelValue","permissionList","workNumber","businessCode"])]),_:3},8,["theme"])):rr("",!0)}}),lc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},n5=Object.freeze(Object.defineProperty({__proto__:null,default:lc(t5,[["__scopeId","data-v-0906fd4c"]])},Symbol.toStringTag,{value:"Module"})),o5=lc(ae({__name:"success-modal",setup(e,{expose:t}){const[n,o]=_t.useModal();return t({countDown:i=>{let a=10;const l=n.confirm({title:De("resoultTitle"),content:De("successTips"),cancelText:`${De("close")}(${a}s)`,okText:`${De("viewApprovalDetail")}>>`,wrapClassName:"success-modal-wrap",icon:B(Co,{style:"color: #52c41a;"}),onOk:()=>{window.open(i),location.reload()},onCancel:()=>{l.destroy(),location.reload()}}),s=setInterval(()=>{a-=1,l.update({cancelText:`${De("close")}(${a}s)`})},1e3);setTimeout(()=>{clearInterval(s),l.destroy()},a*1e3)}}),(i,a)=>(Ue(),Jt(pe(o)))}}),[["__scopeId","data-v-d803332d"]]),r5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAGCAYAAADHYm6gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACASURBVHgBrY/BDUBAEEX/DicnJ66UoAQdcEd0oAQ6oQOtKGGPjquBHbPhInHbfclPZjLJmxnAg2zg2eVvRvBAMS4wlrznvRg5/czgSdbxIpZZchChPTelg4hfeSOmVUpDEWonV/nAk7zTwBMGCjzRSYQqthYlBbhbFNpJZYFx/Q2MWyJuE54BvwAAAABJRU5ErkJggg==",i5={key:0,class:"crane-step-wraper"},a5={style:{"white-space":"nowrap"}},l5=["src"],s5={key:1},c5={key:2},u5=lc(ae({__name:"approval-steps",props:{stepNodes:{type:Array,required:!0,default:()=>[]}},setup(e){const n=Xt(e,"stepNodes"),o=r=>r===n.value.length-1?`[${De("end")}]`:r===0?`[${De("start")}]`:"";return(r,i)=>{var a,l;return((a=n.value)==null?void 0:a.length)>1?(Ue(),kt("div",i5,[(Ue(!0),kt(xe,null,kc(n.value,(s,u)=>{var c;return Ue(),kt("div",{key:s.auditorName,class:"crane-step-node"},[Ct("span",a5,Xe(s.auditorName)+" "+Xe(o(u)),1),(c=s.employeeNameList)!=null&&c.length?(Ue(),Jt(pe(Ia),{key:0},{content:Ke(()=>[mt(Xe(s.auditorName)+":"+Xe(s.employeeNameList.join(",")),1)]),default:Ke(()=>[B(pe(Ts),{style:{margin:"0 2px"}})]),_:2},1024)):rr("",!0),u!==n.value.length-1?(Ue(),kt("img",{key:1,src:pe(r5),class:"crane-step-icon"},null,8,l5)):rr("",!0)])}),128))])):((l=n.value)==null?void 0:l.length)===1?(Ue(),kt("span",s5,Xe(pe(De)("noNeed")),1)):(Ue(),kt("span",c5,"-"))}}}),[["__scopeId","data-v-6b35bb95"]]),A5={style:{"margin-top":"4px"}},f5=Object.freeze(Object.defineProperty({__proto__:null,default:ae({__name:"apply-modal",props:zg({permissionList:{type:Array,default:()=>[]},businessCode:{type:String,default:""},workNumber:{type:String,default:""}},{modelValue:{required:!0,default:!1},modelModifiers:{}}),emits:zg(["onSuccess"],["update:modelValue"]),setup(e,{emit:t}){const n=zc(()=>Promise.resolve().then(()=>b5)),o=[De("applyReason1"),De("applyReason2"),De("applyReason3")],r=e,i=t,a=ow(e,"modelValue"),l=Xt(r,"permissionList"),s=Xt(r,"businessCode"),u=Xt(r,"workNumber"),c=Ae(),A=Ae();let f=Ae([]);const d=at({applyBusinessCode:s.value,roleIds:[],roleVoList:[],applyReason:"",submitWorkNumber:u.value}),g=b=>{d.applyReason.includes(b)||(!d.applyReason||d.applyReason.endsWith("、")?d.applyReason+=b:d.applyReason+=`、${b}`)},p=async()=>{A.value.validate().then(async()=>{var y,w;const b=v();let m=await Qd.submitApply(b);const I=(y=m==null?void 0:m.body)==null?void 0:y.oaFlowUrl;a.value=!1,i("onSuccess"),(w=c.value)==null||w.countDown(I)})},v=()=>(d.roleVoList=d.roleIds.map(b=>{var m;return{roleId:b,validTime:(m=l.value.find(I=>I.roleId===b))==null?void 0:m.validTime}}),d),E=WL(async()=>{var I;if(!d.roleIds.length){f.value=[];return}const b=v();let m=await Qd.getFlowPreview(b);f.value=((I=m==null?void 0:m.body)==null?void 0:I.nodes)||[]},0);return me(()=>a.value,b=>{var m;b&&((m=A.value)==null||m.resetFields(),f.value=[])}),(b,m)=>(Ue(),Jt(pe(_t),{open:a.value,"onUpdate:open":m[2]||(m[2]=I=>a.value=I),title:pe(De)("permissionApply"),width:"800px",onOk:p,okText:pe(De)("submit"),cancelText:pe(De)("cancel")},{default:Ke(()=>[B(pe($o),{ref_key:"formRef",ref:A,model:d,labelCol:{span:4},wrapperCol:{span:19}},{default:Ke(()=>[B(pe(_s),{label:pe(De)("applyPermission"),name:"roleIds",rules:[{required:!0,message:pe(De)("selectPlaceholder")}]},{default:Ke(()=>[B(pe(Ys),{value:d.roleIds,"onUpdate:value":m[0]||(m[0]=I=>d.roleIds=I),style:{display:"block"},onChange:pe(E)},{default:Ke(()=>[(Ue(!0),kt(xe,null,kc(l.value,I=>(Ue(),Jt(pe(n),{key:I.roleId,item:I,checkedIds:d.roleIds,onChangeTime:pe(E)},null,8,["item","checkedIds","onChangeTime"]))),128))]),_:1},8,["value","onChange"])]),_:1},8,["label","rules"]),B(pe(_s),{name:"applyReason",label:pe(De)("applyReason"),rules:[{required:!0,message:pe(De)("reasonPlaceholder")}]},{default:Ke(()=>[B(pe(ed),{value:d.applyReason,"onUpdate:value":m[1]||(m[1]=I=>d.applyReason=I),placeholder:pe(De)("applyReasonPlaceholder"),"auto-size":{minRows:2,maxRows:5}},null,8,["value","placeholder"]),Ct("div",A5,[(Ue(),kt(xe,null,kc(o,I=>B(pe(Sr),{bordered:!1,style:{cursor:"pointer"},onClick:y=>g(I),key:I},{default:Ke(()=>[mt(Xe(I),1)]),_:2},1032,["onClick"])),64))])]),_:1},8,["label","rules"]),B(pe(_s),{label:pe(De)("approvalProcess")},{default:Ke(()=>[B(u5,{stepNodes:pe(f)},null,8,["stepNodes"])]),_:1},8,["label"])]),_:1},8,["model"]),B(o5,{ref_key:"successModal",ref:c},null,512)]),_:1},8,["open","title","okText","cancelText"]))}})},Symbol.toStringTag,{value:"Module"})),d5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGXSURBVHgBlVNLTgJBEK1qOrjtI4w34AhwAuQEZBJc4yyVBbCRxE2HrZoQT4CcAI7AEeYIbDUM5asGZYj0KJX0J1WvX9eXqUIm/qUpbNp6ZzHT+yzNY1iOGR796w2sc1w3B5Ujoc5D1ns/hzcxImb2OPJPqV3rwn0NYh/DR4mEJBGhxShLN7pEZAF1EsPbmAExr7C1kad9KGy6oF/RpR6R1FIGkzAvw4KPqqv4OC4jP3N1LpZ6R55aGiJd7JES4SF+CquK5JdHWnKE48o6YenjcCw8PtGTbMqtwGWSQ9/8X0p9ZY+M7DShLNKCOq9m2Cb7Ahy9P1N+m1eNgsrEz7AXJ7qQ7Cf/3IBLw71rxQzApIIkUUyAsgzDWyXSEhdcm2tY6N4xuqXxDTwrsCkGXT/VPtuyWSqHuaJtQ8cBuUkH2e0IgDcAmzEeteHD6SDr3eHMoHLKYT/IruuIF0PaR+UczjaIc4rLGpguRmfFTN1dUNncHAZyDEUoP0iclV0nxgLbz+joG32rxeGTJKKs6uFfXaw50XDK2C8hpcmbpfjHLAAAAABJRU5ErkJggg==",g5={class:"crane-checkbox-line"},p5={class:"crane-flex-center crane-checkbox-label"},h5={class:"crane-text-overflow"},m5={class:"crane-flex-center crane-margin-left-4"},v5=["src"],C5={class:"crane-week-color crane-margin-left-4"},E5={class:"crane-week-color crane-margin-left-12"},y5="PENDING",b5=Object.freeze(Object.defineProperty({__proto__:null,default:lc(ae({__name:"checkbox-item",props:{item:{type:Object,default:()=>{}},checkedIds:{type:Array,default:[]},onChangeTime:{type:Function,default:()=>{}}},setup(e){const t={L1:{color:"green",text:De("levels.L1")},L2:{color:"orange",text:De("levels.L2")},L3:{color:"red",text:De("levels.L3")}},n={PENDING:{color:"orange",text:De("status.PENDING")},OWNER:{color:"green",text:De("status.OWNER")},NO:{color:"red",text:De("status.NO")}};let o=e;const r=GL("availiables"),i=Ae(""),a=u=>{const c={L1:"SIXTY_DAYS",L2:"THIRTY_DAYS",L3:"SEVEN_DAYS"},{relatedDepartmentIds:A=[],curDepartmentId:f=0,securityLevel:d}=u;return A.includes(f)?u.validTime="NINETY_DAYS":u.validTime=c[d],u.validTime},l=u=>{o.item.validTime=u,o.onChangeTime()},s=u=>{u.target.checked&&(i.value=a(o.item))};return(u,c)=>(Ue(),kt("div",g5,[B(pe(di),{value:e.item.roleId,disabled:!!e.item.businessApplyType,onChange:s},{default:Ke(()=>[Ct("div",p5,[e.item.securityLevel?(Ue(),Jt(pe(Sr),{key:0,bordered:!1,color:t[e.item.securityLevel].color,class:"crane-tag-position"},{default:Ke(()=>[mt(Xe(t[e.item.securityLevel].text),1)]),_:1},8,["color"])):rr("",!0),Ct("span",null,Xe(pe(De)(`operationType.${e.item.operationType}`))+"| ",1),B(pe(Ia),null,{content:Ke(()=>[mt(Xe(e.item.name),1)]),default:Ke(()=>[Ct("span",h5,Xe(e.item.name),1)]),_:1}),e.item.businessApplyType?(Ue(),Jt(pe(Sr),{key:1,bordered:!1,class:Wa(["crane-tag-position crane-margin-left-4 crane-margin-right-0",e.item.businessApplyType!==y5?"crane-disabled-color":""])},{default:Ke(()=>[mt(Xe(n[e.item.businessApplyType].text),1)]),_:1},8,["class"])):rr("",!0)])]),_:1},8,["value","disabled"]),e.item.desc?(Ue(),Jt(pe(Ia),{key:0},{content:Ke(()=>[mt(Xe(e.item.desc),1)]),default:Ke(()=>[B(pe(Vs),{class:"crane-week-color"})]),_:1})):rr("",!0),e.item.relatedDepartments?(Ue(),Jt(pe(Ia),{key:1},{content:Ke(()=>[mt(Xe(pe(De)("adaptDepartment"))+":"+Xe(e.item.relatedDepartments.map(A=>A.name).join(",")),1)]),default:Ke(()=>[Ct("span",m5,[Ct("img",{src:pe(d5),height:"14",width:"14"},null,8,v5),Ct("span",C5,Xe(e.item.relatedDepartments.length),1)])]),_:1})):rr("",!0),jr(Ct("span",E5,[mt(Xe(pe(De)("availableTime"))+": ",1),B(pe(Jn),{value:i.value,"onUpdate:value":c[0]||(c[0]=A=>i.value=A),style:{width:"100px"},options:pe(r),onChange:l,size:"small"},null,8,["value","options"])],512),[[Yr,e.checkedIds.includes(e.item.roleId)]])]))}}),[["__scopeId","data-v-da0d7c0c"]])},Symbol.toStringTag,{value:"Module"}));return uQ});
|
|
271
|
+
`+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Pr(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&bd.assertOptions(o,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean)},!1),r!=null&&(W.isFunction(r)?n.paramsSerializer={serialize:r}:bd.assertOptions(r,{encode:Vo.function,serialize:Vo.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&W.merge(i.common,i[n.method]);i&&W.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Wt.concat(a,i);const l=[];let s=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(s=s&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const u=[];this.interceptors.response.forEach(function(p){u.push(p.fulfilled,p.rejected)});let c,A=0,f;if(!s){const g=[Ob.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,u),f=g.length,c=Promise.resolve(n);A<f;)c=c.then(g[A++],g[A++]);return c}f=l.length;let d=n;for(A=0;A<f;){const g=l[A++],p=l[A++];try{d=g(d)}catch(v){p.call(this,v);break}}try{c=Ob.call(this,d)}catch(g){return Promise.reject(g)}for(A=0,f=u.length;A<f;)c=c.then(u[A++],u[A++]);return c}getUri(t){t=Pr(this.defaults,t);const n=Eb(t.baseURL,t.url);return Ab(n,t.params,t.paramsSerializer)}}W.forEach(["delete","get","head","options"],function(t){Dr.prototype[t]=function(n,o){return this.request(Pr(o||{},{method:t,url:n,data:(o||{}).data}))}}),W.forEach(["post","put","patch"],function(t){function n(o){return function(i,a,l){return this.request(Pr(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Dr.prototype[t]=n(),Dr.prototype[t+"Form"]=n(!0)});class Bd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const o=this;this.promise.then(r=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(l=>{o.subscribe(l),i=l}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,l){o.reason||(o.reason=new Ci(i,a,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Bd(function(r){t=r}),cancel:t}}}function VL(e){return function(n){return e.apply(null,n)}}function _L(e){return W.isObject(e)&&e.isAxiosError===!0}const Id={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Id).forEach(([e,t])=>{Id[t]=e});function Tb(e){const t=new Dr(e),n=X0(Dr.prototype.request,t);return W.extend(n,Dr.prototype,t,{allOwnKeys:!0}),W.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Tb(Pr(e,r))},n}const ot=Tb(ja);ot.Axios=Dr,ot.CanceledError=Ci,ot.CancelToken=Bd,ot.isCancel=hb,ot.VERSION=Pb,ot.toFormData=nc,ot.AxiosError=Pe,ot.Cancel=ot.CanceledError,ot.all=function(t){return Promise.all(t)},ot.spread=VL,ot.isAxiosError=_L,ot.mergeConfig=Pr,ot.AxiosHeaders=Wt,ot.formToJSON=e=>gb(W.isHTMLForm(e)?new FormData(e):e),ot.getAdapter=xb.getAdapter,ot.HttpStatusCode=Id,ot.default=ot;const YL=0,UL=10008;ot.defaults.withCredentials=!0,ot.defaults.headers.common["Accept-Language"]=localStorage.getItem("permission_locale"),ot.interceptors.response.use(e=>{var i,a;const{status:t}=(e==null?void 0:e.data)||{},n=(e==null?void 0:e.data)||{},{code:o,detail:r}=t||{};if(((i=e==null?void 0:e.config)==null?void 0:i.responseType)==="blob")if(((a=e==null?void 0:e.data)==null?void 0:a.type)==="application/json"){const l=new FileReader;return l.readAsText(e.data,"utf-8"),l.onload=()=>{var u;const s=JSON.parse(l.result);ko.info((u=s==null?void 0:s.status)==null?void 0:u.detail)},Promise.reject()}else return e;if(e.headers&&e.headers["content-type"]==="image/jpeg")return e;switch(o){case YL:return Promise.resolve(n);case UL:return Promise.reject(n);default:return ko.error(r),Promise.reject(n)}},e=>{var n,o;const t=((o=(n=e==null?void 0:e.data)==null?void 0:n.status)==null?void 0:o.detail)||"Unknown error";return ko.error(t),Promise.reject(e)});const wd="/admin/crane",Qd={getPermissions:e=>ot.get(`${wd}/permission/apply`,{params:e}),getFlowPreview:e=>ot.post(`${wd}/permission/apply/oa/flow/submit/preview`,e),submitApply:e=>ot.post(`${wd}/permission/apply/oa/flow/submit`,e)},Nb={"zh-CN":{permissionApply:"权限申请",applyPermission:"申请权限",applyReason:"申请理由",approvalProcess:"审批流程",applyReason1:"新入职员工申请",applyReason2:"临时项目",applyReason3:"数据查询与分析",applyReasonPlaceholder:"请尽可能详细描述申请理由",cancel:"取消",submit:"确定",close:"关闭",viewApprovalDetail:"查看审批详情",applyMore:"继续申请其他权限",successTips:"已提交申请,审批通过后可拥有相关权限",resoultTitle:"操作结果反馈",start:"发起",end:"结束",noNeed:"无需审批",adaptDepartment:"适用部门",noApprovalProcess:"无审批流程",excessTips:"一次最多可申请{number}个权限",unavailableTips:"您暂无权限查看/操作该页面,请点击按钮进行申请",appliedTips:"权限已申请,正在{status}...",unapplyTips:"您暂无权限查看/操作该页面,且该页面中没有您可以申请的权限,",callManager:"如有需要请联系系统管理员",manager:"系统管理员",availableTime:"有效期",selectPlaceholder:"请选择权限点",reasonPlaceholder:"请输入申请理由",availiables:{SEVEN_DAYS:"7天",THIRTY_DAYS:"30天",SIXTY_DAYS:"60天",NINETY_DAYS:"90天",FOREVER:"永久有效"},levels:{L1:"低",L2:"中",L3:"高"},status:{PENDING:"审批中",NO:"不可申请",OWNER:"已拥有"},operationType:{QUERY:"查询",MANAGE:"操作"}},"en-US":{permissionApply:"权限申请",applyPermission:"申请权限",applyReason:"申请理由",approvalProcess:"审批流程",applyReason1:"新入职员工申请",applyReason2:"临时项目",applyReason3:"数据查询与分析",applyReasonPlaceholder:"请尽可能详细描述申请理由",cancel:"取消",submit:"确定",close:"关闭",viewApprovalDetail:"查看审批详情",applyMore:"继续申请其他权限",successTips:"已提交申请,审批通过后可拥有相关权限",resoultTitle:"操作结果反馈",start:"发起",end:"结束",noNeed:"无需审批",adaptDepartment:"适用部门",noApprovalProcess:"无审批流程",excessTips:"一次最多可申请{number}个权限",unavailableTips:"您暂无权限查看/操作该页面,请点击按钮进行申请",appliedTips:"权限已申请,正在{status}...",unapplyTips:"您暂无权限查看/操作该页面,且该页面中没有您可以申请的权限,",callManager:"如有需要请联系系统管理员",manager:"系统管理员",availableTime:"有效期",selectPlaceholder:"请选择权限点",reasonPlaceholder:"请输入申请理由",availiables:{SEVEN_DAYS:"7天",THIRTY_DAYS:"30天",SIXTY_DAYS:"60天",NINETY_DAYS:"90天",FOREVER:"永久有效"},levels:{L1:"低",L2:"中",L3:"高"},status:{PENDING:"审批中",NO:"不可申请",OWNER:"已拥有"},operationType:{QUERY:"查询",MANAGE:"操作"}}},De=(e,t)=>{const n=localStorage.getItem("permission_locale")||"en-US",o=e.split(".");let r=Nb[n]||Nb["en-US"];for(let i=0;i<o.length;i++)r=r[o[i]];return t&&Object.keys(t).forEach(i=>{r=r.replace(new RegExp(`{${i}}`,"g"),t[i])}),r||e},WL=(e,t)=>{let n=null;return function(){n||(n=setTimeout(()=>{e(arguments),n=null},t*1e3))}},GL=e=>{const t=De(e);return Object.keys(t).map(n=>({label:t[n],value:n}))},XL={class:"crane-wraper"},KL=["src"],JL={style:{margin:"10px"}},qL={style:{margin:"10px"}},ZL=["innerHTML"],e5={key:2,style:{margin:"10px"}},t5={style:{color:"#1677ff"}},n5=ae({__name:"yqg-permission",props:{workNumber:{type:String,default:""},permissions:{type:[String,Array],default:[]},businessCode:{type:String,default:""},locale:{type:String,default:"zh-CN"},color:{type:String,default:"#1677ff"},type:{type:String,default:"default"}},emits:["onSuccess"],setup(e,{emit:t}){const n=zc(()=>Promise.resolve().then(()=>d5)),o={DEFAULT:"DEFAULT",PENDING:"PENDING",NO:"NO"},r=e,i=Ae(!1);let a=Ae([]),l=Ae({imageUrl:G0,status:""});const s=P(()=>Array.isArray(r.permissions)?r.permissions:r.permissions.split(",")),u=d=>{const g=[],p=b=>{b.forEach(m=>{m.children?p(m.children):g.push(m)})};p(d);const v=[null,"PENDING","OWNER","NO"],E=["L1","L2","L3"];return g.sort((b,m)=>v.indexOf(b.businessApplyType)-v.indexOf(m.businessApplyType)||E.indexOf(b.securityLevel)-E.indexOf(m.securityLevel)),g},c=d=>{var v,E;if(!d.length)return l.value;const g=d.find(b=>b.businessApplyType===o.PENDING),p=d.every(b=>b.businessApplyType===o.NO);return g?{imageUrl:y6,status:o.PENDING,tips:De("status.PENDING"),url:g.oaFlowUrl}:p?{imageUrl:G0,status:o.NO,tips:(E=(v=d[0].admin)==null?void 0:v.map(b=>b.name))==null?void 0:E.join("、")}:l.value},A=async()=>{if(!s.value.length||!r.businessCode||!r.workNumber)return;const d={businessCode:r.businessCode,features:s.value.toString(),workNumber:r.workNumber};let g=await Qd.getPermissions(d);a.value=u(g.body||[]),l.value=c(a.value)},f=()=>{i.value=!i.value};return Ye(A),me(()=>r.locale,(d,g)=>{d!==g&&localStorage.setItem("permission_locale",r.locale)},{immediate:!0}),(d,g)=>s.value.length?(Ue(),Jt(pe(Qr),{key:0,prefixCls:"yqg-permission",theme:{token:{colorPrimary:r.color}}},{default:Ke(()=>[mt("div",XL,[e.type==="text"?(Ue(),Jt(pe(mi),{key:0,onClick:f},{default:Ke(()=>[Ct(Xe(pe(De)("permissionApply")),1)]),_:1})):e.type==="custom"?(Ue(),kt("div",{key:1,onClick:f},[BI(d.$slots,"custom",{},void 0,!0)])):(Ue(),kt(xe,{key:2},[mt("img",{src:pe(l).imageUrl,height:"200",width:"200",style:{"margin-top":"calc(50vh - 273px)"}},null,8,KL),pe(l).status===o.DEFAULT?(Ue(),kt(xe,{key:0},[mt("div",JL,Xe(pe(De)("unavailableTips")),1),mt("div",null,[B(pe(jn),{type:"primary",onClick:f},{default:Ke(()=>[Ct("+ "+Xe(pe(De)("applyPermission")),1)]),_:1})])],64)):pe(l).status===o.PENDING?(Ue(),kt(xe,{key:1},[mt("div",qL,[mt("span",{class:"crane-unapply",innerHTML:pe(De)("appliedTips",{status:`<style>.crane-unapply span {color: orange;}</style><span>${pe(l).tips}</span>`})},null,8,ZL)]),mt("div",null,[B(pe(jn),{style:{"margin-right":"10px"}},{default:Ke(()=>[Ct(Xe(pe(De)("viewApprovalDetail")),1)]),_:1}),B(pe(jn),{type:"primary",onClick:f},{default:Ke(()=>[Ct("+ "+Xe(pe(De)("applyMore")),1)]),_:1})])],64)):(Ue(),kt("div",e5,[Ct(Xe(pe(De)("unapplyTips"))+" ",1),B(pe(Ia),null,{content:Ke(()=>[Ct(Xe(pe(De)("manager"))+": "+Xe(pe(l).tips),1)]),default:Ke(()=>[mt("span",t5,Xe(pe(De)("callManager")),1)]),_:1})]))],64))]),B(pe(n),{modelValue:i.value,"onUpdate:modelValue":g[0]||(g[0]=p=>i.value=p),permissionList:pe(a),workNumber:e.workNumber,businessCode:e.businessCode,onOnSuccess:A},null,8,["modelValue","permissionList","workNumber","businessCode"])]),_:3},8,["theme"])):rr("",!0)}}),lc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},o5=Object.freeze(Object.defineProperty({__proto__:null,default:lc(n5,[["__scopeId","data-v-dafce49e"]])},Symbol.toStringTag,{value:"Module"})),r5=lc(ae({__name:"success-modal",setup(e,{expose:t}){const[n,o]=_t.useModal();return t({countDown:i=>{let a=10;const l=n.confirm({title:De("resoultTitle"),content:De("successTips"),cancelText:`${De("close")}(${a}s)`,okText:`${De("viewApprovalDetail")}>>`,wrapClassName:"success-modal-wrap",icon:B(Co,{style:"color: #52c41a;"}),onOk:()=>{window.open(i),location.reload()},onCancel:()=>{l.destroy(),location.reload()}}),s=setInterval(()=>{a-=1,l.update({cancelText:`${De("close")}(${a}s)`})},1e3);setTimeout(()=>{clearInterval(s),l.destroy()},a*1e3)}}),(i,a)=>(Ue(),Jt(pe(o)))}}),[["__scopeId","data-v-d803332d"]]),i5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAGCAYAAADHYm6gAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACASURBVHgBrY/BDUBAEEX/DicnJ66UoAQdcEd0oAQ6oQOtKGGPjquBHbPhInHbfclPZjLJmxnAg2zg2eVvRvBAMS4wlrznvRg5/czgSdbxIpZZchChPTelg4hfeSOmVUpDEWonV/nAk7zTwBMGCjzRSYQqthYlBbhbFNpJZYFx/Q2MWyJuE54BvwAAAABJRU5ErkJggg==",a5={key:0,class:"crane-step-wraper"},l5={style:{"white-space":"nowrap"}},s5=["src"],c5={key:1},u5={key:2},A5=lc(ae({__name:"approval-steps",props:{stepNodes:{type:Array,required:!0,default:()=>[]}},setup(e){const n=Xt(e,"stepNodes"),o=r=>r===n.value.length-1?`[${De("end")}]`:r===0?`[${De("start")}]`:"";return(r,i)=>{var a,l;return((a=n.value)==null?void 0:a.length)>1?(Ue(),kt("div",a5,[(Ue(!0),kt(xe,null,kc(n.value,(s,u)=>{var c;return Ue(),kt("div",{key:s.auditorName,class:"crane-step-node"},[mt("span",l5,Xe(s.auditorName)+" "+Xe(o(u)),1),(c=s.employeeNameList)!=null&&c.length?(Ue(),Jt(pe(Ia),{key:0},{content:Ke(()=>[Ct(Xe(s.auditorName)+":"+Xe(s.employeeNameList.join(",")),1)]),default:Ke(()=>[B(pe(Ts),{style:{margin:"0 2px"}})]),_:2},1024)):rr("",!0),u!==n.value.length-1?(Ue(),kt("img",{key:1,src:pe(i5),class:"crane-step-icon"},null,8,s5)):rr("",!0)])}),128))])):((l=n.value)==null?void 0:l.length)===1?(Ue(),kt("span",c5,Xe(pe(De)("noNeed")),1)):(Ue(),kt("span",u5,"-"))}}}),[["__scopeId","data-v-6b35bb95"]]),f5={style:{"margin-top":"4px"}},d5=Object.freeze(Object.defineProperty({__proto__:null,default:ae({__name:"apply-modal",props:zg({permissionList:{type:Array,default:()=>[]},businessCode:{type:String,default:""},workNumber:{type:String,default:""}},{modelValue:{required:!0,default:!1},modelModifiers:{}}),emits:zg(["onSuccess"],["update:modelValue"]),setup(e,{emit:t}){const n=zc(()=>Promise.resolve().then(()=>B5)),o=[De("applyReason1"),De("applyReason2"),De("applyReason3")],r=e,i=t,a=ow(e,"modelValue"),l=Xt(r,"permissionList"),s=Xt(r,"businessCode"),u=Xt(r,"workNumber"),c=Ae(),A=Ae();let f=Ae([]);const d=at({applyBusinessCode:s.value,roleIds:[],roleVoList:[],applyReason:"",submitWorkNumber:u.value}),g=b=>{d.applyReason.includes(b)||(!d.applyReason||d.applyReason.endsWith("、")?d.applyReason+=b:d.applyReason+=`、${b}`)},p=async()=>{A.value.validate().then(async()=>{var y,w;const b=v();let m=await Qd.submitApply(b);const I=(y=m==null?void 0:m.body)==null?void 0:y.oaFlowUrl;a.value=!1,i("onSuccess"),(w=c.value)==null||w.countDown(I)})},v=()=>(d.roleVoList=d.roleIds.map(b=>{var m;return{roleId:b,validTime:(m=l.value.find(I=>I.roleId===b))==null?void 0:m.validTime}}),d),E=WL(async()=>{var I;if(!d.roleIds.length){f.value=[];return}const b=v();let m=await Qd.getFlowPreview(b);f.value=((I=m==null?void 0:m.body)==null?void 0:I.nodes)||[]},0);return me(()=>a.value,b=>{var m;b&&((m=A.value)==null||m.resetFields(),f.value=[])}),(b,m)=>(Ue(),Jt(pe(_t),{open:a.value,"onUpdate:open":m[2]||(m[2]=I=>a.value=I),title:pe(De)("permissionApply"),width:"800px",onOk:p,okText:pe(De)("submit"),cancelText:pe(De)("cancel")},{default:Ke(()=>[B(pe($o),{ref_key:"formRef",ref:A,model:d,labelCol:{span:4},wrapperCol:{span:19}},{default:Ke(()=>[B(pe(_s),{label:pe(De)("applyPermission"),name:"roleIds",rules:[{required:!0,message:pe(De)("selectPlaceholder")}]},{default:Ke(()=>[B(pe(Ys),{value:d.roleIds,"onUpdate:value":m[0]||(m[0]=I=>d.roleIds=I),style:{display:"block"},onChange:pe(E)},{default:Ke(()=>[(Ue(!0),kt(xe,null,kc(l.value,I=>(Ue(),Jt(pe(n),{key:I.roleId,item:I,checkedIds:d.roleIds,onChangeTime:pe(E)},null,8,["item","checkedIds","onChangeTime"]))),128))]),_:1},8,["value","onChange"])]),_:1},8,["label","rules"]),B(pe(_s),{name:"applyReason",label:pe(De)("applyReason"),rules:[{required:!0,message:pe(De)("reasonPlaceholder")}]},{default:Ke(()=>[B(pe(ed),{value:d.applyReason,"onUpdate:value":m[1]||(m[1]=I=>d.applyReason=I),placeholder:pe(De)("applyReasonPlaceholder"),"auto-size":{minRows:2,maxRows:5}},null,8,["value","placeholder"]),mt("div",f5,[(Ue(),kt(xe,null,kc(o,I=>B(pe(Sr),{bordered:!1,style:{cursor:"pointer"},onClick:y=>g(I),key:I},{default:Ke(()=>[Ct(Xe(I),1)]),_:2},1032,["onClick"])),64))])]),_:1},8,["label","rules"]),B(pe(_s),{label:pe(De)("approvalProcess")},{default:Ke(()=>[B(A5,{stepNodes:pe(f)},null,8,["stepNodes"])]),_:1},8,["label"])]),_:1},8,["model"]),B(r5,{ref_key:"successModal",ref:c},null,512)]),_:1},8,["open","title","okText","cancelText"]))}})},Symbol.toStringTag,{value:"Module"})),g5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGXSURBVHgBlVNLTgJBEK1qOrjtI4w34AhwAuQEZBJc4yyVBbCRxE2HrZoQT4CcAI7AEeYIbDUM5asGZYj0KJX0J1WvX9eXqUIm/qUpbNp6ZzHT+yzNY1iOGR796w2sc1w3B5Ujoc5D1ns/hzcxImb2OPJPqV3rwn0NYh/DR4mEJBGhxShLN7pEZAF1EsPbmAExr7C1kad9KGy6oF/RpR6R1FIGkzAvw4KPqqv4OC4jP3N1LpZ6R55aGiJd7JES4SF+CquK5JdHWnKE48o6YenjcCw8PtGTbMqtwGWSQ9/8X0p9ZY+M7DShLNKCOq9m2Cb7Ahy9P1N+m1eNgsrEz7AXJ7qQ7Cf/3IBLw71rxQzApIIkUUyAsgzDWyXSEhdcm2tY6N4xuqXxDTwrsCkGXT/VPtuyWSqHuaJtQ8cBuUkH2e0IgDcAmzEeteHD6SDr3eHMoHLKYT/IruuIF0PaR+UczjaIc4rLGpguRmfFTN1dUNncHAZyDEUoP0iclV0nxgLbz+joG32rxeGTJKKs6uFfXaw50XDK2C8hpcmbpfjHLAAAAABJRU5ErkJggg==",p5={class:"crane-checkbox-line"},h5={class:"crane-flex-center crane-checkbox-label"},m5={class:"crane-text-overflow"},v5={class:"crane-flex-center crane-margin-left-4"},C5=["src"],E5={class:"crane-week-color crane-margin-left-4"},y5={class:"crane-week-color crane-margin-left-12"},b5="PENDING",B5=Object.freeze(Object.defineProperty({__proto__:null,default:lc(ae({__name:"checkbox-item",props:{item:{type:Object,default:()=>{}},checkedIds:{type:Array,default:[]},onChangeTime:{type:Function,default:()=>{}}},setup(e){const t={L1:{color:"green",text:De("levels.L1")},L2:{color:"orange",text:De("levels.L2")},L3:{color:"red",text:De("levels.L3")}},n={PENDING:{color:"orange",text:De("status.PENDING")},OWNER:{color:"green",text:De("status.OWNER")},NO:{color:"red",text:De("status.NO")}};let o=e;const r=GL("availiables"),i=Ae(""),a=u=>{const c={L1:"SIXTY_DAYS",L2:"THIRTY_DAYS",L3:"SEVEN_DAYS"},{relatedDepartmentIds:A=[],curDepartmentId:f=0,securityLevel:d}=u;return A.includes(f)?u.validTime="NINETY_DAYS":u.validTime=c[d],u.validTime},l=u=>{o.item.validTime=u,o.onChangeTime()},s=u=>{u.target.checked&&(i.value=a(o.item))};return(u,c)=>(Ue(),kt("div",p5,[B(pe(di),{value:e.item.roleId,disabled:!!e.item.businessApplyType,onChange:s},{default:Ke(()=>[mt("div",h5,[e.item.securityLevel?(Ue(),Jt(pe(Sr),{key:0,bordered:!1,color:t[e.item.securityLevel].color,class:"crane-tag-position"},{default:Ke(()=>[Ct(Xe(t[e.item.securityLevel].text),1)]),_:1},8,["color"])):rr("",!0),mt("span",null,Xe(pe(De)(`operationType.${e.item.operationType}`))+"| ",1),B(pe(Ia),null,{content:Ke(()=>[Ct(Xe(e.item.name),1)]),default:Ke(()=>[mt("span",m5,Xe(e.item.name),1)]),_:1}),e.item.businessApplyType?(Ue(),Jt(pe(Sr),{key:1,bordered:!1,class:Wa(["crane-tag-position crane-margin-left-4 crane-margin-right-0",e.item.businessApplyType!==b5?"crane-disabled-color":""])},{default:Ke(()=>[Ct(Xe(n[e.item.businessApplyType].text),1)]),_:1},8,["class"])):rr("",!0)])]),_:1},8,["value","disabled"]),e.item.desc?(Ue(),Jt(pe(Ia),{key:0},{content:Ke(()=>[Ct(Xe(e.item.desc),1)]),default:Ke(()=>[B(pe(Vs),{class:"crane-week-color"})]),_:1})):rr("",!0),e.item.relatedDepartments?(Ue(),Jt(pe(Ia),{key:1},{content:Ke(()=>[Ct(Xe(pe(De)("adaptDepartment"))+":"+Xe(e.item.relatedDepartments.map(A=>A.name).join(",")),1)]),default:Ke(()=>[mt("span",v5,[mt("img",{src:pe(g5),height:"14",width:"14"},null,8,C5),mt("span",E5,Xe(e.item.relatedDepartments.length),1)])]),_:1})):rr("",!0),jr(mt("span",y5,[Ct(Xe(pe(De)("availableTime"))+": ",1),B(pe(Jn),{value:i.value,"onUpdate:value":c[0]||(c[0]=A=>i.value=A),style:{width:"100px"},options:pe(r),onChange:l,size:"small"},null,8,["value","options"])],512),[[Yr,e.checkedIds.includes(e.item.roleId)]])]))}}),[["__scopeId","data-v-da0d7c0c"]])},Symbol.toStringTag,{value:"Module"}));return uQ});
|