diff --git a/API/Wood.Admin.WebApi/wwwroot/assets/404-C_RQLq1Z.js b/API/Wood.Admin.WebApi/wwwroot/assets/404-C_RQLq1Z.js new file mode 100644 index 0000000..ab6e869 --- /dev/null +++ b/API/Wood.Admin.WebApi/wwwroot/assets/404-C_RQLq1Z.js @@ -0,0 +1 @@ +import{_ as i,c as o,a as t,b as c,t as l,o as d}from"./index-Dk5CK9SF.js";const r="/assets/404-N4aRkdWY.png",a="/assets/404_cloud-CPexjtDj.png",n={name:"Page404",computed:{message(){return"The webmaster said that you can not enter this page..."}}},_={class:"wscn-http404-container"},p={class:"wscn-http404"},h={class:"bullshit"},m={class:"bullshit__headline"};function u(v,s,g,b,f,e){return d(),o("div",_,[t("div",p,[s[4]||(s[4]=c('
(x(),P(Je,null,[Q(tV,{move:o.value,ratio:u.value,size:i.value,always:f.always},null,8,["move","ratio","size","always"]),Q(tV,{move:a.value,ratio:l.value,size:s.value,vertical:"",always:f.always},null,8,["move","ratio","size","always"])],64))}});var Bxe=Ne(Mxe,[["__file","bar.vue"]]);const Rxe=Ie({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:ce([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...Bo(["ariaLabel","ariaOrientation"])}),Ixe={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(rt)},Nxe="ElScrollbar",Fxe=F({name:Nxe}),Lxe=F({...Fxe,props:Rxe,emits:Ixe,setup(e,{expose:t,emit:n}){const r=e,o=De("scrollbar");let a,i,s=0,l=0;const u=H(),c=H(),d=H(),f=H(),p=O(()=>{const C={};return r.height&&(C.height=sr(r.height)),r.maxHeight&&(C.maxHeight=sr(r.maxHeight)),[r.wrapStyle,C]}),g=O(()=>[r.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!r.native}]),v=O(()=>[o.e("view"),r.viewClass]),m=()=>{var C;c.value&&((C=f.value)==null||C.handleScroll(c.value),s=c.value.scrollTop,l=c.value.scrollLeft,n("scroll",{scrollTop:c.value.scrollTop,scrollLeft:c.value.scrollLeft}))};function y(C,S){Et(C)?c.value.scrollTo(C):rt(C)&&rt(S)&&c.value.scrollTo(C,S)}const b=C=>{rt(C)&&(c.value.scrollTop=C)},w=C=>{rt(C)&&(c.value.scrollLeft=C)},_=()=>{var C;(C=f.value)==null||C.update()};return Ae(()=>r.noresize,C=>{C?(a==null||a(),i==null||i()):({stop:a}=Qn(d,_),i=cn("resize",_))},{immediate:!0}),Ae(()=>[r.maxHeight,r.height],()=>{r.native||tt(()=>{var C;_(),c.value&&((C=f.value)==null||C.handleScroll(c.value))})}),It(_M,Gt({scrollbarElement:u,wrapElement:c})),NP(()=>{c.value&&(c.value.scrollTop=s,c.value.scrollLeft=l)}),St(()=>{r.native||tt(()=>{_()})}),Zi(()=>_()),t({wrapRef:c,update:_,scrollTo:y,setScrollTop:b,setScrollLeft:w,handleScroll:m}),(C,S)=>(x(),P("div",{ref_key:"scrollbarRef",ref:u,class:I(h(o).b())},[T("div",{ref_key:"wrapRef",ref:c,class:I(h(g)),style:Qe(h(p)),tabindex:C.tabindex,onScroll:m},[(x(),ge(At(C.tag),{id:C.id,ref_key:"resizeRef",ref:d,class:I(h(v)),style:Qe(C.viewStyle),role:C.role,"aria-label":C.ariaLabel,"aria-orientation":C.ariaOrientation},{default:ae(()=>[de(C.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),C.native?pe("v-if",!0):(x(),ge(Bxe,{key:0,ref_key:"barRef",ref:f,always:C.always,"min-size":C.minSize},null,8,["always","min-size"]))],2))}});var $xe=Ne(Lxe,[["__file","scrollbar.vue"]]);const Ml=yt($xe),wM=Symbol("popper"),Mne=Symbol("popperContent"),Vxe=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Bne=Ie({role:{type:String,values:Vxe,default:"tooltip"}}),zxe=F({name:"ElPopper",inheritAttrs:!1}),jxe=F({...zxe,props:Bne,setup(e,{expose:t}){const n=e,r=H(),o=H(),a=H(),i=H(),s=O(()=>n.role),l={triggerRef:r,popperInstanceRef:o,contentRef:a,referenceRef:i,role:s};return t(l),It(wM,l),(u,c)=>de(u.$slots,"default")}});var Hxe=Ne(jxe,[["__file","popper.vue"]]);const Rne=Ie({arrowOffset:{type:Number,default:5}}),Uxe=F({name:"ElPopperArrow",inheritAttrs:!1}),Wxe=F({...Uxe,props:Rne,setup(e,{expose:t}){const n=e,r=De("popper"),{arrowOffset:o,arrowRef:a,arrowStyle:i}=qe(Mne,void 0);return Ae(()=>n.arrowOffset,s=>{o.value=s}),xn(()=>{a.value=void 0}),t({arrowRef:a}),(s,l)=>(x(),P("span",{ref_key:"arrowRef",ref:a,class:I(h(r).e("arrow")),style:Qe(h(i)),"data-popper-arrow":""},null,6))}});var Kxe=Ne(Wxe,[["__file","arrow.vue"]]);const Ine=Ie({virtualRef:{type:ce(Object)},virtualTriggering:Boolean,onMouseenter:{type:ce(Function)},onMouseleave:{type:ce(Function)},onClick:{type:ce(Function)},onKeydown:{type:ce(Function)},onFocus:{type:ce(Function)},onBlur:{type:ce(Function)},onContextmenu:{type:ce(Function)},id:String,open:Boolean}),Nne=Symbol("elForwardRef"),qxe=e=>{It(Nne,{setForwardRef:n=>{e.value=n}})},Gxe=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Yxe='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Xxe=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,nV=e=>Array.from(e.querySelectorAll(Yxe)).filter(t=>N3(t)&&Xxe(t)),N3=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},y6=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const o=document.createEvent(r);return o.initEvent(t,...n),e.dispatchEvent(o),e},Fne=e=>!e.getAttribute("aria-owns"),Lne=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const o=r.querySelectorAll(n),a=Array.prototype.indexOf.call(o,e);return o[a+t]||null},b6=e=>{e&&(e.focus(),!Fne(e)&&e.click())},Jxe="ElOnlyChild",$ne=F({name:Jxe,setup(e,{slots:t,attrs:n}){var r;const o=qe(Nne),a=Gxe((r=o==null?void 0:o.setForwardRef)!=null?r:hn);return()=>{var i;const s=(i=t.default)==null?void 0:i.call(t,n);if(!s||s.length>1)return null;const l=Vne(s);return l?wt(yl(l,n),[[a]]):null}}});function Vne(e){if(!e)return null;const t=e;for(const n of t){if(Et(n))switch(n.type){case eo:continue;case gv:case"svg":return rV(n);case Je:return Vne(n.children);default:return n}return rV(n)}return null}function rV(e){const t=De("only-child");return Q("span",{class:t.e("content")},[e])}const Zxe=F({name:"ElPopperTrigger",inheritAttrs:!1}),Qxe=F({...Zxe,props:Ine,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=qe(wM,void 0);qxe(o);const a=O(()=>s.value?n.id:void 0),i=O(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=O(()=>{if(r&&r.value!=="tooltip")return r.value}),l=O(()=>s.value?`${n.open}`:void 0);let u;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return St(()=>{Ae(()=>n.virtualRef,d=>{d&&(o.value=ya(d))},{immediate:!0}),Ae(o,(d,f)=>{u==null||u(),u=void 0,ba(d)&&(c.forEach(p=>{var g;const v=n[p];v&&(d.addEventListener(p.slice(2).toLowerCase(),v),(g=f==null?void 0:f.removeEventListener)==null||g.call(f,p.slice(2).toLowerCase(),v))}),N3(d)&&(u=Ae([a,i,s,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((g,v)=>{to(p[v])?d.removeAttribute(g):d.setAttribute(g,p[v])})},{immediate:!0}))),ba(f)&&N3(f)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>f.removeAttribute(p))},{immediate:!0})}),xn(()=>{if(u==null||u(),u=void 0,o.value&&ba(o.value)){const d=o.value;c.forEach(f=>{const p=n[f];p&&d.removeEventListener(f.slice(2).toLowerCase(),p)}),o.value=void 0}}),t({triggerRef:o}),(d,f)=>d.virtualTriggering?pe("v-if",!0):(x(),ge(h($ne),Pt({key:0},d.$attrs,{"aria-controls":h(a),"aria-describedby":h(i),"aria-expanded":h(l),"aria-haspopup":h(s)}),{default:ae(()=>[de(d.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var eke=Ne(Qxe,[["__file","trigger.vue"]]);const V9="focus-trap.focus-after-trapped",z9="focus-trap.focus-after-released",tke="focus-trap.focusout-prevented",oV={cancelable:!0,bubbles:!1},nke={cancelable:!0,bubbles:!1},aV="focusAfterTrapped",iV="focusAfterReleased",CM=Symbol("elFocusTrap"),SM=H(),Hw=H(0),EM=H(0);let W4=0;const zne=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},sV=(e,t)=>{for(const n of e)if(!rke(n,t))return n},rke=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},oke=e=>{const t=zne(e),n=sV(t,e),r=sV(t.reverse(),e);return[n,r]},ake=e=>e instanceof HTMLInputElement&&"select"in e,Xl=(e,t)=>{if(e&&e.focus){const n=document.activeElement;let r=!1;ba(e)&&!N3(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),r=!0),e.focus({preventScroll:!0}),EM.value=window.performance.now(),e!==n&&ake(e)&&t&&e.select(),ba(e)&&r&&e.removeAttribute("tabindex")}};function lV(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const ike=()=>{let e=[];return{push:r=>{const o=e[0];o&&r!==o&&o.pause(),e=lV(e,r),e.unshift(r)},remove:r=>{var o,a;e=lV(e,r),(a=(o=e[0])==null?void 0:o.resume)==null||a.call(o)}}},ske=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Xl(r,t),document.activeElement!==n)return},uV=ike(),lke=()=>Hw.value>EM.value,K4=()=>{SM.value="pointer",Hw.value=window.performance.now()},cV=()=>{SM.value="keyboard",Hw.value=window.performance.now()},uke=()=>(St(()=>{W4===0&&(document.addEventListener("mousedown",K4),document.addEventListener("touchstart",K4),document.addEventListener("keydown",cV)),W4++}),xn(()=>{W4--,W4<=0&&(document.removeEventListener("mousedown",K4),document.removeEventListener("touchstart",K4),document.removeEventListener("keydown",cV))}),{focusReason:SM,lastUserFocusTimestamp:Hw,lastAutomatedFocusTimestamp:EM}),q4=e=>new CustomEvent(tke,{...nke,detail:e}),Ke={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"};let Fh=[];const dV=e=>{e.code===Ke.esc&&Fh.forEach(t=>t(e))},cke=e=>{St(()=>{Fh.length===0&&document.addEventListener("keydown",dV),Vt&&Fh.push(e)}),xn(()=>{Fh=Fh.filter(t=>t!==e),Fh.length===0&&Vt&&document.removeEventListener("keydown",dV)})},dke=F({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[aV,iV,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=H();let r,o;const{focusReason:a}=uke();cke(g=>{e.trapped&&!i.paused&&t("release-requested",g)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=g=>{if(!e.loop&&!e.trapped||i.paused)return;const{code:v,altKey:m,ctrlKey:y,metaKey:b,currentTarget:w,shiftKey:_}=g,{loop:C}=e,S=v===Ke.tab&&!m&&!y&&!b,E=document.activeElement;if(S&&E){const k=w,[A,D]=oke(k);if(A&&D){if(!_&&E===D){const M=q4({focusReason:a.value});t("focusout-prevented",M),M.defaultPrevented||(g.preventDefault(),C&&Xl(A,!0))}else if(_&&[A,k].includes(E)){const M=q4({focusReason:a.value});t("focusout-prevented",M),M.defaultPrevented||(g.preventDefault(),C&&Xl(D,!0))}}else if(E===k){const M=q4({focusReason:a.value});t("focusout-prevented",M),M.defaultPrevented||g.preventDefault()}}};It(CM,{focusTrapRef:n,onKeydown:s}),Ae(()=>e.focusTrapEl,g=>{g&&(n.value=g)},{immediate:!0}),Ae([n],([g],[v])=>{g&&(g.addEventListener("keydown",s),g.addEventListener("focusin",c),g.addEventListener("focusout",d)),v&&(v.removeEventListener("keydown",s),v.removeEventListener("focusin",c),v.removeEventListener("focusout",d))});const l=g=>{t(aV,g)},u=g=>t(iV,g),c=g=>{const v=h(n);if(!v)return;const m=g.target,y=g.relatedTarget,b=m&&v.contains(m);e.trapped||y&&v.contains(y)||(r=y),b&&t("focusin",g),!i.paused&&e.trapped&&(b?o=m:Xl(o,!0))},d=g=>{const v=h(n);if(!(i.paused||!v))if(e.trapped){const m=g.relatedTarget;!to(m)&&!v.contains(m)&&setTimeout(()=>{if(!i.paused&&e.trapped){const y=q4({focusReason:a.value});t("focusout-prevented",y),y.defaultPrevented||Xl(o,!0)}},0)}else{const m=g.target;m&&v.contains(m)||t("focusout",g)}};async function f(){await tt();const g=h(n);if(g){uV.push(i);const v=g.contains(document.activeElement)?r:document.activeElement;if(r=v,!g.contains(v)){const y=new Event(V9,oV);g.addEventListener(V9,l),g.dispatchEvent(y),y.defaultPrevented||tt(()=>{let b=e.focusStartEl;Ze(b)||(Xl(b),document.activeElement!==b&&(b="first")),b==="first"&&ske(zne(g),!0),(document.activeElement===v||b==="container")&&Xl(g)})}}}function p(){const g=h(n);if(g){g.removeEventListener(V9,l);const v=new CustomEvent(z9,{...oV,detail:{focusReason:a.value}});g.addEventListener(z9,u),g.dispatchEvent(v),!v.defaultPrevented&&(a.value=="keyboard"||!lke()||g.contains(document.activeElement))&&Xl(r??document.body),g.removeEventListener(z9,u),uV.remove(i)}}return St(()=>{e.trapped&&f(),Ae(()=>e.trapped,g=>{g?f():p()})}),xn(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",s),n.value.removeEventListener("focusin",c),n.value.removeEventListener("focusout",d),n.value=void 0)}),{onKeydown:s}}});function fke(e,t,n,r,o,a){return de(e.$slots,"default",{handleKeydown:e.onKeydown})}var xv=Ne(dke,[["render",fke],["__file","focus-trap.vue"]]),Fa="top",Ui="bottom",Wi="right",La="left",xM="auto",Oy=[Fa,Ui,Wi,La],B0="start",em="end",pke="clippingParents",jne="viewport",ig="popper",hke="reference",fV=Oy.reduce(function(e,t){return e.concat([t+"-"+B0,t+"-"+em])},[]),Du=[].concat(Oy,[xM]).reduce(function(e,t){return e.concat([t,t+"-"+B0,t+"-"+em])},[]),vke="beforeRead",gke="read",mke="afterRead",yke="beforeMain",bke="main",_ke="afterMain",wke="beforeWrite",Cke="write",Ske="afterWrite",Eke=[vke,gke,mke,yke,bke,_ke,wke,Cke,Ske];function wl(e){return e?(e.nodeName||"").toLowerCase():null}function Vs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function R0(e){var t=Vs(e).Element;return e instanceof t||e instanceof Element}function Ni(e){var t=Vs(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function kM(e){if(typeof ShadowRoot>"u")return!1;var t=Vs(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xke(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!Ni(a)||!wl(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(i){var s=o[i];s===!1?a.removeAttribute(i):a.setAttribute(i,s===!0?"":s)}))})}function kke(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],a=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=i.reduce(function(l,u){return l[u]="",l},{});!Ni(o)||!wl(o)||(Object.assign(o.style,s),Object.keys(a).forEach(function(l){o.removeAttribute(l)}))})}}var Hne={name:"applyStyles",enabled:!0,phase:"write",fn:xke,effect:kke,requires:["computeStyles"]};function pl(e){return e.split("-")[0]}var Mf=Math.max,F3=Math.min,I0=Math.round;function N0(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Ni(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=I0(n.width)/i||1),a>0&&(o=I0(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function AM(e){var t=N0(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Une(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&kM(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function yu(e){return Vs(e).getComputedStyle(e)}function Ake(e){return["table","td","th"].indexOf(wl(e))>=0}function Ad(e){return((R0(e)?e.ownerDocument:e.document)||window.document).documentElement}function Uw(e){return wl(e)==="html"?e:e.assignedSlot||e.parentNode||(kM(e)?e.host:null)||Ad(e)}function pV(e){return!Ni(e)||yu(e).position==="fixed"?null:e.offsetParent}function Oke(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Ni(e)){var r=yu(e);if(r.position==="fixed")return null}var o=Uw(e);for(kM(o)&&(o=o.host);Ni(o)&&["html","body"].indexOf(wl(o))<0;){var a=yu(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Ty(e){for(var t=Vs(e),n=pV(e);n&&Ake(n)&&yu(n).position==="static";)n=pV(n);return n&&(wl(n)==="html"||wl(n)==="body"&&yu(n).position==="static")?t:n||Oke(e)||t}function OM(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function a1(e,t,n){return Mf(e,F3(t,n))}function Tke(e,t,n){var r=a1(e,t,n);return r>n?n:r}function Wne(){return{top:0,right:0,bottom:0,left:0}}function Kne(e){return Object.assign({},Wne(),e)}function qne(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Dke=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Kne(typeof e!="number"?e:qne(e,Oy))};function Pke(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=pl(n.placement),l=OM(s),u=[La,Wi].indexOf(s)>=0,c=u?"height":"width";if(!(!a||!i)){var d=Dke(o.padding,n),f=AM(a),p=l==="y"?Fa:La,g=l==="y"?Ui:Wi,v=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],y=Ty(a),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,w=v/2-m/2,_=d[p],C=b-f[c]-d[g],S=b/2-f[c]/2+w,E=a1(_,S,C),k=l;n.modifiersData[r]=(t={},t[k]=E,t.centerOffset=E-S,t)}}function Mke(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!Une(t.elements.popper,o)||(t.elements.arrow=o))}var Bke={name:"arrow",enabled:!0,phase:"main",fn:Pke,effect:Mke,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function F0(e){return e.split("-")[1]}var Rke={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ike(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:I0(t*o)/o||0,y:I0(n*o)/o||0}}function hV(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=i.x,p=f===void 0?0:f,g=i.y,v=g===void 0?0:g,m=typeof c=="function"?c({x:p,y:v}):{x:p,y:v};p=m.x,v=m.y;var y=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),w=La,_=Fa,C=window;if(u){var S=Ty(n),E="clientHeight",k="clientWidth";if(S===Vs(n)&&(S=Ad(n),yu(S).position!=="static"&&s==="absolute"&&(E="scrollHeight",k="scrollWidth")),S=S,o===Fa||(o===La||o===Wi)&&a===em){_=Ui;var A=d&&S===C&&C.visualViewport?C.visualViewport.height:S[E];v-=A-r.height,v*=l?1:-1}if(o===La||(o===Fa||o===Ui)&&a===em){w=Wi;var D=d&&S===C&&C.visualViewport?C.visualViewport.width:S[k];p-=D-r.width,p*=l?1:-1}}var B=Object.assign({position:s},u&&Rke),M=c===!0?Ike({x:p,y:v}):{x:p,y:v};if(p=M.x,v=M.y,l){var K;return Object.assign({},B,(K={},K[_]=b?"0":"",K[w]=y?"0":"",K.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+v+"px)":"translate3d("+p+"px, "+v+"px, 0)",K))}return Object.assign({},B,(t={},t[_]=b?v+"px":"",t[w]=y?p+"px":"",t.transform="",t))}function Nke(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,i=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:pl(t.placement),variation:F0(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,hV(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,hV(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Gne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nke,data:{}},G4={passive:!0};function Fke(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,i=r.resize,s=i===void 0?!0:i,l=Vs(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(c){c.addEventListener("scroll",n.update,G4)}),s&&l.addEventListener("resize",n.update,G4),function(){a&&u.forEach(function(c){c.removeEventListener("scroll",n.update,G4)}),s&&l.removeEventListener("resize",n.update,G4)}}var Yne={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Fke,data:{}},Lke={left:"right",right:"left",bottom:"top",top:"bottom"};function _6(e){return e.replace(/left|right|bottom|top/g,function(t){return Lke[t]})}var $ke={start:"end",end:"start"};function vV(e){return e.replace(/start|end/g,function(t){return $ke[t]})}function TM(e){var t=Vs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function DM(e){return N0(Ad(e)).left+TM(e).scrollLeft}function Vke(e){var t=Vs(e),n=Ad(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,s=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:o,height:a,x:i+DM(e),y:s}}function zke(e){var t,n=Ad(e),r=TM(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Mf(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Mf(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+DM(e),l=-r.scrollTop;return yu(o||n).direction==="rtl"&&(s+=Mf(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}function PM(e){var t=yu(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Xne(e){return["html","body","#document"].indexOf(wl(e))>=0?e.ownerDocument.body:Ni(e)&&PM(e)?e:Xne(Uw(e))}function i1(e,t){var n;t===void 0&&(t=[]);var r=Xne(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=Vs(r),i=o?[a].concat(a.visualViewport||[],PM(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(i1(Uw(i)))}function Ek(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function jke(e){var t=N0(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function gV(e,t){return t===jne?Ek(Vke(e)):R0(t)?jke(t):Ek(zke(Ad(e)))}function Hke(e){var t=i1(Uw(e)),n=["absolute","fixed"].indexOf(yu(e).position)>=0,r=n&&Ni(e)?Ty(e):e;return R0(r)?t.filter(function(o){return R0(o)&&Une(o,r)&&wl(o)!=="body"}):[]}function Uke(e,t,n){var r=t==="clippingParents"?Hke(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce(function(s,l){var u=gV(e,l);return s.top=Mf(u.top,s.top),s.right=F3(u.right,s.right),s.bottom=F3(u.bottom,s.bottom),s.left=Mf(u.left,s.left),s},gV(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Jne(e){var t=e.reference,n=e.element,r=e.placement,o=r?pl(r):null,a=r?F0(r):null,i=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case Fa:l={x:i,y:t.y-n.height};break;case Ui:l={x:i,y:t.y+t.height};break;case Wi:l={x:t.x+t.width,y:s};break;case La:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=o?OM(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(a){case B0:l[u]=l[u]-(t[c]/2-n[c]/2);break;case em:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function tm(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.boundary,i=a===void 0?pke:a,s=n.rootBoundary,l=s===void 0?jne:s,u=n.elementContext,c=u===void 0?ig:u,d=n.altBoundary,f=d===void 0?!1:d,p=n.padding,g=p===void 0?0:p,v=Kne(typeof g!="number"?g:qne(g,Oy)),m=c===ig?hke:ig,y=e.rects.popper,b=e.elements[f?m:c],w=Uke(R0(b)?b:b.contextElement||Ad(e.elements.popper),i,l),_=N0(e.elements.reference),C=Jne({reference:_,element:y,strategy:"absolute",placement:o}),S=Ek(Object.assign({},y,C)),E=c===ig?S:_,k={top:w.top-E.top+v.top,bottom:E.bottom-w.bottom+v.bottom,left:w.left-E.left+v.left,right:E.right-w.right+v.right},A=e.modifiersData.offset;if(c===ig&&A){var D=A[o];Object.keys(k).forEach(function(B){var M=[Wi,Ui].indexOf(B)>=0?1:-1,K=[Fa,Ui].indexOf(B)>=0?"y":"x";k[B]+=D[K]*M})}return k}function Wke(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Du:l,c=F0(r),d=c?s?fV:fV.filter(function(g){return F0(g)===c}):Oy,f=d.filter(function(g){return u.indexOf(g)>=0});f.length===0&&(f=d);var p=f.reduce(function(g,v){return g[v]=tm(e,{placement:v,boundary:o,rootBoundary:a,padding:i})[pl(v)],g},{});return Object.keys(p).sort(function(g,v){return p[g]-p[v]})}function Kke(e){if(pl(e)===xM)return[];var t=_6(e);return[vV(e),t,vV(t)]}function qke(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,s=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,v=n.allowedAutoPlacements,m=t.options.placement,y=pl(m),b=y===m,w=l||(b||!g?[_6(m)]:Kke(m)),_=[m].concat(w).reduce(function(G,Z){return G.concat(pl(Z)===xM?Wke(t,{placement:Z,boundary:c,rootBoundary:d,padding:u,flipVariations:g,allowedAutoPlacements:v}):Z)},[]),C=t.rects.reference,S=t.rects.popper,E=new Map,k=!0,A=_[0],D=0;D<_.length;D++){var B=_[D],M=pl(B),K=F0(B)===B0,X=[Fa,Ui].indexOf(M)>=0,z=X?"width":"height",R=tm(t,{placement:B,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),j=X?K?Wi:La:K?Ui:Fa;C[z]>S[z]&&(j=_6(j));var L=_6(j),N=[];if(a&&N.push(R[M]<=0),s&&N.push(R[j]<=0,R[L]<=0),N.every(function(G){return G})){A=B,k=!1;break}E.set(B,N)}if(k)for(var Y=g?3:1,$=function(G){var Z=_.find(function(ee){var q=E.get(ee);if(q)return q.slice(0,G).every(function(te){return te})});if(Z)return A=Z,"break"},V=Y;V>0;V--){var U=$(V);if(U==="break")break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}}var Gke={name:"flip",enabled:!0,phase:"main",fn:qke,requiresIfExists:["offset"],data:{_skip:!1}};function mV(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function yV(e){return[Fa,Wi,Ui,La].some(function(t){return e[t]>=0})}function Yke(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=tm(t,{elementContext:"reference"}),s=tm(t,{altBoundary:!0}),l=mV(i,r),u=mV(s,o,a),c=yV(l),d=yV(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}var Xke={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Yke};function Jke(e,t,n){var r=pl(e),o=[La,Fa].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[La,Wi].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function Zke(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,i=Du.reduce(function(c,d){return c[d]=Jke(d,t.rects,a),c},{}),s=i[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}var Qke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Zke};function eAe(e){var t=e.state,n=e.name;t.modifiersData[n]=Jne({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Zne={name:"popperOffsets",enabled:!0,phase:"read",fn:eAe,data:{}};function tAe(e){return e==="x"?"y":"x"}function nAe(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,s=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,g=n.tetherOffset,v=g===void 0?0:g,m=tm(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),y=pl(t.placement),b=F0(t.placement),w=!b,_=OM(y),C=tAe(_),S=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,A=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,D=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(S){if(a){var K,X=_==="y"?Fa:La,z=_==="y"?Ui:Wi,R=_==="y"?"height":"width",j=S[_],L=j+m[X],N=j-m[z],Y=p?-k[R]/2:0,$=b===B0?E[R]:k[R],V=b===B0?-k[R]:-E[R],U=t.elements.arrow,G=p&&U?AM(U):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Wne(),ee=Z[X],q=Z[z],te=a1(0,E[R],G[R]),oe=w?E[R]/2-Y-te-ee-D.mainAxis:$-te-ee-D.mainAxis,fe=w?-E[R]/2+Y+te+q+D.mainAxis:V+te+q+D.mainAxis,le=t.elements.arrow&&Ty(t.elements.arrow),W=le?_==="y"?le.clientTop||0:le.clientLeft||0:0,J=(K=B==null?void 0:B[_])!=null?K:0,re=j+oe-J-W,ve=j+fe-J,xe=a1(p?F3(L,re):L,j,p?Mf(N,ve):N);S[_]=xe,M[_]=xe-j}if(s){var he,Ce=_==="x"?Fa:La,ye=_==="x"?Ui:Wi,Te=S[C],Ee=C==="y"?"height":"width",Ue=Te+m[Ce],Le=Te-m[ye],Oe=[Fa,La].indexOf(y)!==-1,Ve=(he=B==null?void 0:B[C])!=null?he:0,ot=Oe?Ue:Te-E[Ee]-k[Ee]-Ve+D.altAxis,gt=Oe?Te+E[Ee]+k[Ee]-Ve-D.altAxis:Le,dt=p&&Oe?Tke(ot,Te,gt):a1(p?ot:Ue,Te,p?gt:Le);S[C]=dt,M[C]=dt-Te}t.modifiersData[r]=M}}var rAe={name:"preventOverflow",enabled:!0,phase:"main",fn:nAe,requiresIfExists:["offset"]};function oAe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function aAe(e){return e===Vs(e)||!Ni(e)?TM(e):oAe(e)}function iAe(e){var t=e.getBoundingClientRect(),n=I0(t.width)/e.offsetWidth||1,r=I0(t.height)/e.offsetHeight||1;return n!==1||r!==1}function sAe(e,t,n){n===void 0&&(n=!1);var r=Ni(t),o=Ni(t)&&iAe(t),a=Ad(t),i=N0(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((wl(t)!=="body"||PM(a))&&(s=aAe(t)),Ni(t)?(l=N0(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=DM(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function lAe(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);i.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function uAe(e){var t=lAe(e);return Eke.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function cAe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function dAe(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var bV={placement:"bottom",modifiers:[],strategy:"absolute"};function _V(){for(var e=arguments.length,t=new Array(e),n=0;n {l(),F2(this)},{checked:t!==!1});return}else l()}const a=this.parent;!a||a.level===0||r||F2(a)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const r=this.store.props;let o="children";return r&&(o=r.children||"children"),n[o]===void 0&&(n[o]=null),t&&!n[o]&&(n[o]=[]),n[o]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(a=>a.data),r={},o=[];t.forEach((a,i)=>{const s=a[f0];!!s&&n.findIndex(u=>u[f0]===s)>=0?r[s]={index:i,data:a}:o.push({index:i,data:a})}),this.store.lazy||n.forEach(a=>{r[a[f0]]||this.removeChildByData(a)}),o.forEach(({index:a,data:i})=>{this.insertChild({data:i},a)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const r=a=>{this.childNodes=[],this.doCreateChildren(a,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,a)},o=()=>{this.loading=!1};this.store.load(this,r,o)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const r=n.shift();n.unshift(...r.childNodes),t(r)}}reInitChecked(){this.store.checkStrictly||F2(this)}};class MUe{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const n in t)Yt(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new yA({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,r=this.lazy,o=function(a){const i=a.root?a.root.childNodes:a.childNodes;if(i.forEach(s=>{s.visible=n.call(s,t,s.data,s),o(s)}),!a.visible&&i.length){let s=!0;s=!i.some(l=>l.visible),a.root?a.root.visible=s===!1:a.visible=s===!1}t&&a.visible&&!a.isLeaf&&(!r||a.loaded)&&a.expand()};o(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof yA)return t;const n=Et(t)?xB(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){const r=this.getNode(n);r.parent.insertBefore({data:t},r)}insertAfter(t,n){const r=this.getNode(n);r.parent.insertAfter({data:t},r)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const r=Cs(n)?this.root:this.getNode(n);r&&r.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(r=>{const o=n[r];o&&o.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){(this.defaultCheckedKeys||[]).includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;!t||!t.data||(n?t.key!==void 0&&(this.nodesMap[t.key]=t):this.nodesMap[t.id]=t)}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(r=>{this.deregisterNode(r)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const r=[],o=function(a){(a.root?a.root.childNodes:a.childNodes).forEach(s=>{(s.checked||n&&s.indeterminate)&&(!t||t&&s.isLeaf)&&r.push(s.data),o(s)})};return o(this),r}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(r){(r.root?r.root.childNodes:r.childNodes).forEach(a=>{a.indeterminate&&t.push(a.data),n(a)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const r in n)Yt(n,r)&&t.push(n[r]);return t}updateChildren(t,n){const r=this.nodesMap[t];if(!r)return;const o=r.childNodes;for(let a=o.length-1;a>=0;a--){const i=o[a];this.remove(i.data)}for(let a=0,i=n.length;al.level-u.level),a=Object.create(null),i=Object.keys(r);o.forEach(l=>l.setChecked(!1,!1));const s=l=>{l.childNodes.forEach(u=>{var c;a[u.data[t]]=!0,(c=u.childNodes)!=null&&c.length&&s(u)})};for(let l=0,u=o.length;l{m.isLeaf||m.setChecked(!1,!1),p(m)})};p(c)}}}setCheckedNodes(t,n=!1){const r=this.key,o={};t.forEach(a=>{o[(a||{})[r]]=!0}),this._setCheckedKeys(r,n,o)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const r=this.key,o={};t.forEach(a=>{o[a]=!0}),this._setCheckedKeys(r,n,o)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const r=this.getNode(n);r&&r.expand(null,this.autoExpandParent)})}setChecked(t,n,r){const o=this.getNode(t);o&&o.setChecked(!!n,r)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){const r=t[this.key],o=this.nodesMap[r];this.setCurrentNode(o),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(t,n=!0){if(this.currentNodeKey=t,t==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const r=this.getNode(t);r&&(this.setCurrentNode(r),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const BUe=F({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=De("tree"),n=qe("NodeInstance"),r=qe("RootTree");return()=>{const o=e.node,{data:a,store:i}=o;return e.renderContent?e.renderContent(nt,{_self:n,node:o,data:a,store:i}):de(r.ctx.slots,"default",{node:o,data:a},()=>[nt("span",{class:t.be("node","label")},[o.label])])}}});var RUe=Ne(BUe,[["__file","tree-node-content.vue"]]);function Zae(e){const t=qe("TreeNodeMap",null),n={treeNodeExpand:r=>{e.node!==r&&e.node.collapse()},children:[]};return t&&t.children.push(n),It("TreeNodeMap",n),{broadcastExpanded:r=>{if(e.accordion)for(const o of n.children)o.treeNodeExpand(r)}}}const Qae=Symbol("dragEvents");function IUe({props:e,ctx:t,el$:n,dropIndicator$:r,store:o}){const a=De("tree"),i=H({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return It(Qae,{treeNodeDragStart:({event:c,treeNode:d})=>{if(et(e.allowDrag)&&!e.allowDrag(d.node))return c.preventDefault(),!1;c.dataTransfer.effectAllowed="move";try{c.dataTransfer.setData("text/plain","")}catch{}i.value.draggingNode=d,t.emit("node-drag-start",d.node,c)},treeNodeDragOver:({event:c,treeNode:d})=>{const f=d,p=i.value.dropNode;p&&p.node.id!==f.node.id&&na(p.$el,a.is("drop-inner"));const g=i.value.draggingNode;if(!g||!f)return;let v=!0,m=!0,y=!0,b=!0;et(e.allowDrop)&&(v=e.allowDrop(g.node,f.node,"prev"),b=m=e.allowDrop(g.node,f.node,"inner"),y=e.allowDrop(g.node,f.node,"next")),c.dataTransfer.dropEffect=m||v||y?"move":"none",(v||m||y)&&(p==null?void 0:p.node.id)!==f.node.id&&(p&&t.emit("node-drag-leave",g.node,p.node,c),t.emit("node-drag-enter",g.node,f.node,c)),v||m||y?i.value.dropNode=f:i.value.dropNode=null,f.node.nextSibling===g.node&&(y=!1),f.node.previousSibling===g.node&&(v=!1),f.node.contains(g.node,!1)&&(m=!1),(g.node===f.node||g.node.contains(f.node))&&(v=!1,m=!1,y=!1);const w=f.$el.querySelector(`.${a.be("node","content")}`).getBoundingClientRect(),_=n.value.getBoundingClientRect();let C;const S=v?m?.25:y?.45:1:-1,E=y?m?.75:v?.55:0:1;let k=-9999;const A=c.clientY-w.top;A