@gkd-kit/inspect 0.0.1740544362883 → 0.0.1740648815776

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.
Files changed (47) hide show
  1. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-Ccgv5roI.js → ActionCard.vue_vue_type_script_setup_true_lang-Co-G9gZf.js} +2 -2
  2. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-Ccgv5roI.js.map → ActionCard.vue_vue_type_script_setup_true_lang-Co-G9gZf.js.map} +1 -1
  3. package/dist/assets/{DevicePage-DKTBsFZZ.js → DevicePage-DXVg3LyJ.js} +2 -2
  4. package/dist/assets/{DevicePage-DKTBsFZZ.js.map → DevicePage-DXVg3LyJ.js.map} +1 -1
  5. package/dist/assets/{HomePage-C2kldyWC.js → HomePage-DiecouGG.js} +2 -2
  6. package/dist/assets/{HomePage-C2kldyWC.js.map → HomePage-DiecouGG.js.map} +1 -1
  7. package/dist/assets/{ImportPage-D4bRHBJI.js → ImportPage-CvSRDwhA.js} +2 -2
  8. package/dist/assets/{ImportPage-D4bRHBJI.js.map → ImportPage-CvSRDwhA.js.map} +1 -1
  9. package/dist/assets/{Input-BFKXTRdu.js → Input-9Xjd_8V6.js} +2 -2
  10. package/dist/assets/{Input-BFKXTRdu.js.map → Input-9Xjd_8V6.js.map} +1 -1
  11. package/dist/assets/SelectorPage-Dd-TFi8p.js +2 -0
  12. package/dist/assets/SelectorPage-Dd-TFi8p.js.map +1 -0
  13. package/dist/assets/{SnapshotPage-KPOEsvbW.js → SnapshotPage-DFmbkz-G.js} +10 -10
  14. package/dist/assets/{SnapshotPage-KPOEsvbW.js.map → SnapshotPage-DFmbkz-G.js.map} +1 -1
  15. package/dist/assets/{SvgPage-CzhnEJ-r.js → SvgPage-CUCH_yx9.js} +2 -2
  16. package/dist/assets/{SvgPage-CzhnEJ-r.js.map → SvgPage-CUCH_yx9.js.map} +1 -1
  17. package/dist/assets/{_404Page-Dy4SZGAS.js → _404Page-Dvm3LxV0.js} +2 -2
  18. package/dist/assets/{_404Page-Dy4SZGAS.js.map → _404Page-Dvm3LxV0.js.map} +1 -1
  19. package/dist/assets/chunk-BePjtIQl.js +3 -0
  20. package/dist/assets/{chunk-CVsGgHoi.js.map → chunk-BePjtIQl.js.map} +1 -1
  21. package/dist/assets/{dayjs.min-CdkzTcDU.js → dayjs.min-03zMqosd.js} +2 -2
  22. package/dist/assets/{dayjs.min-CdkzTcDU.js.map → dayjs.min-03zMqosd.js.map} +1 -1
  23. package/dist/assets/{error-CF7TTEeU.js → error-DlJzBwXC.js} +2 -2
  24. package/dist/assets/{error-CF7TTEeU.js.map → error-DlJzBwXC.js.map} +1 -1
  25. package/dist/assets/{import-BfOZ2HnX.js → import-BOmWE02u.js} +2 -2
  26. package/dist/assets/{import-BfOZ2HnX.js.map → import-BOmWE02u.js.map} +1 -1
  27. package/dist/assets/index-DjBfBJ3W.js +10 -0
  28. package/dist/assets/index-DjBfBJ3W.js.map +1 -0
  29. package/dist/assets/{index-DkVQX4Ub.js → index-DpGfQGGj.js} +51 -51
  30. package/dist/assets/{index-DkVQX4Ub.js.map → index-DpGfQGGj.js.map} +1 -1
  31. package/dist/assets/{index-BJdevrw_.css → index-dEdDuXZT.css} +1 -1
  32. package/dist/assets/{jszip.min-BN84A9eB.js → jszip.min-CjJPie7k.js} +2 -2
  33. package/dist/assets/{jszip.min-BN84A9eB.js.map → jszip.min-CjJPie7k.js.map} +1 -1
  34. package/dist/assets/{node-DJCu8s7C.js → node-UmLjKESN.js} +2 -2
  35. package/dist/assets/{node-DJCu8s7C.js.map → node-UmLjKESN.js.map} +1 -1
  36. package/dist/assets/{snapshot-CIRHwPKX.js → snapshot-BV3vRh6q.js} +2 -2
  37. package/dist/assets/{snapshot-CIRHwPKX.js.map → snapshot-BV3vRh6q.js.map} +1 -1
  38. package/dist/assets/{table-CpkC-fh7.js → table-D95BKlUD.js} +2 -2
  39. package/dist/assets/{table-CpkC-fh7.js.map → table-D95BKlUD.js.map} +1 -1
  40. package/dist/index.html +3 -3
  41. package/package.json +1 -1
  42. package/dist/assets/SelectorPage-BP09Pm4S.js +0 -2
  43. package/dist/assets/SelectorPage-BP09Pm4S.js.map +0 -1
  44. package/dist/assets/chunk-CVsGgHoi.js +0 -3
  45. package/dist/assets/index-BzKmOIqs.js +0 -10
  46. package/dist/assets/index-BzKmOIqs.js.map +0 -1
  47. /package/dist/assets/{SelectorPage-CdMJYWIX.css → index-CdMJYWIX.css} +0 -0
