@gkd-kit/inspect 0.0.1737116894149 → 0.0.1737722733437
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/assets/ActionCard.vue_vue_type_script_setup_true_lang-CObnTTkk.js +25 -0
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-CObnTTkk.js.map +1 -0
- package/dist/assets/{DevicePage-CakeIIRw.js → DevicePage-BuhMsBat.js} +2 -2
- package/dist/assets/{DevicePage-CakeIIRw.js.map → DevicePage-BuhMsBat.js.map} +1 -1
- package/dist/assets/{HomePage-BXtqqEjN.js → HomePage-tTq-J-Qw.js} +7 -7
- package/dist/assets/HomePage-tTq-J-Qw.js.map +1 -0
- package/dist/assets/{ImportPage-v6azOhuY.js → ImportPage-C826Ylcc.js} +2 -2
- package/dist/assets/{ImportPage-v6azOhuY.js.map → ImportPage-C826Ylcc.js.map} +1 -1
- package/dist/assets/{Input-D9duLETy.js → Input-zzFFygV-.js} +2 -2
- package/dist/assets/{Input-D9duLETy.js.map → Input-zzFFygV-.js.map} +1 -1
- package/dist/assets/{SelectorPage-xeXGVVm7.js → SelectorPage-BfpXwxXu.js} +2 -2
- package/dist/assets/{SelectorPage-xeXGVVm7.js.map → SelectorPage-BfpXwxXu.js.map} +1 -1
- package/dist/assets/{SnapshotPage-PkIjOEJq.js → SnapshotPage-D8ggxw1W.js} +5 -5
- package/dist/assets/{SnapshotPage-PkIjOEJq.js.map → SnapshotPage-D8ggxw1W.js.map} +1 -1
- package/dist/assets/{TrackGraph-nM1_mFzK.js → TrackGraph-Dzg6umnG.js} +2 -2
- package/dist/assets/{TrackGraph-nM1_mFzK.js.map → TrackGraph-Dzg6umnG.js.map} +1 -1
- package/dist/assets/{_404Page-BrutewbT.js → _404Page-eImxk49J.js} +2 -2
- package/dist/assets/{_404Page-BrutewbT.js.map → _404Page-eImxk49J.js.map} +1 -1
- package/dist/assets/chunk-CVEonGec.js +3 -0
- package/dist/assets/{chunk-B8AaBpuF.js.map → chunk-CVEonGec.js.map} +1 -1
- package/dist/assets/{dayjs.min-B08v852H.js → dayjs.min-ljH3fvyS.js} +2 -2
- package/dist/assets/{dayjs.min-B08v852H.js.map → dayjs.min-ljH3fvyS.js.map} +1 -1
- package/dist/assets/{error-CXAPp5gn.js → error-D3V93fcD.js} +2 -2
- package/dist/assets/{error-CXAPp5gn.js.map → error-D3V93fcD.js.map} +1 -1
- package/dist/assets/{import-D2W5TCPt.js → import-SDkYqU1v.js} +2 -2
- package/dist/assets/{import-D2W5TCPt.js.map → import-SDkYqU1v.js.map} +1 -1
- package/dist/assets/{index-BhzMwLCO.js → index-b4d77I7P.js} +8 -8
- package/dist/assets/{index-BhzMwLCO.js.map → index-b4d77I7P.js.map} +1 -1
- package/dist/assets/{jszip.min-hDIcADml.js → jszip.min-Bxzsk99W.js} +2 -2
- package/dist/assets/{jszip.min-hDIcADml.js.map → jszip.min-Bxzsk99W.js.map} +1 -1
- package/dist/assets/{snapshot-B-HQr_vt.js → snapshot-DvLDZN26.js} +2 -2
- package/dist/assets/{snapshot-B-HQr_vt.js.map → snapshot-DvLDZN26.js.map} +1 -1
- package/dist/assets/{table-Cz1IT432.js → table-CRSAw6Gx.js} +2 -2
- package/dist/assets/{table-Cz1IT432.js.map → table-CRSAw6Gx.js.map} +1 -1
- package/dist/index.html +3 -3
- package/package.json +2 -2
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-Cwldd04s.js +0 -25
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-Cwldd04s.js.map +0 -1
- package/dist/assets/HomePage-BXtqqEjN.js.map +0 -1
- package/dist/assets/chunk-B8AaBpuF.js +0 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{I as s,J as a,K as c,L as l,G as f,H as _,Q as p}from"./index-
|
|
2
|
-
//# sourceMappingURL=_404Page-
|
|
1
|
+
import{I as s,J as a,K as c,L as l,G as f,H as _,Q as p}from"./index-b4d77I7P.js";const d=(o,e)=>{const t=o.__vccOpts||o;for(const[n,r]of e)t[n]=r;return t},i={},x={flex:"","flex-col":"","flex-items-center":"","w-full":"","pt-50px":"","gap-8px":""};function u(o,e){const t=f("RouterLink");return _(),s("div",x,[e[1]||(e[1]=a("div",null,"当前页面不存在可访问资源",-1)),c(t,{to:"/"},{default:l(()=>e[0]||(e[0]=[p(" 回到首页 ")])),_:1})])}const k=d(i,[["render",u]]);export{k as default};
|
|
2
|
+
//# sourceMappingURL=_404Page-eImxk49J.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_404Page-
|
|
1
|
+
{"version":3,"file":"_404Page-eImxk49J.js","sources":["../../src/views/_404Page.vue"],"sourcesContent":["<template>\n <div flex flex-col flex-items-center w-full pt-50px gap-8px>\n <div>当前页面不存在可访问资源</div>\n <RouterLink to=\"/\"> 回到首页 </RouterLink>\n </div>\n</template>\n"],"names":["_hoisted_1","_openBlock","_createElementBlock","_cache","_createElementVNode","_createVNode","_component_RouterLink","_withCtx"],"mappings":"kKACWA,EAAA,CAAC,KAAA,GAAS,WAAA,GAAkB,oBAAM,GAAC,YAAQ,UAAA,yDAClD,OAAAC,EAAA,EAAAC,EAAA,QAAK,CACLC,EAAsC,CAAA,IAAAA,EAAA,CAAA,EAAAC,EAApB,MAAA,KAAA,eAAA,EAAA,GAHtBC,EAAAC,EAG6B,CAAA,GAAA,GAAA,EAAA,CAH7B,QAAAC,EAAA,IAG6BJ,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,cAH7B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1737722733437/files/dist/assets/jszip.min-Bxzsk99W.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1737722733437/files/dist/assets/index-b4d77I7P.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1737722733437/files/dist/assets/index-DfrQxctn.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{aw as r}from"./index-b4d77I7P.js";const a=r(()=>import("./jszip.min-Bxzsk99W.js").then(t=>t.j),__vite__mapDeps([0,1,2]),import.meta.url).then(t=>t.default),n=async(t,e)=>r(()=>import("./jszip.min-Bxzsk99W.js").then(o=>o.j),__vite__mapDeps([0,1,2]),import.meta.url).then(o=>o.loadAsync(t,e));export{a as J,n as l};
|
|
3
|
+
//# sourceMappingURL=chunk-CVEonGec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":";yCAGa,MAAAA,EAAaC,EAAA,WAAO,yBAAO,OAAAC,KAAA,6CAAE,KAAMC,GAAMA,EAAE,OAAO,EAClDC,EAA2B,MAAOC,EAAMC,IAC5CL,EAAA,WAAO,yBAAO,OAAAC,KAAA,6CAAE,KAAMC,GAAMA,EAAE,UAAUE,EAAMC,CAAO,CAAC","names":["JSZipAsync","__vitePreload","n","r","loadAsync","data","options"],"ignoreList":[],"sources":["../../src/utils/chunk.ts"],"sourcesContent":["type loadAsyncType = (typeof import('jszip'))['loadAsync'];\n\nexport type JSZipType = typeof import('jszip');\nexport const JSZipAsync = import('jszip').then((r) => r.default);\nexport const loadAsync: loadAsyncType = async (data, options?) => {\n return import('jszip').then((r) => r.loadAsync(data, options));\n};\n"],"file":"assets/chunk-
|
|
1
|
+
{"version":3,"mappings":";yCAGa,MAAAA,EAAaC,EAAA,WAAO,yBAAO,OAAAC,KAAA,6CAAE,KAAMC,GAAMA,EAAE,OAAO,EAClDC,EAA2B,MAAOC,EAAMC,IAC5CL,EAAA,WAAO,yBAAO,OAAAC,KAAA,6CAAE,KAAMC,GAAMA,EAAE,UAAUE,EAAMC,CAAO,CAAC","names":["JSZipAsync","__vitePreload","n","r","loadAsync","data","options"],"ignoreList":[],"sources":["../../src/utils/chunk.ts"],"sourcesContent":["type loadAsyncType = (typeof import('jszip'))['loadAsync'];\n\nexport type JSZipType = typeof import('jszip');\nexport const JSZipAsync = import('jszip').then((r) => r.default);\nexport const loadAsync: loadAsyncType = async (data, options?) => {\n return import('jszip').then((r) => r.loadAsync(data, options));\n};\n"],"file":"assets/chunk-CVEonGec.js"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{B as We,b9 as Oe,by as Un,m as H,a3 as pt,aa as ne,bt as un,bu as dn,br as cn,r as F,bc as ye,ba as he,a9 as te,h as X,$ as pe,bz as Yn,bA as Xn,a5 as Ke,bB as $t,bC as qn,bd as fn,F as Te,t as Q,bk as hn,v as k,bD as pn,bE as Zn,as as Jn,bF as Qn,bG as vn,o as Ne,p as _e,bp as Ve,bw as Mt,bH as Ge,bI as Ue,bJ as er,bK as tr,bL as vt,bM as nr,bN as ue,bO as gn,bP as gt,bQ as rr,bR as Se,bS as lt,bT as mn,bU as _t,bV as or,bW as Tt,bX as zt,bY as Pe,bZ as ir,b_ as Ot,b$ as ar,c0 as sr,c1 as lr,c2 as ur,c3 as dr,c4 as cr,c5 as fr,d as Ce,a as R,b as j,e as N,j as ie,u as q,n as ge,q as Ae,ad as hr,g as ve,f as Y,c6 as pr,D as bn,bl as At,a6 as vr,bm as It,bf as gr,s as kt,c7 as mr,w as Le,P as br,ar as yr,l as mt,c8 as Et,c9 as wr,ca as xr,a_ as Sr,y as oe,Z as Cr,ag as yn,af as $r,c as Bt,k as wn,a1 as bt,cb as xn,bo as Mr,bs as _r,an as Tr,cc as zr,cd as Or,ce as Ar,aU as Sn,C as Ir,cf as kr,cg as Er}from"./index-BhzMwLCO.js";import{u as Br}from"./Input-D9duLETy.js";let Fe=[];const Cn=new WeakMap;function Pr(){Fe.forEach(e=>e(...Cn.get(e))),Fe=[]}function $n(e,...t){Cn.set(e,t),!Fe.includes(e)&&Fe.push(e)===1&&requestAnimationFrame(Pr)}function Ya(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}let we,ze;const Lr=()=>{var e,t;we=Un?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,ze=!1,we!==void 0?we.then(()=>{ze=!0}):ze=!0};Lr();function Dr(e){if(ze)return;let t=!1;We(()=>{ze||we==null||we.then(()=>{t||e()})}),Oe(()=>{t=!0})}function Rr(e,t){return H(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const Xa=pt("n-internal-select-menu"),Nr=pt("n-internal-select-menu-body"),Mn="__disabled__";function xe(e){const t=ne(un,null),n=ne(dn,null),r=ne(cn,null),o=ne(Nr,null),i=F();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};We(()=>{ye("fullscreenchange",document,a)}),Oe(()=>{he("fullscreenchange",document,a)})}return te(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?Mn:l===!0?i.value||"body":l:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:r!=null&&r.value?r.value:o!=null&&o.value?o.value:l!=null?l:i.value||"body"})}xe.tdkey=Mn;xe.propTo={type:[String,Object,Boolean],default:void 0};let se=null;function _n(){if(se===null&&(se=document.getElementById("v-binder-view-measurer"),se===null)){se=document.createElement("div"),se.id="v-binder-view-measurer";const{style:e}=se;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(se)}return se.getBoundingClientRect()}function Fr(e,t){const n=_n();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Xe(e){const t=e.getBoundingClientRect(),n=_n();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function Hr(e){return e.nodeType===9?null:e.parentNode}function Tn(e){if(e===null)return null;const t=Hr(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:r,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+o+r))return t}return Tn(t)}const jr=X({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;pe("VBinder",(t=Yn())===null||t===void 0?void 0:t.proxy);const n=ne("VBinder",null),r=F(null),o=g=>{r.value=g,n&&e.syncTargetWithParent&&n.setTargetRef(g)};let i=[];const a=()=>{let g=r.value;for(;g=Tn(g),g!==null;)i.push(g);for(const $ of i)ye("scroll",$,c,!0)},l=()=>{for(const g of i)he("scroll",g,c,!0);i=[]},s=new Set,u=g=>{s.size===0&&a(),s.has(g)||s.add(g)},f=g=>{s.has(g)&&s.delete(g),s.size===0&&l()},c=()=>{$n(p)},p=()=>{s.forEach(g=>g())},b=new Set,y=g=>{b.size===0&&ye("resize",window,w),b.has(g)||b.add(g)},C=g=>{b.has(g)&&b.delete(g),b.size===0&&he("resize",window,w)},w=()=>{b.forEach(g=>g())};return Oe(()=>{he("resize",window,w),l()}),{targetRef:r,setTargetRef:o,addScrollListener:u,removeScrollListener:f,addResizeListener:y,removeResizeListener:C}},render(){return Xn("binder",this.$slots)}}),Wr=X({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=ne("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Ke($t("follower",this.$slots),[[t]]):$t("follower",this.$slots)}}),be="@@mmoContext",Kr={mounted(e,{value:t}){e[be]={handler:void 0},typeof t=="function"&&(e[be].handler=t,ye("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[be];typeof t=="function"?n.handler?n.handler!==t&&(he("mousemoveoutside",e,n.handler),n.handler=t,ye("mousemoveoutside",e,t)):(e[be].handler=t,ye("mousemoveoutside",e,t)):n.handler&&(he("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[be];t&&he("mousemoveoutside",e,t),e[be].handler=void 0}},{c:fe}=qn(),zn="vueuc-style";function Pt(e){return e&-e}class On{constructor(t,n){this.l=t,this.min=n;const r=new Array(t+1);for(let o=0;o<t+1;++o)r[o]=0;this.ft=r}add(t,n){if(n===0)return;const{l:r,ft:o}=this;for(t+=1;t<=r;)o[t]+=n,t+=Pt(t)}get(t){return this.sum(t+1)-this.sum(t)}sum(t){if(t===void 0&&(t=this.l),t<=0)return 0;const{ft:n,min:r,l:o}=this;if(t>o)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*r;for(;t>0;)i+=n[t],t-=Pt(t);return i}getBound(t){let n=0,r=this.l;for(;r>n;){const o=Math.floor((n+r)/2),i=this.sum(o);if(i>t){r=o;continue}else if(i<t){if(n===o)return this.sum(n+1)<=t?n+1:o;n=o}else return o}return n}}const ke={top:"bottom",bottom:"top",left:"right",right:"left"},Lt={start:"end",center:"center",end:"start"},qe={top:"height",bottom:"height",left:"width",right:"width"},Vr={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Gr={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Ur={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Dt={top:!0,bottom:!1,left:!0,right:!1},Rt={top:"end",bottom:"start",left:"end",right:"start"};function Yr(e,t,n,r,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l!=null?l:"center",u={top:0,left:0};const f=(b,y,C)=>{let w=0,g=0;const $=n[b]-t[y]-t[b];return $>0&&r&&(C?g=Dt[y]?$:-$:w=Dt[y]?$:-$),{left:w,top:g}},c=a==="left"||a==="right";if(s!=="center"){const b=Ur[e],y=ke[b],C=qe[b];if(n[C]>t[C]){if(t[b]+t[C]<n[C]){const w=(n[C]-t[C])/2;t[b]<w||t[y]<w?t[b]<t[y]?(s=Lt[l],u=f(C,y,c)):u=f(C,b,c):s="center"}}else n[C]<t[C]&&t[y]<0&&t[b]>t[y]&&(s=Lt[l])}else{const b=a==="bottom"||a==="top"?"left":"top",y=ke[b],C=qe[b],w=(n[C]-t[C])/2;(t[b]<w||t[y]<w)&&(t[b]>t[y]?(s=Rt[b],u=f(C,b,c)):(s=Rt[y],u=f(C,y,c)))}let p=a;return t[a]<n[qe[a]]&&t[a]<t[ke[a]]&&(p=ke[a]),{placement:s!=="center"?`${p}-${s}`:p,left:u.left,top:u.top}}function Xr(e,t){return t?Gr[e]:Vr[e]}function qr(e,t,n,r,o,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateX(-50%)"}}}const Zr=fe([fe(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),fe(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[fe("> *",{pointerEvents:"all"})])]),Jr=X({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=ne("VBinder"),n=te(()=>e.enabled!==void 0?e.enabled:e.show),r=F(null),o=F(null),i=()=>{const{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(s),p.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};We(()=>{n.value&&(s(),i())});const l=fn();Zr.mount({id:"vueuc/binder",head:!0,anchorMetaName:zn,ssr:l}),Oe(()=>{a()}),Dr(()=>{n.value&&s()});const s=()=>{if(!n.value)return;const p=r.value;if(p===null)return;const b=t.targetRef,{x:y,y:C,overlap:w}=e,g=y!==void 0&&C!==void 0?Fr(y,C):Xe(b);p.style.setProperty("--v-target-width",`${Math.round(g.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(g.height)}px`);const{width:$,minWidth:E,placement:S,internalShift:M,flip:I}=e;p.setAttribute("v-placement",S),w?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");const{style:A}=p;$==="target"?A.width=`${g.width}px`:$!==void 0?A.width=$:A.width="",E==="target"?A.minWidth=`${g.width}px`:E!==void 0?A.minWidth=E:A.minWidth="";const P=Xe(p),L=Xe(o.value),{left:_,top:B,placement:G}=Yr(S,g,P,M,I,w),T=Xr(G,w),{left:v,top:d,transform:h}=qr(G,L,g,B,_,w);p.setAttribute("v-placement",G),p.style.setProperty("--v-offset-left",`${Math.round(_)}px`),p.style.setProperty("--v-offset-top",`${Math.round(B)}px`),p.style.transform=`translateX(${v}) translateY(${d}) ${h}`,p.style.setProperty("--v-transform-origin",T),p.style.transformOrigin=T};Te(n,p=>{p?(i(),u()):a()});const u=()=>{Jn().then(s).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{Te(Q(e,p),s)}),["teleportDisabled"].forEach(p=>{Te(Q(e,p),u)}),Te(Q(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),p.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const f=hn(),c=te(()=>{const{to:p}=e;if(p!==void 0)return p;f.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:c,syncPosition:s}},render(){return k(Zn,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=k("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[k("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?Ke(n,[[pn,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});let Ee;function Qr(){return typeof document>"u"?!1:(Ee===void 0&&("matchMedia"in window?Ee=window.matchMedia("(pointer:coarse)").matches:Ee=!1),Ee)}let Ze;function Nt(){return typeof document>"u"?1:(Ze===void 0&&(Ze="chrome"in window?window.devicePixelRatio:1),Ze)}const An="VVirtualListXScroll";function eo({columnsRef:e,renderColRef:t,renderItemWithColsRef:n}){const r=F(0),o=F(0),i=H(()=>{const u=e.value;if(u.length===0)return null;const f=new On(u.length,0);return u.forEach((c,p)=>{f.add(p,c.width)}),f}),a=te(()=>{const u=i.value;return u!==null?Math.max(u.getBound(o.value)-1,0):0}),l=u=>{const f=i.value;return f!==null?f.sum(u):0},s=te(()=>{const u=i.value;return u!==null?Math.min(u.getBound(o.value+r.value)+1,e.value.length-1):0});return pe(An,{startIndexRef:a,endIndexRef:s,columnsRef:e,renderColRef:t,renderItemWithColsRef:n,getLeft:l}),{listWidthRef:r,scrollLeftRef:o}}const Ft=X({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:t,columnsRef:n,getLeft:r,renderColRef:o,renderItemWithColsRef:i}=ne(An);return{startIndex:e,endIndex:t,columns:n,renderCol:o,renderItemWithCols:i,getLeft:r}},render(){const{startIndex:e,endIndex:t,columns:n,renderCol:r,renderItemWithCols:o,getLeft:i,item:a}=this;if(o!=null)return o({itemIndex:this.index,startColIndex:e,endColIndex:t,allColumns:n,item:a,getLeft:i});if(r!=null){const l=[];for(let s=e;s<=t;++s){const u=n[s];l.push(r({column:u,left:i(s),item:a}))}return l}return null}}),to=fe(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[fe("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[fe("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),qa=X({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=fn();to.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:zn,ssr:t}),We(()=>{const{defaultScrollIndex:T,defaultScrollKey:v}=e;T!=null?w({index:T}):v!=null&&w({key:v})});let n=!1,r=!1;Qn(()=>{if(n=!1,!r){r=!0;return}w({top:b.value,left:a.value})}),vn(()=>{n=!0,r||(r=!0)});const o=te(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let T=0;return e.columns.forEach(v=>{T+=v.width}),T}),i=H(()=>{const T=new Map,{keyField:v}=e;return e.items.forEach((d,h)=>{T.set(d[v],h)}),T}),{scrollLeftRef:a,listWidthRef:l}=eo({columnsRef:Q(e,"columns"),renderColRef:Q(e,"renderCol"),renderItemWithColsRef:Q(e,"renderItemWithCols")}),s=F(null),u=F(void 0),f=new Map,c=H(()=>{const{items:T,itemSize:v,keyField:d}=e,h=new On(T.length,v);return T.forEach((x,m)=>{const z=x[d],O=f.get(z);O!==void 0&&h.add(m,O)}),h}),p=F(0),b=F(0),y=te(()=>Math.max(c.value.getBound(b.value-Ne(e.paddingTop))-1,0)),C=H(()=>{const{value:T}=u;if(T===void 0)return[];const{items:v,itemSize:d}=e,h=y.value,x=Math.min(h+Math.ceil(T/d+1),v.length-1),m=[];for(let z=h;z<=x;++z)m.push(v[z]);return m}),w=(T,v)=>{if(typeof T=="number"){S(T,v,"auto");return}const{left:d,top:h,index:x,key:m,position:z,behavior:O,debounce:D=!0}=T;if(d!==void 0||h!==void 0)S(d,h,O);else if(x!==void 0)E(x,O,D);else if(m!==void 0){const W=i.value.get(m);W!==void 0&&E(W,O,D)}else z==="bottom"?S(0,Number.MAX_SAFE_INTEGER,O):z==="top"&&S(0,0,O)};let g,$=null;function E(T,v,d){const{value:h}=c,x=h.sum(T)+Ne(e.paddingTop);if(!d)s.value.scrollTo({left:0,top:x,behavior:v});else{g=T,$!==null&&window.clearTimeout($),$=window.setTimeout(()=>{g=void 0,$=null},16);const{scrollTop:m,offsetHeight:z}=s.value;if(x>m){const O=h.get(T);x+O<=m+z||s.value.scrollTo({left:0,top:x+O-z,behavior:v})}else s.value.scrollTo({left:0,top:x,behavior:v})}}function S(T,v,d){s.value.scrollTo({left:T,top:v,behavior:d})}function M(T,v){var d,h,x;if(n||e.ignoreItemResize||G(v.target))return;const{value:m}=c,z=i.value.get(T),O=m.get(z),D=(x=(h=(d=v.borderBoxSize)===null||d===void 0?void 0:d[0])===null||h===void 0?void 0:h.blockSize)!==null&&x!==void 0?x:v.contentRect.height;if(D===O)return;D-e.itemSize===0?f.delete(T):f.set(T,D-e.itemSize);const K=D-O;if(K===0)return;m.add(z,K);const V=s.value;if(V!=null){if(g===void 0){const Z=m.sum(z);V.scrollTop>Z&&V.scrollBy(0,K)}else if(z<g)V.scrollBy(0,K);else if(z===g){const Z=m.sum(z);D+Z>V.scrollTop+V.offsetHeight&&V.scrollBy(0,K)}B()}p.value++}const I=!Qr();let A=!1;function P(T){var v;(v=e.onScroll)===null||v===void 0||v.call(e,T),(!I||!A)&&B()}function L(T){var v;if((v=e.onWheel)===null||v===void 0||v.call(e,T),I){const d=s.value;if(d!=null){if(T.deltaX===0&&(d.scrollTop===0&&T.deltaY<=0||d.scrollTop+d.offsetHeight>=d.scrollHeight&&T.deltaY>=0))return;T.preventDefault(),d.scrollTop+=T.deltaY/Nt(),d.scrollLeft+=T.deltaX/Nt(),B(),A=!0,$n(()=>{A=!1})}}}function _(T){if(n||G(T.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if(T.contentRect.height===u.value)return}else if(T.contentRect.height===u.value&&T.contentRect.width===l.value)return;u.value=T.contentRect.height,l.value=T.contentRect.width;const{onResize:v}=e;v!==void 0&&v(T)}function B(){const{value:T}=s;T!=null&&(b.value=T.scrollTop,a.value=T.scrollLeft)}function G(T){let v=T;for(;v!==null;){if(v.style.display==="none")return!0;v=v.parentElement}return!1}return{listHeight:u,listStyle:{overflow:"auto"},keyToIndex:i,itemsStyle:H(()=>{const{itemResizable:T}=e,v=_e(c.value.sum());return p.value,[e.itemsStyle,{boxSizing:"content-box",width:_e(o.value),height:T?"":v,minHeight:T?v:"",paddingTop:_e(e.paddingTop),paddingBottom:_e(e.paddingBottom)}]}),visibleItemsStyle:H(()=>(p.value,{transform:`translateY(${_e(c.value.sum(y.value))})`})),viewportItems:C,listElRef:s,itemsElRef:F(null),scrollTo:w,handleListResize:_,handleListScroll:P,handleListWheel:L,handleItemResize:M}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:r}=this;return k(Mt,{onResize:this.handleListResize},{default:()=>{var o,i;return k("div",Ve(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?k("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[k(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:a,renderItemWithCols:l}=this;return this.viewportItems.map(s=>{const u=s[t],f=n.get(u),c=a!=null?k(Ft,{index:f,item:s}):void 0,p=l!=null?k(Ft,{index:f,item:s}):void 0,b=this.$slots.default({item:s,renderedCols:c,renderedItemWithCols:p,index:f})[0];return e?k(Mt,{key:u,onResize:y=>this.handleItemResize(u,y)},{default:()=>b}):(b.key=u,b)})}})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}}),no=/^(\d|\.)+$/,Ht=/(\d|\.)+/;function De(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e=="number"){const o=(e+n)*t;return o===0?"0":`${o}px`}else if(typeof e=="string")if(no.test(e)){const o=(Number(e)+n)*t;return r?o===0?"0":`${o}px`:`${o}`}else{const o=Ht.exec(e);return o?e.replace(Ht,String((Number(o[0])+n)*t)):e}return e}let Je;function ro(){return Je===void 0&&(Je=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Je}function In(e,t="default",n=[]){const o=e.$slots[t];return o===void 0?n:o()}var ut=Ge(Ue,"WeakMap"),oo=er(Object.keys,Object),io=Object.prototype,ao=io.hasOwnProperty;function so(e){if(!tr(e))return oo(e);var t=[];for(var n in Object(e))ao.call(e,n)&&n!="constructor"&&t.push(n);return t}function yt(e){return vt(e)?nr(e):so(e)}var lo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uo=/^\w*$/;function wt(e,t){if(ue(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||gn(e)?!0:uo.test(e)||!lo.test(e)||t!=null&&e in Object(t)}var co="Expected a function";function xt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(co);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(xt.Cache||gt),n}xt.Cache=gt;var fo=500;function ho(e){var t=xt(e,function(r){return n.size===fo&&n.clear(),r}),n=t.cache;return t}var po=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vo=/\\(\\)?/g,go=ho(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(po,function(n,r,o,i){t.push(o?i.replace(vo,"$1"):r||n)}),t});function kn(e,t){return ue(e)?e:wt(e,t)?[e]:go(rr(e))}var mo=1/0;function Ye(e){if(typeof e=="string"||gn(e))return e;var t=e+"";return t=="0"&&1/e==-mo?"-0":t}function En(e,t){t=kn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Ye(t[n++])];return n&&n==r?e:void 0}function bo(e,t,n){var r=e==null?void 0:En(e,t);return r===void 0?n:r}function yo(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function wo(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function xo(){return[]}var So=Object.prototype,Co=So.propertyIsEnumerable,jt=Object.getOwnPropertySymbols,$o=jt?function(e){return e==null?[]:(e=Object(e),wo(jt(e),function(t){return Co.call(e,t)}))}:xo;function Mo(e,t,n){var r=t(e);return ue(e)?r:yo(r,n(e))}function Wt(e){return Mo(e,yt,$o)}var dt=Ge(Ue,"DataView"),ct=Ge(Ue,"Promise"),ft=Ge(Ue,"Set"),Kt="[object Map]",_o="[object Object]",Vt="[object Promise]",Gt="[object Set]",Ut="[object WeakMap]",Yt="[object DataView]",To=Se(dt),zo=Se(lt),Oo=Se(ct),Ao=Se(ft),Io=Se(ut),le=mn;(dt&&le(new dt(new ArrayBuffer(1)))!=Yt||lt&&le(new lt)!=Kt||ct&&le(ct.resolve())!=Vt||ft&&le(new ft)!=Gt||ut&&le(new ut)!=Ut)&&(le=function(e){var t=mn(e),n=t==_o?e.constructor:void 0,r=n?Se(n):"";if(r)switch(r){case To:return Yt;case zo:return Kt;case Oo:return Vt;case Ao:return Gt;case Io:return Ut}return t});var ko="__lodash_hash_undefined__";function Eo(e){return this.__data__.set(e,ko),this}function Bo(e){return this.__data__.has(e)}function He(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new gt;++t<n;)this.add(e[t])}He.prototype.add=He.prototype.push=Eo;He.prototype.has=Bo;function Po(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Lo(e,t){return e.has(t)}var Do=1,Ro=2;function Bn(e,t,n,r,o,i){var a=n&Do,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var u=i.get(e),f=i.get(t);if(u&&f)return u==t&&f==e;var c=-1,p=!0,b=n&Ro?new He:void 0;for(i.set(e,t),i.set(t,e);++c<l;){var y=e[c],C=t[c];if(r)var w=a?r(C,y,c,t,e,i):r(y,C,c,e,t,i);if(w!==void 0){if(w)continue;p=!1;break}if(b){if(!Po(t,function(g,$){if(!Lo(b,$)&&(y===g||o(y,g,n,r,i)))return b.push($)})){p=!1;break}}else if(!(y===C||o(y,C,n,r,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function No(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Fo(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ho=1,jo=2,Wo="[object Boolean]",Ko="[object Date]",Vo="[object Error]",Go="[object Map]",Uo="[object Number]",Yo="[object RegExp]",Xo="[object Set]",qo="[object String]",Zo="[object Symbol]",Jo="[object ArrayBuffer]",Qo="[object DataView]",Xt=_t?_t.prototype:void 0,Qe=Xt?Xt.valueOf:void 0;function ei(e,t,n,r,o,i,a){switch(n){case Qo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Jo:return!(e.byteLength!=t.byteLength||!i(new Tt(e),new Tt(t)));case Wo:case Ko:case Uo:return or(+e,+t);case Vo:return e.name==t.name&&e.message==t.message;case Yo:case qo:return e==t+"";case Go:var l=No;case Xo:var s=r&Ho;if(l||(l=Fo),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;r|=jo,a.set(e,t);var f=Bn(l(e),l(t),r,o,i,a);return a.delete(e),f;case Zo:if(Qe)return Qe.call(e)==Qe.call(t)}return!1}var ti=1,ni=Object.prototype,ri=ni.hasOwnProperty;function oi(e,t,n,r,o,i){var a=n&ti,l=Wt(e),s=l.length,u=Wt(t),f=u.length;if(s!=f&&!a)return!1;for(var c=s;c--;){var p=l[c];if(!(a?p in t:ri.call(t,p)))return!1}var b=i.get(e),y=i.get(t);if(b&&y)return b==t&&y==e;var C=!0;i.set(e,t),i.set(t,e);for(var w=a;++c<s;){p=l[c];var g=e[p],$=t[p];if(r)var E=a?r($,g,p,t,e,i):r(g,$,p,e,t,i);if(!(E===void 0?g===$||o(g,$,n,r,i):E)){C=!1;break}w||(w=p=="constructor")}if(C&&!w){var S=e.constructor,M=t.constructor;S!=M&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof M=="function"&&M instanceof M)&&(C=!1)}return i.delete(e),i.delete(t),C}var ii=1,qt="[object Arguments]",Zt="[object Array]",Be="[object Object]",ai=Object.prototype,Jt=ai.hasOwnProperty;function si(e,t,n,r,o,i){var a=ue(e),l=ue(t),s=a?Zt:le(e),u=l?Zt:le(t);s=s==qt?Be:s,u=u==qt?Be:u;var f=s==Be,c=u==Be,p=s==u;if(p&&zt(e)){if(!zt(t))return!1;a=!0,f=!1}if(p&&!f)return i||(i=new Pe),a||ir(e)?Bn(e,t,n,r,o,i):ei(e,t,s,n,r,o,i);if(!(n&ii)){var b=f&&Jt.call(e,"__wrapped__"),y=c&&Jt.call(t,"__wrapped__");if(b||y){var C=b?e.value():e,w=y?t.value():t;return i||(i=new Pe),o(C,w,n,r,i)}}return p?(i||(i=new Pe),oi(e,t,n,r,o,i)):!1}function St(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ot(e)&&!Ot(t)?e!==e&&t!==t:si(e,t,n,r,St,o)}var li=1,ui=2;function di(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var l=a[0],s=e[l],u=a[1];if(a[2]){if(s===void 0&&!(l in e))return!1}else{var f=new Pe,c;if(!(c===void 0?St(u,s,li|ui,r,f):c))return!1}}return!0}function Pn(e){return e===e&&!ar(e)}function ci(e){for(var t=yt(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Pn(o)]}return t}function Ln(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function fi(e){var t=ci(e);return t.length==1&&t[0][2]?Ln(t[0][0],t[0][1]):function(n){return n===e||di(n,e,t)}}function hi(e,t){return e!=null&&t in Object(e)}function pi(e,t,n){t=kn(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=Ye(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&sr(o)&&lr(a,o)&&(ue(e)||ur(e)))}function vi(e,t){return e!=null&&pi(e,t,hi)}var gi=1,mi=2;function bi(e,t){return wt(e)&&Pn(t)?Ln(Ye(e),t):function(n){var r=bo(n,e);return r===void 0&&r===t?vi(n,e):St(t,r,gi|mi)}}function yi(e){return function(t){return t==null?void 0:t[e]}}function wi(e){return function(t){return En(t,e)}}function xi(e){return wt(e)?yi(Ye(e)):wi(e)}function Si(e){return typeof e=="function"?e:e==null?dr:typeof e=="object"?ue(e)?bi(e[0],e[1]):fi(e):xi(e)}function Ci(e,t){return e&&cr(e,t,yt)}function $i(e,t){return function(n,r){if(n==null)return n;if(!vt(n))return e(n,r);for(var o=n.length,i=-1,a=Object(n);++i<o&&r(a[i],i,a)!==!1;);return n}}var Mi=$i(Ci);function _i(e,t){var n=-1,r=vt(e)?Array(e.length):[];return Mi(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function Ti(e,t){var n=ue(e)?fr:_i;return n(e,Si(t))}const Za=X({name:"ChevronRight",render(){return k("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),zi=X({name:"Empty",render(){return k("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),k("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}});function Qt(e){return Array.isArray(e)?e:[e]}const ht={STOP:"STOP"};function Dn(e,t){const n=t(e);e.children!==void 0&&n!==ht.STOP&&e.children.forEach(r=>Dn(r,t))}function Oi(e,t={}){const{preserveGroup:n=!1}=t,r=[],o=n?a=>{a.isLeaf||(r.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||r.push(a.key),i(a.children))};function i(a){a.forEach(o)}return i(e),r}function Ai(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function Ii(e){return e.children}function ki(e){return e.key}function Ei(){return!1}function Bi(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function Pi(e){return e.disabled===!0}function Li(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function et(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function tt(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function Di(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)||n.add(r)}),Array.from(n)}function Ri(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)&&n.delete(r)}),Array.from(n)}function Ni(e){return(e==null?void 0:e.type)==="group"}function Ja(e){const t=new Map;return e.forEach((n,r)=>{t.set(n.key,r)}),n=>{var r;return(r=t.get(n))!==null&&r!==void 0?r:null}}class Fi extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Hi(e,t,n,r){return je(t.concat(e),n,r,!1)}function ji(e,t){const n=new Set;return e.forEach(r=>{const o=t.treeNodeMap.get(r);if(o!==void 0){let i=o.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function Wi(e,t,n,r){const o=je(t,n,r,!1),i=je(e,n,r,!0),a=ji(e,n),l=[];return o.forEach(s=>{(i.has(s)||a.has(s))&&l.push(s)}),l.forEach(s=>o.delete(s)),o}function nt(e,t){const{checkedKeys:n,keysToCheck:r,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:l,checkStrategy:s,allowNotLoaded:u}=e;if(!a)return r!==void 0?{checkedKeys:Di(n,r),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:Ri(n,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:f}=t;let c;o!==void 0?c=Wi(o,n,t,u):r!==void 0?c=Hi(r,n,t,u):c=je(n,t,u,!1);const p=s==="parent",b=s==="child"||l,y=c,C=new Set,w=Math.max.apply(null,Array.from(f.keys()));for(let g=w;g>=0;g-=1){const $=g===0,E=f.get(g);for(const S of E){if(S.isLeaf)continue;const{key:M,shallowLoaded:I}=S;if(b&&I&&S.children.forEach(_=>{!_.disabled&&!_.isLeaf&&_.shallowLoaded&&y.has(_.key)&&y.delete(_.key)}),S.disabled||!I)continue;let A=!0,P=!1,L=!0;for(const _ of S.children){const B=_.key;if(!_.disabled){if(L&&(L=!1),y.has(B))P=!0;else if(C.has(B)){P=!0,A=!1;break}else if(A=!1,P)break}}A&&!L?(p&&S.children.forEach(_=>{!_.disabled&&y.has(_.key)&&y.delete(_.key)}),y.add(M)):P&&C.add(M),$&&b&&y.has(M)&&y.delete(M)}}return{checkedKeys:Array.from(y),indeterminateKeys:Array.from(C)}}function je(e,t,n,r){const{treeNodeMap:o,getChildren:i}=t,a=new Set,l=new Set(e);return e.forEach(s=>{const u=o.get(s);u!==void 0&&Dn(u,f=>{if(f.disabled)return ht.STOP;const{key:c}=f;if(!a.has(c)&&(a.add(c),l.add(c),Li(f.rawNode,i))){if(r)return ht.STOP;if(!n)throw new Fi}})}),l}function Ki(e,{includeGroup:t=!1,includeSelf:n=!0},r){var o;const i=r.treeNodeMap;let a=e==null?null:(o=i.get(e))!==null&&o!==void 0?o:null;const l={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return l.treeNode=null,l;for(;a;)!a.ignored&&(t||!a.isGroup)&&l.treeNodePath.push(a),a=a.parent;return l.treeNodePath.reverse(),n||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map(s=>s.key),l}function Vi(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Gi(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o+1)%r]:o===n.length-1?null:n[o+1]}function en(e,t,{loop:n=!1,includeDisabled:r=!1}={}){const o=t==="prev"?Ui:Gi,i={reverse:t==="prev"};let a=!1,l=null;function s(u){if(u!==null){if(u===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){l=e;return}}else if((!u.disabled||r)&&!u.ignored&&!u.isGroup){l=u;return}if(u.isGroup){const f=Ct(u,i);f!==null?l=f:s(o(u,n))}else{const f=o(u,!1);if(f!==null)s(f);else{const c=Yi(u);c!=null&&c.isGroup?s(o(c,n)):n&&s(o(u,!0))}}}}return s(e),l}function Ui(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o-1+r)%r]:o===0?null:n[o-1]}function Yi(e){return e.parent}function Ct(e,t={}){const{reverse:n=!1}=t,{children:r}=e;if(r){const{length:o}=r,i=n?o-1:0,a=n?-1:o,l=n?-1:1;for(let s=i;s!==a;s+=l){const u=r[s];if(!u.disabled&&!u.ignored)if(u.isGroup){const f=Ct(u,t);if(f!==null)return f}else return u}}return null}const Xi={getChild(){return this.ignored?null:Ct(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return en(this,"next",e)},getPrev(e={}){return en(this,"prev",e)}};function qi(e,t){const n=t?new Set(t):void 0,r=[];function o(i){i.forEach(a=>{r.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&o(a.children)})}return o(e),r}function Zi(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Rn(e,t,n,r,o,i=null,a=0){const l=[];return e.forEach((s,u)=>{var f;const c=Object.create(r);if(c.rawNode=s,c.siblings=l,c.level=a,c.index=u,c.isFirstChild=u===0,c.isLastChild=u+1===e.length,c.parent=i,!c.ignored){const p=o(s);Array.isArray(p)&&(c.children=Rn(p,t,n,r,o,c,a+1))}l.push(c),t.set(c.key,c),n.has(a)||n.set(a,[]),(f=n.get(a))===null||f===void 0||f.push(c)}),l}function Qa(e,t={}){var n;const r=new Map,o=new Map,{getDisabled:i=Pi,getIgnored:a=Ei,getIsGroup:l=Ni,getKey:s=ki}=t,u=(n=t.getChildren)!==null&&n!==void 0?n:Ii,f=t.ignoreEmptyChildren?S=>{const M=u(S);return Array.isArray(M)?M.length?M:null:M}:u,c=Object.assign({get key(){return s(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return Ai(this.rawNode,f)},get shallowLoaded(){return Bi(this.rawNode,f)},get ignored(){return a(this.rawNode)},contains(S){return Zi(this,S)}},Xi),p=Rn(e,r,o,c,f);function b(S){if(S==null)return null;const M=r.get(S);return M&&!M.isGroup&&!M.ignored?M:null}function y(S){if(S==null)return null;const M=r.get(S);return M&&!M.ignored?M:null}function C(S,M){const I=y(S);return I?I.getPrev(M):null}function w(S,M){const I=y(S);return I?I.getNext(M):null}function g(S){const M=y(S);return M?M.getParent():null}function $(S){const M=y(S);return M?M.getChild():null}const E={treeNodes:p,treeNodeMap:r,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:f,getFlattenedNodes(S){return qi(p,S)},getNode:b,getPrev:C,getNext:w,getParent:g,getChild:$,getFirstAvailableNode(){return Vi(p)},getPath(S,M={}){return Ki(S,M,E)},getCheckedKeys(S,M={}){const{cascade:I=!0,leafOnly:A=!1,checkStrategy:P="all",allowNotLoaded:L=!1}=M;return nt({checkedKeys:et(S),indeterminateKeys:tt(S),cascade:I,leafOnly:A,checkStrategy:P,allowNotLoaded:L},E)},check(S,M,I={}){const{cascade:A=!0,leafOnly:P=!1,checkStrategy:L="all",allowNotLoaded:_=!1}=I;return nt({checkedKeys:et(M),indeterminateKeys:tt(M),keysToCheck:S==null?[]:Qt(S),cascade:A,leafOnly:P,checkStrategy:L,allowNotLoaded:_},E)},uncheck(S,M,I={}){const{cascade:A=!0,leafOnly:P=!1,checkStrategy:L="all",allowNotLoaded:_=!1}=I;return nt({checkedKeys:et(M),indeterminateKeys:tt(M),keysToUncheck:S==null?[]:Qt(S),cascade:A,leafOnly:P,checkStrategy:L,allowNotLoaded:_},E)},getNonLeafKeys(S={}){return Oi(p,S)}};return E}const Ji={iconSizeTiny:"28px",iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function Qi(e){const{textColorDisabled:t,iconColor:n,textColor2:r,fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:l,fontSizeHuge:s}=e;return Object.assign(Object.assign({},Ji),{fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:l,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:r})}const ea={name:"Empty",common:Ce,self:Qi},ta=R("empty",`
|
|
1
|
+
import{B as We,b9 as Oe,by as Un,m as H,a3 as pt,aa as ne,bt as un,bu as dn,br as cn,r as F,bc as ye,ba as he,a9 as te,h as X,$ as pe,bz as Yn,bA as Xn,a5 as Ke,bB as $t,bC as qn,bd as fn,F as Te,t as Q,bk as hn,v as k,bD as pn,bE as Zn,as as Jn,bF as Qn,bG as vn,o as Ne,p as _e,bp as Ve,bw as Mt,bH as Ge,bI as Ue,bJ as er,bK as tr,bL as vt,bM as nr,bN as ue,bO as gn,bP as gt,bQ as rr,bR as Se,bS as lt,bT as mn,bU as _t,bV as or,bW as Tt,bX as zt,bY as Pe,bZ as ir,b_ as Ot,b$ as ar,c0 as sr,c1 as lr,c2 as ur,c3 as dr,c4 as cr,c5 as fr,d as Ce,a as R,b as j,e as N,j as ie,u as q,n as ge,q as Ae,ad as hr,g as ve,f as Y,c6 as pr,D as bn,bl as At,a6 as vr,bm as It,bf as gr,s as kt,c7 as mr,w as Le,P as br,ar as yr,l as mt,c8 as Et,c9 as wr,ca as xr,a_ as Sr,y as oe,Z as Cr,ag as yn,af as $r,c as Bt,k as wn,a1 as bt,cb as xn,bo as Mr,bs as _r,an as Tr,cc as zr,cd as Or,ce as Ar,aU as Sn,C as Ir,cf as kr,cg as Er}from"./index-b4d77I7P.js";import{u as Br}from"./Input-zzFFygV-.js";let Fe=[];const Cn=new WeakMap;function Pr(){Fe.forEach(e=>e(...Cn.get(e))),Fe=[]}function $n(e,...t){Cn.set(e,t),!Fe.includes(e)&&Fe.push(e)===1&&requestAnimationFrame(Pr)}function Ya(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}let we,ze;const Lr=()=>{var e,t;we=Un?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,ze=!1,we!==void 0?we.then(()=>{ze=!0}):ze=!0};Lr();function Dr(e){if(ze)return;let t=!1;We(()=>{ze||we==null||we.then(()=>{t||e()})}),Oe(()=>{t=!0})}function Rr(e,t){return H(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const Xa=pt("n-internal-select-menu"),Nr=pt("n-internal-select-menu-body"),Mn="__disabled__";function xe(e){const t=ne(un,null),n=ne(dn,null),r=ne(cn,null),o=ne(Nr,null),i=F();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};We(()=>{ye("fullscreenchange",document,a)}),Oe(()=>{he("fullscreenchange",document,a)})}return te(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?Mn:l===!0?i.value||"body":l:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:r!=null&&r.value?r.value:o!=null&&o.value?o.value:l!=null?l:i.value||"body"})}xe.tdkey=Mn;xe.propTo={type:[String,Object,Boolean],default:void 0};let se=null;function _n(){if(se===null&&(se=document.getElementById("v-binder-view-measurer"),se===null)){se=document.createElement("div"),se.id="v-binder-view-measurer";const{style:e}=se;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(se)}return se.getBoundingClientRect()}function Fr(e,t){const n=_n();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Xe(e){const t=e.getBoundingClientRect(),n=_n();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function Hr(e){return e.nodeType===9?null:e.parentNode}function Tn(e){if(e===null)return null;const t=Hr(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:r,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+o+r))return t}return Tn(t)}const jr=X({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;pe("VBinder",(t=Yn())===null||t===void 0?void 0:t.proxy);const n=ne("VBinder",null),r=F(null),o=g=>{r.value=g,n&&e.syncTargetWithParent&&n.setTargetRef(g)};let i=[];const a=()=>{let g=r.value;for(;g=Tn(g),g!==null;)i.push(g);for(const $ of i)ye("scroll",$,c,!0)},l=()=>{for(const g of i)he("scroll",g,c,!0);i=[]},s=new Set,u=g=>{s.size===0&&a(),s.has(g)||s.add(g)},f=g=>{s.has(g)&&s.delete(g),s.size===0&&l()},c=()=>{$n(p)},p=()=>{s.forEach(g=>g())},b=new Set,y=g=>{b.size===0&&ye("resize",window,w),b.has(g)||b.add(g)},C=g=>{b.has(g)&&b.delete(g),b.size===0&&he("resize",window,w)},w=()=>{b.forEach(g=>g())};return Oe(()=>{he("resize",window,w),l()}),{targetRef:r,setTargetRef:o,addScrollListener:u,removeScrollListener:f,addResizeListener:y,removeResizeListener:C}},render(){return Xn("binder",this.$slots)}}),Wr=X({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=ne("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Ke($t("follower",this.$slots),[[t]]):$t("follower",this.$slots)}}),be="@@mmoContext",Kr={mounted(e,{value:t}){e[be]={handler:void 0},typeof t=="function"&&(e[be].handler=t,ye("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[be];typeof t=="function"?n.handler?n.handler!==t&&(he("mousemoveoutside",e,n.handler),n.handler=t,ye("mousemoveoutside",e,t)):(e[be].handler=t,ye("mousemoveoutside",e,t)):n.handler&&(he("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[be];t&&he("mousemoveoutside",e,t),e[be].handler=void 0}},{c:fe}=qn(),zn="vueuc-style";function Pt(e){return e&-e}class On{constructor(t,n){this.l=t,this.min=n;const r=new Array(t+1);for(let o=0;o<t+1;++o)r[o]=0;this.ft=r}add(t,n){if(n===0)return;const{l:r,ft:o}=this;for(t+=1;t<=r;)o[t]+=n,t+=Pt(t)}get(t){return this.sum(t+1)-this.sum(t)}sum(t){if(t===void 0&&(t=this.l),t<=0)return 0;const{ft:n,min:r,l:o}=this;if(t>o)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*r;for(;t>0;)i+=n[t],t-=Pt(t);return i}getBound(t){let n=0,r=this.l;for(;r>n;){const o=Math.floor((n+r)/2),i=this.sum(o);if(i>t){r=o;continue}else if(i<t){if(n===o)return this.sum(n+1)<=t?n+1:o;n=o}else return o}return n}}const ke={top:"bottom",bottom:"top",left:"right",right:"left"},Lt={start:"end",center:"center",end:"start"},qe={top:"height",bottom:"height",left:"width",right:"width"},Vr={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Gr={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Ur={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Dt={top:!0,bottom:!1,left:!0,right:!1},Rt={top:"end",bottom:"start",left:"end",right:"start"};function Yr(e,t,n,r,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l!=null?l:"center",u={top:0,left:0};const f=(b,y,C)=>{let w=0,g=0;const $=n[b]-t[y]-t[b];return $>0&&r&&(C?g=Dt[y]?$:-$:w=Dt[y]?$:-$),{left:w,top:g}},c=a==="left"||a==="right";if(s!=="center"){const b=Ur[e],y=ke[b],C=qe[b];if(n[C]>t[C]){if(t[b]+t[C]<n[C]){const w=(n[C]-t[C])/2;t[b]<w||t[y]<w?t[b]<t[y]?(s=Lt[l],u=f(C,y,c)):u=f(C,b,c):s="center"}}else n[C]<t[C]&&t[y]<0&&t[b]>t[y]&&(s=Lt[l])}else{const b=a==="bottom"||a==="top"?"left":"top",y=ke[b],C=qe[b],w=(n[C]-t[C])/2;(t[b]<w||t[y]<w)&&(t[b]>t[y]?(s=Rt[b],u=f(C,b,c)):(s=Rt[y],u=f(C,y,c)))}let p=a;return t[a]<n[qe[a]]&&t[a]<t[ke[a]]&&(p=ke[a]),{placement:s!=="center"?`${p}-${s}`:p,left:u.left,top:u.top}}function Xr(e,t){return t?Gr[e]:Vr[e]}function qr(e,t,n,r,o,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateX(-50%)"}}}const Zr=fe([fe(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),fe(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[fe("> *",{pointerEvents:"all"})])]),Jr=X({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=ne("VBinder"),n=te(()=>e.enabled!==void 0?e.enabled:e.show),r=F(null),o=F(null),i=()=>{const{syncTrigger:p}=e;p.includes("scroll")&&t.addScrollListener(s),p.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};We(()=>{n.value&&(s(),i())});const l=fn();Zr.mount({id:"vueuc/binder",head:!0,anchorMetaName:zn,ssr:l}),Oe(()=>{a()}),Dr(()=>{n.value&&s()});const s=()=>{if(!n.value)return;const p=r.value;if(p===null)return;const b=t.targetRef,{x:y,y:C,overlap:w}=e,g=y!==void 0&&C!==void 0?Fr(y,C):Xe(b);p.style.setProperty("--v-target-width",`${Math.round(g.width)}px`),p.style.setProperty("--v-target-height",`${Math.round(g.height)}px`);const{width:$,minWidth:E,placement:S,internalShift:M,flip:I}=e;p.setAttribute("v-placement",S),w?p.setAttribute("v-overlap",""):p.removeAttribute("v-overlap");const{style:A}=p;$==="target"?A.width=`${g.width}px`:$!==void 0?A.width=$:A.width="",E==="target"?A.minWidth=`${g.width}px`:E!==void 0?A.minWidth=E:A.minWidth="";const P=Xe(p),L=Xe(o.value),{left:_,top:B,placement:G}=Yr(S,g,P,M,I,w),T=Xr(G,w),{left:v,top:d,transform:h}=qr(G,L,g,B,_,w);p.setAttribute("v-placement",G),p.style.setProperty("--v-offset-left",`${Math.round(_)}px`),p.style.setProperty("--v-offset-top",`${Math.round(B)}px`),p.style.transform=`translateX(${v}) translateY(${d}) ${h}`,p.style.setProperty("--v-transform-origin",T),p.style.transformOrigin=T};Te(n,p=>{p?(i(),u()):a()});const u=()=>{Jn().then(s).catch(p=>console.error(p))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(p=>{Te(Q(e,p),s)}),["teleportDisabled"].forEach(p=>{Te(Q(e,p),u)}),Te(Q(e,"syncTrigger"),p=>{p.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),p.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const f=hn(),c=te(()=>{const{to:p}=e;if(p!==void 0)return p;f.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:c,syncPosition:s}},render(){return k(Zn,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=k("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[k("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?Ke(n,[[pn,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});let Ee;function Qr(){return typeof document>"u"?!1:(Ee===void 0&&("matchMedia"in window?Ee=window.matchMedia("(pointer:coarse)").matches:Ee=!1),Ee)}let Ze;function Nt(){return typeof document>"u"?1:(Ze===void 0&&(Ze="chrome"in window?window.devicePixelRatio:1),Ze)}const An="VVirtualListXScroll";function eo({columnsRef:e,renderColRef:t,renderItemWithColsRef:n}){const r=F(0),o=F(0),i=H(()=>{const u=e.value;if(u.length===0)return null;const f=new On(u.length,0);return u.forEach((c,p)=>{f.add(p,c.width)}),f}),a=te(()=>{const u=i.value;return u!==null?Math.max(u.getBound(o.value)-1,0):0}),l=u=>{const f=i.value;return f!==null?f.sum(u):0},s=te(()=>{const u=i.value;return u!==null?Math.min(u.getBound(o.value+r.value)+1,e.value.length-1):0});return pe(An,{startIndexRef:a,endIndexRef:s,columnsRef:e,renderColRef:t,renderItemWithColsRef:n,getLeft:l}),{listWidthRef:r,scrollLeftRef:o}}const Ft=X({name:"VirtualListRow",props:{index:{type:Number,required:!0},item:{type:Object,required:!0}},setup(){const{startIndexRef:e,endIndexRef:t,columnsRef:n,getLeft:r,renderColRef:o,renderItemWithColsRef:i}=ne(An);return{startIndex:e,endIndex:t,columns:n,renderCol:o,renderItemWithCols:i,getLeft:r}},render(){const{startIndex:e,endIndex:t,columns:n,renderCol:r,renderItemWithCols:o,getLeft:i,item:a}=this;if(o!=null)return o({itemIndex:this.index,startColIndex:e,endColIndex:t,allColumns:n,item:a,getLeft:i});if(r!=null){const l=[];for(let s=e;s<=t;++s){const u=n[s];l.push(r({column:u,left:i(s),item:a}))}return l}return null}}),to=fe(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[fe("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[fe("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),qa=X({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},columns:{type:Array,default:()=>[]},renderCol:Function,renderItemWithCols:Function,items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=fn();to.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:zn,ssr:t}),We(()=>{const{defaultScrollIndex:T,defaultScrollKey:v}=e;T!=null?w({index:T}):v!=null&&w({key:v})});let n=!1,r=!1;Qn(()=>{if(n=!1,!r){r=!0;return}w({top:b.value,left:a.value})}),vn(()=>{n=!0,r||(r=!0)});const o=te(()=>{if(e.renderCol==null&&e.renderItemWithCols==null||e.columns.length===0)return;let T=0;return e.columns.forEach(v=>{T+=v.width}),T}),i=H(()=>{const T=new Map,{keyField:v}=e;return e.items.forEach((d,h)=>{T.set(d[v],h)}),T}),{scrollLeftRef:a,listWidthRef:l}=eo({columnsRef:Q(e,"columns"),renderColRef:Q(e,"renderCol"),renderItemWithColsRef:Q(e,"renderItemWithCols")}),s=F(null),u=F(void 0),f=new Map,c=H(()=>{const{items:T,itemSize:v,keyField:d}=e,h=new On(T.length,v);return T.forEach((x,m)=>{const z=x[d],O=f.get(z);O!==void 0&&h.add(m,O)}),h}),p=F(0),b=F(0),y=te(()=>Math.max(c.value.getBound(b.value-Ne(e.paddingTop))-1,0)),C=H(()=>{const{value:T}=u;if(T===void 0)return[];const{items:v,itemSize:d}=e,h=y.value,x=Math.min(h+Math.ceil(T/d+1),v.length-1),m=[];for(let z=h;z<=x;++z)m.push(v[z]);return m}),w=(T,v)=>{if(typeof T=="number"){S(T,v,"auto");return}const{left:d,top:h,index:x,key:m,position:z,behavior:O,debounce:D=!0}=T;if(d!==void 0||h!==void 0)S(d,h,O);else if(x!==void 0)E(x,O,D);else if(m!==void 0){const W=i.value.get(m);W!==void 0&&E(W,O,D)}else z==="bottom"?S(0,Number.MAX_SAFE_INTEGER,O):z==="top"&&S(0,0,O)};let g,$=null;function E(T,v,d){const{value:h}=c,x=h.sum(T)+Ne(e.paddingTop);if(!d)s.value.scrollTo({left:0,top:x,behavior:v});else{g=T,$!==null&&window.clearTimeout($),$=window.setTimeout(()=>{g=void 0,$=null},16);const{scrollTop:m,offsetHeight:z}=s.value;if(x>m){const O=h.get(T);x+O<=m+z||s.value.scrollTo({left:0,top:x+O-z,behavior:v})}else s.value.scrollTo({left:0,top:x,behavior:v})}}function S(T,v,d){s.value.scrollTo({left:T,top:v,behavior:d})}function M(T,v){var d,h,x;if(n||e.ignoreItemResize||G(v.target))return;const{value:m}=c,z=i.value.get(T),O=m.get(z),D=(x=(h=(d=v.borderBoxSize)===null||d===void 0?void 0:d[0])===null||h===void 0?void 0:h.blockSize)!==null&&x!==void 0?x:v.contentRect.height;if(D===O)return;D-e.itemSize===0?f.delete(T):f.set(T,D-e.itemSize);const K=D-O;if(K===0)return;m.add(z,K);const V=s.value;if(V!=null){if(g===void 0){const Z=m.sum(z);V.scrollTop>Z&&V.scrollBy(0,K)}else if(z<g)V.scrollBy(0,K);else if(z===g){const Z=m.sum(z);D+Z>V.scrollTop+V.offsetHeight&&V.scrollBy(0,K)}B()}p.value++}const I=!Qr();let A=!1;function P(T){var v;(v=e.onScroll)===null||v===void 0||v.call(e,T),(!I||!A)&&B()}function L(T){var v;if((v=e.onWheel)===null||v===void 0||v.call(e,T),I){const d=s.value;if(d!=null){if(T.deltaX===0&&(d.scrollTop===0&&T.deltaY<=0||d.scrollTop+d.offsetHeight>=d.scrollHeight&&T.deltaY>=0))return;T.preventDefault(),d.scrollTop+=T.deltaY/Nt(),d.scrollLeft+=T.deltaX/Nt(),B(),A=!0,$n(()=>{A=!1})}}}function _(T){if(n||G(T.target))return;if(e.renderCol==null&&e.renderItemWithCols==null){if(T.contentRect.height===u.value)return}else if(T.contentRect.height===u.value&&T.contentRect.width===l.value)return;u.value=T.contentRect.height,l.value=T.contentRect.width;const{onResize:v}=e;v!==void 0&&v(T)}function B(){const{value:T}=s;T!=null&&(b.value=T.scrollTop,a.value=T.scrollLeft)}function G(T){let v=T;for(;v!==null;){if(v.style.display==="none")return!0;v=v.parentElement}return!1}return{listHeight:u,listStyle:{overflow:"auto"},keyToIndex:i,itemsStyle:H(()=>{const{itemResizable:T}=e,v=_e(c.value.sum());return p.value,[e.itemsStyle,{boxSizing:"content-box",width:_e(o.value),height:T?"":v,minHeight:T?v:"",paddingTop:_e(e.paddingTop),paddingBottom:_e(e.paddingBottom)}]}),visibleItemsStyle:H(()=>(p.value,{transform:`translateY(${_e(c.value.sum(y.value))})`})),viewportItems:C,listElRef:s,itemsElRef:F(null),scrollTo:w,handleListResize:_,handleListScroll:P,handleListWheel:L,handleItemResize:M}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:r}=this;return k(Mt,{onResize:this.handleListResize},{default:()=>{var o,i;return k("div",Ve(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?k("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[k(r,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>{const{renderCol:a,renderItemWithCols:l}=this;return this.viewportItems.map(s=>{const u=s[t],f=n.get(u),c=a!=null?k(Ft,{index:f,item:s}):void 0,p=l!=null?k(Ft,{index:f,item:s}):void 0,b=this.$slots.default({item:s,renderedCols:c,renderedItemWithCols:p,index:f})[0];return e?k(Mt,{key:u,onResize:y=>this.handleItemResize(u,y)},{default:()=>b}):(b.key=u,b)})}})]):(i=(o=this.$slots).empty)===null||i===void 0?void 0:i.call(o)])}})}}),no=/^(\d|\.)+$/,Ht=/(\d|\.)+/;function De(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e=="number"){const o=(e+n)*t;return o===0?"0":`${o}px`}else if(typeof e=="string")if(no.test(e)){const o=(Number(e)+n)*t;return r?o===0?"0":`${o}px`:`${o}`}else{const o=Ht.exec(e);return o?e.replace(Ht,String((Number(o[0])+n)*t)):e}return e}let Je;function ro(){return Je===void 0&&(Je=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Je}function In(e,t="default",n=[]){const o=e.$slots[t];return o===void 0?n:o()}var ut=Ge(Ue,"WeakMap"),oo=er(Object.keys,Object),io=Object.prototype,ao=io.hasOwnProperty;function so(e){if(!tr(e))return oo(e);var t=[];for(var n in Object(e))ao.call(e,n)&&n!="constructor"&&t.push(n);return t}function yt(e){return vt(e)?nr(e):so(e)}var lo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uo=/^\w*$/;function wt(e,t){if(ue(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||gn(e)?!0:uo.test(e)||!lo.test(e)||t!=null&&e in Object(t)}var co="Expected a function";function xt(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(co);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(xt.Cache||gt),n}xt.Cache=gt;var fo=500;function ho(e){var t=xt(e,function(r){return n.size===fo&&n.clear(),r}),n=t.cache;return t}var po=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vo=/\\(\\)?/g,go=ho(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(po,function(n,r,o,i){t.push(o?i.replace(vo,"$1"):r||n)}),t});function kn(e,t){return ue(e)?e:wt(e,t)?[e]:go(rr(e))}var mo=1/0;function Ye(e){if(typeof e=="string"||gn(e))return e;var t=e+"";return t=="0"&&1/e==-mo?"-0":t}function En(e,t){t=kn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Ye(t[n++])];return n&&n==r?e:void 0}function bo(e,t,n){var r=e==null?void 0:En(e,t);return r===void 0?n:r}function yo(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function wo(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function xo(){return[]}var So=Object.prototype,Co=So.propertyIsEnumerable,jt=Object.getOwnPropertySymbols,$o=jt?function(e){return e==null?[]:(e=Object(e),wo(jt(e),function(t){return Co.call(e,t)}))}:xo;function Mo(e,t,n){var r=t(e);return ue(e)?r:yo(r,n(e))}function Wt(e){return Mo(e,yt,$o)}var dt=Ge(Ue,"DataView"),ct=Ge(Ue,"Promise"),ft=Ge(Ue,"Set"),Kt="[object Map]",_o="[object Object]",Vt="[object Promise]",Gt="[object Set]",Ut="[object WeakMap]",Yt="[object DataView]",To=Se(dt),zo=Se(lt),Oo=Se(ct),Ao=Se(ft),Io=Se(ut),le=mn;(dt&&le(new dt(new ArrayBuffer(1)))!=Yt||lt&&le(new lt)!=Kt||ct&&le(ct.resolve())!=Vt||ft&&le(new ft)!=Gt||ut&&le(new ut)!=Ut)&&(le=function(e){var t=mn(e),n=t==_o?e.constructor:void 0,r=n?Se(n):"";if(r)switch(r){case To:return Yt;case zo:return Kt;case Oo:return Vt;case Ao:return Gt;case Io:return Ut}return t});var ko="__lodash_hash_undefined__";function Eo(e){return this.__data__.set(e,ko),this}function Bo(e){return this.__data__.has(e)}function He(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new gt;++t<n;)this.add(e[t])}He.prototype.add=He.prototype.push=Eo;He.prototype.has=Bo;function Po(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Lo(e,t){return e.has(t)}var Do=1,Ro=2;function Bn(e,t,n,r,o,i){var a=n&Do,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var u=i.get(e),f=i.get(t);if(u&&f)return u==t&&f==e;var c=-1,p=!0,b=n&Ro?new He:void 0;for(i.set(e,t),i.set(t,e);++c<l;){var y=e[c],C=t[c];if(r)var w=a?r(C,y,c,t,e,i):r(y,C,c,e,t,i);if(w!==void 0){if(w)continue;p=!1;break}if(b){if(!Po(t,function(g,$){if(!Lo(b,$)&&(y===g||o(y,g,n,r,i)))return b.push($)})){p=!1;break}}else if(!(y===C||o(y,C,n,r,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function No(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Fo(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ho=1,jo=2,Wo="[object Boolean]",Ko="[object Date]",Vo="[object Error]",Go="[object Map]",Uo="[object Number]",Yo="[object RegExp]",Xo="[object Set]",qo="[object String]",Zo="[object Symbol]",Jo="[object ArrayBuffer]",Qo="[object DataView]",Xt=_t?_t.prototype:void 0,Qe=Xt?Xt.valueOf:void 0;function ei(e,t,n,r,o,i,a){switch(n){case Qo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Jo:return!(e.byteLength!=t.byteLength||!i(new Tt(e),new Tt(t)));case Wo:case Ko:case Uo:return or(+e,+t);case Vo:return e.name==t.name&&e.message==t.message;case Yo:case qo:return e==t+"";case Go:var l=No;case Xo:var s=r&Ho;if(l||(l=Fo),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;r|=jo,a.set(e,t);var f=Bn(l(e),l(t),r,o,i,a);return a.delete(e),f;case Zo:if(Qe)return Qe.call(e)==Qe.call(t)}return!1}var ti=1,ni=Object.prototype,ri=ni.hasOwnProperty;function oi(e,t,n,r,o,i){var a=n&ti,l=Wt(e),s=l.length,u=Wt(t),f=u.length;if(s!=f&&!a)return!1;for(var c=s;c--;){var p=l[c];if(!(a?p in t:ri.call(t,p)))return!1}var b=i.get(e),y=i.get(t);if(b&&y)return b==t&&y==e;var C=!0;i.set(e,t),i.set(t,e);for(var w=a;++c<s;){p=l[c];var g=e[p],$=t[p];if(r)var E=a?r($,g,p,t,e,i):r(g,$,p,e,t,i);if(!(E===void 0?g===$||o(g,$,n,r,i):E)){C=!1;break}w||(w=p=="constructor")}if(C&&!w){var S=e.constructor,M=t.constructor;S!=M&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof M=="function"&&M instanceof M)&&(C=!1)}return i.delete(e),i.delete(t),C}var ii=1,qt="[object Arguments]",Zt="[object Array]",Be="[object Object]",ai=Object.prototype,Jt=ai.hasOwnProperty;function si(e,t,n,r,o,i){var a=ue(e),l=ue(t),s=a?Zt:le(e),u=l?Zt:le(t);s=s==qt?Be:s,u=u==qt?Be:u;var f=s==Be,c=u==Be,p=s==u;if(p&&zt(e)){if(!zt(t))return!1;a=!0,f=!1}if(p&&!f)return i||(i=new Pe),a||ir(e)?Bn(e,t,n,r,o,i):ei(e,t,s,n,r,o,i);if(!(n&ii)){var b=f&&Jt.call(e,"__wrapped__"),y=c&&Jt.call(t,"__wrapped__");if(b||y){var C=b?e.value():e,w=y?t.value():t;return i||(i=new Pe),o(C,w,n,r,i)}}return p?(i||(i=new Pe),oi(e,t,n,r,o,i)):!1}function St(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ot(e)&&!Ot(t)?e!==e&&t!==t:si(e,t,n,r,St,o)}var li=1,ui=2;function di(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var l=a[0],s=e[l],u=a[1];if(a[2]){if(s===void 0&&!(l in e))return!1}else{var f=new Pe,c;if(!(c===void 0?St(u,s,li|ui,r,f):c))return!1}}return!0}function Pn(e){return e===e&&!ar(e)}function ci(e){for(var t=yt(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Pn(o)]}return t}function Ln(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function fi(e){var t=ci(e);return t.length==1&&t[0][2]?Ln(t[0][0],t[0][1]):function(n){return n===e||di(n,e,t)}}function hi(e,t){return e!=null&&t in Object(e)}function pi(e,t,n){t=kn(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=Ye(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&sr(o)&&lr(a,o)&&(ue(e)||ur(e)))}function vi(e,t){return e!=null&&pi(e,t,hi)}var gi=1,mi=2;function bi(e,t){return wt(e)&&Pn(t)?Ln(Ye(e),t):function(n){var r=bo(n,e);return r===void 0&&r===t?vi(n,e):St(t,r,gi|mi)}}function yi(e){return function(t){return t==null?void 0:t[e]}}function wi(e){return function(t){return En(t,e)}}function xi(e){return wt(e)?yi(Ye(e)):wi(e)}function Si(e){return typeof e=="function"?e:e==null?dr:typeof e=="object"?ue(e)?bi(e[0],e[1]):fi(e):xi(e)}function Ci(e,t){return e&&cr(e,t,yt)}function $i(e,t){return function(n,r){if(n==null)return n;if(!vt(n))return e(n,r);for(var o=n.length,i=-1,a=Object(n);++i<o&&r(a[i],i,a)!==!1;);return n}}var Mi=$i(Ci);function _i(e,t){var n=-1,r=vt(e)?Array(e.length):[];return Mi(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function Ti(e,t){var n=ue(e)?fr:_i;return n(e,Si(t))}const Za=X({name:"ChevronRight",render(){return k("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),zi=X({name:"Empty",render(){return k("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),k("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}});function Qt(e){return Array.isArray(e)?e:[e]}const ht={STOP:"STOP"};function Dn(e,t){const n=t(e);e.children!==void 0&&n!==ht.STOP&&e.children.forEach(r=>Dn(r,t))}function Oi(e,t={}){const{preserveGroup:n=!1}=t,r=[],o=n?a=>{a.isLeaf||(r.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||r.push(a.key),i(a.children))};function i(a){a.forEach(o)}return i(e),r}function Ai(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function Ii(e){return e.children}function ki(e){return e.key}function Ei(){return!1}function Bi(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function Pi(e){return e.disabled===!0}function Li(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function et(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function tt(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function Di(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)||n.add(r)}),Array.from(n)}function Ri(e,t){const n=new Set(e);return t.forEach(r=>{n.has(r)&&n.delete(r)}),Array.from(n)}function Ni(e){return(e==null?void 0:e.type)==="group"}function Ja(e){const t=new Map;return e.forEach((n,r)=>{t.set(n.key,r)}),n=>{var r;return(r=t.get(n))!==null&&r!==void 0?r:null}}class Fi extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Hi(e,t,n,r){return je(t.concat(e),n,r,!1)}function ji(e,t){const n=new Set;return e.forEach(r=>{const o=t.treeNodeMap.get(r);if(o!==void 0){let i=o.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function Wi(e,t,n,r){const o=je(t,n,r,!1),i=je(e,n,r,!0),a=ji(e,n),l=[];return o.forEach(s=>{(i.has(s)||a.has(s))&&l.push(s)}),l.forEach(s=>o.delete(s)),o}function nt(e,t){const{checkedKeys:n,keysToCheck:r,keysToUncheck:o,indeterminateKeys:i,cascade:a,leafOnly:l,checkStrategy:s,allowNotLoaded:u}=e;if(!a)return r!==void 0?{checkedKeys:Di(n,r),indeterminateKeys:Array.from(i)}:o!==void 0?{checkedKeys:Ri(n,o),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:f}=t;let c;o!==void 0?c=Wi(o,n,t,u):r!==void 0?c=Hi(r,n,t,u):c=je(n,t,u,!1);const p=s==="parent",b=s==="child"||l,y=c,C=new Set,w=Math.max.apply(null,Array.from(f.keys()));for(let g=w;g>=0;g-=1){const $=g===0,E=f.get(g);for(const S of E){if(S.isLeaf)continue;const{key:M,shallowLoaded:I}=S;if(b&&I&&S.children.forEach(_=>{!_.disabled&&!_.isLeaf&&_.shallowLoaded&&y.has(_.key)&&y.delete(_.key)}),S.disabled||!I)continue;let A=!0,P=!1,L=!0;for(const _ of S.children){const B=_.key;if(!_.disabled){if(L&&(L=!1),y.has(B))P=!0;else if(C.has(B)){P=!0,A=!1;break}else if(A=!1,P)break}}A&&!L?(p&&S.children.forEach(_=>{!_.disabled&&y.has(_.key)&&y.delete(_.key)}),y.add(M)):P&&C.add(M),$&&b&&y.has(M)&&y.delete(M)}}return{checkedKeys:Array.from(y),indeterminateKeys:Array.from(C)}}function je(e,t,n,r){const{treeNodeMap:o,getChildren:i}=t,a=new Set,l=new Set(e);return e.forEach(s=>{const u=o.get(s);u!==void 0&&Dn(u,f=>{if(f.disabled)return ht.STOP;const{key:c}=f;if(!a.has(c)&&(a.add(c),l.add(c),Li(f.rawNode,i))){if(r)return ht.STOP;if(!n)throw new Fi}})}),l}function Ki(e,{includeGroup:t=!1,includeSelf:n=!0},r){var o;const i=r.treeNodeMap;let a=e==null?null:(o=i.get(e))!==null&&o!==void 0?o:null;const l={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return l.treeNode=null,l;for(;a;)!a.ignored&&(t||!a.isGroup)&&l.treeNodePath.push(a),a=a.parent;return l.treeNodePath.reverse(),n||l.treeNodePath.pop(),l.keyPath=l.treeNodePath.map(s=>s.key),l}function Vi(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Gi(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o+1)%r]:o===n.length-1?null:n[o+1]}function en(e,t,{loop:n=!1,includeDisabled:r=!1}={}){const o=t==="prev"?Ui:Gi,i={reverse:t==="prev"};let a=!1,l=null;function s(u){if(u!==null){if(u===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){l=e;return}}else if((!u.disabled||r)&&!u.ignored&&!u.isGroup){l=u;return}if(u.isGroup){const f=Ct(u,i);f!==null?l=f:s(o(u,n))}else{const f=o(u,!1);if(f!==null)s(f);else{const c=Yi(u);c!=null&&c.isGroup?s(o(c,n)):n&&s(o(u,!0))}}}}return s(e),l}function Ui(e,t){const n=e.siblings,r=n.length,{index:o}=e;return t?n[(o-1+r)%r]:o===0?null:n[o-1]}function Yi(e){return e.parent}function Ct(e,t={}){const{reverse:n=!1}=t,{children:r}=e;if(r){const{length:o}=r,i=n?o-1:0,a=n?-1:o,l=n?-1:1;for(let s=i;s!==a;s+=l){const u=r[s];if(!u.disabled&&!u.ignored)if(u.isGroup){const f=Ct(u,t);if(f!==null)return f}else return u}}return null}const Xi={getChild(){return this.ignored?null:Ct(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return en(this,"next",e)},getPrev(e={}){return en(this,"prev",e)}};function qi(e,t){const n=t?new Set(t):void 0,r=[];function o(i){i.forEach(a=>{r.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&o(a.children)})}return o(e),r}function Zi(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Rn(e,t,n,r,o,i=null,a=0){const l=[];return e.forEach((s,u)=>{var f;const c=Object.create(r);if(c.rawNode=s,c.siblings=l,c.level=a,c.index=u,c.isFirstChild=u===0,c.isLastChild=u+1===e.length,c.parent=i,!c.ignored){const p=o(s);Array.isArray(p)&&(c.children=Rn(p,t,n,r,o,c,a+1))}l.push(c),t.set(c.key,c),n.has(a)||n.set(a,[]),(f=n.get(a))===null||f===void 0||f.push(c)}),l}function Qa(e,t={}){var n;const r=new Map,o=new Map,{getDisabled:i=Pi,getIgnored:a=Ei,getIsGroup:l=Ni,getKey:s=ki}=t,u=(n=t.getChildren)!==null&&n!==void 0?n:Ii,f=t.ignoreEmptyChildren?S=>{const M=u(S);return Array.isArray(M)?M.length?M:null:M}:u,c=Object.assign({get key(){return s(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return l(this.rawNode)},get isLeaf(){return Ai(this.rawNode,f)},get shallowLoaded(){return Bi(this.rawNode,f)},get ignored(){return a(this.rawNode)},contains(S){return Zi(this,S)}},Xi),p=Rn(e,r,o,c,f);function b(S){if(S==null)return null;const M=r.get(S);return M&&!M.isGroup&&!M.ignored?M:null}function y(S){if(S==null)return null;const M=r.get(S);return M&&!M.ignored?M:null}function C(S,M){const I=y(S);return I?I.getPrev(M):null}function w(S,M){const I=y(S);return I?I.getNext(M):null}function g(S){const M=y(S);return M?M.getParent():null}function $(S){const M=y(S);return M?M.getChild():null}const E={treeNodes:p,treeNodeMap:r,levelTreeNodeMap:o,maxLevel:Math.max(...o.keys()),getChildren:f,getFlattenedNodes(S){return qi(p,S)},getNode:b,getPrev:C,getNext:w,getParent:g,getChild:$,getFirstAvailableNode(){return Vi(p)},getPath(S,M={}){return Ki(S,M,E)},getCheckedKeys(S,M={}){const{cascade:I=!0,leafOnly:A=!1,checkStrategy:P="all",allowNotLoaded:L=!1}=M;return nt({checkedKeys:et(S),indeterminateKeys:tt(S),cascade:I,leafOnly:A,checkStrategy:P,allowNotLoaded:L},E)},check(S,M,I={}){const{cascade:A=!0,leafOnly:P=!1,checkStrategy:L="all",allowNotLoaded:_=!1}=I;return nt({checkedKeys:et(M),indeterminateKeys:tt(M),keysToCheck:S==null?[]:Qt(S),cascade:A,leafOnly:P,checkStrategy:L,allowNotLoaded:_},E)},uncheck(S,M,I={}){const{cascade:A=!0,leafOnly:P=!1,checkStrategy:L="all",allowNotLoaded:_=!1}=I;return nt({checkedKeys:et(M),indeterminateKeys:tt(M),keysToUncheck:S==null?[]:Qt(S),cascade:A,leafOnly:P,checkStrategy:L,allowNotLoaded:_},E)},getNonLeafKeys(S={}){return Oi(p,S)}};return E}const Ji={iconSizeTiny:"28px",iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function Qi(e){const{textColorDisabled:t,iconColor:n,textColor2:r,fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:l,fontSizeHuge:s}=e;return Object.assign(Object.assign({},Ji),{fontSizeTiny:o,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:l,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:r})}const ea={name:"Empty",common:Ce,self:Qi},ta=R("empty",`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -368,4 +368,4 @@ import{B as We,b9 as Oe,by as Un,m as H,a3 as pt,aa as ne,bt as un,bu as dn,br a
|
|
|
368
368
|
fill: currentColor;
|
|
369
369
|
transform: translateZ(0);
|
|
370
370
|
`,[Y("color-transition",{transition:"color .3s var(--n-bezier)"}),Y("depth",{color:"var(--n-color)"},[N("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),N("svg",{height:"1em",width:"1em"})]),Ba=Object.assign(Object.assign({},q.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),is=X({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Ba,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=ie(e),r=q("Icon","-icon",Ea,ka,e,t),o=H(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:l},self:s}=r.value;if(a!==void 0){const{color:u,[`opacity${a}Depth`]:f}=s;return{"--n-bezier":l,"--n-color":u,"--n-opacity":f}}return{"--n-bezier":l,"--n-color":"","--n-opacity":""}}),i=n?Ae("icon",H(()=>`${e.depth||"d"}`),o,e):void 0;return{mergedClsPrefix:t,mergedStyle:H(()=>{const{size:a,color:l}=e;return{fontSize:De(a),color:l}}),cssVars:n?void 0:o,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:r,component:o,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&_r("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),k("i",Ve(this.$attrs,{role:"img",class:[`${r}-icon`,a,{[`${r}-icon--depth`]:n,[`${r}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),o?k(o):this.$slots)}}),Pa={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"};function La(){return Pa}const Da={name:"Space",self:La};let ot;function Ra(){if(!Tr)return!0;if(ot===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),ot=t}return ot}const Na=Object.assign(Object.assign({},q.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),as=X({name:"Space",props:Na,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=ie(e),r=q("Space","-space",void 0,Da,e,t),o=bt("Space",n,t);return{useGap:Ra(),rtlEnabled:o,mergedClsPrefix:t,margin:H(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[ge("gap",i)]:a}}=r.value,{row:l,col:s}=zr(a);return{horizontal:Ne(s),vertical:Ne(l)}})}},render(){const{vertical:e,reverse:t,align:n,inline:r,justify:o,itemClass:i,itemStyle:a,margin:l,wrap:s,mergedClsPrefix:u,rtlEnabled:f,useGap:c,wrapItem:p,internalUseGap:b}=this,y=xn(In(this),!1);if(!y.length)return null;const C=`${l.horizontal}px`,w=`${l.horizontal/2}px`,g=`${l.vertical}px`,$=`${l.vertical/2}px`,E=y.length-1,S=o.startsWith("space-");return k("div",{role:"none",class:[`${u}-space`,f&&`${u}-space--rtl`],style:{display:r?"inline-flex":"flex",flexDirection:e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row",justifyContent:["start","end"].includes(o)?`flex-${o}`:o,flexWrap:!s||e?"nowrap":"wrap",marginTop:c||e?"":`-${$}`,marginBottom:c||e?"":`-${$}`,alignItems:n,gap:c?`${l.vertical}px ${l.horizontal}px`:""}},!p&&(c||b)?y:y.map((M,I)=>M.type===Or?M:k("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},c?"":e?{marginBottom:I!==E?g:""}:f?{marginLeft:S?o==="space-between"&&I===E?"":w:I!==E?C:"",marginRight:S?o==="space-between"&&I===0?"":w:"",paddingTop:$,paddingBottom:$}:{marginRight:S?o==="space-between"&&I===E?"":w:I!==E?C:"",marginLeft:S?o==="space-between"&&I===0?"":w:"",paddingTop:$,paddingBottom:$}]},M)))}}),ss=(e,t=0,n)=>{let r=!1;const o=Ar((i,a)=>({get(){return i(),r},set(l){r=l,a()}}));return{get loading(){return o.value},invoke:async(...i)=>{r||(o.value=!0,await e(...i).catch(a=>{}),await Sn(t),o.value=!1)}}},ls=(e,t=(...o)=>o.join(""),n=0,r)=>{const o=Ir({}),i=kr(o);return{loading:o,invoke:async(...l)=>{const s=String(t(...l));i[s]||(o[s]=!0,await e(...l).catch(u=>{console.error(u)}),await Sn(n),delete o[s])}}},rn=e=>{let t=e.lastIndexOf(".");return t===-1?e:e.slice(t+1)},it=(e,t)=>e+(t===1?"":t),on=(e,t=!0,n=1)=>{if(!e.parent)return t?"[parent=null]":[it("<",n),"[parent=null]"].join(" ");if(e.idQf){const r=e.attr.vid?"vid":"id",o=e.attr.vid||e.attr.id;return t?`[${r}="${o}"]`:[it("<",n),`[${r}="${o}"]`].join(" ")}return t?["@"+rn(e.attr.name),on(e.parent,!1,e.attr.index+1)].join(" "):[it("<",n),rn(e.attr.name),on(e.parent,!1,e.attr.index+1)].join(" ")},us=e=>(e.forEach(t=>{var n,r,o,i,a,l,s,u,f,c,p,b;(n=t.attr)!=null||(t.attr={name:"NULL"}),(r=t.children)!=null||(t.children=[]),t.parent=e[t.pid],t.parent&&((i=(o=t.attr).index)!=null||(o.index=t.parent.children.length),(a=t.parent)==null||a.children.push(t)),Object.defineProperty(t,"isLeaf",{get(){return t.children.length==0}}),t.attr.depth=((u=(s=(l=t.parent)==null?void 0:l.attr)==null?void 0:s.depth)!=null?u:-1)+1,(c=(f=t.attr)._id)!=null||(f._id=t.id),(b=(p=t.attr)._pid)!=null||(p._pid=t.pid)}),e[0]),Fa=(e,t)=>{const n=e.attr,{x:r,y:o}=t;return n.left<=r&&r<=n.right&&n.top<=o&&o<=n.bottom},an=(e,t)=>e.attr.left<=t.attr.left&&e.attr.top<=t.attr.top&&e.attr.right>=t.attr.right&&e.attr.bottom>=t.attr.bottom,Ha=(e,t)=>e.attr.left===t.attr.left&&e.attr.top===t.attr.top&&e.attr.right===t.attr.right&&e.attr.bottom===t.attr.bottom,at=(e,t)=>{let n=t.parent;for(;;){if(n===e)return!0;if(n=n==null?void 0:n.parent,!n)break}return!1},ds=(e,t)=>{var r;if(!e||!t)return[];let n=[];for(const o of e)((r=o==null?void 0:o.attr)==null?void 0:r.left)!==void 0&&Fa(o,t)&&n.push(o);return n.length<=1||(n=n.filter(o=>!n.some(i=>at(o,i)&&an(o,i))),n.length<=1)||(n=n.filter(o=>!n.some(i=>o!=i&&(at(o,i)||at(o.parent,i))&&an(o,i)&&!Ha(o,i))),n.sort((o,i)=>sn(o)-sn(i))),n},sn=e=>{var r,o;const t=(r=e.attr.width)!=null?r:e.attr.right-e.attr.left,n=(o=e.attr.height)!=null?o:e.attr.bottom-e.attr.top;return t*n},Vn=e=>{const t=e.attr.childCount;return(e.attr.name||"🐔"+(t>1?"":` [${t}]`)).split(".").at(-1)},Gn=e=>e.attr.text||e.attr.desc||e.attr.vid||e.attr.id,st=Symbol("labelKey"),cs=e=>{if(Reflect.has(e,st))return Reflect.get(e,st);let t=Vn(e);const n=e.children.length;n>1&&(t=`${t} [${n}]`);const r=Gn(e);return r&&(t=`${t} : ${r}`),Reflect.set(e,st,t),t},fs=(e,t=15)=>{let n=Vn(e);const r=e.children.length;r>1&&(n=`${n} [${r}]`);const o=Gn(e);return o?o.length>t?`${n} : ${o.slice(0,t)}...`:`${n} : ${o}`:n},ja=e=>typeof e.device=="object"&&e.device?e.device:e,hs=e=>e.appInfo||{id:e.appId,name:e.appName,versionCode:e.appVersionCode,versionName:e.appVersionName,hidden:!1,isSystem:!1,mtime:Date.now()},ps=e=>{const t=ja(e);return e.gkdAppInfo||{id:"li.songe.gkd",name:"GKD",versionCode:t.gkdVersionCode,versionName:t.gkdVersionName,hidden:!1,isSystem:!1,mtime:Date.now()}},vs=e=>!!(e&&typeof e=="object"&&typeof e.id=="number"&&e.attr),gs=(e,t)=>{const r=!!(e.idQf||e.textQf||e.quickFind)?"bold":void 0,o=e.id===(t==null?void 0:t.id)?"#00F":void 0;return{fontWeight:r,color:o}};var Re={exports:{}},Wa=Re.exports,ln;function Ka(){return ln||(ln=1,function(e,t){(function(n,r){e.exports=r()})(Wa,function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",l="minute",s="hour",u="day",f="week",c="month",p="quarter",b="year",y="date",C="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(v){var d=["th","st","nd","rd"],h=v%100;return"["+v+(d[(h-20)%10]||d[h]||d[0])+"]"}},E=function(v,d,h){var x=String(v);return!x||x.length>=d?v:""+Array(d+1-x.length).join(h)+v},S={s:E,z:function(v){var d=-v.utcOffset(),h=Math.abs(d),x=Math.floor(h/60),m=h%60;return(d<=0?"+":"-")+E(x,2,"0")+":"+E(m,2,"0")},m:function v(d,h){if(d.date()<h.date())return-v(h,d);var x=12*(h.year()-d.year())+(h.month()-d.month()),m=d.clone().add(x,c),z=h-m<0,O=d.clone().add(x+(z?-1:1),c);return+(-(x+(h-m)/(z?m-O:O-m))||0)},a:function(v){return v<0?Math.ceil(v)||0:Math.floor(v)},p:function(v){return{M:c,y:b,w:f,d:u,D:y,h:s,m:l,s:a,ms:i,Q:p}[v]||String(v||"").toLowerCase().replace(/s$/,"")},u:function(v){return v===void 0}},M="en",I={};I[M]=$;var A="$isDayjsObject",P=function(v){return v instanceof G||!(!v||!v[A])},L=function v(d,h,x){var m;if(!d)return M;if(typeof d=="string"){var z=d.toLowerCase();I[z]&&(m=z),h&&(I[z]=h,m=z);var O=d.split("-");if(!m&&O.length>1)return v(O[0])}else{var D=d.name;I[D]=d,m=D}return!x&&m&&(M=m),m||!x&&M},_=function(v,d){if(P(v))return v.clone();var h=typeof d=="object"?d:{};return h.date=v,h.args=arguments,new G(h)},B=S;B.l=L,B.i=P,B.w=function(v,d){return _(v,{locale:d.$L,utc:d.$u,x:d.$x,$offset:d.$offset})};var G=function(){function v(h){this.$L=L(h.locale,null,!0),this.parse(h),this.$x=this.$x||h.x||{},this[A]=!0}var d=v.prototype;return d.parse=function(h){this.$d=function(x){var m=x.date,z=x.utc;if(m===null)return new Date(NaN);if(B.u(m))return new Date;if(m instanceof Date)return new Date(m);if(typeof m=="string"&&!/Z$/i.test(m)){var O=m.match(w);if(O){var D=O[2]-1||0,W=(O[7]||"0").substring(0,3);return z?new Date(Date.UTC(O[1],D,O[3]||1,O[4]||0,O[5]||0,O[6]||0,W)):new Date(O[1],D,O[3]||1,O[4]||0,O[5]||0,O[6]||0,W)}}return new Date(m)}(h),this.init()},d.init=function(){var h=this.$d;this.$y=h.getFullYear(),this.$M=h.getMonth(),this.$D=h.getDate(),this.$W=h.getDay(),this.$H=h.getHours(),this.$m=h.getMinutes(),this.$s=h.getSeconds(),this.$ms=h.getMilliseconds()},d.$utils=function(){return B},d.isValid=function(){return this.$d.toString()!==C},d.isSame=function(h,x){var m=_(h);return this.startOf(x)<=m&&m<=this.endOf(x)},d.isAfter=function(h,x){return _(h)<this.startOf(x)},d.isBefore=function(h,x){return this.endOf(x)<_(h)},d.$g=function(h,x,m){return B.u(h)?this[x]:this.set(m,h)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(h,x){var m=this,z=!!B.u(x)||x,O=B.p(h),D=function(ce,J){var ae=B.w(m.$u?Date.UTC(m.$y,J,ce):new Date(m.$y,J,ce),m);return z?ae:ae.endOf(u)},W=function(ce,J){return B.w(m.toDate()[ce].apply(m.toDate("s"),(z?[0,0,0,0]:[23,59,59,999]).slice(J)),m)},K=this.$W,V=this.$M,Z=this.$D,me="set"+(this.$u?"UTC":"");switch(O){case b:return z?D(1,0):D(31,11);case c:return z?D(1,V):D(0,V+1);case f:var de=this.$locale().weekStart||0,$e=(K<de?K+7:K)-de;return D(z?Z-$e:Z+(6-$e),V);case u:case y:return W(me+"Hours",0);case s:return W(me+"Minutes",1);case l:return W(me+"Seconds",2);case a:return W(me+"Milliseconds",3);default:return this.clone()}},d.endOf=function(h){return this.startOf(h,!1)},d.$set=function(h,x){var m,z=B.p(h),O="set"+(this.$u?"UTC":""),D=(m={},m[u]=O+"Date",m[y]=O+"Date",m[c]=O+"Month",m[b]=O+"FullYear",m[s]=O+"Hours",m[l]=O+"Minutes",m[a]=O+"Seconds",m[i]=O+"Milliseconds",m)[z],W=z===u?this.$D+(x-this.$W):x;if(z===c||z===b){var K=this.clone().set(y,1);K.$d[D](W),K.init(),this.$d=K.set(y,Math.min(this.$D,K.daysInMonth())).$d}else D&&this.$d[D](W);return this.init(),this},d.set=function(h,x){return this.clone().$set(h,x)},d.get=function(h){return this[B.p(h)]()},d.add=function(h,x){var m,z=this;h=Number(h);var O=B.p(x),D=function(V){var Z=_(z);return B.w(Z.date(Z.date()+Math.round(V*h)),z)};if(O===c)return this.set(c,this.$M+h);if(O===b)return this.set(b,this.$y+h);if(O===u)return D(1);if(O===f)return D(7);var W=(m={},m[l]=r,m[s]=o,m[a]=n,m)[O]||1,K=this.$d.getTime()+h*W;return B.w(K,this)},d.subtract=function(h,x){return this.add(-1*h,x)},d.format=function(h){var x=this,m=this.$locale();if(!this.isValid())return m.invalidDate||C;var z=h||"YYYY-MM-DDTHH:mm:ssZ",O=B.z(this),D=this.$H,W=this.$m,K=this.$M,V=m.weekdays,Z=m.months,me=m.meridiem,de=function(J,ae,Me,Ie){return J&&(J[ae]||J(x,z))||Me[ae].slice(0,Ie)},$e=function(J){return B.s(D%12||12,J,"0")},ce=me||function(J,ae,Me){var Ie=J<12?"AM":"PM";return Me?Ie.toLowerCase():Ie};return z.replace(g,function(J,ae){return ae||function(Me){switch(Me){case"YY":return String(x.$y).slice(-2);case"YYYY":return B.s(x.$y,4,"0");case"M":return K+1;case"MM":return B.s(K+1,2,"0");case"MMM":return de(m.monthsShort,K,Z,3);case"MMMM":return de(Z,K);case"D":return x.$D;case"DD":return B.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return de(m.weekdaysMin,x.$W,V,2);case"ddd":return de(m.weekdaysShort,x.$W,V,3);case"dddd":return V[x.$W];case"H":return String(D);case"HH":return B.s(D,2,"0");case"h":return $e(1);case"hh":return $e(2);case"a":return ce(D,W,!0);case"A":return ce(D,W,!1);case"m":return String(W);case"mm":return B.s(W,2,"0");case"s":return String(x.$s);case"ss":return B.s(x.$s,2,"0");case"SSS":return B.s(x.$ms,3,"0");case"Z":return O}return null}(J)||O.replace(":","")})},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(h,x,m){var z,O=this,D=B.p(x),W=_(h),K=(W.utcOffset()-this.utcOffset())*r,V=this-W,Z=function(){return B.m(O,W)};switch(D){case b:z=Z()/12;break;case c:z=Z();break;case p:z=Z()/3;break;case f:z=(V-K)/6048e5;break;case u:z=(V-K)/864e5;break;case s:z=V/o;break;case l:z=V/r;break;case a:z=V/n;break;default:z=V}return m?z:B.a(z)},d.daysInMonth=function(){return this.endOf(c).$D},d.$locale=function(){return I[this.$L]},d.locale=function(h,x){if(!h)return this.$L;var m=this.clone(),z=L(h,x,!0);return z&&(m.$L=z),m},d.clone=function(){return B.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},v}(),T=G.prototype;return _.prototype=T,[["$ms",i],["$s",a],["$m",l],["$H",s],["$W",u],["$M",c],["$y",b],["$D",y]].forEach(function(v){T[v[1]]=function(d){return this.$g(d,v[0],v[1])}}),_.extend=function(v,d){return v.$i||(v(d,G,_),v.$i=!0),_},_.locale=L,_.isDayjs=P,_.unix=function(v){return _(1e3*v)},_.en=I[M],_.Ls=I,_.p={},_})}(Re)),Re.exports}var Va=Ka();const ms=Er(Va);export{zn as A,fe as B,Za as C,Xa as D,Nr as E,xe as F,Rr as G,jr as H,Wr as I,Jr as J,Wn as K,ma as L,De as M,is as N,Aa as O,Oa as P,tn as Q,nn as R,bo as S,aa as T,$n as U,qa as V,fs as W,ts as _,as as a,fa as b,Qa as c,Ja as d,ea as e,qi as f,hs as g,Ya as h,es as i,ds as j,on as k,us as l,za as m,os as n,gs as o,cs as p,vs as q,ns as r,rs as s,ms as t,ss as u,ja as v,ps as w,Nn as x,Hn as y,ls as z};
|
|
371
|
-
//# sourceMappingURL=dayjs.min-
|
|
371
|
+
//# sourceMappingURL=dayjs.min-ljH3fvyS.js.map
|