1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="249ab493-68d9-4bbb-8730-6994bb1e7a5d",e._sentryDebugIdIdentifier="sentry-dbid-249ab493-68d9-4bbb-8730-6994bb1e7a5d")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5666],{74665:function(e,t,n){let r;n.d(t,{LB:function(){return eq},g4:function(){return v},Lg:function(){return ep},we:function(){return ew},LO:function(){return eC},pE:function(){return H},ey:function(){return Y},VK:function(){return V},_8:function(){return J},hI:function(){return $},Cj:function(){return e$},O1:function(){return eG},Zj:function(){return eQ},VT:function(){return j},Dy:function(){return A}});var l,i,o,a,u,s,c,d,f,h,g,p,v,b,m,y,w,x,D,E=n(23329),C=n(47446),R=n(95968);let S={display:"none"};function M(e){let{id:t,value:n}=e;return E.createElement("div",{id:t,style:S},n)}function L(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return E.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}let I=(0,E.createContext)(null),k={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},T={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function O(e){let{announcements:t=T,container:n,hiddenTextDescribedById:r,screenReaderInstructions:l=k}=e,{announce:i,announcement:o}=function(){let[e,t]=(0,E.useState)("");return{announce:(0,E.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),a=(0,R.Ld)("DndLiveRegion"),[u,s]=(0,E.useState)(!1);if((0,E.useEffect)(()=>{s(!0)},[]),!function(e){let t=(0,E.useContext)(I);(0,E.useEffect)(()=>{if(!t)throw Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}((0,E.useMemo)(()=>({onDragStart(e){let{active:n}=e;i(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&i(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;i(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;i(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;i(t.onDragCancel({active:n,over:r}))}}),[i,t])),!u)return null;let c=E.createElement(E.Fragment,null,E.createElement(M,{id:r,value:l.draggable}),E.createElement(L,{id:a,announcement:o}));return n?(0,C.createPortal)(c,n):c}function N(){}function j(e,t){return(0,E.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function A(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,E.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}(l=h||(h={})).DragStart="dragStart",l.DragMove="dragMove",l.DragEnd="dragEnd",l.DragCancel="dragCancel",l.DragOver="dragOver",l.RegisterDroppable="registerDroppable",l.SetDroppableDisabled="setDroppableDisabled",l.UnregisterDroppable="unregisterDroppable";let P=Object.freeze({x:0,y:0});function B(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function z(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function F(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function X(e){let{left:t,top:n,height:r,width:l}=e;return[{x:t,y:n},{x:t+l,y:n},{x:t,y:n+r},{x:t+l,y:n+r}]}function J(e,t){if(!e||0===e.length)return null;let[n]=e;return t?n[t]:n}function U(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let H=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,l=U(t,t.left,t.top),i=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=B(U(r),l);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(z)},Y=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,l=X(t),i=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=X(r),o=Number((l.reduce((e,t,r)=>e+B(n[r],t),0)/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:o}})}}return i.sort(z)},K=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,l=[];for(let e of r){let{id:r}=e,i=n.get(r);if(i){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),l=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height);if(r<l&&n<i){let o=t.width*t.height,a=e.width*e.height,u=(l-r)*(i-n);return Number((u/(o+a-u)).toFixed(4))}return 0}(i,t);n>0&&l.push({id:r,data:{droppableContainer:e,value:n}})}}return l.sort(F)};function _(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:P}let q=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>
1({...e,top:e.top+1*t.y,bottom:e.bottom+1*t.y,left:e.left+1*t.x,right:e.right+1*t.x}),{...e})},W={ignoreTransform:!1};function V(e,t){void 0===t&&(t=W);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,R.Jj)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;let{scaleX:l,scaleY:i,x:o,y:a}=r,u=e.left-o-(1-l)*parseFloat(n),s=e.top-a-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),c=l?e.width/l:e.width,d=i?e.height/i:e.height;return{width:c,height:d,top:s,right:u+c,bottom:s+d,left:u}}(n,t,r))}let{top:r,left:l,width:i,height:o,bottom:a,right:u}=n;return{top:r,left:l,width:i,height:o,bottom:a,right:u}}function G(e){return V(e,{ignoreTransform:!0})}function $(e,t){let n=[];return e?function r(l){var i;if(null!=t&&n.length>=t||!l)return n;if((0,R.qk)(l)&&null!=l.scrollingElement&&!n.includes(l.scrollingElement))return n.push(l.scrollingElement),n;if(!(0,R.Re)(l)||(0,R.vZ)(l)||n.includes(l))return n;let o=(0,R.Jj)(e).getComputedStyle(l);return(l!==e&&function(e,t){void 0===t&&(t=(0,R.Jj)(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let r=t[e];return"string"==typeof r&&n.test(r)})}(l,o)&&n.push(l),void 0===(i=o)&&(i=(0,R.Jj)(l).getComputedStyle(l)),"fixed"===i.position)?n:r(l.parentNode)}(e):n}function Z(e){let[t]=$(e,1);return null!=t?t:null}function Q(e){return R.Nq&&e?(0,R.FJ)(e)?e:(0,R.UG)(e)?(0,R.qk)(e)||e===(0,R.r3)(e).scrollingElement?window:(0,R.Re)(e)?e:null:null:null}function ee(e){return(0,R.FJ)(e)?e.scrollX:e.scrollLeft}function et(e){return(0,R.FJ)(e)?e.scrollY:e.scrollTop}function en(e){return{x:ee(e),y:et(e)}}function er(e){return!!R.Nq&&!!e&&e===document.scrollingElement}function el(e){let t={x:0,y:0},n=er(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},l=e.scrollTop<=t.y;return{isTop:l,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}(i=g||(g={}))[i.Forward=1]="Forward",i[i.Backward=-1]="Backward";let ei={x:.2,y:.2};function eo(e){return e.reduce((e,t)=>(0,R.IH)(e,en(t)),P)}let ea=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+ee(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+et(t),0)}]];class eu{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=$(t),r=eo(n);for(let[t,l,i]of(this.rect={...e},this.width=e.width,this.height=e.height,ea))for(let e of l)Object.defineProperty(this,e,{get:()=>{let l=i(n),o=r[t]-l;return this.rect[e]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class es{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function ec(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function ed(e){e.preventDefault()}function ef(e){e.stopPropagation()}(o=p||(p={})).Click="click",o.DragStart="dragstart",o.Keydown="keydown",o.ContextMenu="contextmenu",o.Resize="resize",o.SelectionChange="selectionchange",o.VisibilityChange="visibilitychange",(a=v||(v={})).Space="Space",a.Down="ArrowDown",a.Right="ArrowRight",a.Left="ArrowLeft",a.Up="ArrowUp",a.Esc="Escape",a.Enter="Enter",a.Tab="Tab";let eh={start:[v.Space,v.Enter],cancel:[v.Esc],end:[v.Space,v.Enter,v.Tab]},eg=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case v.Right:return{...n,x:n.x+25};case v.Left:return{...n,x:n.x-25};case v.Down:return{...n,y:n.y+25};case v.Up:return{...n,y:n.y-25}}};class ep{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new es((0,R.r3)(t)),this.windowListeners=new es((0,R.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(p.Resize,this.handleCancel),this.windowListeners.add(p.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(p.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=V),!e)return;let{top:n,left:r,bottom:l,right:i}=t(e);Z(e)&&(l<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(P)}handleKeyDown(e){if((0,R.vd)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:l=eh,coordinateGetter:i=eg,scrollBehavior:o="smooth"}=r,{code:a}=e;if(l.end.includes(a)){this.handleEnd(e);return}if(l.cancel.includes(a)){this.handleCancel(e);return}let{collisionRect:u}=n.current,s=u?{x:u.left,y:u.top}:P;this.referenceCoordinates||(this.referenceCoordinates=s);let c=i(e,{active:t,context:n.current,currentCoordinates:s});
1if(c){let t=(0,R.$X)(c,s),r={x:0,y:0},{scrollableAncestors:l}=n.current;for(let n of l){let l=e.code,{isTop:i,isRight:a,isLeft:u,isBottom:s,maxScroll:d,minScroll:f}=el(n),h=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:l}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:l,width:e.clientWidth,height:e.clientHeight}}(n),g={x:Math.min(l===v.Right?h.right-h.width/2:h.right,Math.max(l===v.Right?h.left:h.left+h.width/2,c.x)),y:Math.min(l===v.Down?h.bottom-h.height/2:h.bottom,Math.max(l===v.Down?h.top:h.top+h.height/2,c.y))},p=l===v.Right&&!a||l===v.Left&&!u,b=l===v.Down&&!s||l===v.Up&&!i;if(p&&g.x!==c.x){let e=n.scrollLeft+t.x,i=l===v.Right&&e<=d.x||l===v.Left&&e>=f.x;if(i&&!t.y){n.scrollTo({left:e,behavior:o});return}i?r.x=n.scrollLeft-e:r.x=l===v.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(b&&g.y!==c.y){let e=n.scrollTop+t.y,i=l===v.Down&&e<=d.y||l===v.Up&&e>=f.y;if(i&&!t.x){n.scrollTo({top:e,behavior:o});return}i?r.y=n.scrollTop-e:r.y=l===v.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,(0,R.IH)((0,R.$X)(c,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ev(e){return!!(e&&"distance"in e)}function eb(e){return!!(e&&"delay"in e)}ep.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=eh,onActivation:l}=t,{active:i}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==l||l({event:e.nativeEvent}),!0)}return!1}}];class em{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,R.Jj)(e);return e instanceof t?e:(0,R.r3)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:l}=e,{target:i}=l;this.props=e,this.events=t,this.document=(0,R.r3)(i),this.documentListeners=new es(this.document),this.listeners=new es(n),this.windowListeners=new es((0,R.Jj)(i)),this.initialCoordinates=null!=(r=(0,R.DC)(l))?r:P,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(p.Resize,this.handleCancel),this.windowListeners.add(p.DragStart,ed),this.windowListeners.add(p.VisibilityChange,this.handleCancel),this.windowListeners.add(p.ContextMenu,ed),this.documentListeners.add(p.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(eb(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(ev(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(p.Click,ef,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(p.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:l}=this,{onMove:i,options:{activationConstraint:o}}=l;if(!r)return;let a=null!=(t=(0,R.DC)(e))?t:P,u=(0,R.$X)(r,a);if(!n&&o){if(ev(o)){if(null!=o.tolerance&&ec(u,o.tolerance))return this.handleCancel();if(ec(u,o.distance))return this.handleStart()}return eb(o)&&ec(u,o.tolerance)?this.handleCancel():void this.handlePending(o,u)}e.cancelable&&e.preventDefault(),i(a)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===v.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let ey={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ew extends em{constructor(e){let{event:t}=e;super(e,ey,(0,R.r3)(t.target))}}ew.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}];let ex={move:{name:"mousemove"},end:{name:"mouseup"}};(u=b||(b={}))[u.RightClick=2]="RightClick";class eD extends em{constructor(e){super(e,ex,(0,R.r3)(e.event.target))}}eD.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==b.RightClick&&(null==r||r({event:n}),!0)}}];let eE={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class eC extends em{constructor(e){super(e,eE)}static setup(){return window.addEventListener(eE.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(eE.move.name,e)};function e(){}}}eC.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:l}=n;return!(l.length>1)&&(null==r||r({event:n}),!0)}}],(s=m||(m={}))[s.Pointer=0]="Pointer",s[s.DraggableRect=1]="DraggableRect",(c=y||(y={}
1))[c.TreeOrder=0]="TreeOrder",c[c.ReversedTreeOrder=1]="ReversedTreeOrder";let eR={x:{[g.Backward]:!1,[g.Forward]:!1},y:{[g.Backward]:!1,[g.Forward]:!1}};(d=w||(w={}))[d.Always=0]="Always",d[d.BeforeDragging=1]="BeforeDragging",d[d.WhileDragging=2]="WhileDragging",(x||(x={})).Optimized="optimized";let eS=new Map;function eM(e,t){return(0,R.Gj)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function eL(e){let{callback:t,disabled:n}=e,r=(0,R.zX)(t),l=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,E.useEffect)(()=>()=>null==l?void 0:l.disconnect(),[l]),l}function eI(e){return new eu(V(e),e)}function ek(e,t,n){void 0===t&&(t=eI);let[r,l]=(0,E.useState)(null);function i(){l(r=>{if(!e)return null;if(!1===e.isConnected){var l;return null!=(l=null!=r?r:n)?l:null}let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=function(e){let{callback:t,disabled:n}=e,r=(0,R.zX)(t),l=(0,E.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,E.useEffect)(()=>()=>null==l?void 0:l.disconnect(),[l]),l}({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){i();break}}}}),a=eL({callback:i});return(0,R.LI)(()=>{i(),e?(null==a||a.observe(e),null==o||o.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==o||o.disconnect())},[e]),r}let eT=[];function eO(e,t){void 0===t&&(t=[]);let n=(0,E.useRef)(null);return(0,E.useEffect)(()=>{n.current=null},t),(0,E.useEffect)(()=>{let t=e!==P;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,R.$X)(e,n.current):P}function eN(e){return(0,E.useMemo)(()=>e?function(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}let ej=[],eA=[{sensor:ew,options:{}},{sensor:ep,options:{}}],eP={current:{}},eB={draggable:{measure:G},droppable:{measure:G,strategy:w.WhileDragging,frequency:x.Optimized},dragOverlay:{measure:V}};class ez extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eF={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ez,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:N},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eB,measureDroppableContainers:N,windowRect:null,measuringScheduled:!1},eX={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:N,draggableNodes:new Map,over:null,measureDroppableContainers:N},eJ=(0,E.createContext)(eX),eU=(0,E.createContext)(eF);function eH(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ez}}}function eY(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{let{element:n}=t,{id:r}=n,l=new ez(e.droppable.containers);return l.set(r,n),{...e,droppable:{...e.droppable,containers:l}}}case h.SetDroppableDisabled:{let{id:n,key:r,disabled:l}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let o=new ez(e.droppable.containers);return o.set(n,{...i,disabled:l}),{...e,droppable:{...e.droppable,containers:o}}}case h.UnregisterDroppable:{let{id:n,key:r}=t,l=e.droppable.containers.get(n);if(!l||r!==l.key)return e;
1let i=new ez(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function eK(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:l}=(0,E.useContext)(eJ),i=(0,R.D9)(r),o=(0,R.D9)(null==n?void 0:n.id);return(0,E.useEffect)(()=>{if(!t&&!r&&i&&null!=o){if(!(0,R.vd)(i)||document.activeElement===i.target)return;let e=l.get(o);if(!e)return;let{activatorNode:t,node:n}=e;(t.current||n.current)&&requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,R.so)(e);if(t){t.focus();break}}})}},[r,t,l,o,i]),null}let e_=(0,E.createContext)({...P,scaleX:1,scaleY:1});(f=D||(D={}))[f.Uninitialized=0]="Uninitialized",f[f.Initializing=1]="Initializing",f[f.Initialized=2]="Initialized";let eq=(0,E.memo)(function(e){var t,n,r,l,i,o;let{id:a,accessibility:u,autoScroll:s=!0,children:c,sensors:d=eA,collisionDetection:f=K,measuring:p,modifiers:v,...b}=e,[x,S]=(0,E.useReducer)(eY,void 0,eH),[M,L]=function(){let[e]=(0,E.useState)(()=>new Set),t=(0,E.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,E.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[k,T]=(0,E.useState)(D.Uninitialized),N=k===D.Initialized,{draggable:{active:j,nodes:A,translate:B},droppable:{containers:z}}=x,F=null!=j?A.get(j):null,X=(0,E.useRef)({initial:null,translated:null}),U=(0,E.useMemo)(()=>{var e;return null!=j?{id:j,data:null!=(e=null==F?void 0:F.data)?e:eP,rect:X}:null},[j,F]),H=(0,E.useRef)(null),[Y,W]=(0,E.useState)(null),[G,ee]=(0,E.useState)(null),et=(0,R.Ey)(b,Object.values(b)),ea=(0,R.Ld)("DndDescribedBy",a),es=(0,E.useMemo)(()=>z.getEnabled(),[z]),ec=(0,E.useMemo)(()=>({draggable:{...eB.draggable,...null==p?void 0:p.draggable},droppable:{...eB.droppable,...null==p?void 0:p.droppable},dragOverlay:{...eB.dragOverlay,...null==p?void 0:p.dragOverlay}}),[null==p?void 0:p.draggable,null==p?void 0:p.droppable,null==p?void 0:p.dragOverlay]),{droppableRects:ed,measureDroppableContainers:ef,measuringScheduled:eh}=function(e,t){let{dragging:n,dependencies:r,config:l}=t,[i,o]=(0,E.useState)(null),{frequency:a,measure:u,strategy:s}=l,c=(0,E.useRef)(e),d=function(){switch(s){case w.Always:return!1;case w.BeforeDragging:return n;default:return!n}}(),f=(0,R.Ey)(d),h=(0,E.useCallback)(function(e){void 0===e&&(e=[]),f.current||o(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),g=(0,E.useRef)(null),p=(0,R.Gj)(t=>{if(d&&!n)return eS;if(!t||t===eS||c.current!==e||null!=i){let t=new Map;for(let n of e){if(!n)continue;if(i&&i.length>0&&!i.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new eu(u(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,i,n,d,u]);return(0,E.useEffect)(()=>{c.current=e},[e]),(0,E.useEffect)(()=>{d||h()},[n,d]),(0,E.useEffect)(()=>{i&&i.length>0&&o(null)},[JSON.stringify(i)]),(0,E.useEffect)(()=>{d||"number"!=typeof a||null!==g.current||(g.current=setTimeout(()=>{h(),g.current=null},a))},[a,d,h,...r]),{droppableRects:p,measureDroppableContainers:h,measuringScheduled:null!=i}}(es,{dragging:N,dependencies:[B.x,B.y],config:ec.droppable}),eg=function(e,t){let n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return(0,R.Gj)(e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(A,j),ep=(0,E.useMemo)(()=>G?(0,R.DC)(G):null,[G]),ev=function(){let e=(null==Y?void 0:Y.autoScrollEnabled)===!1,t="object"==typeof s?!1===s.enabled:!1===s,n=N&&!e&&!t;return"object"==typeof s?{...s,enabled:n}:{enabled:n}}(),eb=eM(eg,ec.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:l=!0}=e,i=(0,E.useRef)(!1),{x:o,y:a}="boolean"==typeof l?{x:l,y:l}:l;(0,R.LI)(()=>{if(!o&&!a||!t){i.current=!1;return}if(i.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let l=_(n(e),r);if(o||(l.x=0),a||(l.y=0),i.current=!0,Math.abs(l.x)>0||Math.abs(l.y)>0){let t=Z(e);t&&t.scrollBy({top:l.y,left:l.x})}},[t,o,a,r,n])}({activeNode:null!=j?A.get(j):null,config:ev.layoutShiftCompensation,initialRect:eb,measure:ec.draggable.measure});let em=ek(eg,ec.draggable.measure,eb),ey=ek(eg?eg.parentElement:null),ew=(0,E.useRef)({activatorEvent:null,active:null,activeNode:eg,collisionRect:null,collisions:null,droppableRects:ed,draggableNodes:A,draggingNode:null,draggingNodeRect:null,droppableContainers:z,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ex=z.getNodeFor(null==(t=ew.current.over)?void 0:t.id),eD=function(e){let{measure:t}=e,[n,r]=(0,E.useState)(null),l=eL({callback:(0,E.useCallback)(e=>{for(let{target:n}of e)if((0,R.Re)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),i=(0,E.useCallback)(e=>{let n=function(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,R.Re)(t)?t:e}(e);null==l||l.disconnect(),n&&(null==l||l.observe(n)),r(n?t(n):null)},[t,l]),[o,a]=(0,R.wm)(i);return(0,E.useMemo)(()=>({nodeRef:o,rect:n,setRef:a}),[n,o,a])}({measure:ec.dragOverlay.measure}),eE=null!=(n=eD.nodeRef.current)?n:eg,eC=N?null!=(r=eD.rect)?r:em:null,eI=!!(eD.nodeRef.current&&eD.rect),ez=function(e){let t=eM(e);return _(e,t)}(eI?null:em),eF=eN(eE?(0,R.Jj)(eE):null),eX=function(e){let t=(0,E.useRef)(e),n=(0,R.Gj)(n=>e?n&&n!==eT&&e&&t.current&&e.parentNode===t.current.parentNode?n:$(e):eT,[e]);return(0,E.useEffect)(()=>{t.current=e},[e]),n}(N?null!=ex?ex:eg:null),eq=function(e,t){void 0===t&&(t=V);let[n]=e,r=eN(n?(0,R.Jj)(n):null),[l,i]=(0,E.useState)(ej);function o(){i(()=>e.length?e.map(e=>er(e)?r:new eu(t(e),e)):ej)}let a=eL({callback:o});return(0,R.LI)(()=>
1{null==a||a.disconnect(),o(),e.forEach(e=>null==a?void 0:a.observe(e))},[e]),l}(eX),eW=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(v,{transform:{x:B.x-ez.x,y:B.y-ez.y,scaleX:1,scaleY:1},activatorEvent:G,active:U,activeNodeRect:em,containerNodeRect:ey,draggingNodeRect:eC,over:ew.current.over,overlayNodeRect:eD.rect,scrollableAncestors:eX,scrollableAncestorRects:eq,windowRect:eF}),eV=ep?(0,R.IH)(ep,B):null,eG=function(e){let[t,n]=(0,E.useState)(null),r=(0,E.useRef)(e),l=(0,E.useCallback)(e=>{let t=Q(e.target);t&&n(e=>e?(e.set(t,en(t)),new Map(e)):null)},[]);return(0,E.useEffect)(()=>{let t=r.current;if(e!==t){i(t);let o=e.map(e=>{let t=Q(e);return t?(t.addEventListener("scroll",l,{passive:!0}),[t,en(t)]):null}).filter(e=>null!=e);n(o.length?new Map(o):null),r.current=e}return()=>{i(e),i(t)};function i(e){e.forEach(e=>{let t=Q(e);null==t||t.removeEventListener("scroll",l)})}},[l,e]),(0,E.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,R.IH)(e,t),P):eo(e):P,[e,t])}(eX),e$=eO(eG),eZ=eO(eG,[em]),eQ=(0,R.IH)(eW,e$),e0=eC?q(eC,eW):null,e1=U&&e0?f({active:U,collisionRect:e0,droppableRects:ed,droppableContainers:es,pointerCoordinates:eV}):null,e2=J(e1,"id"),[e4,e9]=(0,E.useState)(null),e3=(i=eI?eW:(0,R.IH)(eW,eZ),o=null!=(l=null==e4?void 0:e4.rect)?l:null,{...i,scaleX:o&&em?o.width/em.width:1,scaleY:o&&em?o.height/em.height:1}),e5=(0,E.useRef)(null),e6=(0,E.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==H.current)return;let l=A.get(H.current);if(!l)return;let i=e.nativeEvent,o=new n({active:H.current,activeNode:l,event:i,options:r,context:ew,onAbort(e){if(!A.get(e))return;let{onDragAbort:t}=et.current,n={id:e};null==t||t(n),M({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!A.get(e))return;let{onDragPending:l}=et.current,i={id:e,constraint:t,initialCoordinates:n,offset:r};null==l||l(i),M({type:"onDragPending",event:i})},onStart(e){let t=H.current;if(null==t)return;let n=A.get(t);if(!n)return;let{onDragStart:r}=et.current,l={activatorEvent:i,active:{id:t,data:n.data,rect:X}};(0,C.unstable_batchedUpdates)(()=>{null==r||r(l),T(D.Initializing),S({type:h.DragStart,initialCoordinates:e,active:t}),M({type:"onDragStart",event:l}),W(e5.current),ee(i)})},onMove(e){S({type:h.DragMove,coordinates:e})},onEnd:a(h.DragEnd),onCancel:a(h.DragCancel)});function a(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:l}=ew.current,o=null;if(t&&l){let{cancelDrop:a}=et.current;o={activatorEvent:i,active:t,collisions:n,delta:l,over:r},e===h.DragEnd&&"function"==typeof a&&await Promise.resolve(a(o))&&(e=h.DragCancel)}H.current=null,(0,C.unstable_batchedUpdates)(()=>{S({type:e}),T(D.Uninitialized),e9(null),W(null),ee(null),e5.current=null;let t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(o){let e=et.current[t];null==e||e(o),M({type:t,event:o})}})}}e5.current=o},[A]),e7=(0,E.useCallback)((e,t)=>(n,r)=>{let l=n.nativeEvent,i=A.get(r);null!==H.current||!i||l.dndKit||l.defaultPrevented||!0!==e(n,t.options,{active:i})||(l.dndKit={capturedBy:t.sensor},H.current=r,e6(n,t))},[A,e6]),e8=(0,E.useMemo)(()=>d.reduce((e,t)=>{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:e7(e.handler,t)}))]},[]),[d,e7]);(0,E.useEffect)(()=>{if(!R.Nq)return;let e=d.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},d.map(e=>{let{sensor:t}=e;return t})),(0,R.LI)(()=>{em&&k===D.Initializing&&T(D.Initialized)},[em,k]),(0,E.useEffect)(()=>{let{onDragMove:e}=et.current,{active:t,activatorEvent:n,collisions:r,over:l}=ew.current;if(!t||!n)return;let i={active:t,activatorEvent:n,collisions:r,delta:{x:eQ.x,y:eQ.y},over:l};(0,C.unstable_batchedUpdates)(()=>{null==e||e(i),M({type:"onDragMove",event:i})})},[eQ.x,eQ.y]),(0,E.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:l}=ew.current;if(!e||null==H.current||!t||!l)return;let{onDragOver:i}=et.current,o=r.get(e2),a=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,u={active:e,activatorEvent:t,collisions:n,delta:{x:l.x,y:l.y},over:a};(0,C.unstable_batchedUpdates)(()=>{e9(a),null==i||i(u),M({type:"onDragOver",event:u})})},[e2]),(0,R.LI)(()=>{ew.current={activatorEvent:G,active:U,activeNode:eg,collisionRect:e0,collisions:e1,droppableRects:ed,draggableNodes:A,draggingNode:eE,draggingNodeRect:eC,droppableContainers:z,over:e4,scrollableAncestors:eX,scrollAdjustedTranslate:eQ},X.current={initial:eC,translated:e0}},[U,eg,e1,e0,A,eE,eC,ed,z,e4,eX,eQ]),function(e){let{acceleration:t,activator:n=m.Pointer,canScroll:r,draggingRect:l,enabled:i,interval:o=5,order:a=y.TreeOrder,pointerCoordinates:u,scrollableAncestors:s,scrollableAncestorRects:c,delta:d,threshold:f}=e,h=function(e){let{delta:t,disabled:n}=e,r=(0,R.D9)(t);return(0,R.Gj)(e=>{if(n||!r||!e)return eR;
1let l={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[g.Backward]:e.x[g.Backward]||-1===l.x,[g.Forward]:e.x[g.Forward]||1===l.x},y:{[g.Backward]:e.y[g.Backward]||-1===l.y,[g.Forward]:e.y[g.Forward]||1===l.y}}},[n,t,r])}({delta:d,disabled:!i}),[p,v]=(0,R.Yz)(),b=(0,E.useRef)({x:0,y:0}),w=(0,E.useRef)({x:0,y:0}),x=(0,E.useMemo)(()=>{switch(n){case m.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case m.DraggableRect:return l}},[n,l,u]),D=(0,E.useRef)(null),C=(0,E.useCallback)(()=>{let e=D.current;if(!e)return;let t=b.current.x*w.current.x,n=b.current.y*w.current.y;e.scrollBy(t,n)},[]),S=(0,E.useMemo)(()=>a===y.TreeOrder?[...s].reverse():s,[a,s]);(0,E.useEffect)(()=>{if(!i||!s.length||!x){v();return}for(let e of S){if((null==r?void 0:r(e))===!1)continue;let n=c[s.indexOf(e)];if(!n)continue;let{direction:l,speed:i}=function(e,t,n,r,l){let{top:i,left:o,right:a,bottom:u}=n;void 0===r&&(r=10),void 0===l&&(l=ei);let{isTop:s,isBottom:c,isLeft:d,isRight:f}=el(e),h={x:0,y:0},p={x:0,y:0},v={height:t.height*l.y,width:t.width*l.x};return!s&&i<=t.top+v.height?(h.y=g.Backward,p.y=r*Math.abs((t.top+v.height-i)/v.height)):!c&&u>=t.bottom-v.height&&(h.y=g.Forward,p.y=r*Math.abs((t.bottom-v.height-u)/v.height)),!f&&a>=t.right-v.width?(h.x=g.Forward,p.x=r*Math.abs((t.right-v.width-a)/v.width)):!d&&o<=t.left+v.width&&(h.x=g.Backward,p.x=r*Math.abs((t.left+v.width-o)/v.width)),{direction:h,speed:p}}(e,n,x,t,f);for(let e of["x","y"])h[e][l[e]]||(i[e]=0,l[e]=0);if(i.x>0||i.y>0){v(),D.current=e,p(C,o),b.current=i,w.current=l;return}}b.current={x:0,y:0},w.current={x:0,y:0},v()},[t,C,r,v,i,o,JSON.stringify(x),JSON.stringify(h),p,s,S,c,JSON.stringify(f)])}({...ev,delta:B,draggingRect:e0,pointerCoordinates:eV,scrollableAncestors:eX,scrollableAncestorRects:eq});let te=(0,E.useMemo)(()=>({active:U,activeNode:eg,activeNodeRect:em,activatorEvent:G,collisions:e1,containerNodeRect:ey,dragOverlay:eD,draggableNodes:A,droppableContainers:z,droppableRects:ed,over:e4,measureDroppableContainers:ef,scrollableAncestors:eX,scrollableAncestorRects:eq,measuringConfiguration:ec,measuringScheduled:eh,windowRect:eF}),[U,eg,em,G,e1,ey,eD,A,z,ed,e4,ef,eX,eq,ec,eh,eF]),tt=(0,E.useMemo)(()=>({activatorEvent:G,activators:e8,active:U,activeNodeRect:em,ariaDescribedById:{draggable:ea},dispatch:S,draggableNodes:A,over:e4,measureDroppableContainers:ef}),[G,e8,U,em,S,ea,A,e4,ef]);return E.createElement(I.Provider,{value:L},E.createElement(eJ.Provider,{value:tt},E.createElement(eU.Provider,{value:te},E.createElement(e_.Provider,{value:e3},c)),E.createElement(eK,{disabled:(null==u?void 0:u.restoreFocus)===!1})),E.createElement(O,{...u,hiddenTextDescribedById:ea}))}),eW=(0,E.createContext)(null),eV="button";function eG(e){let{id:t,data:n,disabled:r=!1,attributes:l}=e,i=(0,R.Ld)("Draggable"),{activators:o,activatorEvent:a,active:u,activeNodeRect:s,ariaDescribedById:c,draggableNodes:d,over:f}=(0,E.useContext)(eJ),{role:h=eV,roleDescription:g="draggable",tabIndex:p=0}=null!=l?l:{},v=(null==u?void 0:u.id)===t,b=(0,E.useContext)(v?e_:eW),[m,y]=(0,R.wm)(),[w,x]=(0,R.wm)(),D=(0,E.useMemo)(()=>o.reduce((e,n)=>{let{eventName:r,handler:l}=n;return e[r]=e=>{l(e,t)},e},{}),[o,t]),C=(0,R.Ey)(n);return(0,R.LI)(()=>(d.set(t,{id:t,key:i,node:m,activatorNode:w,data:C}),()=>{let e=d.get(t);e&&e.key===i&&d.delete(t)}),[d,t]),{active:u,activatorEvent:a,activeNodeRect:s,attributes:(0,E.useMemo)(()=>({role:h,tabIndex:p,"aria-disabled":r,"aria-pressed":!!v&&h===eV||void 0,"aria-roledescription":g,"aria-describedby":c.draggable}),[r,h,p,v,g,c.draggable]),isDragging:v,listeners:r?void 0:D,node:m,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:b}}function e$(){return(0,E.useContext)(eU)}let eZ={timeout:25};function eQ(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:l}=e,i=(0,R.Ld)("Droppable"),{active:o,dispatch:a,over:u,measureDroppableContainers:s}=(0,E.useContext)(eJ),c=(0,E.useRef)({disabled:n}),d=(0,E.useRef)(!1),f=(0,E.useRef)(null),g=(0,E.useRef)(null),{disabled:p,updateMeasurementsFor:v,timeout:b}={...eZ,...l},m=(0,R.Ey)(null!=v?v:r),y=eL({callback:(0,E.useCallback)(()=>
1{if(!d.current){d.current=!0;return}null!=g.current&&clearTimeout(g.current),g.current=setTimeout(()=>{s(Array.isArray(m.current)?m.current:[m.current]),g.current=null},b)},[b]),disabled:p||!o}),w=(0,E.useCallback)((e,t)=>{y&&(t&&(y.unobserve(t),d.current=!1),e&&y.observe(e))},[y]),[x,D]=(0,R.wm)(w),C=(0,R.Ey)(t);return(0,E.useEffect)(()=>{y&&x.current&&(y.disconnect(),d.current=!1,y.observe(x.current))},[x,y]),(0,E.useEffect)(()=>(a({type:h.RegisterDroppable,element:{id:r,key:i,disabled:n,node:x,rect:f,data:C}}),()=>a({type:h.UnregisterDroppable,key:i,id:r})),[r]),(0,E.useEffect)(()=>{n!==c.current.disabled&&(a({type:h.SetDroppableDisabled,id:r,key:i,disabled:n}),c.current.disabled=n)},[r,i,n,a]),{active:o,rect:f,isOver:(null==u?void 0:u.id)===r,node:x,over:u,setNodeRef:D}}r={styles:{active:{opacity:"0"}}},e=>{let{active:t,dragOverlay:n}=e,l={},{styles:i,className:o}=r;if(null!=i&&i.active)for(let[e,n]of Object.entries(i.active))void 0!==n&&(l[e]=t.node.style.getPropertyValue(e),t.node.style.setProperty(e,n));if(null!=i&&i.dragOverlay)for(let[e,t]of Object.entries(i.dragOverlay))void 0!==t&&n.node.style.setProperty(e,t);return null!=o&&o.active&&t.node.classList.add(o.active),null!=o&&o.dragOverlay&&n.node.classList.add(o.dragOverlay),function(){for(let[e,n]of Object.entries(l))t.node.style.setProperty(e,n);null!=o&&o.active&&t.node.classList.remove(o.active)}}},95735:function(e,t,n){n.d(t,{Fo:function(){return h},is:function(){return E},nB:function(){return w},qw:function(){return c}});var r=n(23329),l=n(74665),i=n(95968);function o(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function a(e){return null!==e&&e>=0}let u=e=>{let{rects:t,activeIndex:n,overIndex:r,index:l}=e,i=o(t,r,n),a=t[l],u=i[l];return u&&a?{x:u.left-a.left,y:u.top-a.top,scaleX:u.width/a.width,scaleY:u.height/a.height}:null},s={scaleX:1,scaleY:1},c=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:l,rects:i,overIndex:o}=e,a=null!=(t=i[n])?t:r;if(!a)return null;if(l===n){let e=i[o];return e?{x:0,y:n<o?e.top+e.height-(a.top+a.height):e.top-a.top,...s}:null}let u=function(e,t,n){let r=e[t],l=e[t-1],i=e[t+1];return r?n<t?l?r.top-(l.top+l.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):l?r.top-(l.top+l.height):0:0}(i,l,n);return l>n&&l<=o?{x:0,y:-a.height-u,...s}:l<n&&l>=o?{x:0,y:a.height+u,...s}:{x:0,y:0,...s}},d="Sortable",f=r.createContext({activeIndex:-1,containerId:d,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:u,disabled:{draggable:!1,droppable:!1}});function h(e){let{children:t,id:n,items:o,strategy:a=u,disabled:s=!1}=e,{active:c,dragOverlay:h,droppableRects:g,over:p,measureDroppableContainers:v}=(0,l.Cj)(),b=(0,i.Ld)(d,n),m=null!==h.rect,y=(0,r.useMemo)(()=>o.map(e=>"object"==typeof e&&"id"in e?e.id:e),[o]),w=null!=c,x=c?y.indexOf(c.id):-1,D=p?y.indexOf(p.id):-1,E=(0,r.useRef)(y),C=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(y,E.current),R=-1!==D&&-1===x||C,S="boolean"==typeof s?{draggable:s,droppable:s}:s;(0,i.LI)(()=>{C&&w&&v(y)},[C,y,w,v]),(0,r.useEffect)(()=>{E.current=y},[y]);let M=(0,r.useMemo)(()=>({activeIndex:x,containerId:b,disabled:S,disableTransforms:R,items:y,overIndex:D,useDragOverlay:m,sortedRects:y.reduce((e,t,n)=>{let r=g.get(t);return r&&(e[n]=r),e},Array(y.length)),strategy:a}),[x,b,S.draggable,S.droppable,R,y,D,g,m,a]);return r.createElement(f.Provider,{value:M},t)}let g=e=>{let{id:t,items:n,activeIndex:r,overIndex:l}=e;return o(n,r,l).indexOf(t)},p=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:l,items:i,newIndex:o,previousItems:a,previousContainerId:u,transition:s}=e;return!!s&&!!r&&(a===i||l!==o)&&(!!n||o!==l&&t===u)},v={duration:200,easing:"ease"},b="transform",m=i.ux.Transition.toString({property:b,duration:0,easing:"linear"}),y={roleDescription:"sortable"};function w(e){var t,n;let{animateLayoutChanges:o=p,attributes:u,disabled:s,data:c,getNewIndex:d=g,id:h,strategy:w,resizeObserverConfig:x,transition:D=v}=e,{items:E,containerId:C,activeIndex:R,disabled:S,disableTransforms:M,sortedRects:L,overIndex:I,useDragOverlay:k,strategy:T}=(0,r.useContext)(f),O="boolean"==typeof s?{draggable:s,droppable:!1}:{draggable:null!=(t=null==s?void 0:s.draggable)?t:S.draggable,droppable:null!=(n=null==s?void 0:s.droppable)?n:S.droppable},N=E.indexOf(h),j=(0,r.useMemo)(()=>({sortable:{containerId:C,index:N,items:E},...c}),[C,c,N,E]),A=(0,r.useMemo)(()=>E.slice(E.indexOf(h)),[E,h]),{rect:P,node:B,isOver:z,setNodeRef:F}=(0,l.Zj)({id:h,data:j,disabled:O.droppable,resizeObserverConfig:{updateMeasurementsFor:A,...x}}),{active:X,activatorEvent:J,activeNodeRect:U,attributes:H,setNodeRef:Y,listeners:K,isDragging:_,over:q,setActivatorNodeRef:W,transform:V}=(0,l.O1)({id:h,data:j,attributes:{...y,...u},disabled:O.draggable}),G=(0,i.HB)(F,Y),$=!!X,Z=$&&!M&&a(R)&&a(I),Q=!k&&_,ee=Q&&Z?V:null,et=Z?null!=ee?ee:(null!=w?w:T)({rects:L,activeNodeRect:U,activeIndex:R,overIndex:I,index:N}):null,en=a(R)&&a(I)?d({id:h,items:E,activeIndex:R,overIndex:I}):N,er=null==X?void 0:X.id,el=(0,r.useRef)({activeId:er,items:E,newIndex:en,containerId:C}),ei=E!==el.current.items,eo=o({active:X,containerId:C,isDragging:_,isSorting:$,
1id:h,index:N,items:E,newIndex:el.current.newIndex,previousItems:el.current.items,previousContainerId:el.current.containerId,transition:D,wasDragging:null!=el.current.activeId}),ea=function(e){let{disabled:t,index:n,node:o,rect:a}=e,[u,s]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,i.LI)(()=>{if(!t&&n!==c.current&&o.current){let e=a.current;if(e){let t=(0,l.VK)(o.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&s(n)}}n!==c.current&&(c.current=n)},[t,n,o,a]),(0,r.useEffect)(()=>{u&&s(null)},[u]),u}({disabled:!eo,index:N,node:B,rect:P});return(0,r.useEffect)(()=>{$&&el.current.newIndex!==en&&(el.current.newIndex=en),C!==el.current.containerId&&(el.current.containerId=C),E!==el.current.items&&(el.current.items=E)},[$,en,C,E]),(0,r.useEffect)(()=>{if(er===el.current.activeId)return;if(null!=er&&null==el.current.activeId){el.current.activeId=er;return}let e=setTimeout(()=>{el.current.activeId=er},50);return()=>clearTimeout(e)},[er]),{active:X,activeIndex:R,attributes:H,data:j,rect:P,index:N,newIndex:en,items:E,isOver:z,isSorting:$,isDragging:_,listeners:K,node:B,overIndex:I,over:q,setNodeRef:G,setActivatorNodeRef:W,setDroppableNodeRef:F,setDraggableNodeRef:Y,transform:null!=ea?ea:et,transition:ea||ei&&el.current.newIndex===N?m:(!Q||(0,i.vd)(J))&&D&&($||eo)?i.ux.Transition.toString({...D,property:b}):void 0}}function x(e){if(!e)return!1;let t=e.data.current;return!!t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable}let D=[l.g4.Down,l.g4.Right,l.g4.Up,l.g4.Left],E=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:o,droppableContainers:a,over:u,scrollableAncestors:s}}=t;if(D.includes(e.code)){if(e.preventDefault(),!n||!r)return;let t=[];a.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;let i=o.get(n.id);if(i)switch(e.code){case l.g4.Down:r.top<i.top&&t.push(n);break;case l.g4.Up:r.top>i.top&&t.push(n);break;case l.g4.Left:r.left>i.left&&t.push(n);break;case l.g4.Right:r.left<i.left&&t.push(n)}});let c=(0,l.ey)({active:n,collisionRect:r,droppableRects:o,droppableContainers:t,pointerCoordinates:null}),d=(0,l._8)(c,"id");if(d===(null==u?void 0:u.id)&&c.length>1&&(d=c[1].id),null!=d){let e=a.get(n.id),t=a.get(d),u=t?o.get(t.id):null,c=null==t?void 0:t.node.current;if(c&&u&&e&&t){let n=(0,l.hI)(c).some((e,t)=>s[t]!==e),o=C(e,t),a=!!(x(e)&&x(t)&&C(e,t))&&e.data.current.sortable.index<t.data.current.sortable.index,d=n||!o?{x:0,y:0}:{x:a?r.width-u.width:0,y:a?r.height-u.height:0},f={x:u.left,y:u.top};return d.x&&d.y?f:(0,i.$X)(f,d)}}}};function C(e,t){return!!(x(e)&&x(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},95968:function(e,t,n){n.d(t,{$X:function(){return C},D9:function(){return y},DC:function(){return S},Ey:function(){return v},FJ:function(){return o},Gj:function(){return b},HB:function(){return l},IH:function(){return E},Jj:function(){return u},LI:function(){return h},Ld:function(){return x},Nq:function(){return i},Re:function(){return c},UG:function(){return a},Yz:function(){return p},qk:function(){return s},r3:function(){return f},so:function(){return I},ux:function(){return M},vZ:function(){return d},vd:function(){return R},wm:function(){return m},zX:function(){return g}});var r=n(23329);function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}let i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function o(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function a(e){return"nodeType"in e}function u(e){var t,n;return e?o(e)?e:a(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function s(e){let{Document:t}=u(e);return e instanceof t}function c(e){return!o(e)&&e instanceof u(e).HTMLElement}function d(e){return e instanceof u(e).SVGElement}function f(e){return e?o(e)?e.document:a(e)?s(e)?e:c(e)||d(e)?e.ownerDocument:document:document:document}let h=i?r.useLayoutEffect:r.useEffect;function g(e){let t=(0,r.useRef)(e);return h(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function p(){let e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function v(e,t){void 0===t&&(t=[e]);let n=(0,r.useRef)(e);return h(()=>{n.current!==e&&(n.current=e)},t),n}function b(e,t){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function m(e){let t=g(e),n=(0,r.useRef)(null),l=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,l]}function y(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let w={};function x(e,t){return(0,r.useMemo)(()=>
1{if(t)return t;let n=null==w[e]?0:w[e]+1;return w[e]=n,e+"-"+n},[e,t])}function D(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),l=1;l<n;l++)r[l-1]=arguments[l];return r.reduce((t,n)=>{for(let[r,l]of Object.entries(n)){let n=t[r];null!=n&&(t[r]=n+e*l)}return t},{...t})}}let E=D(1),C=D(-1);function R(e){if(!e)return!1;let{KeyboardEvent:t}=u(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;let{TouchEvent:t}=u(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return"clientX"in e&&"clientY"in e?{x:e.clientX,y:e.clientY}:null}let M=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[M.Translate.toString(e),M.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),L="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function I(e){return e.matches(L)?e:e.querySelector(L)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.