@@ -1,4 +1,4 @@
1
- import{B as Fe,b8 as ue,bK as Kt,q as L,a3 as yt,ac as X,bs as $t,bt as xt,bq as St,o as A,bb as ee,b9 as G,ab as le,h as q,bL as Yt,a0 as ae,bM as Vt,a5 as be,bN as Ge,bO as Gt,k as x,bP as Ut,bQ as Mt,bc as qt,G as ie,as as Qt,t as U,bk as Ct,bR as we,bS as ye,bT as Zt,bU as Jt,bV as Rt,bW as We,bX as K,bY as Ot,bZ as je,b_ as en,b$ as _t,c0 as oe,c1 as Ie,c2 as Ue,c3 as tn,c4 as qe,c5 as Qe,c6 as he,c7 as nn,c8 as Ze,c9 as rn,ca as on,cb as an,cc as sn,cd as ln,ce as un,cf as dn,d as ke,e as z,a as D,g as xe,b as Se,f as ne,cg as fn,be as cn,u as He,m as Q,D as At,bj as Je,a6 as pn,x as Et,bl as Re,j as et,ch as hn,bn as Tt,r as Me,R as vn,aq as gn,ci as mn,cj as bn,ck as wn,aY as yn,p as $n,y as de,ag as xn,af as Sn,br as Mn}from"./index-DkVQX4Ub.js";let ge=[];const Pt=new WeakMap;function Cn(){ge.forEach(e=>e(...Pt.get(e))),ge=[]}function On(e,...t){Pt.set(e,t),!ge.includes(e)&&ge.push(e)===1&&requestAnimationFrame(Cn)}let te,se;const _n=()=>{var e,t;te=Kt?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,se=!1,te!==void 0?te.then(()=>{se=!0}):se=!0};_n();function An(e){if(se)return;let t=!1;Fe(()=>{se||te==null||te.then(()=>{t||e()})}),ue(()=>{t=!0})}function En(e,t){return L(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const jo=yt("n-internal-select-menu"),Tn=yt("n-internal-select-menu-body"),Bt="__disabled__";function re(e){const t=X($t,null),n=X(xt,null),r=X(St,null),o=X(Tn,null),i=A();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Fe(()=>{ee("fullscreenchange",document,a)}),ue(()=>{G("fullscreenchange",document,a)})}return le(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?Bt: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"})}re.tdkey=Bt;re.propTo={type:[String,Object,Boolean],default:void 0};let k=null;function It(){if(k===null&&(k=document.getElementById("v-binder-view-measurer"),k===null)){k=document.createElement("div"),k.id="v-binder-view-measurer";const{style:e}=k;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(k)}return k.getBoundingClientRect()}function Pn(e,t){const n=It();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Ce(e){const t=e.getBoundingClientRect(),n=It();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 Bn(e){return e.nodeType===9?null:e.parentNode}function zt(e){if(e===null)return null;const t=Bn(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 zt(t)}const In=q({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;ae("VBinder",(t=Vt())===null||t===void 0?void 0:t.proxy);const n=X("VBinder",null),r=A(null),o=f=>{r.value=f,n&&e.syncTargetWithParent&&n.setTargetRef(f)};let i=[];const a=()=>{let f=r.value;for(;f=zt(f),f!==null;)i.push(f);for(const $ of i)ee("scroll",$,m,!0)},l=()=>{for(const f of i)G("scroll",f,m,!0);i=[]},s=new Set,p=f=>{s.size===0&&a(),s.has(f)||s.add(f)},v=f=>{s.has(f)&&s.delete(f),s.size===0&&l()},m=()=>{On(u)},u=()=>{s.forEach(f=>f())},c=new Set,g=f=>{c.size===0&&ee("resize",window,y),c.has(f)||c.add(f)},d=f=>{c.has(f)&&c.delete(f),c.size===0&&G("resize",window,y)},y=()=>{c.forEach(f=>f())};return ue(()=>{G("resize",window,y),l()}),{targetRef:r,setTargetRef:o,addScrollListener:p,removeScrollListener:v,addResizeListener:g,removeResizeListener:d}},render(){return Yt("binder",this.$slots)}}),zn=q({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=X("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?be(Ge("follower",this.$slots),[[t]]):Ge("follower",this.$slots)}}),R="@@mmoContext",Dn={mounted(e,{value:t}){e[R]={handler:void 0},typeof t=="function"&&(e[R].handler=t,ee("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[R];typeof t=="function"?n.handler?n.handler!==t&&(G("mousemoveoutside",e,n.handler),n.handler=t,ee("mousemoveoutside",e,t)):(e[R].handler=t,ee("mousemoveoutside",e,t)):n.handler&&(G("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[R];t&&G("mousemoveoutside",e,t),e[R].handler=void 0}},{c:fe}=Gt(),Ln="vueuc-style",ce={top:"bottom",bottom:"top",left:"right",right:"left"},tt={start:"end",center:"center",end:"start"},Oe={top:"height",bottom:"height",left:"width",right:"width"},Nn={"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"},Fn={"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"},Wn={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},nt={top:!0,bottom:!1,left:!0,right:!1},rt={top:"end",bottom:"start",left:"end",right:"start"};function jn(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",p={top:0,left:0};const v=(c,g,d)=>{let y=0,f=0;const $=n[c]-t[g]-t[c];return $>0&&r&&(d?f=nt[g]?$:-$:y=nt[g]?$:-$),{left:y,top:f}},m=a==="left"||a==="right";if(s!=="center"){const c=Wn[e],g=ce[c],d=Oe[c];if(n[d]>t[d]){if(t[c]+t[d]<n[d]){const y=(n[d]-t[d])/2;t[c]<y||t[g]<y?t[c]<t[g]?(s=tt[l],p=v(d,g,m)):p=v(d,c,m):s="center"}}else n[d]<t[d]&&t[g]<0&&t[c]>t[g]&&(s=tt[l])}else{const c=a==="bottom"||a==="top"?"left":"top",g=ce[c],d=Oe[c],y=(n[d]-t[d])/2;(t[c]<y||t[g]<y)&&(t[c]>t[g]?(s=rt[c],p=v(d,c,m)):(s=rt[g],p=v(d,g,m)))}let u=a;return t[a]<n[Oe[a]]&&t[a]<t[ce[a]]&&(u=ce[a]),{placement:s!=="center"?`${u}-${s}`:u,left:p.left,top:p.top}}function kn(e,t){return t?Fn[e]:Nn[e]}function Hn(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 Xn=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"})])]),Kn=q({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=X("VBinder"),n=le(()=>e.enabled!==void 0?e.enabled:e.show),r=A(null),o=A(null),i=()=>{const{syncTrigger:u}=e;u.includes("scroll")&&t.addScrollListener(s),u.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};Fe(()=>{n.value&&(s(),i())});const l=qt();Xn.mount({id:"vueuc/binder",head:!0,anchorMetaName:Ln,ssr:l}),ue(()=>{a()}),An(()=>{n.value&&s()});const s=()=>{if(!n.value)return;const u=r.value;if(u===null)return;const c=t.targetRef,{x:g,y:d,overlap:y}=e,f=g!==void 0&&d!==void 0?Pn(g,d):Ce(c);u.style.setProperty("--v-target-width",`${Math.round(f.width)}px`),u.style.setProperty("--v-target-height",`${Math.round(f.height)}px`);const{width:$,minWidth:I,placement:E,internalShift:T,flip:Y}=e;u.setAttribute("v-placement",E),y?u.setAttribute("v-overlap",""):u.removeAttribute("v-overlap");const{style:b}=u;$==="target"?b.width=`${f.width}px`:$!==void 0?b.width=$:b.width="",I==="target"?b.minWidth=`${f.width}px`:I!==void 0?b.minWidth=I:b.minWidth="";const C=Ce(u),O=Ce(o.value),{left:w,top:j,placement:N}=jn(E,f,C,T,Y,y),B=kn(N,y),{left:V,top:h,transform:S}=Hn(N,O,f,j,w,y);u.setAttribute("v-placement",N),u.style.setProperty("--v-offset-left",`${Math.round(w)}px`),u.style.setProperty("--v-offset-top",`${Math.round(j)}px`),u.style.transform=`translateX(${V}) translateY(${h}) ${S}`,u.style.setProperty("--v-transform-origin",B),u.style.transformOrigin=B};ie(n,u=>{u?(i(),p()):a()});const p=()=>{Qt().then(s).catch(u=>console.error(u))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(u=>{ie(U(e,u),s)}),["teleportDisabled"].forEach(u=>{ie(U(e,u),p)}),ie(U(e,"syncTrigger"),u=>{u.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),u.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const v=Ct(),m=le(()=>{const{to:u}=e;if(u!==void 0)return u;v.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:m,syncPosition:s}},render(){return x(Ut,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=x("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[x("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?be(n,[[Mt,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}}),Yn=/^(\d|\.)+$/,ot=/(\d|\.)+/;function ve(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(Yn.test(e)){const o=(Number(e)+n)*t;return r?o===0?"0":`${o}px`:`${o}`}else{const o=ot.exec(e);return o?e.replace(ot,String((Number(o[0])+n)*t)):e}return e}let _e;function Vn(){return _e===void 0&&(_e=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),_e}var ze=we(ye,"WeakMap"),Gn=Zt(Object.keys,Object),Un=Object.prototype,qn=Un.hasOwnProperty;function Qn(e){if(!Jt(e))return Gn(e);var t=[];for(var n in Object(e))qn.call(e,n)&&n!="constructor"&&t.push(n);return t}function Xe(e){return We(e)?Rt(e):Qn(e)}var Zn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Jn=/^\w*$/;function Ke(e,t){if(K(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Ot(e)?!0:Jn.test(e)||!Zn.test(e)||t!=null&&e in Object(t)}var Rn="Expected a function";function Ye(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Rn);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(Ye.Cache||je),n}Ye.Cache=je;var er=500;function tr(e){var t=Ye(e,function(r){return n.size===er&&n.clear(),r}),n=t.cache;return t}var nr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rr=/\\(\\)?/g,or=tr(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(nr,function(n,r,o,i){t.push(o?i.replace(rr,"$1"):r||n)}),t});function Dt(e,t){return K(e)?e:Ke(e,t)?[e]:or(en(e))}function $e(e){if(typeof e=="string"||Ot(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Lt(e,t){t=Dt(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[$e(t[n++])];return n&&n==r?e:void 0}function ir(e,t,n){var r=e==null?void 0:Lt(e,t);return r===void 0?n:r}function ar(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function sr(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 lr(){return[]}var ur=Object.prototype,dr=ur.propertyIsEnumerable,it=Object.getOwnPropertySymbols,fr=it?function(e){return e==null?[]:(e=Object(e),sr(it(e),function(t){return dr.call(e,t)}))}:lr;function cr(e,t,n){var r=t(e);return K(e)?r:ar(r,n(e))}function at(e){return cr(e,Xe,fr)}var De=we(ye,"DataView"),Le=we(ye,"Promise"),Ne=we(ye,"Set"),st="[object Map]",pr="[object Object]",lt="[object Promise]",ut="[object Set]",dt="[object WeakMap]",ft="[object DataView]",hr=oe(De),vr=oe(Ie),gr=oe(Le),mr=oe(Ne),br=oe(ze),H=_t;(De&&H(new De(new ArrayBuffer(1)))!=ft||Ie&&H(new Ie)!=st||Le&&H(Le.resolve())!=lt||Ne&&H(new Ne)!=ut||ze&&H(new ze)!=dt)&&(H=function(e){var t=_t(e),n=t==pr?e.constructor:void 0,r=n?oe(n):"";if(r)switch(r){case hr:return ft;case vr:return st;case gr:return lt;case mr:return ut;case br:return dt}return t});var wr="__lodash_hash_undefined__";function yr(e){return this.__data__.set(e,wr),this}function $r(e){return this.__data__.has(e)}function me(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new je;++t<n;)this.add(e[t])}me.prototype.add=me.prototype.push=yr;me.prototype.has=$r;function xr(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 Sr(e,t){return e.has(t)}var Mr=1,Cr=2;function Nt(e,t,n,r,o,i){var a=n&Mr,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var p=i.get(e),v=i.get(t);if(p&&v)return p==t&&v==e;var m=-1,u=!0,c=n&Cr?new me:void 0;for(i.set(e,t),i.set(t,e);++m<l;){var g=e[m],d=t[m];if(r)var y=a?r(d,g,m,t,e,i):r(g,d,m,e,t,i);if(y!==void 0){if(y)continue;u=!1;break}if(c){if(!xr(t,function(f,$){if(!Sr(c,$)&&(g===f||o(g,f,n,r,i)))return c.push($)})){u=!1;break}}else if(!(g===d||o(g,d,n,r,i))){u=!1;break}}return i.delete(e),i.delete(t),u}function Or(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function _r(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ar=1,Er=2,Tr="[object Boolean]",Pr="[object Date]",Br="[object Error]",Ir="[object Map]",zr="[object Number]",Dr="[object RegExp]",Lr="[object Set]",Nr="[object String]",Fr="[object Symbol]",Wr="[object ArrayBuffer]",jr="[object DataView]",ct=Ue?Ue.prototype:void 0,Ae=ct?ct.valueOf:void 0;function kr(e,t,n,r,o,i,a){switch(n){case jr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Wr:return!(e.byteLength!=t.byteLength||!i(new qe(e),new qe(t)));case Tr:case Pr:case zr:return tn(+e,+t);case Br:return e.name==t.name&&e.message==t.message;case Dr:case Nr:return e==t+"";case Ir:var l=Or;case Lr:var s=r&Ar;if(l||(l=_r),e.size!=t.size&&!s)return!1;var p=a.get(e);if(p)return p==t;r|=Er,a.set(e,t);var v=Nt(l(e),l(t),r,o,i,a);return a.delete(e),v;case Fr:if(Ae)return Ae.call(e)==Ae.call(t)}return!1}var Hr=1,Xr=Object.prototype,Kr=Xr.hasOwnProperty;function Yr(e,t,n,r,o,i){var a=n&Hr,l=at(e),s=l.length,p=at(t),v=p.length;if(s!=v&&!a)return!1;for(var m=s;m--;){var u=l[m];if(!(a?u in t:Kr.call(t,u)))return!1}var c=i.get(e),g=i.get(t);if(c&&g)return c==t&&g==e;var d=!0;i.set(e,t),i.set(t,e);for(var y=a;++m<s;){u=l[m];var f=e[u],$=t[u];if(r)var I=a?r($,f,u,t,e,i):r(f,$,u,e,t,i);if(!(I===void 0?f===$||o(f,$,n,r,i):I)){d=!1;break}y||(y=u=="constructor")}if(d&&!y){var E=e.constructor,T=t.constructor;E!=T&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof T=="function"&&T instanceof T)&&(d=!1)}return i.delete(e),i.delete(t),d}var Vr=1,pt="[object Arguments]",ht="[object Array]",pe="[object Object]",Gr=Object.prototype,vt=Gr.hasOwnProperty;function Ur(e,t,n,r,o,i){var a=K(e),l=K(t),s=a?ht:H(e),p=l?ht:H(t);s=s==pt?pe:s,p=p==pt?pe:p;var v=s==pe,m=p==pe,u=s==p;if(u&&Qe(e)){if(!Qe(t))return!1;a=!0,v=!1}if(u&&!v)return i||(i=new he),a||nn(e)?Nt(e,t,n,r,o,i):kr(e,t,s,n,r,o,i);if(!(n&Vr)){var c=v&&vt.call(e,"__wrapped__"),g=m&&vt.call(t,"__wrapped__");if(c||g){var d=c?e.value():e,y=g?t.value():t;return i||(i=new he),o(d,y,n,r,i)}}return u?(i||(i=new he),Yr(e,t,n,r,o,i)):!1}function Ve(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ze(e)&&!Ze(t)?e!==e&&t!==t:Ur(e,t,n,r,Ve,o)}var qr=1,Qr=2;function Zr(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],p=a[1];if(a[2]){if(s===void 0&&!(l in e))return!1}else{var v=new he,m;if(!(m===void 0?Ve(p,s,qr|Qr,r,v):m))return!1}}return!0}function Ft(e){return e===e&&!rn(e)}function Jr(e){for(var t=Xe(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ft(o)]}return t}function Wt(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Rr(e){var t=Jr(e);return t.length==1&&t[0][2]?Wt(t[0][0],t[0][1]):function(n){return n===e||Zr(n,e,t)}}function eo(e,t){return e!=null&&t in Object(e)}function to(e,t,n){t=Dt(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=$e(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&&on(o)&&an(a,o)&&(K(e)||sn(e)))}function no(e,t){return e!=null&&to(e,t,eo)}var ro=1,oo=2;function io(e,t){return Ke(e)&&Ft(t)?Wt($e(e),t):function(n){var r=ir(n,e);return r===void 0&&r===t?no(n,e):Ve(t,r,ro|oo)}}function ao(e){return function(t){return t==null?void 0:t[e]}}function so(e){return function(t){return Lt(t,e)}}function lo(e){return Ke(e)?ao($e(e)):so(e)}function uo(e){return typeof e=="function"?e:e==null?ln:typeof e=="object"?K(e)?io(e[0],e[1]):Rr(e):lo(e)}function fo(e,t){return e&&un(e,t,Xe)}function co(e,t){return function(n,r){if(n==null)return n;if(!We(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 po=co(fo);function ho(e,t){var n=-1,r=We(e)?Array(e.length):[];return po(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function vo(e,t){var n=K(e)?dn:ho;return n(e,uo(t))}const go={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function mo(e){const{boxShadow2:t,popoverColor:n,textColor2:r,borderRadius:o,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},go),{fontSize:i,borderRadius:o,color:n,dividerColor:a,textColor:r,boxShadow:t})}const jt={name:"Popover",common:ke,self:mo},Ee={top:"bottom",bottom:"top",left:"right",right:"left"},M="var(--n-arrow-height) * 1.414",bo=z([D("popover",`
1
+ import{B as Fe,b8 as ue,bK as Kt,q as L,a3 as yt,ac as X,bs as $t,bt as xt,bq as St,o as A,bb as ee,b9 as G,ab as le,h as q,bL as Yt,a0 as ae,bM as Vt,a5 as be,bN as Ge,bO as Gt,k as x,bP as Ut,bQ as Mt,bc as qt,G as ie,as as Qt,t as U,bk as Ct,bR as we,bS as ye,bT as Zt,bU as Jt,bV as Rt,bW as We,bX as K,bY as Ot,bZ as je,b_ as en,b$ as _t,c0 as oe,c1 as Ie,c2 as Ue,c3 as tn,c4 as qe,c5 as Qe,c6 as he,c7 as nn,c8 as Ze,c9 as rn,ca as on,cb as an,cc as sn,cd as ln,ce as un,cf as dn,d as ke,e as z,a as D,g as xe,b as Se,f as ne,cg as fn,be as cn,u as He,m as Q,D as At,bj as Je,a6 as pn,x as Et,bl as Re,j as et,ch as hn,bn as Tt,r as Me,R as vn,aq as gn,ci as mn,cj as bn,ck as wn,aY as yn,p as $n,y as de,ag as xn,af as Sn,br as Mn}from"./index-DpGfQGGj.js";let ge=[];const Pt=new WeakMap;function Cn(){ge.forEach(e=>e(...Pt.get(e))),ge=[]}function On(e,...t){Pt.set(e,t),!ge.includes(e)&&ge.push(e)===1&&requestAnimationFrame(Cn)}let te,se;const _n=()=>{var e,t;te=Kt?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,se=!1,te!==void 0?te.then(()=>{se=!0}):se=!0};_n();function An(e){if(se)return;let t=!1;Fe(()=>{se||te==null||te.then(()=>{t||e()})}),ue(()=>{t=!0})}function En(e,t){return L(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const jo=yt("n-internal-select-menu"),Tn=yt("n-internal-select-menu-body"),Bt="__disabled__";function re(e){const t=X($t,null),n=X(xt,null),r=X(St,null),o=X(Tn,null),i=A();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Fe(()=>{ee("fullscreenchange",document,a)}),ue(()=>{G("fullscreenchange",document,a)})}return le(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?Bt: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"})}re.tdkey=Bt;re.propTo={type:[String,Object,Boolean],default:void 0};let k=null;function It(){if(k===null&&(k=document.getElementById("v-binder-view-measurer"),k===null)){k=document.createElement("div"),k.id="v-binder-view-measurer";const{style:e}=k;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(k)}return k.getBoundingClientRect()}function Pn(e,t){const n=It();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Ce(e){const t=e.getBoundingClientRect(),n=It();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 Bn(e){return e.nodeType===9?null:e.parentNode}function zt(e){if(e===null)return null;const t=Bn(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 zt(t)}const In=q({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;ae("VBinder",(t=Vt())===null||t===void 0?void 0:t.proxy);const n=X("VBinder",null),r=A(null),o=f=>{r.value=f,n&&e.syncTargetWithParent&&n.setTargetRef(f)};let i=[];const a=()=>{let f=r.value;for(;f=zt(f),f!==null;)i.push(f);for(const $ of i)ee("scroll",$,m,!0)},l=()=>{for(const f of i)G("scroll",f,m,!0);i=[]},s=new Set,p=f=>{s.size===0&&a(),s.has(f)||s.add(f)},v=f=>{s.has(f)&&s.delete(f),s.size===0&&l()},m=()=>{On(u)},u=()=>{s.forEach(f=>f())},c=new Set,g=f=>{c.size===0&&ee("resize",window,y),c.has(f)||c.add(f)},d=f=>{c.has(f)&&c.delete(f),c.size===0&&G("resize",window,y)},y=()=>{c.forEach(f=>f())};return ue(()=>{G("resize",window,y),l()}),{targetRef:r,setTargetRef:o,addScrollListener:p,removeScrollListener:v,addResizeListener:g,removeResizeListener:d}},render(){return Yt("binder",this.$slots)}}),zn=q({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=X("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?be(Ge("follower",this.$slots),[[t]]):Ge("follower",this.$slots)}}),R="@@mmoContext",Dn={mounted(e,{value:t}){e[R]={handler:void 0},typeof t=="function"&&(e[R].handler=t,ee("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[R];typeof t=="function"?n.handler?n.handler!==t&&(G("mousemoveoutside",e,n.handler),n.handler=t,ee("mousemoveoutside",e,t)):(e[R].handler=t,ee("mousemoveoutside",e,t)):n.handler&&(G("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[R];t&&G("mousemoveoutside",e,t),e[R].handler=void 0}},{c:fe}=Gt(),Ln="vueuc-style",ce={top:"bottom",bottom:"top",left:"right",right:"left"},tt={start:"end",center:"center",end:"start"},Oe={top:"height",bottom:"height",left:"width",right:"width"},Nn={"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"},Fn={"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"},Wn={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},nt={top:!0,bottom:!1,left:!0,right:!1},rt={top:"end",bottom:"start",left:"end",right:"start"};function jn(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",p={top:0,left:0};const v=(c,g,d)=>{let y=0,f=0;const $=n[c]-t[g]-t[c];return $>0&&r&&(d?f=nt[g]?$:-$:y=nt[g]?$:-$),{left:y,top:f}},m=a==="left"||a==="right";if(s!=="center"){const c=Wn[e],g=ce[c],d=Oe[c];if(n[d]>t[d]){if(t[c]+t[d]<n[d]){const y=(n[d]-t[d])/2;t[c]<y||t[g]<y?t[c]<t[g]?(s=tt[l],p=v(d,g,m)):p=v(d,c,m):s="center"}}else n[d]<t[d]&&t[g]<0&&t[c]>t[g]&&(s=tt[l])}else{const c=a==="bottom"||a==="top"?"left":"top",g=ce[c],d=Oe[c],y=(n[d]-t[d])/2;(t[c]<y||t[g]<y)&&(t[c]>t[g]?(s=rt[c],p=v(d,c,m)):(s=rt[g],p=v(d,g,m)))}let u=a;return t[a]<n[Oe[a]]&&t[a]<t[ce[a]]&&(u=ce[a]),{placement:s!=="center"?`${u}-${s}`:u,left:p.left,top:p.top}}function kn(e,t){return t?Fn[e]:Nn[e]}function Hn(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 Xn=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"})])]),Kn=q({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=X("VBinder"),n=le(()=>e.enabled!==void 0?e.enabled:e.show),r=A(null),o=A(null),i=()=>{const{syncTrigger:u}=e;u.includes("scroll")&&t.addScrollListener(s),u.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};Fe(()=>{n.value&&(s(),i())});const l=qt();Xn.mount({id:"vueuc/binder",head:!0,anchorMetaName:Ln,ssr:l}),ue(()=>{a()}),An(()=>{n.value&&s()});const s=()=>{if(!n.value)return;const u=r.value;if(u===null)return;const c=t.targetRef,{x:g,y:d,overlap:y}=e,f=g!==void 0&&d!==void 0?Pn(g,d):Ce(c);u.style.setProperty("--v-target-width",`${Math.round(f.width)}px`),u.style.setProperty("--v-target-height",`${Math.round(f.height)}px`);const{width:$,minWidth:I,placement:E,internalShift:T,flip:Y}=e;u.setAttribute("v-placement",E),y?u.setAttribute("v-overlap",""):u.removeAttribute("v-overlap");const{style:b}=u;$==="target"?b.width=`${f.width}px`:$!==void 0?b.width=$:b.width="",I==="target"?b.minWidth=`${f.width}px`:I!==void 0?b.minWidth=I:b.minWidth="";const C=Ce(u),O=Ce(o.value),{left:w,top:j,placement:N}=jn(E,f,C,T,Y,y),B=kn(N,y),{left:V,top:h,transform:S}=Hn(N,O,f,j,w,y);u.setAttribute("v-placement",N),u.style.setProperty("--v-offset-left",`${Math.round(w)}px`),u.style.setProperty("--v-offset-top",`${Math.round(j)}px`),u.style.transform=`translateX(${V}) translateY(${h}) ${S}`,u.style.setProperty("--v-transform-origin",B),u.style.transformOrigin=B};ie(n,u=>{u?(i(),p()):a()});const p=()=>{Qt().then(s).catch(u=>console.error(u))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(u=>{ie(U(e,u),s)}),["teleportDisabled"].forEach(u=>{ie(U(e,u),p)}),ie(U(e,"syncTrigger"),u=>{u.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),u.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const v=Ct(),m=le(()=>{const{to:u}=e;if(u!==void 0)return u;v.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:m,syncPosition:s}},render(){return x(Ut,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=x("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[x("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?be(n,[[Mt,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}}),Yn=/^(\d|\.)+$/,ot=/(\d|\.)+/;function ve(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(Yn.test(e)){const o=(Number(e)+n)*t;return r?o===0?"0":`${o}px`:`${o}`}else{const o=ot.exec(e);return o?e.replace(ot,String((Number(o[0])+n)*t)):e}return e}let _e;function Vn(){return _e===void 0&&(_e=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),_e}var ze=we(ye,"WeakMap"),Gn=Zt(Object.keys,Object),Un=Object.prototype,qn=Un.hasOwnProperty;function Qn(e){if(!Jt(e))return Gn(e);var t=[];for(var n in Object(e))qn.call(e,n)&&n!="constructor"&&t.push(n);return t}function Xe(e){return We(e)?Rt(e):Qn(e)}var Zn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Jn=/^\w*$/;function Ke(e,t){if(K(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Ot(e)?!0:Jn.test(e)||!Zn.test(e)||t!=null&&e in Object(t)}var Rn="Expected a function";function Ye(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Rn);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(Ye.Cache||je),n}Ye.Cache=je;var er=500;function tr(e){var t=Ye(e,function(r){return n.size===er&&n.clear(),r}),n=t.cache;return t}var nr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rr=/\\(\\)?/g,or=tr(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(nr,function(n,r,o,i){t.push(o?i.replace(rr,"$1"):r||n)}),t});function Dt(e,t){return K(e)?e:Ke(e,t)?[e]:or(en(e))}function $e(e){if(typeof e=="string"||Ot(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Lt(e,t){t=Dt(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[$e(t[n++])];return n&&n==r?e:void 0}function ir(e,t,n){var r=e==null?void 0:Lt(e,t);return r===void 0?n:r}function ar(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function sr(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 lr(){return[]}var ur=Object.prototype,dr=ur.propertyIsEnumerable,it=Object.getOwnPropertySymbols,fr=it?function(e){return e==null?[]:(e=Object(e),sr(it(e),function(t){return dr.call(e,t)}))}:lr;function cr(e,t,n){var r=t(e);return K(e)?r:ar(r,n(e))}function at(e){return cr(e,Xe,fr)}var De=we(ye,"DataView"),Le=we(ye,"Promise"),Ne=we(ye,"Set"),st="[object Map]",pr="[object Object]",lt="[object Promise]",ut="[object Set]",dt="[object WeakMap]",ft="[object DataView]",hr=oe(De),vr=oe(Ie),gr=oe(Le),mr=oe(Ne),br=oe(ze),H=_t;(De&&H(new De(new ArrayBuffer(1)))!=ft||Ie&&H(new Ie)!=st||Le&&H(Le.resolve())!=lt||Ne&&H(new Ne)!=ut||ze&&H(new ze)!=dt)&&(H=function(e){var t=_t(e),n=t==pr?e.constructor:void 0,r=n?oe(n):"";if(r)switch(r){case hr:return ft;case vr:return st;case gr:return lt;case mr:return ut;case br:return dt}return t});var wr="__lodash_hash_undefined__";function yr(e){return this.__data__.set(e,wr),this}function $r(e){return this.__data__.has(e)}function me(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new je;++t<n;)this.add(e[t])}me.prototype.add=me.prototype.push=yr;me.prototype.has=$r;function xr(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 Sr(e,t){return e.has(t)}var Mr=1,Cr=2;function Nt(e,t,n,r,o,i){var a=n&Mr,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var p=i.get(e),v=i.get(t);if(p&&v)return p==t&&v==e;var m=-1,u=!0,c=n&Cr?new me:void 0;for(i.set(e,t),i.set(t,e);++m<l;){var g=e[m],d=t[m];if(r)var y=a?r(d,g,m,t,e,i):r(g,d,m,e,t,i);if(y!==void 0){if(y)continue;u=!1;break}if(c){if(!xr(t,function(f,$){if(!Sr(c,$)&&(g===f||o(g,f,n,r,i)))return c.push($)})){u=!1;break}}else if(!(g===d||o(g,d,n,r,i))){u=!1;break}}return i.delete(e),i.delete(t),u}function Or(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function _r(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ar=1,Er=2,Tr="[object Boolean]",Pr="[object Date]",Br="[object Error]",Ir="[object Map]",zr="[object Number]",Dr="[object RegExp]",Lr="[object Set]",Nr="[object String]",Fr="[object Symbol]",Wr="[object ArrayBuffer]",jr="[object DataView]",ct=Ue?Ue.prototype:void 0,Ae=ct?ct.valueOf:void 0;function kr(e,t,n,r,o,i,a){switch(n){case jr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Wr:return!(e.byteLength!=t.byteLength||!i(new qe(e),new qe(t)));case Tr:case Pr:case zr:return tn(+e,+t);case Br:return e.name==t.name&&e.message==t.message;case Dr:case Nr:return e==t+"";case Ir:var l=Or;case Lr:var s=r&Ar;if(l||(l=_r),e.size!=t.size&&!s)return!1;var p=a.get(e);if(p)return p==t;r|=Er,a.set(e,t);var v=Nt(l(e),l(t),r,o,i,a);return a.delete(e),v;case Fr:if(Ae)return Ae.call(e)==Ae.call(t)}return!1}var Hr=1,Xr=Object.prototype,Kr=Xr.hasOwnProperty;function Yr(e,t,n,r,o,i){var a=n&Hr,l=at(e),s=l.length,p=at(t),v=p.length;if(s!=v&&!a)return!1;for(var m=s;m--;){var u=l[m];if(!(a?u in t:Kr.call(t,u)))return!1}var c=i.get(e),g=i.get(t);if(c&&g)return c==t&&g==e;var d=!0;i.set(e,t),i.set(t,e);for(var y=a;++m<s;){u=l[m];var f=e[u],$=t[u];if(r)var I=a?r($,f,u,t,e,i):r(f,$,u,e,t,i);if(!(I===void 0?f===$||o(f,$,n,r,i):I)){d=!1;break}y||(y=u=="constructor")}if(d&&!y){var E=e.constructor,T=t.constructor;E!=T&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof T=="function"&&T instanceof T)&&(d=!1)}return i.delete(e),i.delete(t),d}var Vr=1,pt="[object Arguments]",ht="[object Array]",pe="[object Object]",Gr=Object.prototype,vt=Gr.hasOwnProperty;function Ur(e,t,n,r,o,i){var a=K(e),l=K(t),s=a?ht:H(e),p=l?ht:H(t);s=s==pt?pe:s,p=p==pt?pe:p;var v=s==pe,m=p==pe,u=s==p;if(u&&Qe(e)){if(!Qe(t))return!1;a=!0,v=!1}if(u&&!v)return i||(i=new he),a||nn(e)?Nt(e,t,n,r,o,i):kr(e,t,s,n,r,o,i);if(!(n&Vr)){var c=v&&vt.call(e,"__wrapped__"),g=m&&vt.call(t,"__wrapped__");if(c||g){var d=c?e.value():e,y=g?t.value():t;return i||(i=new he),o(d,y,n,r,i)}}return u?(i||(i=new he),Yr(e,t,n,r,o,i)):!1}function Ve(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ze(e)&&!Ze(t)?e!==e&&t!==t:Ur(e,t,n,r,Ve,o)}var qr=1,Qr=2;function Zr(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],p=a[1];if(a[2]){if(s===void 0&&!(l in e))return!1}else{var v=new he,m;if(!(m===void 0?Ve(p,s,qr|Qr,r,v):m))return!1}}return!0}function Ft(e){return e===e&&!rn(e)}function Jr(e){for(var t=Xe(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ft(o)]}return t}function Wt(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Rr(e){var t=Jr(e);return t.length==1&&t[0][2]?Wt(t[0][0],t[0][1]):function(n){return n===e||Zr(n,e,t)}}function eo(e,t){return e!=null&&t in Object(e)}function to(e,t,n){t=Dt(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=$e(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&&on(o)&&an(a,o)&&(K(e)||sn(e)))}function no(e,t){return e!=null&&to(e,t,eo)}var ro=1,oo=2;function io(e,t){return Ke(e)&&Ft(t)?Wt($e(e),t):function(n){var r=ir(n,e);return r===void 0&&r===t?no(n,e):Ve(t,r,ro|oo)}}function ao(e){return function(t){return t==null?void 0:t[e]}}function so(e){return function(t){return Lt(t,e)}}function lo(e){return Ke(e)?ao($e(e)):so(e)}function uo(e){return typeof e=="function"?e:e==null?ln:typeof e=="object"?K(e)?io(e[0],e[1]):Rr(e):lo(e)}function fo(e,t){return e&&un(e,t,Xe)}function co(e,t){return function(n,r){if(n==null)return n;if(!We(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 po=co(fo);function ho(e,t){var n=-1,r=We(e)?Array(e.length):[];return po(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function vo(e,t){var n=K(e)?dn:ho;return n(e,uo(t))}const go={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function mo(e){const{boxShadow2:t,popoverColor:n,textColor2:r,borderRadius:o,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},go),{fontSize:i,borderRadius:o,color:n,dividerColor:a,textColor:r,boxShadow:t})}const jt={name:"Popover",common:ke,self:mo},Ee={top:"bottom",bottom:"top",left:"right",right:"left"},M="var(--n-arrow-height) * 1.414",bo=z([D("popover",`
2
2
  transition:
3
3
  box-shadow .3s var(--n-bezier),
4
4
  background-color .3s var(--n-bezier),
@@ -124,4 +124,4 @@ import{B as Fe,b8 as ue,bK as Kt,q as L,a3 as yt,ac as X,bs as $t,bt as xt,bq as
124
124
  fill: currentColor;
125
125
  transform: translateZ(0);
126
126
  `,[ne("color-transition",{transition:"color .3s var(--n-bezier)"}),ne("depth",{color:"var(--n-color)"},[z("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),z("svg",{height:"1em",width:"1em"})]),Io=Object.assign(Object.assign({},Q.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),Ho=q({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Io,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=He(e),r=Q("Icon","-icon",Bo,Po,e,t),o=L(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:l},self:s}=r.value;if(a!==void 0){const{color:p,[`opacity${a}Depth`]:v}=s;return{"--n-bezier":l,"--n-color":p,"--n-opacity":v}}return{"--n-bezier":l,"--n-color":"","--n-opacity":""}}),i=n?Et("icon",L(()=>`${e.depth||"d"}`),o,e):void 0;return{mergedClsPrefix:t,mergedStyle:L(()=>{const{size:a,color:l}=e;return{fontSize:ve(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__&&Mn("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),x("i",Tt(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?x(o):this.$slots)}}),gt=e=>{let t=e.lastIndexOf(".");return t===-1?e:e.slice(t+1)},Te=(e,t)=>e+(t===1?"":t),mt=(e,t=!0,n=1)=>{if(!e.parent)return t?"[parent=null]":[Te("<",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}"]`:[Te("<",n),`[${r}="${o}"]`].join(" ")}return t?["@"+gt(e.attr.name),mt(e.parent,!1,e.attr.index+1)].join(" "):[Te("<",n),gt(e.attr.name),mt(e.parent,!1,e.attr.index+1)].join(" ")},Xo=e=>(e.forEach(t=>{var n,r,o,i,a,l,s,p,v,m,u,c;(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=((p=(s=(l=t.parent)==null?void 0:l.attr)==null?void 0:s.depth)!=null?p:-1)+1,(m=(v=t.attr)._id)!=null||(v._id=t.id),(c=(u=t.attr)._pid)!=null||(u._pid=t.pid)}),e[0]),zo=(e,t)=>{const n=e.attr,{x:r,y:o}=t;return n.left<=r&&r<=n.right&&n.top<=o&&o<=n.bottom},bt=(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,Do=(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,Pe=(e,t)=>{let n=t.parent;for(;;){if(n===e)return!0;if(n=n==null?void 0:n.parent,!n)break}return!1},Ko=(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&&zo(o,t)&&n.push(o);return n.length<=1||(n=n.filter(o=>!n.some(i=>Pe(o,i)&&bt(o,i))),n.length<=1)||(n=n.filter(o=>!n.some(i=>o!=i&&(Pe(o,i)||Pe(o.parent,i))&&bt(o,i)&&!Do(o,i))),n.sort((o,i)=>wt(o)-wt(i))),n},wt=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},Lo=e=>{const t=e.attr.childCount;return(e.attr.name||"🐔"+(t>1?"":` [${t}]`)).split(".").at(-1)},No=e=>e.attr.text||e.attr.desc||e.attr.vid||e.attr.id,Be=Symbol("labelKey"),Yo=e=>{if(Reflect.has(e,Be))return Reflect.get(e,Be);let t=Lo(e);const n=e.children.length;n>1&&(t=`${t} [${n}]`);const r=No(e);return r&&(t=`${t} : ${r}`),Reflect.set(e,Be,t),t},Fo=e=>typeof e.device=="object"&&e.device?e.device:e,Vo=e=>e.appInfo||{id:e.appId,name:e.appName,versionCode:e.appVersionCode,versionName:e.appVersionName,hidden:!1,isSystem:!1,mtime:Date.now()},Go=e=>{const t=Fo(e);return e.gkdAppInfo||{id:"li.songe.gkd",name:"GKD",versionCode:t.gkdVersionCode,versionName:t.gkdVersionName,hidden:!1,isSystem:!1,mtime:Date.now()}},Uo=e=>!!(e&&typeof e=="object"&&typeof e.id=="number"&&e.attr),qo=(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}};export{In as B,Ho as N,zn as V,Co as _,mt as a,ko as b,qo as c,Yo as d,Fo as e,Ko as f,Vo as g,Go as h,Ht as i,fe as j,Ln as k,Xo as l,jo as m,Tn as n,Kn as o,jt as p,En as q,ve as r,ir as s,wo as t,re as u,On as v,Ao as w,Uo as x};
127
- //# sourceMappingURL=node-DJCu8s7C.js.map
127
+ //# sourceMappingURL=node-UmLjKESN.js.map