@deephaven/embed-grid 0.46.2-dynamic-import.0 → 0.47.1-beta.0

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.
@@ -895,7 +895,7 @@ The error may be correlated with this previous error:
895
895
  -moz-user-select: none;
896
896
  -ms-user-select: none;
897
897
  overflow-anchor: none;
898
- `}},o=[n,r,i,a];return{always:Ga(o,"always"),resting:Ga(o,"resting"),dragging:Ga(o,"dragging"),dropAnimating:Ga(o,"dropAnimating"),userCancel:Ga(o,"userCancel")}},ft=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?C.useLayoutEffect:C.useEffect,yp=function(){var t=document.querySelector("head");return t||R(!1),t},zw=function(t){var r=document.createElement("style");return t&&r.setAttribute("nonce",t),r.type="text/css",r};function wF(e,t){var r=re(function(){return bF(e)},[e]),n=C.useRef(null),i=C.useRef(null),a=j(Se(function(f){var d=i.current;d||R(!1),d.textContent=f}),[]),o=j(function(f){var d=n.current;d||R(!1),d.textContent=f},[]);ft(function(){!n.current&&!i.current||R(!1);var f=zw(t),d=zw(t);return n.current=f,i.current=d,f.setAttribute(na+"-always",e),d.setAttribute(na+"-dynamic",e),yp().appendChild(f),yp().appendChild(d),o(r.always),a(r.resting),function(){var p=function(w){var v=w.current;v||R(!1),yp().removeChild(v),w.current=null};p(n),p(i)}},[t,o,a,r.always,r.resting,e]);var l=j(function(){return a(r.dragging)},[a,r.dragging]),s=j(function(f){if(f==="DROP"){a(r.dropAnimating);return}a(r.userCancel)},[a,r.dropAnimating,r.userCancel]),u=j(function(){i.current&&a(r.resting)},[a,r.resting]),c=re(function(){return{dragging:l,dropping:s,resting:u}},[l,s,u]);return c}var fI=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function vf(e){return e instanceof fI(e).HTMLElement}function SF(e,t){var r="["+ia.contextId+'="'+e+'"]',n=_O(document.querySelectorAll(r));if(!n.length)return null;var i=mn(n,function(a){return a.getAttribute(ia.draggableId)===t});return!i||!vf(i)?null:i}function xF(e){var t=C.useRef({}),r=C.useRef(null),n=C.useRef(null),i=C.useRef(!1),a=j(function(d,p){var h={id:d,focus:p};return t.current[d]=h,function(){var v=t.current,g=v[d];g!==h&&delete v[d]}},[]),o=j(function(d){var p=SF(e,d);p&&p!==document.activeElement&&p.focus()},[e]),l=j(function(d,p){r.current===d&&(r.current=p)},[]),s=j(function(){n.current||i.current&&(n.current=requestAnimationFrame(function(){n.current=null;var d=r.current;d&&o(d)}))},[o]),u=j(function(d){r.current=null;var p=document.activeElement;p&&p.getAttribute(ia.draggableId)===d&&(r.current=d)},[]);ft(function(){return i.current=!0,function(){i.current=!1;var d=n.current;d&&cancelAnimationFrame(d)}},[]);var c=re(function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:s,tryShiftRecord:l}},[a,u,s,l]);return c}function EF(){var e={draggables:{},droppables:{}},t=[];function r(f){return t.push(f),function(){var p=t.indexOf(f);p!==-1&&t.splice(p,1)}}function n(f){t.length&&t.forEach(function(d){return d(f)})}function i(f){return e.draggables[f]||null}function a(f){var d=i(f);return d||R(!1),d}var o={register:function(d){e.draggables[d.descriptor.id]=d,n({type:"ADDITION",value:d})},update:function(d,p){var h=e.draggables[p.descriptor.id];h&&h.uniqueId===d.uniqueId&&(delete e.draggables[p.descriptor.id],e.draggables[d.descriptor.id]=d)},unregister:function(d){var p=d.descriptor.id,h=i(p);h&&d.uniqueId===h.uniqueId&&(delete e.draggables[p],n({type:"REMOVAL",value:d}))},getById:a,findById:i,exists:function(d){return!!i(d)},getAllByType:function(d){return zu(e.draggables).filter(function(p){return p.descriptor.type===d})}};function l(f){return e.droppables[f]||null}function s(f){var d=l(f);return d||R(!1),d}var u={register:function(d){e.droppables[d.descriptor.id]=d},unregister:function(d){var p=l(d.descriptor.id);p&&d.uniqueId===p.uniqueId&&delete e.droppables[d.descriptor.id]},getById:s,findById:l,exists:function(d){return!!l(d)},getAllByType:function(d){return zu(e.droppables).filter(function(p){return p.descriptor.type===d})}};function c(){e.draggables={},e.droppables={},t.length=0}return{draggable:o,droppable:u,subscribe:r,clean:c}}function CF(){var e=re(EF,[]);return C.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var ly=F.createContext(null),Wu=function(){var e=document.body;return e||R(!1),e},OF={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},IF=function(t){return"rbd-announcement-"+t};function PF(e){var t=re(function(){return IF(e)},[e]),r=C.useRef(null);C.useEffect(function(){var a=document.createElement("div");return r.current=a,a.id=t,a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true"),W(a.style,OF),Wu().appendChild(a),function(){setTimeout(function(){var s=Wu();s.contains(a)&&s.removeChild(a),a===r.current&&(r.current=null)})}},[t]);var n=j(function(i){var a=r.current;if(a){a.textContent=i;return}},[]);return n}var DF=0,AF={separator:"::"};function sy(e,t){return t===void 0&&(t=AF),re(function(){return""+e+t.separator+DF++},[t.separator,e])}function RF(e){var t=e.contextId,r=e.uniqueId;return"rbd-hidden-text-"+t+"-"+r}function TF(e){var t=e.contextId,r=e.text,n=sy("hidden-text",{separator:"-"}),i=re(function(){return RF({contextId:t,uniqueId:n})},[n,t]);return C.useEffect(function(){var o=document.createElement("div");return o.id=i,o.textContent=r,o.style.display="none",Wu().appendChild(o),function(){var s=Wu();s.contains(o)&&s.removeChild(o)}},[i,r]),i}var gf=F.createContext(null);function dI(e){var t=C.useRef(e);return C.useEffect(function(){t.current=e}),t}function kF(){var e=null;function t(){return!!e}function r(o){return o===e}function n(o){e&&R(!1);var l={abandon:o};return e=l,l}function i(){e||R(!1),e=null}function a(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:r,claim:n,release:i,tryAbandon:a}}var _F=9,NF=13,uy=27,pI=32,MF=33,$F=34,LF=35,FF=36,BF=37,jF=38,zF=39,UF=40,Os,WF=(Os={},Os[NF]=!0,Os[_F]=!0,Os),vI=function(e){WF[e.keyCode]&&e.preventDefault()},mf=function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=mn(t,function(n){return"on"+n in document});return r||e}(),gI=0,Uw=5;function HF(e,t){return Math.abs(t.x-e.x)>=Uw||Math.abs(t.y-e.y)>=Uw}var Ww={type:"IDLE"};function GF(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(o){var l=o.button,s=o.clientX,u=o.clientY;if(l===gI){var c={x:s,y:u},f=n();if(f.type==="DRAGGING"){o.preventDefault(),f.actions.move(c);return}f.type!=="PENDING"&&R(!1);var d=f.point;if(HF(d,c)){o.preventDefault();var p=f.actions.fluidLift(c);i({type:"DRAGGING",actions:p})}}}},{eventName:"mouseup",fn:function(o){var l=n();if(l.type!=="DRAGGING"){t();return}o.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"mousedown",fn:function(o){n().type==="DRAGGING"&&o.preventDefault(),t()}},{eventName:"keydown",fn:function(o){var l=n();if(l.type==="PENDING"){t();return}if(o.keyCode===uy){o.preventDefault(),t();return}vI(o)}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){n().type==="PENDING"&&t()}},{eventName:"webkitmouseforcedown",fn:function(o){var l=n();if(l.type==="IDLE"&&R(!1),l.actions.shouldRespectForcePress()){t();return}o.preventDefault()}},{eventName:mf,fn:t}]}function qF(e){var t=C.useRef(Ww),r=C.useRef(Qr),n=re(function(){return{eventName:"mousedown",fn:function(f){if(!f.defaultPrevented&&f.button===gI&&!(f.ctrlKey||f.metaKey||f.shiftKey||f.altKey)){var d=e.findClosestDraggableId(f);if(d){var p=e.tryGetLock(d,o,{sourceEvent:f});if(p){f.preventDefault();var h={x:f.clientX,y:f.clientY};r.current(),u(p,h)}}}}}},[e]),i=re(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(f){if(!f.defaultPrevented){var d=e.findClosestDraggableId(f);if(d){var p=e.findOptionsForDraggable(d);p&&(p.shouldRespectForcePress||e.canGetLock(d)&&f.preventDefault())}}}}},[e]),a=j(function(){var f={passive:!1,capture:!0};r.current=Et(window,[i,n],f)},[i,n]),o=j(function(){var c=t.current;c.type!=="IDLE"&&(t.current=Ww,r.current(),a())},[a]),l=j(function(){var c=t.current;o(),c.type==="DRAGGING"&&c.actions.cancel({shouldBlockNextClick:!0}),c.type==="PENDING"&&c.actions.abort()},[o]),s=j(function(){var f={capture:!0,passive:!1},d=GF({cancel:l,completed:o,getPhase:function(){return t.current},setPhase:function(h){t.current=h}});r.current=Et(window,d,f)},[l,o]),u=j(function(f,d){t.current.type!=="IDLE"&&R(!1),t.current={type:"PENDING",point:d,actions:f},s()},[s]);ft(function(){return a(),function(){r.current()}},[a])}var fi;function VF(){}var YF=(fi={},fi[$F]=!0,fi[MF]=!0,fi[FF]=!0,fi[LF]=!0,fi);function KF(e,t){function r(){t(),e.cancel()}function n(){t(),e.drop()}return[{eventName:"keydown",fn:function(a){if(a.keyCode===uy){a.preventDefault(),r();return}if(a.keyCode===pI){a.preventDefault(),n();return}if(a.keyCode===UF){a.preventDefault(),e.moveDown();return}if(a.keyCode===jF){a.preventDefault(),e.moveUp();return}if(a.keyCode===zF){a.preventDefault(),e.moveRight();return}if(a.keyCode===BF){a.preventDefault(),e.moveLeft();return}if(YF[a.keyCode]){a.preventDefault();return}vI(a)}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:mf,fn:r}]}function XF(e){var t=C.useRef(VF),r=re(function(){return{eventName:"keydown",fn:function(a){if(a.defaultPrevented||a.keyCode!==pI)return;var o=e.findClosestDraggableId(a);if(!o)return;var l=e.tryGetLock(o,c,{sourceEvent:a});if(!l)return;a.preventDefault();var s=!0,u=l.snapLift();t.current();function c(){s||R(!1),s=!1,t.current(),n()}t.current=Et(window,KF(u,c),{capture:!0,passive:!1})}}},[e]),n=j(function(){var a={passive:!1,capture:!0};t.current=Et(window,[r],a)},[r]);ft(function(){return n(),function(){t.current()}},[n])}var bp={type:"IDLE"},QF=120,JF=.15;function ZF(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(i){i.preventDefault()}},{eventName:"keydown",fn:function(i){if(r().type!=="DRAGGING"){t();return}i.keyCode===uy&&i.preventDefault(),t()}},{eventName:mf,fn:t}]}function e4(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(a){var o=n();if(o.type!=="DRAGGING"){t();return}o.hasMoved=!0;var l=a.touches[0],s=l.clientX,u=l.clientY,c={x:s,y:u};a.preventDefault(),o.actions.move(c)}},{eventName:"touchend",fn:function(a){var o=n();if(o.type!=="DRAGGING"){t();return}a.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"touchcancel",fn:function(a){if(n().type!=="DRAGGING"){t();return}a.preventDefault(),t()}},{eventName:"touchforcechange",fn:function(a){var o=n();o.type==="IDLE"&&R(!1);var l=a.touches[0];if(l){var s=l.force>=JF;if(s){var u=o.actions.shouldRespectForcePress();if(o.type==="PENDING"){u&&t();return}if(u){if(o.hasMoved){a.preventDefault();return}t();return}a.preventDefault()}}}},{eventName:mf,fn:t}]}function t4(e){var t=C.useRef(bp),r=C.useRef(Qr),n=j(function(){return t.current},[]),i=j(function(p){t.current=p},[]),a=re(function(){return{eventName:"touchstart",fn:function(p){if(!p.defaultPrevented){var h=e.findClosestDraggableId(p);if(h){var w=e.tryGetLock(h,l,{sourceEvent:p});if(w){var v=p.touches[0],g=v.clientX,m=v.clientY,y={x:g,y:m};r.current(),f(w,y)}}}}}},[e]),o=j(function(){var p={capture:!0,passive:!1};r.current=Et(window,[a],p)},[a]),l=j(function(){var d=t.current;d.type!=="IDLE"&&(d.type==="PENDING"&&clearTimeout(d.longPressTimerId),i(bp),r.current(),o())},[o,i]),s=j(function(){var d=t.current;l(),d.type==="DRAGGING"&&d.actions.cancel({shouldBlockNextClick:!0}),d.type==="PENDING"&&d.actions.abort()},[l]),u=j(function(){var p={capture:!0,passive:!1},h={cancel:s,completed:l,getPhase:n},w=Et(window,e4(h),p),v=Et(window,ZF(h),p);r.current=function(){w(),v()}},[s,n,l]),c=j(function(){var p=n();p.type!=="PENDING"&&R(!1);var h=p.actions.fluidLift(p.point);i({type:"DRAGGING",actions:h,hasMoved:!1})},[n,i]),f=j(function(p,h){n().type!=="IDLE"&&R(!1);var w=setTimeout(c,QF);i({type:"PENDING",point:h,actions:p,longPressTimerId:w}),u()},[u,n,i,c]);ft(function(){return o(),function(){r.current();var h=n();h.type==="PENDING"&&(clearTimeout(h.longPressTimerId),i(bp))}},[n,o,i]),ft(function(){var p=Et(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return p},[])}var r4={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function mI(e,t){if(t==null)return!1;var r=!!r4[t.tagName.toLowerCase()];if(r)return!0;var n=t.getAttribute("contenteditable");return n==="true"||n===""?!0:t===e?!1:mI(e,t.parentElement)}function n4(e,t){var r=t.target;return vf(r)?mI(e,r):!1}var i4=function(e){return Ft(e.getBoundingClientRect()).center};function a4(e){return e instanceof fI(e).Element}var o4=function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=mn(t,function(n){return n in Element.prototype});return r||e}();function hI(e,t){return e==null?null:e[o4](t)?e:hI(e.parentElement,t)}function l4(e,t){return e.closest?e.closest(t):hI(e,t)}function s4(e){return"["+ia.contextId+'="'+e+'"]'}function u4(e,t){var r=t.target;if(!a4(r))return null;var n=s4(e),i=l4(r,n);return!i||!vf(i)?null:i}function c4(e,t){var r=u4(e,t);return r?r.getAttribute(ia.draggableId):null}function f4(e,t){var r="["+wg.contextId+'="'+e+'"]',n=_O(document.querySelectorAll(r)),i=mn(n,function(a){return a.getAttribute(wg.id)===t});return!i||!vf(i)?null:i}function d4(e){e.preventDefault()}function Is(e){var t=e.expected,r=e.phase,n=e.isLockActive;return e.shouldWarn,!(!n()||t!==r)}function yI(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var a=n.draggable.findById(i);return!(!a||!a.options.isEnabled||!lI(r.getState(),i))}function p4(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,a=e.draggableId,o=e.forceSensorStop,l=e.sourceEvent,s=yI({lockAPI:t,store:n,registry:i,draggableId:a});if(!s)return null;var u=i.draggable.getById(a),c=f4(r,u.descriptor.id);if(!c||l&&!u.options.canDragInteractiveElements&&n4(c,l))return null;var f=t.claim(o||Qr),d="PRE_DRAG";function p(){return u.options.shouldRespectForcePress}function h(){return t.isActive(f)}function w(S,E){Is({expected:S,phase:d,isLockActive:h,shouldWarn:!0})&&n.dispatch(E())}var v=w.bind(null,"DRAGGING");function g(S){function E(){t.release(),d="COMPLETED"}d!=="PRE_DRAG"&&(E(),d!=="PRE_DRAG"&&R(!1)),n.dispatch(oL(S.liftActionArgs)),d="DRAGGING";function O(I,T){if(T===void 0&&(T={shouldBlockNextClick:!1}),S.cleanup(),T.shouldBlockNextClick){var _=Et(window,[{eventName:"click",fn:d4,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(_)}E(),n.dispatch(eI({reason:I}))}return W({isActive:function(){return Is({expected:"DRAGGING",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(T){return O("DROP",T)},cancel:function(T){return O("CANCEL",T)}},S.actions)}function m(S){var E=el(function(I){v(function(){return ZO({client:I})})}),O=g({liftActionArgs:{id:a,clientSelection:S,movementMode:"FLUID"},cleanup:function(){return E.cancel()},actions:{move:E}});return W({},O,{move:E})}function y(){var S={moveUp:function(){return v(gL)},moveRight:function(){return v(hL)},moveDown:function(){return v(mL)},moveLeft:function(){return v(yL)}};return g({liftActionArgs:{id:a,clientSelection:i4(c),movementMode:"SNAP"},cleanup:Qr,actions:S})}function b(){var S=Is({expected:"PRE_DRAG",phase:d,isLockActive:h,shouldWarn:!0});S&&t.release()}var x={isActive:function(){return Is({expected:"PRE_DRAG",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:m,snapLift:y,abort:b};return x}var v4=[qF,XF,t4];function g4(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,a=e.enableDefaultSensors,o=[].concat(a?v4:[],i||[]),l=C.useState(function(){return kF()})[0],s=j(function(m,y){m.isDragging&&!y.isDragging&&l.tryAbandon()},[l]);ft(function(){var m=r.getState(),y=r.subscribe(function(){var b=r.getState();s(m,b),m=b});return y},[l,r,s]),ft(function(){return l.tryAbandon},[l.tryAbandon]);for(var u=j(function(g){return yI({lockAPI:l,registry:n,store:r,draggableId:g})},[l,n,r]),c=j(function(g,m,y){return p4({lockAPI:l,registry:n,contextId:t,store:r,draggableId:g,forceSensorStop:m,sourceEvent:y&&y.sourceEvent?y.sourceEvent:null})},[t,l,n,r]),f=j(function(g){return c4(t,g)},[t]),d=j(function(g){var m=n.draggable.findById(g);return m?m.options:null},[n.draggable]),p=j(function(){l.isClaimed()&&(l.tryAbandon(),r.getState().phase!=="IDLE"&&r.dispatch(Zh()))},[l,r]),h=j(l.isClaimed,[l]),w=re(function(){return{canGetLock:u,tryGetLock:c,findClosestDraggableId:f,findOptionsForDraggable:d,tryReleaseLock:p,isLockClaimed:h}},[u,c,f,d,p,h]),v=0;v<o.length;v++)o[v](w)}var m4=function(t){return{onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragEnd:t.onDragEnd,onDragUpdate:t.onDragUpdate}};function qa(e){return e.current||R(!1),e.current}function h4(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,a=e.dragHandleUsageInstructions,o=C.useRef(null),l=dI(e),s=j(function(){return m4(l.current)},[l]),u=PF(t),c=TF({contextId:t,text:a}),f=wF(t,i),d=j(function(I){qa(o).dispatch(I)},[]),p=re(function(){return gg({publishWhileDragging:sL,updateDroppableScroll:cL,updateDroppableIsEnabled:fL,updateDroppableIsCombineEnabled:dL,collectionStarting:uL},d)},[d]),h=CF(),w=re(function(){return JL(h,p)},[h,p]),v=re(function(){return gF(W({scrollWindow:ZL,scrollDroppable:w.scrollDroppable},gg({move:ZO},d)))},[w.scrollDroppable,d]),g=xF(t),m=re(function(){return YL({announce:u,autoScroller:v,dimensionMarshal:w,focusMarshal:g,getResponders:s,styleMarshal:f})},[u,v,w,g,s,f]);o.current=m;var y=j(function(){var I=qa(o),T=I.getState();T.phase!=="IDLE"&&I.dispatch(Zh())},[]),b=j(function(){var I=qa(o).getState();return I.isDragging||I.phase==="DROP_ANIMATING"},[]),x=re(function(){return{isDragging:b,tryAbort:y}},[b,y]);r(x);var S=j(function(I){return lI(qa(o).getState(),I)},[]),E=j(function(){return In(qa(o).getState())},[]),O=re(function(){return{marshal:w,focus:g,contextId:t,canLift:S,isMovementAllowed:E,dragHandleUsageInstructionsId:c,registry:h}},[t,w,c,g,S,E,h]);return g4({contextId:t,store:m,registry:h,customSensors:n,enableDefaultSensors:e.enableDefaultSensors!==!1}),C.useEffect(function(){return y},[y]),F.createElement(gf.Provider,{value:O},F.createElement(uO,{context:ly,store:m},e.children))}var y4=0;function b4(){return re(function(){return""+y4++},[])}function u7(e){var t=b4(),r=e.dragHandleUsageInstructions||Zs.dragHandleUsageInstructions;return F.createElement(X3,null,function(n){return F.createElement(h4,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)})}var bI=function(t){return function(r){return t===r}},w4=bI("scroll"),S4=bI("auto"),Hw=function(t,r){return r(t.overflowX)||r(t.overflowY)},x4=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return Hw(n,w4)||Hw(n,S4)},E4=function(){return!1},C4=function e(t){return t==null?null:t===document.body?E4()?t:null:t===document.documentElement?null:x4(t)?t:e(t.parentElement)},Sg=function(e){return{x:e.scrollLeft,y:e.scrollTop}},O4=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},I4=function(e){var t=C4(e),r=O4(e);return{closestScrollable:t,isFixedOnPage:r}},P4=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,l=e.page,s=e.closest,u=function(){if(!s)return null;var p=s.scrollSize,h=s.client,w=iI({scrollHeight:p.scrollHeight,scrollWidth:p.scrollWidth,height:h.paddingBox.height,width:h.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:h,scrollSize:p,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:w,diff:{value:ke,displacement:ke}}}}(),c=a==="vertical"?Yh:FO,f=ra({page:l,withPlaceholder:null,axis:c,frame:u}),d={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:c,isEnabled:r,client:o,page:l,frame:u,subject:f};return d},D4=function(t,r){var n=DO(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,l=a+r.scrollWidth,s={top:i,right:l,bottom:o,left:a},u=Wh(s,n.border),c=Hh({borderBox:u,margin:n.margin,border:n.border,padding:n.padding});return c},A4=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,l=e.isCombineEnabled,s=e.shouldClipSubject,u=n.closestScrollable,c=D4(t,u),f=Fu(c,i),d=function(){if(!u)return null;var h=DO(u),w={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:h,page:Fu(h,i),scroll:Sg(u),scrollSize:w,shouldClipSubject:s}}(),p=P4({descriptor:r,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:c,page:f,closest:d});return p},R4={passive:!1},T4={passive:!0},Gw=function(e){return e.shouldPublishImmediately?R4:T4};function Hu(e){var t=C.useContext(e);return t||R(!1),t}var Ps=function(t){return t&&t.env.closestScrollable||null};function k4(e){var t=C.useRef(null),r=Hu(gf),n=sy("droppable"),i=r.registry,a=r.marshal,o=dI(e),l=re(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),s=C.useRef(l),u=re(function(){return Se(function(b,x){t.current||R(!1);var S={x:b,y:x};a.updateDroppableScroll(l.id,S)})},[l.id,a]),c=j(function(){var b=t.current;return!b||!b.env.closestScrollable?ke:Sg(b.env.closestScrollable)},[]),f=j(function(){var b=c();u(b.x,b.y)},[c,u]),d=re(function(){return el(f)},[f]),p=j(function(){var b=t.current,x=Ps(b);b&&x||R(!1);var S=b.scrollOptions;if(S.shouldPublishImmediately){f();return}d()},[d,f]),h=j(function(b,x){t.current&&R(!1);var S=o.current,E=S.getDroppableRef();E||R(!1);var O=I4(E),I={ref:E,descriptor:l,env:O,scrollOptions:x};t.current=I;var T=A4({ref:E,descriptor:l,env:O,windowScroll:b,direction:S.direction,isDropDisabled:S.isDropDisabled,isCombineEnabled:S.isCombineEnabled,shouldClipSubject:!S.ignoreContainerClipping}),_=O.closestScrollable;return _&&(_.setAttribute(jw.contextId,r.contextId),_.addEventListener("scroll",p,Gw(I.scrollOptions))),T},[r.contextId,l,p,o]),w=j(function(){var b=t.current,x=Ps(b);return b&&x||R(!1),Sg(x)},[]),v=j(function(){var b=t.current;b||R(!1);var x=Ps(b);t.current=null,x&&(d.cancel(),x.removeAttribute(jw.contextId),x.removeEventListener("scroll",p,Gw(b.scrollOptions)))},[p,d]),g=j(function(b){var x=t.current;x||R(!1);var S=Ps(x);S||R(!1),S.scrollTop+=b.y,S.scrollLeft+=b.x},[]),m=re(function(){return{getDimensionAndWatchScroll:h,getScrollWhileDragging:w,dragStopped:v,scroll:g}},[v,h,w,g]),y=re(function(){return{uniqueId:n,descriptor:l,callbacks:m}},[m,l,n]);ft(function(){return s.current=y.descriptor,i.droppable.register(y),function(){t.current&&v(),i.droppable.unregister(y)}},[m,l,v,y,a,i.droppable]),ft(function(){t.current&&a.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),ft(function(){t.current&&a.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function wp(){}var qw={width:0,height:0,margin:r$},_4=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?qw:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},N4=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=_4({isAnimatingOpenOnMount:r,placeholder:n,animate:i});return{display:n.display,boxSizing:"border-box",width:a.width,height:a.height,marginTop:a.margin.top,marginRight:a.margin.right,marginBottom:a.margin.bottom,marginLeft:a.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:i!=="none"?xo.placeholder:null}};function M4(e){var t=C.useRef(null),r=j(function(){t.current&&(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,l=C.useState(e.animate==="open"),s=l[0],u=l[1];C.useEffect(function(){return s?n!=="open"?(r(),u(!1),wp):t.current?wp:(t.current=setTimeout(function(){t.current=null,u(!1)}),r):wp},[n,s,r]);var c=j(function(d){d.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),f=N4({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return F.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":o,onTransitionEnd:c,ref:e.innerRef})}var $4=F.memo(M4),cy=F.createContext(null),L4=function(e){yl(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.state={isVisible:!!n.props.on,data:n.props.on,animate:n.props.shouldAnimate&&n.props.on?"open":"none"},n.onClose=function(){n.state.animate==="close"&&n.setState({isVisible:!1})},n}t.getDerivedStateFromProps=function(i,a){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:a.isVisible?{isVisible:!0,data:a.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!i.on,data:i.on,animate:"none"}};var r=t.prototype;return r.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(F.PureComponent),Vw={dragging:5e3,dropAnimating:4500},F4=function(t,r){return r?xo.drop(r.duration):t?xo.snap:xo.fluid},B4=function(t,r){return t?r?il.opacity.drop:il.opacity.combining:null},j4=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function z4(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=!!i,l=j4(e),s=!!a,u=s?yg.drop(n,o):yg.moveTo(n),c={position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:F4(l,a),transform:u,opacity:B4(o,s),zIndex:s?Vw.dropAnimating:Vw.dragging,pointerEvents:"none"};return c}function U4(e){return{transform:yg.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function W4(e){return e.type==="DRAGGING"?z4(e):U4(e)}function H4(e,t,r){r===void 0&&(r=ke);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=PO(i,n),o=Fu(a,r),l={client:a,tagName:t.tagName.toLowerCase(),display:n.display},s={x:a.marginBox.width,y:a.marginBox.height},u={descriptor:e,placeholder:l,displaceBy:s,client:a,page:o};return u}function G4(e){var t=sy("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,l=e.isEnabled,s=re(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:l}},[a,l,o]),u=j(function(p){var h=i();return h||R(!1),H4(r,h,p)},[r,i]),c=re(function(){return{uniqueId:t,descriptor:r,options:s,getDimension:u}},[r,u,s,t]),f=C.useRef(c),d=C.useRef(!0);ft(function(){return n.draggable.register(f.current),function(){return n.draggable.unregister(f.current)}},[n.draggable]),ft(function(){if(d.current){d.current=!1;return}var p=f.current;f.current=c,n.draggable.update(c,p)},[c,n.draggable])}function q4(e){e.preventDefault()}function V4(e){var t=C.useRef(null),r=j(function(I){t.current=I},[]),n=j(function(){return t.current},[]),i=Hu(gf),a=i.contextId,o=i.dragHandleUsageInstructionsId,l=i.registry,s=Hu(cy),u=s.type,c=s.droppableId,f=re(function(){return{id:e.draggableId,index:e.index,type:u,droppableId:c}},[e.draggableId,e.index,u,c]),d=e.children,p=e.draggableId,h=e.isEnabled,w=e.shouldRespectForcePress,v=e.canDragInteractiveElements,g=e.isClone,m=e.mapped,y=e.dropAnimationFinished;if(!g){var b=re(function(){return{descriptor:f,registry:l,getDraggableRef:n,canDragInteractiveElements:v,shouldRespectForcePress:w,isEnabled:h}},[f,l,n,v,w,h]);G4(b)}var x=re(function(){return h?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":p,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:q4}:null},[a,o,p,h]),S=j(function(I){m.type==="DRAGGING"&&m.dropping&&I.propertyName==="transform"&&y()},[y,m]),E=re(function(){var I=W4(m),T=m.type==="DRAGGING"&&m.dropping?S:null,_={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":p,style:I,onTransitionEnd:T},dragHandleProps:x};return _},[a,x,p,m,S,r]),O=re(function(){return{draggableId:f.id,type:f.type,source:{index:f.index,droppableId:f.droppableId}}},[f.droppableId,f.id,f.index,f.type]);return d(E,m.snapshot,O)}var wI=function(e,t){return e===t},SI=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},Y4=function(t){return t.combine?t.combine.draggableId:null},K4=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function X4(){var e=Se(function(i,a){return{x:i,y:a}}),t=Se(function(i,a,o,l,s){return{isDragging:!0,isClone:a,isDropAnimating:!!s,dropAnimation:s,mode:i,draggingOver:o,combineWith:l,combineTargetFor:null}}),r=Se(function(i,a,o,l,s,u,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:s,combineWith:u,mode:a,offset:i,dimension:o,forceShouldAnimate:c,snapshot:t(a,l,s,u,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var l=a.current.client.offset,s=a.dimensions.draggables[o.draggableId],u=ct(a.impact),c=K4(a.impact),f=a.forceShouldAnimate;return r(e(l.x,l.y),a.movementMode,s,o.isClone,u,c,f)}if(a.phase==="DROP_ANIMATING"){var d=a.completed;if(d.result.draggableId!==o.draggableId)return null;var p=o.isClone,h=a.dimensions.draggables[o.draggableId],w=d.result,v=w.mode,g=SI(w),m=Y4(w),y=a.dropDuration,b={duration:y,curve:ty.drop,moveTo:a.newHomeClientOffset,opacity:m?il.opacity.drop:null,scale:m?il.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:h,dropping:b,draggingOver:g,combineWith:m,mode:v,forceShouldAnimate:null,snapshot:t(v,p,g,m,b)}}}return null};return n}function xI(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var Q4={mapped:{type:"SECONDARY",offset:ke,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:xI(null)}};function J4(){var e=Se(function(o,l){return{x:o,y:l}}),t=Se(xI),r=Se(function(o,l,s){return l===void 0&&(l=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:l,shouldAnimateDisplacement:s,snapshot:t(l)}}}),n=function(l){return l?r(ke,l,!0):null},i=function(l,s,u,c){var f=u.displaced.visible[l],d=!!(c.inVirtualList&&c.effected[l]),p=ff(u),h=p&&p.draggableId===l?s:null;if(!f){if(!d)return n(h);if(u.displaced.invisible[l])return null;var w=ba(c.displacedBy.point),v=e(w.x,w.y);return r(v,h,!0)}if(d)return n(h);var g=u.displacedBy.point,m=e(g.x,g.y);return r(m,h,f.shouldAnimate)},a=function(l,s){if(l.isDragging)return l.critical.draggable.id===s.draggableId?null:i(s.draggableId,l.critical.draggable.id,l.impact,l.afterCritical);if(l.phase==="DROP_ANIMATING"){var u=l.completed;return u.result.draggableId===s.draggableId?null:i(s.draggableId,u.result.draggableId,u.impact,u.afterCritical)}return null};return a}var Z4=function(){var t=X4(),r=J4(),n=function(a,o){return t(a,o)||r(a,o)||Q4};return n},eB={dropAnimationFinished:tI},tB=zh(Z4,eB,null,{context:ly,pure:!0,areStatePropsEqual:wI})(V4);function EI(e){var t=Hu(cy),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:F.createElement(tB,e)}function c7(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=!!e.disableInteractiveElementBlocking,n=!!e.shouldRespectForcePress;return F.createElement(EI,W({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}function rB(e){var t=C.useContext(gf);t||R(!1);var r=t.contextId,n=t.isMovementAllowed,i=C.useRef(null),a=C.useRef(null),o=e.children,l=e.droppableId,s=e.type,u=e.mode,c=e.direction,f=e.ignoreContainerClipping,d=e.isDropDisabled,p=e.isCombineEnabled,h=e.snapshot,w=e.useClone,v=e.updateViewportMaxScroll,g=e.getContainerForClone,m=j(function(){return i.current},[]),y=j(function(_){i.current=_},[]);j(function(){return a.current},[]);var b=j(function(_){a.current=_},[]),x=j(function(){n()&&v({maxScroll:oI()})},[n,v]);k4({droppableId:l,type:s,mode:u,direction:c,isDropDisabled:d,isCombineEnabled:p,ignoreContainerClipping:f,getDroppableRef:m});var S=F.createElement(L4,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},function(_){var H=_.onClose,z=_.data,G=_.animate;return F.createElement($4,{placeholder:z,onClose:H,innerRef:b,animate:G,contextId:r,onTransitionEnd:x})}),E=re(function(){return{innerRef:y,placeholder:S,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":r}}},[r,l,S,y]),O=w?w.dragging.draggableId:null,I=re(function(){return{droppableId:l,type:s,isUsingCloneFor:O}},[l,O,s]);function T(){if(!w)return null;var _=w.dragging,H=w.render,z=F.createElement(EI,{draggableId:_.draggableId,index:_.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(G,Y){return H(G,Y,_)});return to.createPortal(z,g())}return F.createElement(cy.Provider,{value:I},o(E,h),T())}var Sp=function(t,r){return t===r.droppable.type},Yw=function(t,r){return r.draggables[t.draggable.id]},nB=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=W({},t,{shouldAnimatePlaceholder:!1}),n=Se(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=Se(function(o,l,s,u,c,f){var d=c.descriptor.id,p=c.descriptor.droppableId===o;if(p){var h=f?{render:f,dragging:n(c.descriptor)}:null,w={isDraggingOver:s,draggingOverWith:s?d:null,draggingFromThisWith:d,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:w,useClone:h}}if(!l)return r;if(!u)return t;var v={isDraggingOver:s,draggingOverWith:d,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:v,useClone:null}}),a=function(l,s){var u=s.droppableId,c=s.type,f=!s.isDropDisabled,d=s.renderClone;if(l.isDragging){var p=l.critical;if(!Sp(c,p))return r;var h=Yw(p,l.dimensions),w=ct(l.impact)===u;return i(u,f,w,w,h,d)}if(l.phase==="DROP_ANIMATING"){var v=l.completed;if(!Sp(c,v.critical))return r;var g=Yw(v.critical,l.dimensions);return i(u,f,SI(v.result)===u,ct(v.impact)===u,g,d)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var m=l.completed;if(!Sp(c,m.critical))return r;var y=ct(m.impact)===u,b=!!(m.impact.at&&m.impact.at.type==="COMBINE"),x=m.critical.droppable.id===u;return y?b?t:r:x?t:r}return r};return a},iB={updateViewportMaxScroll:vL};function aB(){return document.body||R(!1),document.body}var oB={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:aB},lB=zh(nB,iB,null,{context:ly,pure:!0,areStatePropsEqual:wI})(rB);lB.defaultProps=oB;var sB=typeof performance=="object"&&typeof performance.now=="function",Kw=sB?function(){return performance.now()}:function(){return Date.now()};function Xw(e){cancelAnimationFrame(e.id)}function uB(e,t){var r=Kw();function n(){Kw()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var di=null;function Qw(e){if(e===void 0&&(e=!1),di===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?di="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?di="negative":di="positive-ascending"),document.body.removeChild(t),di}return di}var cB=150,fB=function(t,r){return t};function dB(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return r=t=function(d){yl(p,d);function p(w){var v;return v=d.call(this,w)||this,v._instanceProps=u(v.props,ds(ds(v))),v._outerRef=void 0,v._resetIsScrollingTimeoutId=null,v.state={instance:ds(ds(v)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof v.props.initialScrollOffset=="number"?v.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},v._callOnItemsRendered=void 0,v._callOnItemsRendered=Se(function(g,m,y,b){return v.props.onItemsRendered({overscanStartIndex:g,overscanStopIndex:m,visibleStartIndex:y,visibleStopIndex:b})}),v._callOnScroll=void 0,v._callOnScroll=Se(function(g,m,y){return v.props.onScroll({scrollDirection:g,scrollOffset:m,scrollUpdateWasRequested:y})}),v._getItemStyle=void 0,v._getItemStyle=function(g){var m=v.props,y=m.direction,b=m.itemSize,x=m.layout,S=v._getItemStyleCache(c&&b,c&&x,c&&y),E;if(S.hasOwnProperty(g))E=S[g];else{var O=n(v.props,g,v._instanceProps),I=a(v.props,g,v._instanceProps),T=y==="horizontal"||x==="horizontal",_=y==="rtl",H=T?O:0;S[g]=E={position:"absolute",left:_?void 0:H,right:_?H:void 0,top:T?0:O,height:T?"100%":I,width:T?I:"100%"}}return E},v._getItemStyleCache=void 0,v._getItemStyleCache=Se(function(g,m,y){return{}}),v._onScrollHorizontal=function(g){var m=g.currentTarget,y=m.clientWidth,b=m.scrollLeft,x=m.scrollWidth;v.setState(function(S){if(S.scrollOffset===b)return null;var E=v.props.direction,O=b;if(E==="rtl")switch(Qw()){case"negative":O=-b;break;case"positive-descending":O=x-y-b;break}return O=Math.max(0,Math.min(O,x-y)),{isScrolling:!0,scrollDirection:S.scrollOffset<b?"forward":"backward",scrollOffset:O,scrollUpdateWasRequested:!1}},v._resetIsScrollingDebounced)},v._onScrollVertical=function(g){var m=g.currentTarget,y=m.clientHeight,b=m.scrollHeight,x=m.scrollTop;v.setState(function(S){if(S.scrollOffset===x)return null;var E=Math.max(0,Math.min(x,b-y));return{isScrolling:!0,scrollDirection:S.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},v._resetIsScrollingDebounced)},v._outerRefSetter=function(g){var m=v.props.outerRef;v._outerRef=g,typeof m=="function"?m(g):m!=null&&typeof m=="object"&&m.hasOwnProperty("current")&&(m.current=g)},v._resetIsScrollingDebounced=function(){v._resetIsScrollingTimeoutId!==null&&Xw(v._resetIsScrollingTimeoutId),v._resetIsScrollingTimeoutId=uB(v._resetIsScrolling,cB)},v._resetIsScrolling=function(){v._resetIsScrollingTimeoutId=null,v.setState({isScrolling:!1},function(){v._getItemStyleCache(-1,null)})},v}p.getDerivedStateFromProps=function(v,g){return pB(v,g),f(v),null};var h=p.prototype;return h.scrollTo=function(v){v=Math.max(0,v),this.setState(function(g){return g.scrollOffset===v?null:{scrollDirection:g.scrollOffset<v?"forward":"backward",scrollOffset:v,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},h.scrollToItem=function(v,g){g===void 0&&(g="auto");var m=this.props.itemCount,y=this.state.scrollOffset;v=Math.max(0,Math.min(v,m-1)),this.scrollTo(o(this.props,v,g,y,this._instanceProps))},h.componentDidMount=function(){var v=this.props,g=v.direction,m=v.initialScrollOffset,y=v.layout;if(typeof m=="number"&&this._outerRef!=null){var b=this._outerRef;g==="horizontal"||y==="horizontal"?b.scrollLeft=m:b.scrollTop=m}this._callPropsCallbacks()},h.componentDidUpdate=function(){var v=this.props,g=v.direction,m=v.layout,y=this.state,b=y.scrollOffset,x=y.scrollUpdateWasRequested;if(x&&this._outerRef!=null){var S=this._outerRef;if(g==="horizontal"||m==="horizontal")if(g==="rtl")switch(Qw()){case"negative":S.scrollLeft=-b;break;case"positive-ascending":S.scrollLeft=b;break;default:var E=S.clientWidth,O=S.scrollWidth;S.scrollLeft=O-E-b;break}else S.scrollLeft=b;else S.scrollTop=b}this._callPropsCallbacks()},h.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Xw(this._resetIsScrollingTimeoutId)},h.render=function(){var v=this.props,g=v.children,m=v.className,y=v.direction,b=v.height,x=v.innerRef,S=v.innerElementType,E=v.innerTagName,O=v.itemCount,I=v.itemData,T=v.itemKey,_=T===void 0?fB:T,H=v.layout,z=v.outerElementType,G=v.outerTagName,Y=v.style,Q=v.useIsScrolling,ee=v.width,oe=this.state.isScrolling,le=y==="horizontal"||H==="horizontal",ce=le?this._onScrollHorizontal:this._onScrollVertical,P=this._getRangeToRender(),k=P[0],U=P[1],K=[];if(O>0)for(var V=k;V<=U;V++)K.push(C.createElement(g,{data:I,key:_(V,I),index:V,isScrolling:Q?oe:void 0,style:this._getItemStyle(V)}));var se=i(this.props,this._instanceProps);return C.createElement(z||G||"div",{className:m,onScroll:ce,ref:this._outerRefSetter,style:W({position:"relative",height:b,width:ee,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},Y)},C.createElement(S||E||"div",{children:K,ref:x,style:{height:le?"100%":se,pointerEvents:oe?"none":void 0,width:le?se:"100%"}}))},h._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var v=this.props.itemCount;if(v>0){var g=this._getRangeToRender(),m=g[0],y=g[1],b=g[2],x=g[3];this._callOnItemsRendered(m,y,b,x)}}if(typeof this.props.onScroll=="function"){var S=this.state,E=S.scrollDirection,O=S.scrollOffset,I=S.scrollUpdateWasRequested;this._callOnScroll(E,O,I)}},h._getRangeToRender=function(){var v=this.props,g=v.itemCount,m=v.overscanCount,y=this.state,b=y.isScrolling,x=y.scrollDirection,S=y.scrollOffset;if(g===0)return[0,0,0,0];var E=l(this.props,S,this._instanceProps),O=s(this.props,E,S,this._instanceProps),I=!b||x==="backward"?Math.max(1,m):1,T=!b||x==="forward"?Math.max(1,m):1;return[Math.max(0,E-I),Math.max(0,Math.min(g-1,O+T)),E,O]},p}(C.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var pB=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},f7=dB({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,i){var a=t.direction,o=t.height,l=t.itemCount,s=t.itemSize,u=t.layout,c=t.width,f=a==="horizontal"||u==="horizontal",d=f?c:o,p=Math.max(0,l*s-d),h=Math.min(p,r*s),w=Math.max(0,r*s-d+s);switch(n==="smart"&&(i>=w-d&&i<=h+d?n="auto":n="center"),n){case"start":return h;case"end":return w;case"center":{var v=Math.round(w+(h-w)/2);return v<Math.ceil(d/2)?0:v>p+Math.floor(d/2)?p:v}case"auto":default:return i>=w&&i<=h?i:i<w?w:h}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,a=t.height,o=t.itemCount,l=t.itemSize,s=t.layout,u=t.width,c=i==="horizontal"||s==="horizontal",f=r*l,d=c?u:a,p=Math.ceil((d+n-f)/l);return Math.max(0,Math.min(o-1,r+p-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),vB=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},gB=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),mB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hB=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},Jw=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},yB=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),s;!(i=(s=l.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),It=void 0;typeof window<"u"?It=window:typeof self<"u"?It=self:It=global;var xg=null,Eg=null,Zw=20,xp=It.clearTimeout,eS=It.setTimeout,Ep=It.cancelAnimationFrame||It.mozCancelAnimationFrame||It.webkitCancelAnimationFrame,tS=It.requestAnimationFrame||It.mozRequestAnimationFrame||It.webkitRequestAnimationFrame;Ep==null||tS==null?(xg=xp,Eg=function(t){return eS(t,Zw)}):(xg=function(t){var r=yB(t,2),n=r[0],i=r[1];Ep(n),xp(i)},Eg=function(t){var r=tS(function(){xp(n),t()}),n=eS(function(){Ep(r),t()},Zw);return[r,n]});function bB(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,l=void 0,s=typeof document<"u"&&document.attachEvent;if(!s){o=function(b){var x=b.__resizeTriggers__,S=x.firstElementChild,E=x.lastElementChild,O=S.firstElementChild;E.scrollLeft=E.scrollWidth,E.scrollTop=E.scrollHeight,O.style.width=S.offsetWidth+1+"px",O.style.height=S.offsetHeight+1+"px",S.scrollLeft=S.scrollWidth,S.scrollTop=S.scrollHeight},a=function(b){return b.offsetWidth!==b.__resizeLast__.width||b.offsetHeight!==b.__resizeLast__.height},l=function(b){if(!(b.target.className&&typeof b.target.className.indexOf=="function"&&b.target.className.indexOf("contract-trigger")<0&&b.target.className.indexOf("expand-trigger")<0)){var x=this;o(this),this.__resizeRAF__&&xg(this.__resizeRAF__),this.__resizeRAF__=Eg(function(){a(x)&&(x.__resizeLast__.width=x.offsetWidth,x.__resizeLast__.height=x.offsetHeight,x.__resizeListeners__.forEach(function(O){O.call(x,b)}))})}};var u=!1,c="";n="animationstart";var f="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p="";{var h=document.createElement("fakeelement");if(h.style.animationName!==void 0&&(u=!0),u===!1){for(var w=0;w<f.length;w++)if(h.style[f[w]+"AnimationName"]!==void 0){p=f[w],c="-"+p.toLowerCase()+"-",n=d[w],u=!0;break}}}r="resizeanim",t="@"+c+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=c+"animation: 1ms "+r+"; "}var v=function(b){if(!b.getElementById("detectElementResize")){var x=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',S=b.head||b.getElementsByTagName("head")[0],E=b.createElement("style");E.id="detectElementResize",E.type="text/css",e!=null&&E.setAttribute("nonce",e),E.styleSheet?E.styleSheet.cssText=x:E.appendChild(b.createTextNode(x)),S.appendChild(E)}},g=function(b,x){if(s)b.attachEvent("onresize",x);else{if(!b.__resizeTriggers__){var S=b.ownerDocument,E=It.getComputedStyle(b);E&&E.position==="static"&&(b.style.position="relative"),v(S),b.__resizeLast__={},b.__resizeListeners__=[],(b.__resizeTriggers__=S.createElement("div")).className="resize-triggers";var O=S.createElement("div");O.className="expand-trigger",O.appendChild(S.createElement("div"));var I=S.createElement("div");I.className="contract-trigger",b.__resizeTriggers__.appendChild(O),b.__resizeTriggers__.appendChild(I),b.appendChild(b.__resizeTriggers__),o(b),b.addEventListener("scroll",l,!0),n&&(b.__resizeTriggers__.__animationListener__=function(_){_.animationName===r&&o(b)},b.__resizeTriggers__.addEventListener(n,b.__resizeTriggers__.__animationListener__))}b.__resizeListeners__.push(x)}},m=function(b,x){if(s)b.detachEvent("onresize",x);else if(b.__resizeListeners__.splice(b.__resizeListeners__.indexOf(x),1),!b.__resizeListeners__.length){b.removeEventListener("scroll",l,!0),b.__resizeTriggers__.__animationListener__&&(b.__resizeTriggers__.removeEventListener(n,b.__resizeTriggers__.__animationListener__),b.__resizeTriggers__.__animationListener__=null);try{b.__resizeTriggers__=!b.removeChild(b.__resizeTriggers__)}catch{}}};return{addResizeListener:g,removeResizeListener:m}}var wB=function(e){hB(t,e);function t(){var r,n,i,a;vB(this,t);for(var o=arguments.length,l=Array(o),s=0;s<o;s++)l[s]=arguments[s];return a=(n=(i=Jw(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(l))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var u=i.props,c=u.disableHeight,f=u.disableWidth,d=u.onResize;if(i._parentNode){var p=i._parentNode.offsetHeight||0,h=i._parentNode.offsetWidth||0,w=window.getComputedStyle(i._parentNode)||{},v=parseInt(w.paddingLeft,10)||0,g=parseInt(w.paddingRight,10)||0,m=parseInt(w.paddingTop,10)||0,y=parseInt(w.paddingBottom,10)||0,b=p-m-y,x=h-v-g;(!c&&i.state.height!==b||!f&&i.state.width!==x)&&(i.setState({height:p-m-y,width:h-v-g}),d({height:p,width:h}))}},i._setRef=function(u){i._autoSizer=u},n),Jw(i,a)}return gB(t,[{key:"componentDidMount",value:function(){var n=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=bB(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,a=n.className,o=n.disableHeight,l=n.disableWidth,s=n.style,u=this.state,c=u.height,f=u.width,d={overflow:"visible"},p={},h=!1;return o||(c===0&&(h=!0),d.height=0,p.height=c),l||(f===0&&(h=!0),d.width=0,p.width=f),C.createElement("div",{className:a,ref:this._setRef,style:mB({},d,s)},!h&&i(p))}}]),t}(C.PureComponent);wB.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var SB=9007199254740991,xB="[object Arguments]",EB="[object Function]",CB="[object GeneratorFunction]",OB=typeof Z=="object"&&Z&&Z.Object===Object&&Z,IB=typeof self=="object"&&self&&self.Object===Object&&self,PB=OB||IB||Function("return this")();function DB(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var fy=Object.prototype,AB=fy.hasOwnProperty,CI=fy.toString,rS=PB.Symbol,RB=fy.propertyIsEnumerable,nS=rS?rS.isConcatSpreadable:void 0;function OI(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=TB),i||(i=[]);++a<o;){var l=e[a];t>0&&r(l)?t>1?OI(l,t-1,r,n,i):DB(i,l):n||(i[i.length]=l)}return i}function TB(e){return NB(e)||_B(e)||!!(nS&&e&&e[nS])}function kB(e){var t=e?e.length:0;return t?OI(e,1):[]}function _B(e){return $B(e)&&AB.call(e,"callee")&&(!RB.call(e,"callee")||CI.call(e)==xB)}var NB=Array.isArray;function MB(e){return e!=null&&FB(e.length)&&!LB(e)}function $B(e){return jB(e)&&MB(e)}function LB(e){var t=BB(e)?CI.call(e):"";return t==EB||t==CB}function FB(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=SB}function BB(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function jB(e){return!!e&&typeof e=="object"}var zB=kB;const d7=nt(zB);var iS=0/0,UB="[object Symbol]",WB=/^\s+|\s+$/g,HB=/^[-+]0x[0-9a-f]+$/i,GB=/^0b[01]+$/i,qB=/^0o[0-7]+$/i,VB=parseInt,YB=Object.prototype,KB=YB.toString;function XB(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function aS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function QB(e){return!!e&&typeof e=="object"}function JB(e){return typeof e=="symbol"||QB(e)&&KB.call(e)==UB}function Cp(e){if(typeof e=="number")return e;if(JB(e))return iS;if(aS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=aS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(WB,"");var r=GB.test(e);return r||qB.test(e)?VB(e.slice(2),r?2:8):HB.test(e)?iS:+e}function ZB(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=Cp(r),r=r===r?r:0),t!==void 0&&(t=Cp(t),t=t===t?t:0),XB(Cp(e),t,r)}var ej=ZB;const p7=nt(ej);function Va(e){return e&&e.__esModule?e.default:e}function Ut(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var II={};Ut(II,"spectrum--darkest",()=>Cg,e=>Cg=e);var Cg;Cg="spectrum--darkest_256eeb";var hn={};Ut(hn,"spectrum",()=>Og,e=>Og=e);Ut(hn,"spectrum--medium",()=>Ig,e=>Ig=e);Ut(hn,"spectrum--large",()=>Pg,e=>Pg=e);Ut(hn,"spectrum--darkest",()=>Dg,e=>Dg=e);Ut(hn,"spectrum--dark",()=>Ag,e=>Ag=e);Ut(hn,"spectrum--light",()=>Rg,e=>Rg=e);Ut(hn,"spectrum--lightest",()=>Tg,e=>Tg=e);var Og,Ig,Pg,Dg,Ag,Rg,Tg;Og="spectrum_9e130c";Ig="spectrum--medium_9e130c";Pg="spectrum--large_9e130c";Dg="spectrum--darkest_9e130c";Ag="spectrum--dark_9e130c";Rg="spectrum--light_9e130c";Tg="spectrum--lightest_9e130c";var PI={};Ut(PI,"spectrum--large",()=>kg,e=>kg=e);var kg;kg="spectrum--large_c40598";var DI={};Ut(DI,"spectrum--light",()=>_g,e=>_g=e);var _g;_g="spectrum--light_a40724";var AI={};Ut(AI,"spectrum--medium",()=>Ng,e=>Ng=e);var Ng;Ng="spectrum--medium_4b172c";let v7={global:Va(hn),light:Va(DI),dark:Va(II),medium:Va(AI),large:Va(PI)};/*! js-cookie v3.0.5 | MIT */function Ds(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var tj={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Mg(e,t){function r(i,a,o){if(!(typeof document>"u")){o=Ds({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var s in o)o[s]&&(l+="; "+s,o[s]!==!0&&(l+="="+o[s].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+l}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},l=0;l<a.length;l++){var s=a[l].split("="),u=s.slice(1).join("=");try{var c=decodeURIComponent(s[0]);if(o[c]=e.read(u,c),i===c)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Ds({},a,{expires:-1}))},withAttributes:function(i){return Mg(this.converter,Ds({},this.attributes,i))},withConverter:function(i){return Mg(Ds({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var g7=Mg(tj,{path:"/"});function m7(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:n=u=>u.id||u.key,filter:i,initialFilterText:a=""}=e,[o,l]=C.useState({items:t,selectedKeys:r==="all"?"all":new Set(r||[]),filterText:a}),s=C.useMemo(()=>i?o.items.filter(u=>i(u,o.filterText)):o.items,[o.items,o.filterText,i]);return{...o,items:s,...rj({getKey:n},l),getItem(u){return o.items.find(c=>n(c)===u)}}}function rj(e,t){let{cursor:r,getKey:n}=e;return{setSelectedKeys(i){t(a=>({...a,selectedKeys:i}))},setFilterText(i){t(a=>({...a,filterText:i}))},insert(i,...a){t(o=>Ya(o,i,...a))},insertBefore(i,...a){t(o=>{let l=o.items.findIndex(s=>n(s)===i);if(l===-1)if(o.items.length===0)l=0;else return o;return Ya(o,l,...a)})},insertAfter(i,...a){t(o=>{let l=o.items.findIndex(s=>n(s)===i);if(l===-1)if(o.items.length===0)l=0;else return o;return Ya(o,l+1,...a)})},prepend(...i){t(a=>Ya(a,0,...i))},append(...i){t(a=>Ya(a,a.items.length,...i))},remove(...i){t(a=>{let o=new Set(i),l=a.items.filter(u=>!o.has(n(u))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let u of i)s.delete(u)}return r==null&&l.length===0&&(s=new Set),{...a,items:l,selectedKeys:s}})},removeSelectedItems(){t(i=>{if(i.selectedKeys==="all")return{...i,items:[],selectedKeys:new Set};let a=i.selectedKeys,o=i.items.filter(l=>!a.has(n(l)));return{...i,items:o,selectedKeys:new Set}})},move(i,a){t(o=>{let l=o.items.findIndex(c=>n(c)===i);if(l===-1)return o;let s=o.items.slice(),[u]=s.splice(l,1);return s.splice(a,0,u),{...o,items:s}})},moveBefore(i,a){t(o=>{let l=o.items.findIndex(c=>n(c)===i);if(l===-1)return o;let u=(Array.isArray(a)?a:[...a]).map(c=>o.items.findIndex(f=>n(f)===c)).sort();return oS(o,u,l)})},moveAfter(i,a){t(o=>{let l=o.items.findIndex(c=>n(c)===i);if(l===-1)return o;let u=(Array.isArray(a)?a:[...a]).map(c=>o.items.findIndex(f=>n(f)===c)).sort();return oS(o,u,l+1)})},update(i,a){t(o=>{let l=o.items.findIndex(s=>n(s)===i);return l===-1?o:{...o,items:[...o.items.slice(0,l),a,...o.items.slice(l+1)]}})}}}function Ya(e,t,...r){return{...e,items:[...e.items.slice(0,t),...r,...e.items.slice(t)]}}function oS(e,t,r){r-=t.filter(a=>a<r).length;let n=t.map(a=>({from:a,to:r++}));for(let a=0;a<n.length;a++){let o=n[a].from;for(let l=a;l<n.length;l++)n[l].from>o&&n[l].from--}for(let a=0;a<n.length;a++){let o=n[a];for(let l=n.length-1;l>a;l--){let s=n[l];s.from<o.to?o.to++:s.from++}}let i=e.items.slice();for(let a of n){let[o]=i.splice(a.from,1);i.splice(a.to,0,o)}return{...e,items:i}}var nj={},$l={},Ll={},hf={},RI={};(function(e){e.__esModule=!0;var t=function(r){var n={};return function(i){return i in n||(n[i]=r(i)),n[i]}};e.default=t})(RI);var TI={};const ij={},aj=Object.freeze(Object.defineProperty({__proto__:null,default:ij},Symbol.toStringTag,{value:"Module"})),$g=wD(aj);var qn={};qn.__esModule=!0;qn.InternalServerError=qn.OK=void 0;qn.OK=200;qn.InternalServerError=500;(function(e){var t=Z&&Z.__spreadArray||function(l,s,u){if(u||arguments.length===2)for(var c=0,f=s.length,d;c<f;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return l.concat(d||Array.prototype.slice.call(s))};e.__esModule=!0;var r=$g,n=$g,i=qn,a=function(l){for(var s=[],u=1;u<arguments.length;u++)s[u-1]=arguments[u];return typeof l!="string"?{on:function(c,f){f(new Error("URL must be a string."))}}:l.indexOf("https://")===0?n.get.apply(n,t([l],s,!1)):r.get.apply(r,t([l],s,!1))},o=function(l){return new Promise(function(s,u){a(l,function(c){if(c.statusCode!==i.OK)return u(new Error("HTTP Error Response: "+c.statusCode+" "+c.statusMessage+" ("+l+")"));var f=null;c.on("data",function(d){if(f===null){f=d;return}f+=d}),c.on("end",function(){return s(f)})}).on("error",u)})};e.default=o})(TI);var kI={},en={};en.__esModule=!0;en.DONE=en.OPENED=en.UNSENT=void 0;en.UNSENT=0;en.OPENED=1;en.DONE=4;(function(e){e.__esModule=!0;var t=qn,r=en,n=function(i){return new Promise(function(a,o){var l=new XMLHttpRequest;l.onreadystatechange=function(){l.readyState===r.DONE&&(l.status===t.OK?a(l.responseText):o(new Error("HTTP Error Response: "+l.status+" "+l.statusText+" ("+i+")")))},l.open("GET",i,!0),l.send()})};e.default=n})(kI);hf.__esModule=!0;hf.createLoadRemoteModule=void 0;var oj=RI,lj=TI,sj=kI,uj=typeof window<"u"&&typeof window.document<"u",cj=uj?sj.default:lj.default,fj=function(e){throw new Error("Could not require '"+e+"'. The 'requires' function was not provided.")},dj=function(e){var t=e===void 0?{}:e,r=t.requires,n=t.fetcher,i=r||fj,a=n||cj;return(0,oj.default)(function(o){return a(o).then(function(l){var s={},u={exports:s},c=new Function("require","module","exports",l);return c(i,u,s),u.exports})})};hf.createLoadRemoteModule=dj;var yf={};yf.__esModule=!0;yf.createRequires=void 0;var pj=function(e){return function(t){var r=e||{};if(!(t in r))throw new Error("Could not require '"+t+"'. '"+t+"' does not exist in dependencies.");return r[t]}};yf.createRequires=pj;(function(e){var t=Z&&Z.__createBinding||(Object.create?function(i,a,o,l){l===void 0&&(l=o),Object.defineProperty(i,l,{enumerable:!0,get:function(){return a[o]}})}:function(i,a,o,l){l===void 0&&(l=o),i[l]=a[o]});e.__esModule=!0,e.createRequires=e.default=void 0;var r=hf;t(e,r,"createLoadRemoteModule","default");var n=yf;t(e,n,"createRequires")})(Ll);const h7=nt(Ll);var vj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};$l.__esModule=!0;$l.createUseRemoteComponent=void 0;var lS=C,gj=vj(Ll),mj=function(e){var t=gj.default(e),r=function(n,i){i===void 0&&(i="default");var a=lS.useState({loading:!0,err:void 0,component:void 0}),o=a[0],l=o.loading,s=o.err,u=o.component,c=a[1];return lS.useEffect(function(){var f=c;return f({loading:!0,err:void 0,component:void 0}),t(n).then(function(d){return f({loading:!1,err:void 0,component:d[i]})}).catch(function(d){return f({loading:!1,err:d,component:void 0})}),function(){f=function(){}}},[n]),[l,s,u]};return r};$l.createUseRemoteComponent=mj;var Fl={};Fl.__esModule=!0;Fl.createRequires=void 0;var hj=function(e){return typeof e=="function"?e():e||{}},yj=function(e){var t=!1;return function(r){if(t||(e=hj(e),t=!0),!(r in e))throw new Error("Could not require '"+r+"'. '"+r+"' does not exist in dependencies.");return e[r]}};Fl.createRequires=yj;var dy={};(function(e){var t=Z&&Z.__assign||function(){return t=Object.assign||function(o){for(var l,s=1,u=arguments.length;s<u;s++){l=arguments[s];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(o[c]=l[c])}return o},t.apply(this,arguments)};e.__esModule=!0,e.getDependencies=e.ensureRemoteComponentConfig=void 0;var r=function(o){return o&&typeof o.message=="string"&&o.message.indexOf("Cannot find module")>-1},n=function(o){return typeof o=="object"&&"remote-component.config.js"in o},i=function(o){var l=o.resolve;if(n(l))return l;var s=t({},l);return s["remote-component.config.js"]={resolve:s},s};e.ensureRemoteComponentConfig=i;var a=function(){try{return e.ensureRemoteComponentConfig(require("remote-component.config.js"))}catch(o){if(!r(o))throw o;return{}}};e.getDependencies=a})(dy);var Bl={},Lg=Z&&Z.__assign||function(){return Lg=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Lg.apply(this,arguments)},bj=Z&&Z.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},wj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Bl.__esModule=!0;Bl.createRemoteComponent=void 0;var sS=wj(C),Sj=$l,xj=function(e){var t=Sj.createUseRemoteComponent(e),r=function(n){var i=n.url,a=n.fallback,o=a===void 0?null:a,l=n.render,s=bj(n,["url","fallback","render"]),u=t(i),c=u[0],f=u[1],d=u[2];return c?o:l?l({err:f,Component:d}):f||!d?sS.default.createElement("div",null,"Unknown Error: ",(f||"UNKNOWN").toString()):sS.default.createElement(d,Lg({},s))};return r};Bl.createRemoteComponent=xj;var bf={};bf.__esModule=!0;bf.RemoteComponent=void 0;var Ej=Bl,Cj=Fl,Oj=dy,Ij=Cj.createRequires(Oj.getDependencies);bf.RemoteComponent=Ej.createRemoteComponent({requires:Ij});var wf={},Pj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};wf.__esModule=!0;wf.fetchRemoteComponent=void 0;var Dj=Pj(Ll),Aj=function(e){var t=e.requires,r=e.fetcher,n=e.url,i=e.imports,a=i===void 0?"default":i,o=Dj.default({requires:t,fetcher:r});return o(n).then(function(l){var s=l&&l[a];if(!s)throw new Error("Could not load '"+a+"' from '"+n+"'.");return s})};wf.fetchRemoteComponent=Aj;var Sf={},Rj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Sf.__esModule=!0;Sf.getServerSideProps=void 0;var Tj=Rj(Ll),kj=function(e){var t=e.url,r=e.requires,n=e.context,i=e.imports,a=i===void 0?"default":i,o=Tj.default({requires:r});return o(t).then(function(l){var s=l&&l[a]&&l[a].getServerSideProps;return typeof s=="function"?s(n):{}})};Sf.getServerSideProps=kj;(function(e){var t=Z&&Z.__createBinding||(Object.create?function(u,c,f,d){d===void 0&&(d=f),Object.defineProperty(u,d,{enumerable:!0,get:function(){return c[f]}})}:function(u,c,f,d){d===void 0&&(d=f),u[d]=c[f]});e.__esModule=!0,e.getServerSideProps=e.fetchRemoteComponent=e.RemoteComponent=e.createRemoteComponent=e.getDependencies=e.createRequires=e.createUseRemoteComponent=void 0;var r=$l;t(e,r,"createUseRemoteComponent");var n=Fl;t(e,n,"createRequires");var i=dy;t(e,i,"getDependencies");var a=Bl;t(e,a,"createRemoteComponent");var o=bf;t(e,o,"RemoteComponent");var l=wf;t(e,l,"fetchRemoteComponent");var s=Sf;t(e,s,"getServerSideProps")})(nj);var uS=Object.prototype.toString,_I=function(t){var r=uS.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&uS.call(t.callee)==="[object Function]"),n},Op,cS;function _j(){if(cS)return Op;cS=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=_I,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(d){var p=d.constructor;return p&&p.prototype===d},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!u["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{s(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!c)return s(d);try{return s(d)}catch{return!1}};e=function(p){var h=p!==null&&typeof p=="object",w=r.call(p)==="[object Function]",v=n(p),g=h&&r.call(p)==="[object String]",m=[];if(!h&&!w&&!v)throw new TypeError("Object.keys called on a non-object");var y=o&&w;if(g&&p.length>0&&!t.call(p,0))for(var b=0;b<p.length;++b)m.push(String(b));if(v&&p.length>0)for(var x=0;x<p.length;++x)m.push(String(x));else for(var S in p)!(y&&S==="prototype")&&t.call(p,S)&&m.push(String(S));if(a)for(var E=f(p),O=0;O<l.length;++O)!(E&&l[O]==="constructor")&&t.call(p,l[O])&&m.push(l[O]);return m}}return Op=e,Op}var Nj=Array.prototype.slice,Mj=_I,fS=Object.keys,eu=fS?function(t){return fS(t)}:_j(),dS=Object.keys;eu.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Mj(n)?dS(Nj.call(n)):dS(n)})}else Object.keys=eu;return Object.keys||eu};var py=eu,xf=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},$j=xf,yn=function(){return $j()&&!!Symbol.toStringTag},pS=typeof Symbol<"u"&&Symbol,Lj=xf,vy=function(){return typeof pS!="function"||typeof Symbol!="function"||typeof pS("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Lj()},Fj="Function.prototype.bind called on incompatible ",Ip=Array.prototype.slice,Bj=Object.prototype.toString,jj="[object Function]",zj=function(t){var r=this;if(typeof r!="function"||Bj.call(r)!==jj)throw new TypeError(Fj+r);for(var n=Ip.call(arguments,1),i,a=function(){if(this instanceof i){var c=r.apply(this,n.concat(Ip.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(Ip.call(arguments)))},o=Math.max(0,r.length-n.length),l=[],s=0;s<o;s++)l.push("$"+s);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},Uj=zj,gy=Function.prototype.bind||Uj,Wj=gy,Hj=Wj.call(Function.call,Object.prototype.hasOwnProperty),te,aa=SyntaxError,NI=Function,Hi=TypeError,Pp=function(e){try{return NI('"use strict"; return ('+e+").constructor;")()}catch{}},Bn=Object.getOwnPropertyDescriptor;if(Bn)try{Bn({},"")}catch{Bn=null}var Dp=function(){throw new Hi},Gj=Bn?function(){try{return arguments.callee,Dp}catch{try{return Bn(arguments,"callee").get}catch{return Dp}}}():Dp,pi=vy(),Tr=Object.getPrototypeOf||function(e){return e.__proto__},yi={},qj=typeof Uint8Array>"u"?te:Tr(Uint8Array),Gi={"%AggregateError%":typeof AggregateError>"u"?te:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?te:ArrayBuffer,"%ArrayIteratorPrototype%":pi?Tr([][Symbol.iterator]()):te,"%AsyncFromSyncIteratorPrototype%":te,"%AsyncFunction%":yi,"%AsyncGenerator%":yi,"%AsyncGeneratorFunction%":yi,"%AsyncIteratorPrototype%":yi,"%Atomics%":typeof Atomics>"u"?te:Atomics,"%BigInt%":typeof BigInt>"u"?te:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?te:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?te:Float32Array,"%Float64Array%":typeof Float64Array>"u"?te:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?te:FinalizationRegistry,"%Function%":NI,"%GeneratorFunction%":yi,"%Int8Array%":typeof Int8Array>"u"?te:Int8Array,"%Int16Array%":typeof Int16Array>"u"?te:Int16Array,"%Int32Array%":typeof Int32Array>"u"?te:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":pi?Tr(Tr([][Symbol.iterator]())):te,"%JSON%":typeof JSON=="object"?JSON:te,"%Map%":typeof Map>"u"?te:Map,"%MapIteratorPrototype%":typeof Map>"u"||!pi?te:Tr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?te:Promise,"%Proxy%":typeof Proxy>"u"?te:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?te:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?te:Set,"%SetIteratorPrototype%":typeof Set>"u"||!pi?te:Tr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?te:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":pi?Tr(""[Symbol.iterator]()):te,"%Symbol%":pi?Symbol:te,"%SyntaxError%":aa,"%ThrowTypeError%":Gj,"%TypedArray%":qj,"%TypeError%":Hi,"%Uint8Array%":typeof Uint8Array>"u"?te:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?te:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?te:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?te:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?te:WeakMap,"%WeakRef%":typeof WeakRef>"u"?te:WeakRef,"%WeakSet%":typeof WeakSet>"u"?te:WeakSet},Vj=function e(t){var r;if(t==="%AsyncFunction%")r=Pp("async function () {}");else if(t==="%GeneratorFunction%")r=Pp("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Pp("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=Tr(i.prototype))}return Gi[t]=r,r},vS={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},jl=gy,Gu=Hj,Yj=jl.call(Function.call,Array.prototype.concat),Kj=jl.call(Function.apply,Array.prototype.splice),gS=jl.call(Function.call,String.prototype.replace),qu=jl.call(Function.call,String.prototype.slice),Xj=jl.call(Function.call,RegExp.prototype.exec),Qj=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jj=/\\(\\)?/g,Zj=function(t){var r=qu(t,0,1),n=qu(t,-1);if(r==="%"&&n!=="%")throw new aa("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new aa("invalid intrinsic syntax, expected opening `%`");var i=[];return gS(t,Qj,function(a,o,l,s){i[i.length]=l?gS(s,Jj,"$1"):o||a}),i},e6=function(t,r){var n=t,i;if(Gu(vS,n)&&(i=vS[n],n="%"+i[0]+"%"),Gu(Gi,n)){var a=Gi[n];if(a===yi&&(a=Vj(n)),typeof a>"u"&&!r)throw new Hi("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new aa("intrinsic "+t+" does not exist!")},bn=function(t,r){if(typeof t!="string"||t.length===0)throw new Hi("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Hi('"allowMissing" argument must be a boolean');if(Xj(/^%?[^%]*%?$/,t)===null)throw new aa("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Zj(t),i=n.length>0?n[0]:"",a=e6("%"+i+"%",r),o=a.name,l=a.value,s=!1,u=a.alias;u&&(i=u[0],Kj(n,Yj([0,1],u)));for(var c=1,f=!0;c<n.length;c+=1){var d=n[c],p=qu(d,0,1),h=qu(d,-1);if((p==='"'||p==="'"||p==="`"||h==='"'||h==="'"||h==="`")&&p!==h)throw new aa("property names with quotes must have matching quotes");if((d==="constructor"||!f)&&(s=!0),i+="."+d,o="%"+i+"%",Gu(Gi,o))l=Gi[o];else if(l!=null){if(!(d in l)){if(!r)throw new Hi("base intrinsic for "+t+" exists, but the property is not available.");return}if(Bn&&c+1>=n.length){var w=Bn(l,d);f=!!w,f&&"get"in w&&!("originalValue"in w.get)?l=w.get:l=l[d]}else f=Gu(l,d),l=l[d];f&&!s&&(Gi[o]=l)}}return l},MI={exports:{}};(function(e){var t=gy,r=bn,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),s=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=function(f){var d=a(t,i,arguments);if(o&&l){var p=o(d,"length");p.configurable&&l(d,"length",{value:1+s(0,f.length-(arguments.length-1))})}return d};var u=function(){return a(t,n,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u})(MI);var Ef=MI.exports,$I=bn,LI=Ef,t6=LI($I("String.prototype.indexOf")),nr=function(t,r){var n=$I(t,!!r);return typeof n=="function"&&t6(t,".prototype.")>-1?LI(n):n},r6=yn(),n6=nr,Fg=n6("Object.prototype.toString"),Cf=function(t){return r6&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Fg(t)==="[object Arguments]"},FI=function(t){return Cf(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Fg(t)!=="[object Array]"&&Fg(t.callee)==="[object Function]"},i6=function(){return Cf(arguments)}();Cf.isLegacyArguments=FI;var BI=i6?Cf:FI,a6=bn,Bg=a6("%Object.defineProperty%",!0),jg=function(){if(Bg)try{return Bg({},"a",{value:1}),!0}catch{return!1}return!1};jg.hasArrayLengthDefineBug=function(){if(!jg())return null;try{return Bg([],"length",{value:1}).length!==1}catch{return!0}};var o6=jg,l6=py,s6=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",u6=Object.prototype.toString,c6=Array.prototype.concat,jI=Object.defineProperty,f6=function(e){return typeof e=="function"&&u6.call(e)==="[object Function]"},d6=o6(),zI=jI&&d6,p6=function(e,t,r,n){t in e&&(!f6(n)||!n())||(zI?jI(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},UI=function(e,t){var r=arguments.length>2?arguments[2]:{},n=l6(t);s6&&(n=c6.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)p6(e,n[i],t[n[i]],r[n[i]])};UI.supportsDescriptors=!!zI;var ni=UI,mS=function(e){return e!==e},WI=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||mS(t)&&mS(r))},v6=WI,HI=function(){return typeof Object.is=="function"?Object.is:v6},g6=HI,m6=ni,h6=function(){var t=g6();return m6(Object,{is:t},{is:function(){return Object.is!==t}}),t},y6=ni,b6=Ef,w6=WI,GI=HI,S6=h6,qI=b6(GI(),Object);y6(qI,{getPolyfill:GI,implementation:w6,shim:S6});var x6=qI,zg=nr,VI=yn(),YI,KI,Ug,Wg;if(VI){YI=zg("Object.prototype.hasOwnProperty"),KI=zg("RegExp.prototype.exec"),Ug={};var Ap=function(){throw Ug};Wg={toString:Ap,valueOf:Ap},typeof Symbol.toPrimitive=="symbol"&&(Wg[Symbol.toPrimitive]=Ap)}var E6=zg("Object.prototype.toString"),C6=Object.getOwnPropertyDescriptor,O6="[object RegExp]",I6=VI?function(t){if(!t||typeof t!="object")return!1;var r=C6(t,"lastIndex"),n=r&&YI(r,"value");if(!n)return!1;try{KI(t,Wg)}catch(i){return i===Ug}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:E6(t)===O6},XI={exports:{}},al=function(){return typeof function(){}.name=="string"},Eo=Object.getOwnPropertyDescriptor;if(Eo)try{Eo([],"length")}catch{Eo=null}al.functionsHaveConfigurableNames=function(){if(!al()||!Eo)return!1;var t=Eo(function(){},"name");return!!t&&!!t.configurable};var P6=Function.prototype.bind;al.boundFunctionsHaveNames=function(){return al()&&typeof P6=="function"&&function(){}.bind().name!==""};var D6=al;(function(e){var t=D6.functionsHaveConfigurableNames(),r=Object,n=TypeError;e.exports=function(){if(this!=null&&this!==r(this))throw new n("RegExp.prototype.flags getter called on non-object");var a="";return this.hasIndices&&(a+="d"),this.global&&(a+="g"),this.ignoreCase&&(a+="i"),this.multiline&&(a+="m"),this.dotAll&&(a+="s"),this.unicode&&(a+="u"),this.sticky&&(a+="y"),a},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})})(XI);var QI=XI.exports,A6=QI,R6=ni.supportsDescriptors,T6=Object.getOwnPropertyDescriptor,JI=function(){if(R6&&/a/mig.flags==="gim"){var t=T6(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return A6},k6=ni.supportsDescriptors,_6=JI,N6=Object.getOwnPropertyDescriptor,M6=Object.defineProperty,$6=TypeError,hS=Object.getPrototypeOf,L6=/a/,F6=function(){if(!k6||!hS)throw new $6("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=_6(),r=hS(L6),n=N6(r,"flags");return(!n||n.get!==t)&&M6(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},B6=ni,j6=Ef,z6=QI,ZI=JI,U6=F6,eP=j6(ZI());B6(eP,{getPolyfill:ZI,implementation:z6,shim:U6});var W6=eP,H6={}.toString,tP=Array.isArray||function(e){return H6.call(e)=="[object Array]"},G6=Date.prototype.getDay,q6=function(t){try{return G6.call(t),!0}catch{return!1}},V6=Object.prototype.toString,Y6="[object Date]",K6=yn(),X6=function(t){return typeof t!="object"||t===null?!1:K6?q6(t):V6.call(t)===Y6},Q6=String.prototype.valueOf,J6=function(t){try{return Q6.call(t),!0}catch{return!1}},Z6=Object.prototype.toString,ez="[object String]",tz=yn(),rP=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:tz?J6(t):Z6.call(t)===ez},rz=Number.prototype.toString,nz=function(t){try{return rz.call(t),!0}catch{return!1}},iz=Object.prototype.toString,az="[object Number]",oz=yn(),lz=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:oz?nz(t):iz.call(t)===az},nP=nr,sz=nP("Boolean.prototype.toString"),uz=nP("Object.prototype.toString"),cz=function(t){try{return sz(t),!0}catch{return!1}},fz="[object Boolean]",dz=yn(),pz=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:dz&&Symbol.toStringTag in t?cz(t):uz(t)===fz},Hg={exports:{}},vz=Object.prototype.toString,gz=vy();if(gz){var mz=Symbol.prototype.toString,hz=/^Symbol\(.*\)$/,yz=function(t){return typeof t.valueOf()!="symbol"?!1:hz.test(mz.call(t))};Hg.exports=function(t){if(typeof t=="symbol")return!0;if(vz.call(t)!=="[object Symbol]")return!1;try{return yz(t)}catch{return!1}}}else Hg.exports=function(t){return!1};var bz=Hg.exports,Gg={exports:{}},yS=typeof BigInt<"u"&&BigInt,wz=function(){return typeof yS=="function"&&typeof BigInt=="function"&&typeof yS(42)=="bigint"&&typeof BigInt(42)=="bigint"},Sz=wz();if(Sz){var xz=BigInt.prototype.valueOf,Ez=function(t){try{return xz.call(t),!0}catch{}return!1};Gg.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:Ez(t)}}else Gg.exports=function(t){return!1};var Cz=Gg.exports,Oz=rP,Iz=lz,Pz=pz,Dz=bz,Az=Cz,Rz=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(Oz(t))return"String";if(Iz(t))return"Number";if(Pz(t))return"Boolean";if(Dz(t))return"Symbol";if(Az(t))return"BigInt"},my=typeof Map=="function"&&Map.prototype?Map:null,Tz=typeof Set=="function"&&Set.prototype?Set:null,Vu;my||(Vu=function(t){return!1});var iP=my?Map.prototype.has:null,bS=Tz?Set.prototype.has:null;!Vu&&!iP&&(Vu=function(t){return!1});var aP=Vu||function(t){if(!t||typeof t!="object")return!1;try{if(iP.call(t),bS)try{bS.call(t)}catch{return!0}return t instanceof my}catch{}return!1},kz=typeof Map=="function"&&Map.prototype?Map:null,hy=typeof Set=="function"&&Set.prototype?Set:null,Yu;hy||(Yu=function(t){return!1});var wS=kz?Map.prototype.has:null,oP=hy?Set.prototype.has:null;!Yu&&!oP&&(Yu=function(t){return!1});var lP=Yu||function(t){if(!t||typeof t!="object")return!1;try{if(oP.call(t),wS)try{wS.call(t)}catch{return!0}return t instanceof hy}catch{}return!1},Ku=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,SS=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Xu;Ku||(Xu=function(t){return!1});var qg=Ku?Ku.prototype.has:null,Rp=SS?SS.prototype.has:null;!Xu&&!qg&&(Xu=function(t){return!1});var _z=Xu||function(t){if(!t||typeof t!="object")return!1;try{if(qg.call(t,qg),Rp)try{Rp.call(t,Rp)}catch{return!0}return t instanceof Ku}catch{}return!1},Vg={exports:{}},Nz=bn,sP=nr,Mz=Nz("%WeakSet%",!0),Tp=sP("WeakSet.prototype.has",!0);if(Tp){var kp=sP("WeakMap.prototype.has",!0);Vg.exports=function(t){if(!t||typeof t!="object")return!1;try{if(Tp(t,Tp),kp)try{kp(t,kp)}catch{return!0}return t instanceof Mz}catch{}return!1}}else Vg.exports=function(t){return!1};var $z=Vg.exports,Lz=aP,Fz=lP,Bz=_z,jz=$z,zz=function(t){if(t&&typeof t=="object"){if(Lz(t))return"Map";if(Fz(t))return"Set";if(Bz(t))return"WeakMap";if(jz(t))return"WeakSet"}return!1},tu={exports:{}},xS=BI;if(vy()||xf()){var _p=Symbol.iterator;tu.exports=function(t){if(t!=null&&typeof t[_p]<"u")return t[_p]();if(xS(t))return Array.prototype[_p].call(t)}}else{var Uz=tP,Wz=rP,ES=bn,Hz=ES("%Map%",!0),Gz=ES("%Set%",!0),Nt=nr,CS=Nt("Array.prototype.push"),OS=Nt("String.prototype.charCodeAt"),qz=Nt("String.prototype.slice"),Vz=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=OS(t,r);if(i<55296||i>56319)return r+1;var a=OS(t,r+1);return a<56320||a>57343?r+1:r+2},Np=function(t){var r=0;return{next:function(){var i=r>=t.length,a;return i||(a=t[r],r+=1),{done:i,value:a}}}},IS=function(t,r){if(Uz(t)||xS(t))return Np(t);if(Wz(t)){var n=0;return{next:function(){var a=Vz(t,n),o=qz(t,n,a);return n=a,{done:a>t.length,value:o}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!Hz&&!Gz)tu.exports=function(t){if(t!=null)return IS(t,!0)};else{var Yz=aP,Kz=lP,PS=Nt("Map.prototype.forEach",!0),DS=Nt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var AS=Nt("Map.prototype.iterator",!0),RS=Nt("Set.prototype.iterator",!0),TS=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch{return t=!0,{done:!0,value:void 0}}}}};var kS=Nt("Map.prototype.@@iterator",!0)||Nt("Map.prototype._es6-shim iterator_",!0),_S=Nt("Set.prototype.@@iterator",!0)||Nt("Set.prototype._es6-shim iterator_",!0),Xz=function(t){if(Yz(t)){if(AS)return TS(AS(t));if(kS)return kS(t);if(PS){var r=[];return PS(t,function(i,a){CS(r,[a,i])}),Np(r)}}if(Kz(t)){if(RS)return TS(RS(t));if(_S)return _S(t);if(DS){var n=[];return DS(t,function(i){CS(n,i)}),Np(n)}}};tu.exports=function(t){return Xz(t)||IS(t)}}}var Qz=tu.exports,yy=typeof Map=="function"&&Map.prototype,Mp=Object.getOwnPropertyDescriptor&&yy?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Qu=yy&&Mp&&typeof Mp.get=="function"?Mp.get:null,Jz=yy&&Map.prototype.forEach,by=typeof Set=="function"&&Set.prototype,$p=Object.getOwnPropertyDescriptor&&by?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ju=by&&$p&&typeof $p.get=="function"?$p.get:null,Zz=by&&Set.prototype.forEach,e8=typeof WeakMap=="function"&&WeakMap.prototype,Co=e8?WeakMap.prototype.has:null,t8=typeof WeakSet=="function"&&WeakSet.prototype,Oo=t8?WeakSet.prototype.has:null,r8=typeof WeakRef=="function"&&WeakRef.prototype,NS=r8?WeakRef.prototype.deref:null,n8=Boolean.prototype.valueOf,i8=Object.prototype.toString,a8=Function.prototype.toString,o8=String.prototype.match,wy=String.prototype.slice,Ur=String.prototype.replace,l8=String.prototype.toUpperCase,MS=String.prototype.toLowerCase,uP=RegExp.prototype.test,$S=Array.prototype.concat,Yt=Array.prototype.join,s8=Array.prototype.slice,LS=Math.floor,Yg=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Lp=Object.getOwnPropertySymbols,Kg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,oa=typeof Symbol=="function"&&typeof Symbol.iterator=="object",qe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===oa||"symbol")?Symbol.toStringTag:null,cP=Object.prototype.propertyIsEnumerable,FS=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function BS(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||uP.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-LS(-e):LS(e);if(n!==e){var i=String(n),a=wy.call(t,i.length+1);return Ur.call(i,r,"$&_")+"."+Ur.call(Ur.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ur.call(t,r,"$&_")}var Xg=$g,jS=Xg.custom,zS=dP(jS)?jS:null,u8=function e(t,r,n,i){var a=r||{};if(kr(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(kr(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=kr(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(kr(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(kr(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return vP(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return l?BS(t,s):s}if(typeof t=="bigint"){var u=String(t)+"n";return l?BS(t,u):u}var c=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return Qg(t)?"[Array]":"[Object]";var f=P8(a,n);if(typeof i>"u")i=[];else if(pP(i,t)>=0)return"[Circular]";function d(z,G,Y){if(G&&(i=s8.call(i),i.push(G)),Y){var Q={depth:a.depth};return kr(a,"quoteStyle")&&(Q.quoteStyle=a.quoteStyle),e(z,Q,n+1,i)}return e(z,a,n+1,i)}if(typeof t=="function"&&!US(t)){var p=y8(t),h=As(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(h.length>0?" { "+Yt.call(h,", ")+" }":"")}if(dP(t)){var w=oa?Ur.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kg.call(t);return typeof t=="object"&&!oa?Ka(w):w}if(C8(t)){for(var v="<"+MS.call(String(t.nodeName)),g=t.attributes||[],m=0;m<g.length;m++)v+=" "+g[m].name+"="+fP(c8(g[m].value),"double",a);return v+=">",t.childNodes&&t.childNodes.length&&(v+="..."),v+="</"+MS.call(String(t.nodeName))+">",v}if(Qg(t)){if(t.length===0)return"[]";var y=As(t,d);return f&&!I8(y)?"["+Jg(y,f)+"]":"[ "+Yt.call(y,", ")+" ]"}if(d8(t)){var b=As(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!cP.call(t,"cause")?"{ ["+String(t)+"] "+Yt.call($S.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Yt.call(b,", ")+" }"}if(typeof t=="object"&&o){if(zS&&typeof t[zS]=="function"&&Xg)return Xg(t,{depth:c-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(b8(t)){var x=[];return Jz.call(t,function(z,G){x.push(d(G,t,!0)+" => "+d(z,t))}),WS("Map",Qu.call(t),x,f)}if(x8(t)){var S=[];return Zz.call(t,function(z){S.push(d(z,t))}),WS("Set",Ju.call(t),S,f)}if(w8(t))return Fp("WeakMap");if(E8(t))return Fp("WeakSet");if(S8(t))return Fp("WeakRef");if(v8(t))return Ka(d(Number(t)));if(m8(t))return Ka(d(Yg.call(t)));if(g8(t))return Ka(n8.call(t));if(p8(t))return Ka(d(String(t)));if(!f8(t)&&!US(t)){var E=As(t,d),O=FS?FS(t)===Object.prototype:t instanceof Object||t.constructor===Object,I=t instanceof Object?"":"null prototype",T=!O&&qe&&Object(t)===t&&qe in t?wy.call(wn(t),8,-1):I?"Object":"",_=O||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",H=_+(T||I?"["+Yt.call($S.call([],T||[],I||[]),": ")+"] ":"");return E.length===0?H+"{}":f?H+"{"+Jg(E,f)+"}":H+"{ "+Yt.call(E,", ")+" }"}return String(t)};function fP(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function c8(e){return Ur.call(String(e),/"/g,"&quot;")}function Qg(e){return wn(e)==="[object Array]"&&(!qe||!(typeof e=="object"&&qe in e))}function f8(e){return wn(e)==="[object Date]"&&(!qe||!(typeof e=="object"&&qe in e))}function US(e){return wn(e)==="[object RegExp]"&&(!qe||!(typeof e=="object"&&qe in e))}function d8(e){return wn(e)==="[object Error]"&&(!qe||!(typeof e=="object"&&qe in e))}function p8(e){return wn(e)==="[object String]"&&(!qe||!(typeof e=="object"&&qe in e))}function v8(e){return wn(e)==="[object Number]"&&(!qe||!(typeof e=="object"&&qe in e))}function g8(e){return wn(e)==="[object Boolean]"&&(!qe||!(typeof e=="object"&&qe in e))}function dP(e){if(oa)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Kg)return!1;try{return Kg.call(e),!0}catch{}return!1}function m8(e){if(!e||typeof e!="object"||!Yg)return!1;try{return Yg.call(e),!0}catch{}return!1}var h8=Object.prototype.hasOwnProperty||function(e){return e in this};function kr(e,t){return h8.call(e,t)}function wn(e){return i8.call(e)}function y8(e){if(e.name)return e.name;var t=o8.call(a8.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function pP(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function b8(e){if(!Qu||!e||typeof e!="object")return!1;try{Qu.call(e);try{Ju.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function w8(e){if(!Co||!e||typeof e!="object")return!1;try{Co.call(e,Co);try{Oo.call(e,Oo)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function S8(e){if(!NS||!e||typeof e!="object")return!1;try{return NS.call(e),!0}catch{}return!1}function x8(e){if(!Ju||!e||typeof e!="object")return!1;try{Ju.call(e);try{Qu.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function E8(e){if(!Oo||!e||typeof e!="object")return!1;try{Oo.call(e,Oo);try{Co.call(e,Co)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function C8(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function vP(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return vP(wy.call(e,0,t.maxStringLength),t)+n}var i=Ur.call(Ur.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,O8);return fP(i,"single",t)}function O8(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+l8.call(t.toString(16))}function Ka(e){return"Object("+e+")"}function Fp(e){return e+" { ? }"}function WS(e,t,r,n){var i=n?Jg(r,n):Yt.call(r,", ");return e+" ("+t+") {"+i+"}"}function I8(e){for(var t=0;t<e.length;t++)if(pP(e[t],`
898
+ `}},o=[n,r,i,a];return{always:Ga(o,"always"),resting:Ga(o,"resting"),dragging:Ga(o,"dragging"),dropAnimating:Ga(o,"dropAnimating"),userCancel:Ga(o,"userCancel")}},ft=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?C.useLayoutEffect:C.useEffect,yp=function(){var t=document.querySelector("head");return t||R(!1),t},zw=function(t){var r=document.createElement("style");return t&&r.setAttribute("nonce",t),r.type="text/css",r};function wF(e,t){var r=re(function(){return bF(e)},[e]),n=C.useRef(null),i=C.useRef(null),a=j(Se(function(f){var d=i.current;d||R(!1),d.textContent=f}),[]),o=j(function(f){var d=n.current;d||R(!1),d.textContent=f},[]);ft(function(){!n.current&&!i.current||R(!1);var f=zw(t),d=zw(t);return n.current=f,i.current=d,f.setAttribute(na+"-always",e),d.setAttribute(na+"-dynamic",e),yp().appendChild(f),yp().appendChild(d),o(r.always),a(r.resting),function(){var p=function(w){var v=w.current;v||R(!1),yp().removeChild(v),w.current=null};p(n),p(i)}},[t,o,a,r.always,r.resting,e]);var l=j(function(){return a(r.dragging)},[a,r.dragging]),s=j(function(f){if(f==="DROP"){a(r.dropAnimating);return}a(r.userCancel)},[a,r.dropAnimating,r.userCancel]),u=j(function(){i.current&&a(r.resting)},[a,r.resting]),c=re(function(){return{dragging:l,dropping:s,resting:u}},[l,s,u]);return c}var fI=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function vf(e){return e instanceof fI(e).HTMLElement}function SF(e,t){var r="["+ia.contextId+'="'+e+'"]',n=_O(document.querySelectorAll(r));if(!n.length)return null;var i=mn(n,function(a){return a.getAttribute(ia.draggableId)===t});return!i||!vf(i)?null:i}function xF(e){var t=C.useRef({}),r=C.useRef(null),n=C.useRef(null),i=C.useRef(!1),a=j(function(d,p){var h={id:d,focus:p};return t.current[d]=h,function(){var v=t.current,g=v[d];g!==h&&delete v[d]}},[]),o=j(function(d){var p=SF(e,d);p&&p!==document.activeElement&&p.focus()},[e]),l=j(function(d,p){r.current===d&&(r.current=p)},[]),s=j(function(){n.current||i.current&&(n.current=requestAnimationFrame(function(){n.current=null;var d=r.current;d&&o(d)}))},[o]),u=j(function(d){r.current=null;var p=document.activeElement;p&&p.getAttribute(ia.draggableId)===d&&(r.current=d)},[]);ft(function(){return i.current=!0,function(){i.current=!1;var d=n.current;d&&cancelAnimationFrame(d)}},[]);var c=re(function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:s,tryShiftRecord:l}},[a,u,s,l]);return c}function EF(){var e={draggables:{},droppables:{}},t=[];function r(f){return t.push(f),function(){var p=t.indexOf(f);p!==-1&&t.splice(p,1)}}function n(f){t.length&&t.forEach(function(d){return d(f)})}function i(f){return e.draggables[f]||null}function a(f){var d=i(f);return d||R(!1),d}var o={register:function(d){e.draggables[d.descriptor.id]=d,n({type:"ADDITION",value:d})},update:function(d,p){var h=e.draggables[p.descriptor.id];h&&h.uniqueId===d.uniqueId&&(delete e.draggables[p.descriptor.id],e.draggables[d.descriptor.id]=d)},unregister:function(d){var p=d.descriptor.id,h=i(p);h&&d.uniqueId===h.uniqueId&&(delete e.draggables[p],n({type:"REMOVAL",value:d}))},getById:a,findById:i,exists:function(d){return!!i(d)},getAllByType:function(d){return zu(e.draggables).filter(function(p){return p.descriptor.type===d})}};function l(f){return e.droppables[f]||null}function s(f){var d=l(f);return d||R(!1),d}var u={register:function(d){e.droppables[d.descriptor.id]=d},unregister:function(d){var p=l(d.descriptor.id);p&&d.uniqueId===p.uniqueId&&delete e.droppables[d.descriptor.id]},getById:s,findById:l,exists:function(d){return!!l(d)},getAllByType:function(d){return zu(e.droppables).filter(function(p){return p.descriptor.type===d})}};function c(){e.draggables={},e.droppables={},t.length=0}return{draggable:o,droppable:u,subscribe:r,clean:c}}function CF(){var e=re(EF,[]);return C.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var ly=F.createContext(null),Wu=function(){var e=document.body;return e||R(!1),e},OF={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},IF=function(t){return"rbd-announcement-"+t};function PF(e){var t=re(function(){return IF(e)},[e]),r=C.useRef(null);C.useEffect(function(){var a=document.createElement("div");return r.current=a,a.id=t,a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true"),W(a.style,OF),Wu().appendChild(a),function(){setTimeout(function(){var s=Wu();s.contains(a)&&s.removeChild(a),a===r.current&&(r.current=null)})}},[t]);var n=j(function(i){var a=r.current;if(a){a.textContent=i;return}},[]);return n}var DF=0,AF={separator:"::"};function sy(e,t){return t===void 0&&(t=AF),re(function(){return""+e+t.separator+DF++},[t.separator,e])}function RF(e){var t=e.contextId,r=e.uniqueId;return"rbd-hidden-text-"+t+"-"+r}function TF(e){var t=e.contextId,r=e.text,n=sy("hidden-text",{separator:"-"}),i=re(function(){return RF({contextId:t,uniqueId:n})},[n,t]);return C.useEffect(function(){var o=document.createElement("div");return o.id=i,o.textContent=r,o.style.display="none",Wu().appendChild(o),function(){var s=Wu();s.contains(o)&&s.removeChild(o)}},[i,r]),i}var gf=F.createContext(null);function dI(e){var t=C.useRef(e);return C.useEffect(function(){t.current=e}),t}function kF(){var e=null;function t(){return!!e}function r(o){return o===e}function n(o){e&&R(!1);var l={abandon:o};return e=l,l}function i(){e||R(!1),e=null}function a(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:r,claim:n,release:i,tryAbandon:a}}var _F=9,NF=13,uy=27,pI=32,MF=33,$F=34,LF=35,FF=36,BF=37,jF=38,zF=39,UF=40,Os,WF=(Os={},Os[NF]=!0,Os[_F]=!0,Os),vI=function(e){WF[e.keyCode]&&e.preventDefault()},mf=function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=mn(t,function(n){return"on"+n in document});return r||e}(),gI=0,Uw=5;function HF(e,t){return Math.abs(t.x-e.x)>=Uw||Math.abs(t.y-e.y)>=Uw}var Ww={type:"IDLE"};function GF(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(o){var l=o.button,s=o.clientX,u=o.clientY;if(l===gI){var c={x:s,y:u},f=n();if(f.type==="DRAGGING"){o.preventDefault(),f.actions.move(c);return}f.type!=="PENDING"&&R(!1);var d=f.point;if(HF(d,c)){o.preventDefault();var p=f.actions.fluidLift(c);i({type:"DRAGGING",actions:p})}}}},{eventName:"mouseup",fn:function(o){var l=n();if(l.type!=="DRAGGING"){t();return}o.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"mousedown",fn:function(o){n().type==="DRAGGING"&&o.preventDefault(),t()}},{eventName:"keydown",fn:function(o){var l=n();if(l.type==="PENDING"){t();return}if(o.keyCode===uy){o.preventDefault(),t();return}vI(o)}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){n().type==="PENDING"&&t()}},{eventName:"webkitmouseforcedown",fn:function(o){var l=n();if(l.type==="IDLE"&&R(!1),l.actions.shouldRespectForcePress()){t();return}o.preventDefault()}},{eventName:mf,fn:t}]}function qF(e){var t=C.useRef(Ww),r=C.useRef(Qr),n=re(function(){return{eventName:"mousedown",fn:function(f){if(!f.defaultPrevented&&f.button===gI&&!(f.ctrlKey||f.metaKey||f.shiftKey||f.altKey)){var d=e.findClosestDraggableId(f);if(d){var p=e.tryGetLock(d,o,{sourceEvent:f});if(p){f.preventDefault();var h={x:f.clientX,y:f.clientY};r.current(),u(p,h)}}}}}},[e]),i=re(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(f){if(!f.defaultPrevented){var d=e.findClosestDraggableId(f);if(d){var p=e.findOptionsForDraggable(d);p&&(p.shouldRespectForcePress||e.canGetLock(d)&&f.preventDefault())}}}}},[e]),a=j(function(){var f={passive:!1,capture:!0};r.current=Et(window,[i,n],f)},[i,n]),o=j(function(){var c=t.current;c.type!=="IDLE"&&(t.current=Ww,r.current(),a())},[a]),l=j(function(){var c=t.current;o(),c.type==="DRAGGING"&&c.actions.cancel({shouldBlockNextClick:!0}),c.type==="PENDING"&&c.actions.abort()},[o]),s=j(function(){var f={capture:!0,passive:!1},d=GF({cancel:l,completed:o,getPhase:function(){return t.current},setPhase:function(h){t.current=h}});r.current=Et(window,d,f)},[l,o]),u=j(function(f,d){t.current.type!=="IDLE"&&R(!1),t.current={type:"PENDING",point:d,actions:f},s()},[s]);ft(function(){return a(),function(){r.current()}},[a])}var fi;function VF(){}var YF=(fi={},fi[$F]=!0,fi[MF]=!0,fi[FF]=!0,fi[LF]=!0,fi);function KF(e,t){function r(){t(),e.cancel()}function n(){t(),e.drop()}return[{eventName:"keydown",fn:function(a){if(a.keyCode===uy){a.preventDefault(),r();return}if(a.keyCode===pI){a.preventDefault(),n();return}if(a.keyCode===UF){a.preventDefault(),e.moveDown();return}if(a.keyCode===jF){a.preventDefault(),e.moveUp();return}if(a.keyCode===zF){a.preventDefault(),e.moveRight();return}if(a.keyCode===BF){a.preventDefault(),e.moveLeft();return}if(YF[a.keyCode]){a.preventDefault();return}vI(a)}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:mf,fn:r}]}function XF(e){var t=C.useRef(VF),r=re(function(){return{eventName:"keydown",fn:function(a){if(a.defaultPrevented||a.keyCode!==pI)return;var o=e.findClosestDraggableId(a);if(!o)return;var l=e.tryGetLock(o,c,{sourceEvent:a});if(!l)return;a.preventDefault();var s=!0,u=l.snapLift();t.current();function c(){s||R(!1),s=!1,t.current(),n()}t.current=Et(window,KF(u,c),{capture:!0,passive:!1})}}},[e]),n=j(function(){var a={passive:!1,capture:!0};t.current=Et(window,[r],a)},[r]);ft(function(){return n(),function(){t.current()}},[n])}var bp={type:"IDLE"},QF=120,JF=.15;function ZF(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(i){i.preventDefault()}},{eventName:"keydown",fn:function(i){if(r().type!=="DRAGGING"){t();return}i.keyCode===uy&&i.preventDefault(),t()}},{eventName:mf,fn:t}]}function e4(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(a){var o=n();if(o.type!=="DRAGGING"){t();return}o.hasMoved=!0;var l=a.touches[0],s=l.clientX,u=l.clientY,c={x:s,y:u};a.preventDefault(),o.actions.move(c)}},{eventName:"touchend",fn:function(a){var o=n();if(o.type!=="DRAGGING"){t();return}a.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"touchcancel",fn:function(a){if(n().type!=="DRAGGING"){t();return}a.preventDefault(),t()}},{eventName:"touchforcechange",fn:function(a){var o=n();o.type==="IDLE"&&R(!1);var l=a.touches[0];if(l){var s=l.force>=JF;if(s){var u=o.actions.shouldRespectForcePress();if(o.type==="PENDING"){u&&t();return}if(u){if(o.hasMoved){a.preventDefault();return}t();return}a.preventDefault()}}}},{eventName:mf,fn:t}]}function t4(e){var t=C.useRef(bp),r=C.useRef(Qr),n=j(function(){return t.current},[]),i=j(function(p){t.current=p},[]),a=re(function(){return{eventName:"touchstart",fn:function(p){if(!p.defaultPrevented){var h=e.findClosestDraggableId(p);if(h){var w=e.tryGetLock(h,l,{sourceEvent:p});if(w){var v=p.touches[0],g=v.clientX,m=v.clientY,y={x:g,y:m};r.current(),f(w,y)}}}}}},[e]),o=j(function(){var p={capture:!0,passive:!1};r.current=Et(window,[a],p)},[a]),l=j(function(){var d=t.current;d.type!=="IDLE"&&(d.type==="PENDING"&&clearTimeout(d.longPressTimerId),i(bp),r.current(),o())},[o,i]),s=j(function(){var d=t.current;l(),d.type==="DRAGGING"&&d.actions.cancel({shouldBlockNextClick:!0}),d.type==="PENDING"&&d.actions.abort()},[l]),u=j(function(){var p={capture:!0,passive:!1},h={cancel:s,completed:l,getPhase:n},w=Et(window,e4(h),p),v=Et(window,ZF(h),p);r.current=function(){w(),v()}},[s,n,l]),c=j(function(){var p=n();p.type!=="PENDING"&&R(!1);var h=p.actions.fluidLift(p.point);i({type:"DRAGGING",actions:h,hasMoved:!1})},[n,i]),f=j(function(p,h){n().type!=="IDLE"&&R(!1);var w=setTimeout(c,QF);i({type:"PENDING",point:h,actions:p,longPressTimerId:w}),u()},[u,n,i,c]);ft(function(){return o(),function(){r.current();var h=n();h.type==="PENDING"&&(clearTimeout(h.longPressTimerId),i(bp))}},[n,o,i]),ft(function(){var p=Et(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return p},[])}var r4={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function mI(e,t){if(t==null)return!1;var r=!!r4[t.tagName.toLowerCase()];if(r)return!0;var n=t.getAttribute("contenteditable");return n==="true"||n===""?!0:t===e?!1:mI(e,t.parentElement)}function n4(e,t){var r=t.target;return vf(r)?mI(e,r):!1}var i4=function(e){return Ft(e.getBoundingClientRect()).center};function a4(e){return e instanceof fI(e).Element}var o4=function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=mn(t,function(n){return n in Element.prototype});return r||e}();function hI(e,t){return e==null?null:e[o4](t)?e:hI(e.parentElement,t)}function l4(e,t){return e.closest?e.closest(t):hI(e,t)}function s4(e){return"["+ia.contextId+'="'+e+'"]'}function u4(e,t){var r=t.target;if(!a4(r))return null;var n=s4(e),i=l4(r,n);return!i||!vf(i)?null:i}function c4(e,t){var r=u4(e,t);return r?r.getAttribute(ia.draggableId):null}function f4(e,t){var r="["+wg.contextId+'="'+e+'"]',n=_O(document.querySelectorAll(r)),i=mn(n,function(a){return a.getAttribute(wg.id)===t});return!i||!vf(i)?null:i}function d4(e){e.preventDefault()}function Is(e){var t=e.expected,r=e.phase,n=e.isLockActive;return e.shouldWarn,!(!n()||t!==r)}function yI(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var a=n.draggable.findById(i);return!(!a||!a.options.isEnabled||!lI(r.getState(),i))}function p4(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,a=e.draggableId,o=e.forceSensorStop,l=e.sourceEvent,s=yI({lockAPI:t,store:n,registry:i,draggableId:a});if(!s)return null;var u=i.draggable.getById(a),c=f4(r,u.descriptor.id);if(!c||l&&!u.options.canDragInteractiveElements&&n4(c,l))return null;var f=t.claim(o||Qr),d="PRE_DRAG";function p(){return u.options.shouldRespectForcePress}function h(){return t.isActive(f)}function w(S,E){Is({expected:S,phase:d,isLockActive:h,shouldWarn:!0})&&n.dispatch(E())}var v=w.bind(null,"DRAGGING");function g(S){function E(){t.release(),d="COMPLETED"}d!=="PRE_DRAG"&&(E(),d!=="PRE_DRAG"&&R(!1)),n.dispatch(oL(S.liftActionArgs)),d="DRAGGING";function O(I,T){if(T===void 0&&(T={shouldBlockNextClick:!1}),S.cleanup(),T.shouldBlockNextClick){var _=Et(window,[{eventName:"click",fn:d4,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(_)}E(),n.dispatch(eI({reason:I}))}return W({isActive:function(){return Is({expected:"DRAGGING",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(T){return O("DROP",T)},cancel:function(T){return O("CANCEL",T)}},S.actions)}function m(S){var E=el(function(I){v(function(){return ZO({client:I})})}),O=g({liftActionArgs:{id:a,clientSelection:S,movementMode:"FLUID"},cleanup:function(){return E.cancel()},actions:{move:E}});return W({},O,{move:E})}function y(){var S={moveUp:function(){return v(gL)},moveRight:function(){return v(hL)},moveDown:function(){return v(mL)},moveLeft:function(){return v(yL)}};return g({liftActionArgs:{id:a,clientSelection:i4(c),movementMode:"SNAP"},cleanup:Qr,actions:S})}function b(){var S=Is({expected:"PRE_DRAG",phase:d,isLockActive:h,shouldWarn:!0});S&&t.release()}var x={isActive:function(){return Is({expected:"PRE_DRAG",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:m,snapLift:y,abort:b};return x}var v4=[qF,XF,t4];function g4(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,a=e.enableDefaultSensors,o=[].concat(a?v4:[],i||[]),l=C.useState(function(){return kF()})[0],s=j(function(m,y){m.isDragging&&!y.isDragging&&l.tryAbandon()},[l]);ft(function(){var m=r.getState(),y=r.subscribe(function(){var b=r.getState();s(m,b),m=b});return y},[l,r,s]),ft(function(){return l.tryAbandon},[l.tryAbandon]);for(var u=j(function(g){return yI({lockAPI:l,registry:n,store:r,draggableId:g})},[l,n,r]),c=j(function(g,m,y){return p4({lockAPI:l,registry:n,contextId:t,store:r,draggableId:g,forceSensorStop:m,sourceEvent:y&&y.sourceEvent?y.sourceEvent:null})},[t,l,n,r]),f=j(function(g){return c4(t,g)},[t]),d=j(function(g){var m=n.draggable.findById(g);return m?m.options:null},[n.draggable]),p=j(function(){l.isClaimed()&&(l.tryAbandon(),r.getState().phase!=="IDLE"&&r.dispatch(Zh()))},[l,r]),h=j(l.isClaimed,[l]),w=re(function(){return{canGetLock:u,tryGetLock:c,findClosestDraggableId:f,findOptionsForDraggable:d,tryReleaseLock:p,isLockClaimed:h}},[u,c,f,d,p,h]),v=0;v<o.length;v++)o[v](w)}var m4=function(t){return{onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragEnd:t.onDragEnd,onDragUpdate:t.onDragUpdate}};function qa(e){return e.current||R(!1),e.current}function h4(e){var t=e.contextId,r=e.setCallbacks,n=e.sensors,i=e.nonce,a=e.dragHandleUsageInstructions,o=C.useRef(null),l=dI(e),s=j(function(){return m4(l.current)},[l]),u=PF(t),c=TF({contextId:t,text:a}),f=wF(t,i),d=j(function(I){qa(o).dispatch(I)},[]),p=re(function(){return gg({publishWhileDragging:sL,updateDroppableScroll:cL,updateDroppableIsEnabled:fL,updateDroppableIsCombineEnabled:dL,collectionStarting:uL},d)},[d]),h=CF(),w=re(function(){return JL(h,p)},[h,p]),v=re(function(){return gF(W({scrollWindow:ZL,scrollDroppable:w.scrollDroppable},gg({move:ZO},d)))},[w.scrollDroppable,d]),g=xF(t),m=re(function(){return YL({announce:u,autoScroller:v,dimensionMarshal:w,focusMarshal:g,getResponders:s,styleMarshal:f})},[u,v,w,g,s,f]);o.current=m;var y=j(function(){var I=qa(o),T=I.getState();T.phase!=="IDLE"&&I.dispatch(Zh())},[]),b=j(function(){var I=qa(o).getState();return I.isDragging||I.phase==="DROP_ANIMATING"},[]),x=re(function(){return{isDragging:b,tryAbort:y}},[b,y]);r(x);var S=j(function(I){return lI(qa(o).getState(),I)},[]),E=j(function(){return In(qa(o).getState())},[]),O=re(function(){return{marshal:w,focus:g,contextId:t,canLift:S,isMovementAllowed:E,dragHandleUsageInstructionsId:c,registry:h}},[t,w,c,g,S,E,h]);return g4({contextId:t,store:m,registry:h,customSensors:n,enableDefaultSensors:e.enableDefaultSensors!==!1}),C.useEffect(function(){return y},[y]),F.createElement(gf.Provider,{value:O},F.createElement(uO,{context:ly,store:m},e.children))}var y4=0;function b4(){return re(function(){return""+y4++},[])}function u7(e){var t=b4(),r=e.dragHandleUsageInstructions||Zs.dragHandleUsageInstructions;return F.createElement(X3,null,function(n){return F.createElement(h4,{nonce:e.nonce,contextId:t,setCallbacks:n,dragHandleUsageInstructions:r,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)})}var bI=function(t){return function(r){return t===r}},w4=bI("scroll"),S4=bI("auto"),Hw=function(t,r){return r(t.overflowX)||r(t.overflowY)},x4=function(t){var r=window.getComputedStyle(t),n={overflowX:r.overflowX,overflowY:r.overflowY};return Hw(n,w4)||Hw(n,S4)},E4=function(){return!1},C4=function e(t){return t==null?null:t===document.body?E4()?t:null:t===document.documentElement?null:x4(t)?t:e(t.parentElement)},Sg=function(e){return{x:e.scrollLeft,y:e.scrollTop}},O4=function e(t){if(!t)return!1;var r=window.getComputedStyle(t);return r.position==="fixed"?!0:e(t.parentElement)},I4=function(e){var t=C4(e),r=O4(e);return{closestScrollable:t,isFixedOnPage:r}},P4=function(e){var t=e.descriptor,r=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,l=e.page,s=e.closest,u=function(){if(!s)return null;var p=s.scrollSize,h=s.client,w=iI({scrollHeight:p.scrollHeight,scrollWidth:p.scrollWidth,height:h.paddingBox.height,width:h.paddingBox.width});return{pageMarginBox:s.page.marginBox,frameClient:h,scrollSize:p,shouldClipSubject:s.shouldClipSubject,scroll:{initial:s.scroll,current:s.scroll,max:w,diff:{value:ke,displacement:ke}}}}(),c=a==="vertical"?Yh:FO,f=ra({page:l,withPlaceholder:null,axis:c,frame:u}),d={descriptor:t,isCombineEnabled:n,isFixedOnPage:i,axis:c,isEnabled:r,client:o,page:l,frame:u,subject:f};return d},D4=function(t,r){var n=DO(t);if(!r||t!==r)return n;var i=n.paddingBox.top-r.scrollTop,a=n.paddingBox.left-r.scrollLeft,o=i+r.scrollHeight,l=a+r.scrollWidth,s={top:i,right:l,bottom:o,left:a},u=Wh(s,n.border),c=Hh({borderBox:u,margin:n.margin,border:n.border,padding:n.padding});return c},A4=function(e){var t=e.ref,r=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,l=e.isCombineEnabled,s=e.shouldClipSubject,u=n.closestScrollable,c=D4(t,u),f=Fu(c,i),d=function(){if(!u)return null;var h=DO(u),w={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:h,page:Fu(h,i),scroll:Sg(u),scrollSize:w,shouldClipSubject:s}}(),p=P4({descriptor:r,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:c,page:f,closest:d});return p},R4={passive:!1},T4={passive:!0},Gw=function(e){return e.shouldPublishImmediately?R4:T4};function Hu(e){var t=C.useContext(e);return t||R(!1),t}var Ps=function(t){return t&&t.env.closestScrollable||null};function k4(e){var t=C.useRef(null),r=Hu(gf),n=sy("droppable"),i=r.registry,a=r.marshal,o=dI(e),l=re(function(){return{id:e.droppableId,type:e.type,mode:e.mode}},[e.droppableId,e.mode,e.type]),s=C.useRef(l),u=re(function(){return Se(function(b,x){t.current||R(!1);var S={x:b,y:x};a.updateDroppableScroll(l.id,S)})},[l.id,a]),c=j(function(){var b=t.current;return!b||!b.env.closestScrollable?ke:Sg(b.env.closestScrollable)},[]),f=j(function(){var b=c();u(b.x,b.y)},[c,u]),d=re(function(){return el(f)},[f]),p=j(function(){var b=t.current,x=Ps(b);b&&x||R(!1);var S=b.scrollOptions;if(S.shouldPublishImmediately){f();return}d()},[d,f]),h=j(function(b,x){t.current&&R(!1);var S=o.current,E=S.getDroppableRef();E||R(!1);var O=I4(E),I={ref:E,descriptor:l,env:O,scrollOptions:x};t.current=I;var T=A4({ref:E,descriptor:l,env:O,windowScroll:b,direction:S.direction,isDropDisabled:S.isDropDisabled,isCombineEnabled:S.isCombineEnabled,shouldClipSubject:!S.ignoreContainerClipping}),_=O.closestScrollable;return _&&(_.setAttribute(jw.contextId,r.contextId),_.addEventListener("scroll",p,Gw(I.scrollOptions))),T},[r.contextId,l,p,o]),w=j(function(){var b=t.current,x=Ps(b);return b&&x||R(!1),Sg(x)},[]),v=j(function(){var b=t.current;b||R(!1);var x=Ps(b);t.current=null,x&&(d.cancel(),x.removeAttribute(jw.contextId),x.removeEventListener("scroll",p,Gw(b.scrollOptions)))},[p,d]),g=j(function(b){var x=t.current;x||R(!1);var S=Ps(x);S||R(!1),S.scrollTop+=b.y,S.scrollLeft+=b.x},[]),m=re(function(){return{getDimensionAndWatchScroll:h,getScrollWhileDragging:w,dragStopped:v,scroll:g}},[v,h,w,g]),y=re(function(){return{uniqueId:n,descriptor:l,callbacks:m}},[m,l,n]);ft(function(){return s.current=y.descriptor,i.droppable.register(y),function(){t.current&&v(),i.droppable.unregister(y)}},[m,l,v,y,a,i.droppable]),ft(function(){t.current&&a.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,a]),ft(function(){t.current&&a.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,a])}function wp(){}var qw={width:0,height:0,margin:r$},_4=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate;return r||i==="close"?qw:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},N4=function(t){var r=t.isAnimatingOpenOnMount,n=t.placeholder,i=t.animate,a=_4({isAnimatingOpenOnMount:r,placeholder:n,animate:i});return{display:n.display,boxSizing:"border-box",width:a.width,height:a.height,marginTop:a.margin.top,marginRight:a.margin.right,marginBottom:a.margin.bottom,marginLeft:a.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:i!=="none"?xo.placeholder:null}};function M4(e){var t=C.useRef(null),r=j(function(){t.current&&(clearTimeout(t.current),t.current=null)},[]),n=e.animate,i=e.onTransitionEnd,a=e.onClose,o=e.contextId,l=C.useState(e.animate==="open"),s=l[0],u=l[1];C.useEffect(function(){return s?n!=="open"?(r(),u(!1),wp):t.current?wp:(t.current=setTimeout(function(){t.current=null,u(!1)}),r):wp},[n,s,r]);var c=j(function(d){d.propertyName==="height"&&(i(),n==="close"&&a())},[n,a,i]),f=N4({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return F.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":o,onTransitionEnd:c,ref:e.innerRef})}var $4=F.memo(M4),cy=F.createContext(null),L4=function(e){yl(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.state={isVisible:!!n.props.on,data:n.props.on,animate:n.props.shouldAnimate&&n.props.on?"open":"none"},n.onClose=function(){n.state.animate==="close"&&n.setState({isVisible:!1})},n}t.getDerivedStateFromProps=function(i,a){return i.shouldAnimate?i.on?{isVisible:!0,data:i.on,animate:"open"}:a.isVisible?{isVisible:!0,data:a.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!i.on,data:i.on,animate:"none"}};var r=t.prototype;return r.render=function(){if(!this.state.isVisible)return null;var i={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(i)},t}(F.PureComponent),Vw={dragging:5e3,dropAnimating:4500},F4=function(t,r){return r?xo.drop(r.duration):t?xo.snap:xo.fluid},B4=function(t,r){return t?r?il.opacity.drop:il.opacity.combining:null},j4=function(t){return t.forceShouldAnimate!=null?t.forceShouldAnimate:t.mode==="SNAP"};function z4(e){var t=e.dimension,r=t.client,n=e.offset,i=e.combineWith,a=e.dropping,o=!!i,l=j4(e),s=!!a,u=s?yg.drop(n,o):yg.moveTo(n),c={position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:F4(l,a),transform:u,opacity:B4(o,s),zIndex:s?Vw.dropAnimating:Vw.dragging,pointerEvents:"none"};return c}function U4(e){return{transform:yg.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function W4(e){return e.type==="DRAGGING"?z4(e):U4(e)}function H4(e,t,r){r===void 0&&(r=ke);var n=window.getComputedStyle(t),i=t.getBoundingClientRect(),a=PO(i,n),o=Fu(a,r),l={client:a,tagName:t.tagName.toLowerCase(),display:n.display},s={x:a.marginBox.width,y:a.marginBox.height},u={descriptor:e,placeholder:l,displaceBy:s,client:a,page:o};return u}function G4(e){var t=sy("draggable"),r=e.descriptor,n=e.registry,i=e.getDraggableRef,a=e.canDragInteractiveElements,o=e.shouldRespectForcePress,l=e.isEnabled,s=re(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:o,isEnabled:l}},[a,l,o]),u=j(function(p){var h=i();return h||R(!1),H4(r,h,p)},[r,i]),c=re(function(){return{uniqueId:t,descriptor:r,options:s,getDimension:u}},[r,u,s,t]),f=C.useRef(c),d=C.useRef(!0);ft(function(){return n.draggable.register(f.current),function(){return n.draggable.unregister(f.current)}},[n.draggable]),ft(function(){if(d.current){d.current=!1;return}var p=f.current;f.current=c,n.draggable.update(c,p)},[c,n.draggable])}function q4(e){e.preventDefault()}function V4(e){var t=C.useRef(null),r=j(function(I){t.current=I},[]),n=j(function(){return t.current},[]),i=Hu(gf),a=i.contextId,o=i.dragHandleUsageInstructionsId,l=i.registry,s=Hu(cy),u=s.type,c=s.droppableId,f=re(function(){return{id:e.draggableId,index:e.index,type:u,droppableId:c}},[e.draggableId,e.index,u,c]),d=e.children,p=e.draggableId,h=e.isEnabled,w=e.shouldRespectForcePress,v=e.canDragInteractiveElements,g=e.isClone,m=e.mapped,y=e.dropAnimationFinished;if(!g){var b=re(function(){return{descriptor:f,registry:l,getDraggableRef:n,canDragInteractiveElements:v,shouldRespectForcePress:w,isEnabled:h}},[f,l,n,v,w,h]);G4(b)}var x=re(function(){return h?{tabIndex:0,role:"button","aria-describedby":o,"data-rbd-drag-handle-draggable-id":p,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:q4}:null},[a,o,p,h]),S=j(function(I){m.type==="DRAGGING"&&m.dropping&&I.propertyName==="transform"&&y()},[y,m]),E=re(function(){var I=W4(m),T=m.type==="DRAGGING"&&m.dropping?S:null,_={innerRef:r,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":p,style:I,onTransitionEnd:T},dragHandleProps:x};return _},[a,x,p,m,S,r]),O=re(function(){return{draggableId:f.id,type:f.type,source:{index:f.index,droppableId:f.droppableId}}},[f.droppableId,f.id,f.index,f.type]);return d(E,m.snapshot,O)}var wI=function(e,t){return e===t},SI=function(e){var t=e.combine,r=e.destination;return r?r.droppableId:t?t.droppableId:null},Y4=function(t){return t.combine?t.combine.draggableId:null},K4=function(t){return t.at&&t.at.type==="COMBINE"?t.at.combine.draggableId:null};function X4(){var e=Se(function(i,a){return{x:i,y:a}}),t=Se(function(i,a,o,l,s){return{isDragging:!0,isClone:a,isDropAnimating:!!s,dropAnimation:s,mode:i,draggingOver:o,combineWith:l,combineTargetFor:null}}),r=Se(function(i,a,o,l,s,u,c){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:s,combineWith:u,mode:a,offset:i,dimension:o,forceShouldAnimate:c,snapshot:t(a,l,s,u,null)}}}),n=function(a,o){if(a.isDragging){if(a.critical.draggable.id!==o.draggableId)return null;var l=a.current.client.offset,s=a.dimensions.draggables[o.draggableId],u=ct(a.impact),c=K4(a.impact),f=a.forceShouldAnimate;return r(e(l.x,l.y),a.movementMode,s,o.isClone,u,c,f)}if(a.phase==="DROP_ANIMATING"){var d=a.completed;if(d.result.draggableId!==o.draggableId)return null;var p=o.isClone,h=a.dimensions.draggables[o.draggableId],w=d.result,v=w.mode,g=SI(w),m=Y4(w),y=a.dropDuration,b={duration:y,curve:ty.drop,moveTo:a.newHomeClientOffset,opacity:m?il.opacity.drop:null,scale:m?il.scale.drop:null};return{mapped:{type:"DRAGGING",offset:a.newHomeClientOffset,dimension:h,dropping:b,draggingOver:g,combineWith:m,mode:v,forceShouldAnimate:null,snapshot:t(v,p,g,m,b)}}}return null};return n}function xI(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var Q4={mapped:{type:"SECONDARY",offset:ke,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:xI(null)}};function J4(){var e=Se(function(o,l){return{x:o,y:l}}),t=Se(xI),r=Se(function(o,l,s){return l===void 0&&(l=null),{mapped:{type:"SECONDARY",offset:o,combineTargetFor:l,shouldAnimateDisplacement:s,snapshot:t(l)}}}),n=function(l){return l?r(ke,l,!0):null},i=function(l,s,u,c){var f=u.displaced.visible[l],d=!!(c.inVirtualList&&c.effected[l]),p=ff(u),h=p&&p.draggableId===l?s:null;if(!f){if(!d)return n(h);if(u.displaced.invisible[l])return null;var w=ba(c.displacedBy.point),v=e(w.x,w.y);return r(v,h,!0)}if(d)return n(h);var g=u.displacedBy.point,m=e(g.x,g.y);return r(m,h,f.shouldAnimate)},a=function(l,s){if(l.isDragging)return l.critical.draggable.id===s.draggableId?null:i(s.draggableId,l.critical.draggable.id,l.impact,l.afterCritical);if(l.phase==="DROP_ANIMATING"){var u=l.completed;return u.result.draggableId===s.draggableId?null:i(s.draggableId,u.result.draggableId,u.impact,u.afterCritical)}return null};return a}var Z4=function(){var t=X4(),r=J4(),n=function(a,o){return t(a,o)||r(a,o)||Q4};return n},eB={dropAnimationFinished:tI},tB=zh(Z4,eB,null,{context:ly,pure:!0,areStatePropsEqual:wI})(V4);function EI(e){var t=Hu(cy),r=t.isUsingCloneFor;return r===e.draggableId&&!e.isClone?null:F.createElement(tB,e)}function c7(e){var t=typeof e.isDragDisabled=="boolean"?!e.isDragDisabled:!0,r=!!e.disableInteractiveElementBlocking,n=!!e.shouldRespectForcePress;return F.createElement(EI,W({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}function rB(e){var t=C.useContext(gf);t||R(!1);var r=t.contextId,n=t.isMovementAllowed,i=C.useRef(null),a=C.useRef(null),o=e.children,l=e.droppableId,s=e.type,u=e.mode,c=e.direction,f=e.ignoreContainerClipping,d=e.isDropDisabled,p=e.isCombineEnabled,h=e.snapshot,w=e.useClone,v=e.updateViewportMaxScroll,g=e.getContainerForClone,m=j(function(){return i.current},[]),y=j(function(_){i.current=_},[]);j(function(){return a.current},[]);var b=j(function(_){a.current=_},[]),x=j(function(){n()&&v({maxScroll:oI()})},[n,v]);k4({droppableId:l,type:s,mode:u,direction:c,isDropDisabled:d,isCombineEnabled:p,ignoreContainerClipping:f,getDroppableRef:m});var S=F.createElement(L4,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},function(_){var H=_.onClose,z=_.data,G=_.animate;return F.createElement($4,{placeholder:z,onClose:H,innerRef:b,animate:G,contextId:r,onTransitionEnd:x})}),E=re(function(){return{innerRef:y,placeholder:S,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":r}}},[r,l,S,y]),O=w?w.dragging.draggableId:null,I=re(function(){return{droppableId:l,type:s,isUsingCloneFor:O}},[l,O,s]);function T(){if(!w)return null;var _=w.dragging,H=w.render,z=F.createElement(EI,{draggableId:_.draggableId,index:_.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(G,Y){return H(G,Y,_)});return to.createPortal(z,g())}return F.createElement(cy.Provider,{value:I},o(E,h),T())}var Sp=function(t,r){return t===r.droppable.type},Yw=function(t,r){return r.draggables[t.draggable.id]},nB=function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=W({},t,{shouldAnimatePlaceholder:!1}),n=Se(function(o){return{draggableId:o.id,type:o.type,source:{index:o.index,droppableId:o.droppableId}}}),i=Se(function(o,l,s,u,c,f){var d=c.descriptor.id,p=c.descriptor.droppableId===o;if(p){var h=f?{render:f,dragging:n(c.descriptor)}:null,w={isDraggingOver:s,draggingOverWith:s?d:null,draggingFromThisWith:d,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!1,snapshot:w,useClone:h}}if(!l)return r;if(!u)return t;var v={isDraggingOver:s,draggingOverWith:d,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:c.placeholder,shouldAnimatePlaceholder:!0,snapshot:v,useClone:null}}),a=function(l,s){var u=s.droppableId,c=s.type,f=!s.isDropDisabled,d=s.renderClone;if(l.isDragging){var p=l.critical;if(!Sp(c,p))return r;var h=Yw(p,l.dimensions),w=ct(l.impact)===u;return i(u,f,w,w,h,d)}if(l.phase==="DROP_ANIMATING"){var v=l.completed;if(!Sp(c,v.critical))return r;var g=Yw(v.critical,l.dimensions);return i(u,f,SI(v.result)===u,ct(v.impact)===u,g,d)}if(l.phase==="IDLE"&&l.completed&&!l.shouldFlush){var m=l.completed;if(!Sp(c,m.critical))return r;var y=ct(m.impact)===u,b=!!(m.impact.at&&m.impact.at.type==="COMBINE"),x=m.critical.droppable.id===u;return y?b?t:r:x?t:r}return r};return a},iB={updateViewportMaxScroll:vL};function aB(){return document.body||R(!1),document.body}var oB={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:aB},lB=zh(nB,iB,null,{context:ly,pure:!0,areStatePropsEqual:wI})(rB);lB.defaultProps=oB;var sB=typeof performance=="object"&&typeof performance.now=="function",Kw=sB?function(){return performance.now()}:function(){return Date.now()};function Xw(e){cancelAnimationFrame(e.id)}function uB(e,t){var r=Kw();function n(){Kw()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var di=null;function Qw(e){if(e===void 0&&(e=!1),di===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?di="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?di="negative":di="positive-ascending"),document.body.removeChild(t),di}return di}var cB=150,fB=function(t,r){return t};function dB(e){var t,r,n=e.getItemOffset,i=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return r=t=function(d){yl(p,d);function p(w){var v;return v=d.call(this,w)||this,v._instanceProps=u(v.props,ds(ds(v))),v._outerRef=void 0,v._resetIsScrollingTimeoutId=null,v.state={instance:ds(ds(v)),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof v.props.initialScrollOffset=="number"?v.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},v._callOnItemsRendered=void 0,v._callOnItemsRendered=Se(function(g,m,y,b){return v.props.onItemsRendered({overscanStartIndex:g,overscanStopIndex:m,visibleStartIndex:y,visibleStopIndex:b})}),v._callOnScroll=void 0,v._callOnScroll=Se(function(g,m,y){return v.props.onScroll({scrollDirection:g,scrollOffset:m,scrollUpdateWasRequested:y})}),v._getItemStyle=void 0,v._getItemStyle=function(g){var m=v.props,y=m.direction,b=m.itemSize,x=m.layout,S=v._getItemStyleCache(c&&b,c&&x,c&&y),E;if(S.hasOwnProperty(g))E=S[g];else{var O=n(v.props,g,v._instanceProps),I=a(v.props,g,v._instanceProps),T=y==="horizontal"||x==="horizontal",_=y==="rtl",H=T?O:0;S[g]=E={position:"absolute",left:_?void 0:H,right:_?H:void 0,top:T?0:O,height:T?"100%":I,width:T?I:"100%"}}return E},v._getItemStyleCache=void 0,v._getItemStyleCache=Se(function(g,m,y){return{}}),v._onScrollHorizontal=function(g){var m=g.currentTarget,y=m.clientWidth,b=m.scrollLeft,x=m.scrollWidth;v.setState(function(S){if(S.scrollOffset===b)return null;var E=v.props.direction,O=b;if(E==="rtl")switch(Qw()){case"negative":O=-b;break;case"positive-descending":O=x-y-b;break}return O=Math.max(0,Math.min(O,x-y)),{isScrolling:!0,scrollDirection:S.scrollOffset<b?"forward":"backward",scrollOffset:O,scrollUpdateWasRequested:!1}},v._resetIsScrollingDebounced)},v._onScrollVertical=function(g){var m=g.currentTarget,y=m.clientHeight,b=m.scrollHeight,x=m.scrollTop;v.setState(function(S){if(S.scrollOffset===x)return null;var E=Math.max(0,Math.min(x,b-y));return{isScrolling:!0,scrollDirection:S.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},v._resetIsScrollingDebounced)},v._outerRefSetter=function(g){var m=v.props.outerRef;v._outerRef=g,typeof m=="function"?m(g):m!=null&&typeof m=="object"&&m.hasOwnProperty("current")&&(m.current=g)},v._resetIsScrollingDebounced=function(){v._resetIsScrollingTimeoutId!==null&&Xw(v._resetIsScrollingTimeoutId),v._resetIsScrollingTimeoutId=uB(v._resetIsScrolling,cB)},v._resetIsScrolling=function(){v._resetIsScrollingTimeoutId=null,v.setState({isScrolling:!1},function(){v._getItemStyleCache(-1,null)})},v}p.getDerivedStateFromProps=function(v,g){return pB(v,g),f(v),null};var h=p.prototype;return h.scrollTo=function(v){v=Math.max(0,v),this.setState(function(g){return g.scrollOffset===v?null:{scrollDirection:g.scrollOffset<v?"forward":"backward",scrollOffset:v,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},h.scrollToItem=function(v,g){g===void 0&&(g="auto");var m=this.props.itemCount,y=this.state.scrollOffset;v=Math.max(0,Math.min(v,m-1)),this.scrollTo(o(this.props,v,g,y,this._instanceProps))},h.componentDidMount=function(){var v=this.props,g=v.direction,m=v.initialScrollOffset,y=v.layout;if(typeof m=="number"&&this._outerRef!=null){var b=this._outerRef;g==="horizontal"||y==="horizontal"?b.scrollLeft=m:b.scrollTop=m}this._callPropsCallbacks()},h.componentDidUpdate=function(){var v=this.props,g=v.direction,m=v.layout,y=this.state,b=y.scrollOffset,x=y.scrollUpdateWasRequested;if(x&&this._outerRef!=null){var S=this._outerRef;if(g==="horizontal"||m==="horizontal")if(g==="rtl")switch(Qw()){case"negative":S.scrollLeft=-b;break;case"positive-ascending":S.scrollLeft=b;break;default:var E=S.clientWidth,O=S.scrollWidth;S.scrollLeft=O-E-b;break}else S.scrollLeft=b;else S.scrollTop=b}this._callPropsCallbacks()},h.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Xw(this._resetIsScrollingTimeoutId)},h.render=function(){var v=this.props,g=v.children,m=v.className,y=v.direction,b=v.height,x=v.innerRef,S=v.innerElementType,E=v.innerTagName,O=v.itemCount,I=v.itemData,T=v.itemKey,_=T===void 0?fB:T,H=v.layout,z=v.outerElementType,G=v.outerTagName,Y=v.style,Q=v.useIsScrolling,ee=v.width,oe=this.state.isScrolling,le=y==="horizontal"||H==="horizontal",ce=le?this._onScrollHorizontal:this._onScrollVertical,P=this._getRangeToRender(),k=P[0],U=P[1],K=[];if(O>0)for(var V=k;V<=U;V++)K.push(C.createElement(g,{data:I,key:_(V,I),index:V,isScrolling:Q?oe:void 0,style:this._getItemStyle(V)}));var se=i(this.props,this._instanceProps);return C.createElement(z||G||"div",{className:m,onScroll:ce,ref:this._outerRefSetter,style:W({position:"relative",height:b,width:ee,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:y},Y)},C.createElement(S||E||"div",{children:K,ref:x,style:{height:le?"100%":se,pointerEvents:oe?"none":void 0,width:le?se:"100%"}}))},h._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var v=this.props.itemCount;if(v>0){var g=this._getRangeToRender(),m=g[0],y=g[1],b=g[2],x=g[3];this._callOnItemsRendered(m,y,b,x)}}if(typeof this.props.onScroll=="function"){var S=this.state,E=S.scrollDirection,O=S.scrollOffset,I=S.scrollUpdateWasRequested;this._callOnScroll(E,O,I)}},h._getRangeToRender=function(){var v=this.props,g=v.itemCount,m=v.overscanCount,y=this.state,b=y.isScrolling,x=y.scrollDirection,S=y.scrollOffset;if(g===0)return[0,0,0,0];var E=l(this.props,S,this._instanceProps),O=s(this.props,E,S,this._instanceProps),I=!b||x==="backward"?Math.max(1,m):1,T=!b||x==="forward"?Math.max(1,m):1;return[Math.max(0,E-I),Math.max(0,Math.min(g-1,O+T)),E,O]},p}(C.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var pB=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},f7=dB({getItemOffset:function(t,r){var n=t.itemSize;return r*n},getItemSize:function(t,r){var n=t.itemSize;return n},getEstimatedTotalSize:function(t){var r=t.itemCount,n=t.itemSize;return n*r},getOffsetForIndexAndAlignment:function(t,r,n,i){var a=t.direction,o=t.height,l=t.itemCount,s=t.itemSize,u=t.layout,c=t.width,f=a==="horizontal"||u==="horizontal",d=f?c:o,p=Math.max(0,l*s-d),h=Math.min(p,r*s),w=Math.max(0,r*s-d+s);switch(n==="smart"&&(i>=w-d&&i<=h+d?n="auto":n="center"),n){case"start":return h;case"end":return w;case"center":{var v=Math.round(w+(h-w)/2);return v<Math.ceil(d/2)?0:v>p+Math.floor(d/2)?p:v}case"auto":default:return i>=w&&i<=h?i:i<w?w:h}},getStartIndexForOffset:function(t,r){var n=t.itemCount,i=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(t,r,n){var i=t.direction,a=t.height,o=t.itemCount,l=t.itemSize,s=t.layout,u=t.width,c=i==="horizontal"||s==="horizontal",f=r*l,d=c?u:a,p=Math.ceil((d+n-f)/l);return Math.max(0,Math.min(o-1,r+p-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}}),vB=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},gB=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),mB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hB=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},Jw=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},yB=function(){function e(t,r){var n=[],i=!0,a=!1,o=void 0;try{for(var l=t[Symbol.iterator](),s;!(i=(s=l.next()).done)&&(n.push(s.value),!(r&&n.length===r));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&l.return&&l.return()}finally{if(a)throw o}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),It=void 0;typeof window<"u"?It=window:typeof self<"u"?It=self:It=global;var xg=null,Eg=null,Zw=20,xp=It.clearTimeout,eS=It.setTimeout,Ep=It.cancelAnimationFrame||It.mozCancelAnimationFrame||It.webkitCancelAnimationFrame,tS=It.requestAnimationFrame||It.mozRequestAnimationFrame||It.webkitRequestAnimationFrame;Ep==null||tS==null?(xg=xp,Eg=function(t){return eS(t,Zw)}):(xg=function(t){var r=yB(t,2),n=r[0],i=r[1];Ep(n),xp(i)},Eg=function(t){var r=tS(function(){xp(n),t()}),n=eS(function(){Ep(r),t()},Zw);return[r,n]});function bB(e){var t=void 0,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0,l=void 0,s=typeof document<"u"&&document.attachEvent;if(!s){o=function(b){var x=b.__resizeTriggers__,S=x.firstElementChild,E=x.lastElementChild,O=S.firstElementChild;E.scrollLeft=E.scrollWidth,E.scrollTop=E.scrollHeight,O.style.width=S.offsetWidth+1+"px",O.style.height=S.offsetHeight+1+"px",S.scrollLeft=S.scrollWidth,S.scrollTop=S.scrollHeight},a=function(b){return b.offsetWidth!==b.__resizeLast__.width||b.offsetHeight!==b.__resizeLast__.height},l=function(b){if(!(b.target.className&&typeof b.target.className.indexOf=="function"&&b.target.className.indexOf("contract-trigger")<0&&b.target.className.indexOf("expand-trigger")<0)){var x=this;o(this),this.__resizeRAF__&&xg(this.__resizeRAF__),this.__resizeRAF__=Eg(function(){a(x)&&(x.__resizeLast__.width=x.offsetWidth,x.__resizeLast__.height=x.offsetHeight,x.__resizeListeners__.forEach(function(O){O.call(x,b)}))})}};var u=!1,c="";n="animationstart";var f="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p="";{var h=document.createElement("fakeelement");if(h.style.animationName!==void 0&&(u=!0),u===!1){for(var w=0;w<f.length;w++)if(h.style[f[w]+"AnimationName"]!==void 0){p=f[w],c="-"+p.toLowerCase()+"-",n=d[w],u=!0;break}}}r="resizeanim",t="@"+c+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",i=c+"animation: 1ms "+r+"; "}var v=function(b){if(!b.getElementById("detectElementResize")){var x=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',S=b.head||b.getElementsByTagName("head")[0],E=b.createElement("style");E.id="detectElementResize",E.type="text/css",e!=null&&E.setAttribute("nonce",e),E.styleSheet?E.styleSheet.cssText=x:E.appendChild(b.createTextNode(x)),S.appendChild(E)}},g=function(b,x){if(s)b.attachEvent("onresize",x);else{if(!b.__resizeTriggers__){var S=b.ownerDocument,E=It.getComputedStyle(b);E&&E.position==="static"&&(b.style.position="relative"),v(S),b.__resizeLast__={},b.__resizeListeners__=[],(b.__resizeTriggers__=S.createElement("div")).className="resize-triggers";var O=S.createElement("div");O.className="expand-trigger",O.appendChild(S.createElement("div"));var I=S.createElement("div");I.className="contract-trigger",b.__resizeTriggers__.appendChild(O),b.__resizeTriggers__.appendChild(I),b.appendChild(b.__resizeTriggers__),o(b),b.addEventListener("scroll",l,!0),n&&(b.__resizeTriggers__.__animationListener__=function(_){_.animationName===r&&o(b)},b.__resizeTriggers__.addEventListener(n,b.__resizeTriggers__.__animationListener__))}b.__resizeListeners__.push(x)}},m=function(b,x){if(s)b.detachEvent("onresize",x);else if(b.__resizeListeners__.splice(b.__resizeListeners__.indexOf(x),1),!b.__resizeListeners__.length){b.removeEventListener("scroll",l,!0),b.__resizeTriggers__.__animationListener__&&(b.__resizeTriggers__.removeEventListener(n,b.__resizeTriggers__.__animationListener__),b.__resizeTriggers__.__animationListener__=null);try{b.__resizeTriggers__=!b.removeChild(b.__resizeTriggers__)}catch{}}};return{addResizeListener:g,removeResizeListener:m}}var wB=function(e){hB(t,e);function t(){var r,n,i,a;vB(this,t);for(var o=arguments.length,l=Array(o),s=0;s<o;s++)l[s]=arguments[s];return a=(n=(i=Jw(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(l))),i),i.state={height:i.props.defaultHeight||0,width:i.props.defaultWidth||0},i._onResize=function(){var u=i.props,c=u.disableHeight,f=u.disableWidth,d=u.onResize;if(i._parentNode){var p=i._parentNode.offsetHeight||0,h=i._parentNode.offsetWidth||0,w=window.getComputedStyle(i._parentNode)||{},v=parseInt(w.paddingLeft,10)||0,g=parseInt(w.paddingRight,10)||0,m=parseInt(w.paddingTop,10)||0,y=parseInt(w.paddingBottom,10)||0,b=p-m-y,x=h-v-g;(!c&&i.state.height!==b||!f&&i.state.width!==x)&&(i.setState({height:p-m-y,width:h-v-g}),d({height:p,width:h}))}},i._setRef=function(u){i._autoSizer=u},n),Jw(i,a)}return gB(t,[{key:"componentDidMount",value:function(){var n=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=bB(n),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var n=this.props,i=n.children,a=n.className,o=n.disableHeight,l=n.disableWidth,s=n.style,u=this.state,c=u.height,f=u.width,d={overflow:"visible"},p={},h=!1;return o||(c===0&&(h=!0),d.height=0,p.height=c),l||(f===0&&(h=!0),d.width=0,p.width=f),C.createElement("div",{className:a,ref:this._setRef,style:mB({},d,s)},!h&&i(p))}}]),t}(C.PureComponent);wB.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var SB=9007199254740991,xB="[object Arguments]",EB="[object Function]",CB="[object GeneratorFunction]",OB=typeof Z=="object"&&Z&&Z.Object===Object&&Z,IB=typeof self=="object"&&self&&self.Object===Object&&self,PB=OB||IB||Function("return this")();function DB(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var fy=Object.prototype,AB=fy.hasOwnProperty,CI=fy.toString,rS=PB.Symbol,RB=fy.propertyIsEnumerable,nS=rS?rS.isConcatSpreadable:void 0;function OI(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=TB),i||(i=[]);++a<o;){var l=e[a];t>0&&r(l)?t>1?OI(l,t-1,r,n,i):DB(i,l):n||(i[i.length]=l)}return i}function TB(e){return NB(e)||_B(e)||!!(nS&&e&&e[nS])}function kB(e){var t=e?e.length:0;return t?OI(e,1):[]}function _B(e){return $B(e)&&AB.call(e,"callee")&&(!RB.call(e,"callee")||CI.call(e)==xB)}var NB=Array.isArray;function MB(e){return e!=null&&FB(e.length)&&!LB(e)}function $B(e){return jB(e)&&MB(e)}function LB(e){var t=BB(e)?CI.call(e):"";return t==EB||t==CB}function FB(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=SB}function BB(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function jB(e){return!!e&&typeof e=="object"}var zB=kB;const d7=nt(zB);var iS=0/0,UB="[object Symbol]",WB=/^\s+|\s+$/g,HB=/^[-+]0x[0-9a-f]+$/i,GB=/^0b[01]+$/i,qB=/^0o[0-7]+$/i,VB=parseInt,YB=Object.prototype,KB=YB.toString;function XB(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function aS(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function QB(e){return!!e&&typeof e=="object"}function JB(e){return typeof e=="symbol"||QB(e)&&KB.call(e)==UB}function Cp(e){if(typeof e=="number")return e;if(JB(e))return iS;if(aS(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=aS(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(WB,"");var r=GB.test(e);return r||qB.test(e)?VB(e.slice(2),r?2:8):HB.test(e)?iS:+e}function ZB(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=Cp(r),r=r===r?r:0),t!==void 0&&(t=Cp(t),t=t===t?t:0),XB(Cp(e),t,r)}var ej=ZB;const p7=nt(ej);function Va(e){return e&&e.__esModule?e.default:e}function Ut(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var II={};Ut(II,"spectrum--darkest",()=>Cg,e=>Cg=e);var Cg;Cg="spectrum--darkest_256eeb";var hn={};Ut(hn,"spectrum",()=>Og,e=>Og=e);Ut(hn,"spectrum--medium",()=>Ig,e=>Ig=e);Ut(hn,"spectrum--large",()=>Pg,e=>Pg=e);Ut(hn,"spectrum--darkest",()=>Dg,e=>Dg=e);Ut(hn,"spectrum--dark",()=>Ag,e=>Ag=e);Ut(hn,"spectrum--light",()=>Rg,e=>Rg=e);Ut(hn,"spectrum--lightest",()=>Tg,e=>Tg=e);var Og,Ig,Pg,Dg,Ag,Rg,Tg;Og="spectrum_9e130c";Ig="spectrum--medium_9e130c";Pg="spectrum--large_9e130c";Dg="spectrum--darkest_9e130c";Ag="spectrum--dark_9e130c";Rg="spectrum--light_9e130c";Tg="spectrum--lightest_9e130c";var PI={};Ut(PI,"spectrum--large",()=>kg,e=>kg=e);var kg;kg="spectrum--large_c40598";var DI={};Ut(DI,"spectrum--light",()=>_g,e=>_g=e);var _g;_g="spectrum--light_a40724";var AI={};Ut(AI,"spectrum--medium",()=>Ng,e=>Ng=e);var Ng;Ng="spectrum--medium_4b172c";let v7={global:Va(hn),light:Va(DI),dark:Va(II),medium:Va(AI),large:Va(PI)};/*! js-cookie v3.0.5 | MIT */function Ds(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var tj={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Mg(e,t){function r(i,a,o){if(!(typeof document>"u")){o=Ds({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var s in o)o[s]&&(l+="; "+s,o[s]!==!0&&(l+="="+o[s].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+l}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},l=0;l<a.length;l++){var s=a[l].split("="),u=s.slice(1).join("=");try{var c=decodeURIComponent(s[0]);if(o[c]=e.read(u,c),i===c)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Ds({},a,{expires:-1}))},withAttributes:function(i){return Mg(this.converter,Ds({},this.attributes,i))},withConverter:function(i){return Mg(Ds({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var g7=Mg(tj,{path:"/"});function m7(e){let{initialItems:t=[],initialSelectedKeys:r,getKey:n=u=>u.id||u.key,filter:i,initialFilterText:a=""}=e,[o,l]=C.useState({items:t,selectedKeys:r==="all"?"all":new Set(r||[]),filterText:a}),s=C.useMemo(()=>i?o.items.filter(u=>i(u,o.filterText)):o.items,[o.items,o.filterText,i]);return{...o,items:s,...rj({getKey:n},l),getItem(u){return o.items.find(c=>n(c)===u)}}}function rj(e,t){let{cursor:r,getKey:n}=e;return{setSelectedKeys(i){t(a=>({...a,selectedKeys:i}))},setFilterText(i){t(a=>({...a,filterText:i}))},insert(i,...a){t(o=>Ya(o,i,...a))},insertBefore(i,...a){t(o=>{let l=o.items.findIndex(s=>n(s)===i);if(l===-1)if(o.items.length===0)l=0;else return o;return Ya(o,l,...a)})},insertAfter(i,...a){t(o=>{let l=o.items.findIndex(s=>n(s)===i);if(l===-1)if(o.items.length===0)l=0;else return o;return Ya(o,l+1,...a)})},prepend(...i){t(a=>Ya(a,0,...i))},append(...i){t(a=>Ya(a,a.items.length,...i))},remove(...i){t(a=>{let o=new Set(i),l=a.items.filter(u=>!o.has(n(u))),s="all";if(a.selectedKeys!=="all"){s=new Set(a.selectedKeys);for(let u of i)s.delete(u)}return r==null&&l.length===0&&(s=new Set),{...a,items:l,selectedKeys:s}})},removeSelectedItems(){t(i=>{if(i.selectedKeys==="all")return{...i,items:[],selectedKeys:new Set};let a=i.selectedKeys,o=i.items.filter(l=>!a.has(n(l)));return{...i,items:o,selectedKeys:new Set}})},move(i,a){t(o=>{let l=o.items.findIndex(c=>n(c)===i);if(l===-1)return o;let s=o.items.slice(),[u]=s.splice(l,1);return s.splice(a,0,u),{...o,items:s}})},moveBefore(i,a){t(o=>{let l=o.items.findIndex(c=>n(c)===i);if(l===-1)return o;let u=(Array.isArray(a)?a:[...a]).map(c=>o.items.findIndex(f=>n(f)===c)).sort();return oS(o,u,l)})},moveAfter(i,a){t(o=>{let l=o.items.findIndex(c=>n(c)===i);if(l===-1)return o;let u=(Array.isArray(a)?a:[...a]).map(c=>o.items.findIndex(f=>n(f)===c)).sort();return oS(o,u,l+1)})},update(i,a){t(o=>{let l=o.items.findIndex(s=>n(s)===i);return l===-1?o:{...o,items:[...o.items.slice(0,l),a,...o.items.slice(l+1)]}})}}}function Ya(e,t,...r){return{...e,items:[...e.items.slice(0,t),...r,...e.items.slice(t)]}}function oS(e,t,r){r-=t.filter(a=>a<r).length;let n=t.map(a=>({from:a,to:r++}));for(let a=0;a<n.length;a++){let o=n[a].from;for(let l=a;l<n.length;l++)n[l].from>o&&n[l].from--}for(let a=0;a<n.length;a++){let o=n[a];for(let l=n.length-1;l>a;l--){let s=n[l];s.from<o.to?o.to++:s.from++}}let i=e.items.slice();for(let a of n){let[o]=i.splice(a.from,1);i.splice(a.to,0,o)}return{...e,items:i}}var $l={},hf={},RI={};(function(e){e.__esModule=!0;var t=function(r){var n={};return function(i){return i in n||(n[i]=r(i)),n[i]}};e.default=t})(RI);var TI={};const nj={},ij=Object.freeze(Object.defineProperty({__proto__:null,default:nj},Symbol.toStringTag,{value:"Module"})),$g=wD(ij);var qn={};qn.__esModule=!0;qn.InternalServerError=qn.OK=void 0;qn.OK=200;qn.InternalServerError=500;(function(e){var t=Z&&Z.__spreadArray||function(l,s,u){if(u||arguments.length===2)for(var c=0,f=s.length,d;c<f;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return l.concat(d||Array.prototype.slice.call(s))};e.__esModule=!0;var r=$g,n=$g,i=qn,a=function(l){for(var s=[],u=1;u<arguments.length;u++)s[u-1]=arguments[u];return typeof l!="string"?{on:function(c,f){f(new Error("URL must be a string."))}}:l.indexOf("https://")===0?n.get.apply(n,t([l],s,!1)):r.get.apply(r,t([l],s,!1))},o=function(l){return new Promise(function(s,u){a(l,function(c){if(c.statusCode!==i.OK)return u(new Error("HTTP Error Response: "+c.statusCode+" "+c.statusMessage+" ("+l+")"));var f=null;c.on("data",function(d){if(f===null){f=d;return}f+=d}),c.on("end",function(){return s(f)})}).on("error",u)})};e.default=o})(TI);var kI={},en={};en.__esModule=!0;en.DONE=en.OPENED=en.UNSENT=void 0;en.UNSENT=0;en.OPENED=1;en.DONE=4;(function(e){e.__esModule=!0;var t=qn,r=en,n=function(i){return new Promise(function(a,o){var l=new XMLHttpRequest;l.onreadystatechange=function(){l.readyState===r.DONE&&(l.status===t.OK?a(l.responseText):o(new Error("HTTP Error Response: "+l.status+" "+l.statusText+" ("+i+")")))},l.open("GET",i,!0),l.send()})};e.default=n})(kI);hf.__esModule=!0;hf.createLoadRemoteModule=void 0;var aj=RI,oj=TI,lj=kI,sj=typeof window<"u"&&typeof window.document<"u",uj=sj?lj.default:oj.default,cj=function(e){throw new Error("Could not require '"+e+"'. The 'requires' function was not provided.")},fj=function(e){var t=e===void 0?{}:e,r=t.requires,n=t.fetcher,i=r||cj,a=n||uj;return(0,aj.default)(function(o){return a(o).then(function(l){var s={},u={exports:s},c=new Function("require","module","exports",l);return c(i,u,s),u.exports})})};hf.createLoadRemoteModule=fj;var yf={};yf.__esModule=!0;yf.createRequires=void 0;var dj=function(e){return function(t){var r=e||{};if(!(t in r))throw new Error("Could not require '"+t+"'. '"+t+"' does not exist in dependencies.");return r[t]}};yf.createRequires=dj;(function(e){var t=Z&&Z.__createBinding||(Object.create?function(i,a,o,l){l===void 0&&(l=o),Object.defineProperty(i,l,{enumerable:!0,get:function(){return a[o]}})}:function(i,a,o,l){l===void 0&&(l=o),i[l]=a[o]});e.__esModule=!0,e.createRequires=e.default=void 0;var r=hf;t(e,r,"createLoadRemoteModule","default");var n=yf;t(e,n,"createRequires")})($l);const h7=nt($l);var pj={},Ll={},vj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Ll.__esModule=!0;Ll.createUseRemoteComponent=void 0;var lS=C,gj=vj($l),mj=function(e){var t=gj.default(e),r=function(n,i){i===void 0&&(i="default");var a=lS.useState({loading:!0,err:void 0,component:void 0}),o=a[0],l=o.loading,s=o.err,u=o.component,c=a[1];return lS.useEffect(function(){var f=c;return f({loading:!0,err:void 0,component:void 0}),t(n).then(function(d){return f({loading:!1,err:void 0,component:d[i]})}).catch(function(d){return f({loading:!1,err:d,component:void 0})}),function(){f=function(){}}},[n]),[l,s,u]};return r};Ll.createUseRemoteComponent=mj;var Fl={};Fl.__esModule=!0;Fl.createRequires=void 0;var hj=function(e){return typeof e=="function"?e():e||{}},yj=function(e){var t=!1;return function(r){if(t||(e=hj(e),t=!0),!(r in e))throw new Error("Could not require '"+r+"'. '"+r+"' does not exist in dependencies.");return e[r]}};Fl.createRequires=yj;var dy={};(function(e){var t=Z&&Z.__assign||function(){return t=Object.assign||function(o){for(var l,s=1,u=arguments.length;s<u;s++){l=arguments[s];for(var c in l)Object.prototype.hasOwnProperty.call(l,c)&&(o[c]=l[c])}return o},t.apply(this,arguments)};e.__esModule=!0,e.getDependencies=e.ensureRemoteComponentConfig=void 0;var r=function(o){return o&&typeof o.message=="string"&&o.message.indexOf("Cannot find module")>-1},n=function(o){return typeof o=="object"&&"remote-component.config.js"in o},i=function(o){var l=o.resolve;if(n(l))return l;var s=t({},l);return s["remote-component.config.js"]={resolve:s},s};e.ensureRemoteComponentConfig=i;var a=function(){try{return e.ensureRemoteComponentConfig(require("remote-component.config.js"))}catch(o){if(!r(o))throw o;return{}}};e.getDependencies=a})(dy);var Bl={},Lg=Z&&Z.__assign||function(){return Lg=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Lg.apply(this,arguments)},bj=Z&&Z.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},wj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Bl.__esModule=!0;Bl.createRemoteComponent=void 0;var sS=wj(C),Sj=Ll,xj=function(e){var t=Sj.createUseRemoteComponent(e),r=function(n){var i=n.url,a=n.fallback,o=a===void 0?null:a,l=n.render,s=bj(n,["url","fallback","render"]),u=t(i),c=u[0],f=u[1],d=u[2];return c?o:l?l({err:f,Component:d}):f||!d?sS.default.createElement("div",null,"Unknown Error: ",(f||"UNKNOWN").toString()):sS.default.createElement(d,Lg({},s))};return r};Bl.createRemoteComponent=xj;var bf={};bf.__esModule=!0;bf.RemoteComponent=void 0;var Ej=Bl,Cj=Fl,Oj=dy,Ij=Cj.createRequires(Oj.getDependencies);bf.RemoteComponent=Ej.createRemoteComponent({requires:Ij});var wf={},Pj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};wf.__esModule=!0;wf.fetchRemoteComponent=void 0;var Dj=Pj($l),Aj=function(e){var t=e.requires,r=e.fetcher,n=e.url,i=e.imports,a=i===void 0?"default":i,o=Dj.default({requires:t,fetcher:r});return o(n).then(function(l){var s=l&&l[a];if(!s)throw new Error("Could not load '"+a+"' from '"+n+"'.");return s})};wf.fetchRemoteComponent=Aj;var Sf={},Rj=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Sf.__esModule=!0;Sf.getServerSideProps=void 0;var Tj=Rj($l),kj=function(e){var t=e.url,r=e.requires,n=e.context,i=e.imports,a=i===void 0?"default":i,o=Tj.default({requires:r});return o(t).then(function(l){var s=l&&l[a]&&l[a].getServerSideProps;return typeof s=="function"?s(n):{}})};Sf.getServerSideProps=kj;(function(e){var t=Z&&Z.__createBinding||(Object.create?function(u,c,f,d){d===void 0&&(d=f),Object.defineProperty(u,d,{enumerable:!0,get:function(){return c[f]}})}:function(u,c,f,d){d===void 0&&(d=f),u[d]=c[f]});e.__esModule=!0,e.getServerSideProps=e.fetchRemoteComponent=e.RemoteComponent=e.createRemoteComponent=e.getDependencies=e.createRequires=e.createUseRemoteComponent=void 0;var r=Ll;t(e,r,"createUseRemoteComponent");var n=Fl;t(e,n,"createRequires");var i=dy;t(e,i,"getDependencies");var a=Bl;t(e,a,"createRemoteComponent");var o=bf;t(e,o,"RemoteComponent");var l=wf;t(e,l,"fetchRemoteComponent");var s=Sf;t(e,s,"getServerSideProps")})(pj);var uS=Object.prototype.toString,_I=function(t){var r=uS.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&uS.call(t.callee)==="[object Function]"),n},Op,cS;function _j(){if(cS)return Op;cS=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=_I,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(d){var p=d.constructor;return p&&p.prototype===d},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!u["$"+d]&&t.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{s(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!c)return s(d);try{return s(d)}catch{return!1}};e=function(p){var h=p!==null&&typeof p=="object",w=r.call(p)==="[object Function]",v=n(p),g=h&&r.call(p)==="[object String]",m=[];if(!h&&!w&&!v)throw new TypeError("Object.keys called on a non-object");var y=o&&w;if(g&&p.length>0&&!t.call(p,0))for(var b=0;b<p.length;++b)m.push(String(b));if(v&&p.length>0)for(var x=0;x<p.length;++x)m.push(String(x));else for(var S in p)!(y&&S==="prototype")&&t.call(p,S)&&m.push(String(S));if(a)for(var E=f(p),O=0;O<l.length;++O)!(E&&l[O]==="constructor")&&t.call(p,l[O])&&m.push(l[O]);return m}}return Op=e,Op}var Nj=Array.prototype.slice,Mj=_I,fS=Object.keys,eu=fS?function(t){return fS(t)}:_j(),dS=Object.keys;eu.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Mj(n)?dS(Nj.call(n)):dS(n)})}else Object.keys=eu;return Object.keys||eu};var py=eu,xf=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==i||o.enumerable!==!0)return!1}return!0},$j=xf,yn=function(){return $j()&&!!Symbol.toStringTag},pS=typeof Symbol<"u"&&Symbol,Lj=xf,vy=function(){return typeof pS!="function"||typeof Symbol!="function"||typeof pS("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Lj()},Fj="Function.prototype.bind called on incompatible ",Ip=Array.prototype.slice,Bj=Object.prototype.toString,jj="[object Function]",zj=function(t){var r=this;if(typeof r!="function"||Bj.call(r)!==jj)throw new TypeError(Fj+r);for(var n=Ip.call(arguments,1),i,a=function(){if(this instanceof i){var c=r.apply(this,n.concat(Ip.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(Ip.call(arguments)))},o=Math.max(0,r.length-n.length),l=[],s=0;s<o;s++)l.push("$"+s);if(i=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},Uj=zj,gy=Function.prototype.bind||Uj,Wj=gy,Hj=Wj.call(Function.call,Object.prototype.hasOwnProperty),te,aa=SyntaxError,NI=Function,Hi=TypeError,Pp=function(e){try{return NI('"use strict"; return ('+e+").constructor;")()}catch{}},Bn=Object.getOwnPropertyDescriptor;if(Bn)try{Bn({},"")}catch{Bn=null}var Dp=function(){throw new Hi},Gj=Bn?function(){try{return arguments.callee,Dp}catch{try{return Bn(arguments,"callee").get}catch{return Dp}}}():Dp,pi=vy(),Tr=Object.getPrototypeOf||function(e){return e.__proto__},yi={},qj=typeof Uint8Array>"u"?te:Tr(Uint8Array),Gi={"%AggregateError%":typeof AggregateError>"u"?te:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?te:ArrayBuffer,"%ArrayIteratorPrototype%":pi?Tr([][Symbol.iterator]()):te,"%AsyncFromSyncIteratorPrototype%":te,"%AsyncFunction%":yi,"%AsyncGenerator%":yi,"%AsyncGeneratorFunction%":yi,"%AsyncIteratorPrototype%":yi,"%Atomics%":typeof Atomics>"u"?te:Atomics,"%BigInt%":typeof BigInt>"u"?te:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?te:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?te:Float32Array,"%Float64Array%":typeof Float64Array>"u"?te:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?te:FinalizationRegistry,"%Function%":NI,"%GeneratorFunction%":yi,"%Int8Array%":typeof Int8Array>"u"?te:Int8Array,"%Int16Array%":typeof Int16Array>"u"?te:Int16Array,"%Int32Array%":typeof Int32Array>"u"?te:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":pi?Tr(Tr([][Symbol.iterator]())):te,"%JSON%":typeof JSON=="object"?JSON:te,"%Map%":typeof Map>"u"?te:Map,"%MapIteratorPrototype%":typeof Map>"u"||!pi?te:Tr(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?te:Promise,"%Proxy%":typeof Proxy>"u"?te:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?te:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?te:Set,"%SetIteratorPrototype%":typeof Set>"u"||!pi?te:Tr(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?te:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":pi?Tr(""[Symbol.iterator]()):te,"%Symbol%":pi?Symbol:te,"%SyntaxError%":aa,"%ThrowTypeError%":Gj,"%TypedArray%":qj,"%TypeError%":Hi,"%Uint8Array%":typeof Uint8Array>"u"?te:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?te:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?te:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?te:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?te:WeakMap,"%WeakRef%":typeof WeakRef>"u"?te:WeakRef,"%WeakSet%":typeof WeakSet>"u"?te:WeakSet},Vj=function e(t){var r;if(t==="%AsyncFunction%")r=Pp("async function () {}");else if(t==="%GeneratorFunction%")r=Pp("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Pp("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=Tr(i.prototype))}return Gi[t]=r,r},vS={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},jl=gy,Gu=Hj,Yj=jl.call(Function.call,Array.prototype.concat),Kj=jl.call(Function.apply,Array.prototype.splice),gS=jl.call(Function.call,String.prototype.replace),qu=jl.call(Function.call,String.prototype.slice),Xj=jl.call(Function.call,RegExp.prototype.exec),Qj=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jj=/\\(\\)?/g,Zj=function(t){var r=qu(t,0,1),n=qu(t,-1);if(r==="%"&&n!=="%")throw new aa("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new aa("invalid intrinsic syntax, expected opening `%`");var i=[];return gS(t,Qj,function(a,o,l,s){i[i.length]=l?gS(s,Jj,"$1"):o||a}),i},e6=function(t,r){var n=t,i;if(Gu(vS,n)&&(i=vS[n],n="%"+i[0]+"%"),Gu(Gi,n)){var a=Gi[n];if(a===yi&&(a=Vj(n)),typeof a>"u"&&!r)throw new Hi("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new aa("intrinsic "+t+" does not exist!")},bn=function(t,r){if(typeof t!="string"||t.length===0)throw new Hi("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Hi('"allowMissing" argument must be a boolean');if(Xj(/^%?[^%]*%?$/,t)===null)throw new aa("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Zj(t),i=n.length>0?n[0]:"",a=e6("%"+i+"%",r),o=a.name,l=a.value,s=!1,u=a.alias;u&&(i=u[0],Kj(n,Yj([0,1],u)));for(var c=1,f=!0;c<n.length;c+=1){var d=n[c],p=qu(d,0,1),h=qu(d,-1);if((p==='"'||p==="'"||p==="`"||h==='"'||h==="'"||h==="`")&&p!==h)throw new aa("property names with quotes must have matching quotes");if((d==="constructor"||!f)&&(s=!0),i+="."+d,o="%"+i+"%",Gu(Gi,o))l=Gi[o];else if(l!=null){if(!(d in l)){if(!r)throw new Hi("base intrinsic for "+t+" exists, but the property is not available.");return}if(Bn&&c+1>=n.length){var w=Bn(l,d);f=!!w,f&&"get"in w&&!("originalValue"in w.get)?l=w.get:l=l[d]}else f=Gu(l,d),l=l[d];f&&!s&&(Gi[o]=l)}}return l},MI={exports:{}};(function(e){var t=gy,r=bn,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),o=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),s=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=function(f){var d=a(t,i,arguments);if(o&&l){var p=o(d,"length");p.configurable&&l(d,"length",{value:1+s(0,f.length-(arguments.length-1))})}return d};var u=function(){return a(t,n,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u})(MI);var Ef=MI.exports,$I=bn,LI=Ef,t6=LI($I("String.prototype.indexOf")),nr=function(t,r){var n=$I(t,!!r);return typeof n=="function"&&t6(t,".prototype.")>-1?LI(n):n},r6=yn(),n6=nr,Fg=n6("Object.prototype.toString"),Cf=function(t){return r6&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:Fg(t)==="[object Arguments]"},FI=function(t){return Cf(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Fg(t)!=="[object Array]"&&Fg(t.callee)==="[object Function]"},i6=function(){return Cf(arguments)}();Cf.isLegacyArguments=FI;var BI=i6?Cf:FI,a6=bn,Bg=a6("%Object.defineProperty%",!0),jg=function(){if(Bg)try{return Bg({},"a",{value:1}),!0}catch{return!1}return!1};jg.hasArrayLengthDefineBug=function(){if(!jg())return null;try{return Bg([],"length",{value:1}).length!==1}catch{return!0}};var o6=jg,l6=py,s6=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",u6=Object.prototype.toString,c6=Array.prototype.concat,jI=Object.defineProperty,f6=function(e){return typeof e=="function"&&u6.call(e)==="[object Function]"},d6=o6(),zI=jI&&d6,p6=function(e,t,r,n){t in e&&(!f6(n)||!n())||(zI?jI(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r)},UI=function(e,t){var r=arguments.length>2?arguments[2]:{},n=l6(t);s6&&(n=c6.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i<n.length;i+=1)p6(e,n[i],t[n[i]],r[n[i]])};UI.supportsDescriptors=!!zI;var ni=UI,mS=function(e){return e!==e},WI=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||mS(t)&&mS(r))},v6=WI,HI=function(){return typeof Object.is=="function"?Object.is:v6},g6=HI,m6=ni,h6=function(){var t=g6();return m6(Object,{is:t},{is:function(){return Object.is!==t}}),t},y6=ni,b6=Ef,w6=WI,GI=HI,S6=h6,qI=b6(GI(),Object);y6(qI,{getPolyfill:GI,implementation:w6,shim:S6});var x6=qI,zg=nr,VI=yn(),YI,KI,Ug,Wg;if(VI){YI=zg("Object.prototype.hasOwnProperty"),KI=zg("RegExp.prototype.exec"),Ug={};var Ap=function(){throw Ug};Wg={toString:Ap,valueOf:Ap},typeof Symbol.toPrimitive=="symbol"&&(Wg[Symbol.toPrimitive]=Ap)}var E6=zg("Object.prototype.toString"),C6=Object.getOwnPropertyDescriptor,O6="[object RegExp]",I6=VI?function(t){if(!t||typeof t!="object")return!1;var r=C6(t,"lastIndex"),n=r&&YI(r,"value");if(!n)return!1;try{KI(t,Wg)}catch(i){return i===Ug}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:E6(t)===O6},XI={exports:{}},al=function(){return typeof function(){}.name=="string"},Eo=Object.getOwnPropertyDescriptor;if(Eo)try{Eo([],"length")}catch{Eo=null}al.functionsHaveConfigurableNames=function(){if(!al()||!Eo)return!1;var t=Eo(function(){},"name");return!!t&&!!t.configurable};var P6=Function.prototype.bind;al.boundFunctionsHaveNames=function(){return al()&&typeof P6=="function"&&function(){}.bind().name!==""};var D6=al;(function(e){var t=D6.functionsHaveConfigurableNames(),r=Object,n=TypeError;e.exports=function(){if(this!=null&&this!==r(this))throw new n("RegExp.prototype.flags getter called on non-object");var a="";return this.hasIndices&&(a+="d"),this.global&&(a+="g"),this.ignoreCase&&(a+="i"),this.multiline&&(a+="m"),this.dotAll&&(a+="s"),this.unicode&&(a+="u"),this.sticky&&(a+="y"),a},t&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})})(XI);var QI=XI.exports,A6=QI,R6=ni.supportsDescriptors,T6=Object.getOwnPropertyDescriptor,JI=function(){if(R6&&/a/mig.flags==="gim"){var t=T6(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return A6},k6=ni.supportsDescriptors,_6=JI,N6=Object.getOwnPropertyDescriptor,M6=Object.defineProperty,$6=TypeError,hS=Object.getPrototypeOf,L6=/a/,F6=function(){if(!k6||!hS)throw new $6("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=_6(),r=hS(L6),n=N6(r,"flags");return(!n||n.get!==t)&&M6(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},B6=ni,j6=Ef,z6=QI,ZI=JI,U6=F6,eP=j6(ZI());B6(eP,{getPolyfill:ZI,implementation:z6,shim:U6});var W6=eP,H6={}.toString,tP=Array.isArray||function(e){return H6.call(e)=="[object Array]"},G6=Date.prototype.getDay,q6=function(t){try{return G6.call(t),!0}catch{return!1}},V6=Object.prototype.toString,Y6="[object Date]",K6=yn(),X6=function(t){return typeof t!="object"||t===null?!1:K6?q6(t):V6.call(t)===Y6},Q6=String.prototype.valueOf,J6=function(t){try{return Q6.call(t),!0}catch{return!1}},Z6=Object.prototype.toString,ez="[object String]",tz=yn(),rP=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:tz?J6(t):Z6.call(t)===ez},rz=Number.prototype.toString,nz=function(t){try{return rz.call(t),!0}catch{return!1}},iz=Object.prototype.toString,az="[object Number]",oz=yn(),lz=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:oz?nz(t):iz.call(t)===az},nP=nr,sz=nP("Boolean.prototype.toString"),uz=nP("Object.prototype.toString"),cz=function(t){try{return sz(t),!0}catch{return!1}},fz="[object Boolean]",dz=yn(),pz=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:dz&&Symbol.toStringTag in t?cz(t):uz(t)===fz},Hg={exports:{}},vz=Object.prototype.toString,gz=vy();if(gz){var mz=Symbol.prototype.toString,hz=/^Symbol\(.*\)$/,yz=function(t){return typeof t.valueOf()!="symbol"?!1:hz.test(mz.call(t))};Hg.exports=function(t){if(typeof t=="symbol")return!0;if(vz.call(t)!=="[object Symbol]")return!1;try{return yz(t)}catch{return!1}}}else Hg.exports=function(t){return!1};var bz=Hg.exports,Gg={exports:{}},yS=typeof BigInt<"u"&&BigInt,wz=function(){return typeof yS=="function"&&typeof BigInt=="function"&&typeof yS(42)=="bigint"&&typeof BigInt(42)=="bigint"},Sz=wz();if(Sz){var xz=BigInt.prototype.valueOf,Ez=function(t){try{return xz.call(t),!0}catch{}return!1};Gg.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:Ez(t)}}else Gg.exports=function(t){return!1};var Cz=Gg.exports,Oz=rP,Iz=lz,Pz=pz,Dz=bz,Az=Cz,Rz=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(Oz(t))return"String";if(Iz(t))return"Number";if(Pz(t))return"Boolean";if(Dz(t))return"Symbol";if(Az(t))return"BigInt"},my=typeof Map=="function"&&Map.prototype?Map:null,Tz=typeof Set=="function"&&Set.prototype?Set:null,Vu;my||(Vu=function(t){return!1});var iP=my?Map.prototype.has:null,bS=Tz?Set.prototype.has:null;!Vu&&!iP&&(Vu=function(t){return!1});var aP=Vu||function(t){if(!t||typeof t!="object")return!1;try{if(iP.call(t),bS)try{bS.call(t)}catch{return!0}return t instanceof my}catch{}return!1},kz=typeof Map=="function"&&Map.prototype?Map:null,hy=typeof Set=="function"&&Set.prototype?Set:null,Yu;hy||(Yu=function(t){return!1});var wS=kz?Map.prototype.has:null,oP=hy?Set.prototype.has:null;!Yu&&!oP&&(Yu=function(t){return!1});var lP=Yu||function(t){if(!t||typeof t!="object")return!1;try{if(oP.call(t),wS)try{wS.call(t)}catch{return!0}return t instanceof hy}catch{}return!1},Ku=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,SS=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Xu;Ku||(Xu=function(t){return!1});var qg=Ku?Ku.prototype.has:null,Rp=SS?SS.prototype.has:null;!Xu&&!qg&&(Xu=function(t){return!1});var _z=Xu||function(t){if(!t||typeof t!="object")return!1;try{if(qg.call(t,qg),Rp)try{Rp.call(t,Rp)}catch{return!0}return t instanceof Ku}catch{}return!1},Vg={exports:{}},Nz=bn,sP=nr,Mz=Nz("%WeakSet%",!0),Tp=sP("WeakSet.prototype.has",!0);if(Tp){var kp=sP("WeakMap.prototype.has",!0);Vg.exports=function(t){if(!t||typeof t!="object")return!1;try{if(Tp(t,Tp),kp)try{kp(t,kp)}catch{return!0}return t instanceof Mz}catch{}return!1}}else Vg.exports=function(t){return!1};var $z=Vg.exports,Lz=aP,Fz=lP,Bz=_z,jz=$z,zz=function(t){if(t&&typeof t=="object"){if(Lz(t))return"Map";if(Fz(t))return"Set";if(Bz(t))return"WeakMap";if(jz(t))return"WeakSet"}return!1},tu={exports:{}},xS=BI;if(vy()||xf()){var _p=Symbol.iterator;tu.exports=function(t){if(t!=null&&typeof t[_p]<"u")return t[_p]();if(xS(t))return Array.prototype[_p].call(t)}}else{var Uz=tP,Wz=rP,ES=bn,Hz=ES("%Map%",!0),Gz=ES("%Set%",!0),Nt=nr,CS=Nt("Array.prototype.push"),OS=Nt("String.prototype.charCodeAt"),qz=Nt("String.prototype.slice"),Vz=function(t,r){var n=t.length;if(r+1>=n)return r+1;var i=OS(t,r);if(i<55296||i>56319)return r+1;var a=OS(t,r+1);return a<56320||a>57343?r+1:r+2},Np=function(t){var r=0;return{next:function(){var i=r>=t.length,a;return i||(a=t[r],r+=1),{done:i,value:a}}}},IS=function(t,r){if(Uz(t)||xS(t))return Np(t);if(Wz(t)){var n=0;return{next:function(){var a=Vz(t,n),o=qz(t,n,a);return n=a,{done:a>t.length,value:o}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!Hz&&!Gz)tu.exports=function(t){if(t!=null)return IS(t,!0)};else{var Yz=aP,Kz=lP,PS=Nt("Map.prototype.forEach",!0),DS=Nt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var AS=Nt("Map.prototype.iterator",!0),RS=Nt("Set.prototype.iterator",!0),TS=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch{return t=!0,{done:!0,value:void 0}}}}};var kS=Nt("Map.prototype.@@iterator",!0)||Nt("Map.prototype._es6-shim iterator_",!0),_S=Nt("Set.prototype.@@iterator",!0)||Nt("Set.prototype._es6-shim iterator_",!0),Xz=function(t){if(Yz(t)){if(AS)return TS(AS(t));if(kS)return kS(t);if(PS){var r=[];return PS(t,function(i,a){CS(r,[a,i])}),Np(r)}}if(Kz(t)){if(RS)return TS(RS(t));if(_S)return _S(t);if(DS){var n=[];return DS(t,function(i){CS(n,i)}),Np(n)}}};tu.exports=function(t){return Xz(t)||IS(t)}}}var Qz=tu.exports,yy=typeof Map=="function"&&Map.prototype,Mp=Object.getOwnPropertyDescriptor&&yy?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Qu=yy&&Mp&&typeof Mp.get=="function"?Mp.get:null,Jz=yy&&Map.prototype.forEach,by=typeof Set=="function"&&Set.prototype,$p=Object.getOwnPropertyDescriptor&&by?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ju=by&&$p&&typeof $p.get=="function"?$p.get:null,Zz=by&&Set.prototype.forEach,e8=typeof WeakMap=="function"&&WeakMap.prototype,Co=e8?WeakMap.prototype.has:null,t8=typeof WeakSet=="function"&&WeakSet.prototype,Oo=t8?WeakSet.prototype.has:null,r8=typeof WeakRef=="function"&&WeakRef.prototype,NS=r8?WeakRef.prototype.deref:null,n8=Boolean.prototype.valueOf,i8=Object.prototype.toString,a8=Function.prototype.toString,o8=String.prototype.match,wy=String.prototype.slice,Ur=String.prototype.replace,l8=String.prototype.toUpperCase,MS=String.prototype.toLowerCase,uP=RegExp.prototype.test,$S=Array.prototype.concat,Yt=Array.prototype.join,s8=Array.prototype.slice,LS=Math.floor,Yg=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Lp=Object.getOwnPropertySymbols,Kg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,oa=typeof Symbol=="function"&&typeof Symbol.iterator=="object",qe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===oa||"symbol")?Symbol.toStringTag:null,cP=Object.prototype.propertyIsEnumerable,FS=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function BS(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||uP.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-LS(-e):LS(e);if(n!==e){var i=String(n),a=wy.call(t,i.length+1);return Ur.call(i,r,"$&_")+"."+Ur.call(Ur.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ur.call(t,r,"$&_")}var Xg=$g,jS=Xg.custom,zS=dP(jS)?jS:null,u8=function e(t,r,n,i){var a=r||{};if(kr(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(kr(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=kr(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(kr(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(kr(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return vP(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return l?BS(t,s):s}if(typeof t=="bigint"){var u=String(t)+"n";return l?BS(t,u):u}var c=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return Qg(t)?"[Array]":"[Object]";var f=P8(a,n);if(typeof i>"u")i=[];else if(pP(i,t)>=0)return"[Circular]";function d(z,G,Y){if(G&&(i=s8.call(i),i.push(G)),Y){var Q={depth:a.depth};return kr(a,"quoteStyle")&&(Q.quoteStyle=a.quoteStyle),e(z,Q,n+1,i)}return e(z,a,n+1,i)}if(typeof t=="function"&&!US(t)){var p=y8(t),h=As(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(h.length>0?" { "+Yt.call(h,", ")+" }":"")}if(dP(t)){var w=oa?Ur.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kg.call(t);return typeof t=="object"&&!oa?Ka(w):w}if(C8(t)){for(var v="<"+MS.call(String(t.nodeName)),g=t.attributes||[],m=0;m<g.length;m++)v+=" "+g[m].name+"="+fP(c8(g[m].value),"double",a);return v+=">",t.childNodes&&t.childNodes.length&&(v+="..."),v+="</"+MS.call(String(t.nodeName))+">",v}if(Qg(t)){if(t.length===0)return"[]";var y=As(t,d);return f&&!I8(y)?"["+Jg(y,f)+"]":"[ "+Yt.call(y,", ")+" ]"}if(d8(t)){var b=As(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!cP.call(t,"cause")?"{ ["+String(t)+"] "+Yt.call($S.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Yt.call(b,", ")+" }"}if(typeof t=="object"&&o){if(zS&&typeof t[zS]=="function"&&Xg)return Xg(t,{depth:c-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(b8(t)){var x=[];return Jz.call(t,function(z,G){x.push(d(G,t,!0)+" => "+d(z,t))}),WS("Map",Qu.call(t),x,f)}if(x8(t)){var S=[];return Zz.call(t,function(z){S.push(d(z,t))}),WS("Set",Ju.call(t),S,f)}if(w8(t))return Fp("WeakMap");if(E8(t))return Fp("WeakSet");if(S8(t))return Fp("WeakRef");if(v8(t))return Ka(d(Number(t)));if(m8(t))return Ka(d(Yg.call(t)));if(g8(t))return Ka(n8.call(t));if(p8(t))return Ka(d(String(t)));if(!f8(t)&&!US(t)){var E=As(t,d),O=FS?FS(t)===Object.prototype:t instanceof Object||t.constructor===Object,I=t instanceof Object?"":"null prototype",T=!O&&qe&&Object(t)===t&&qe in t?wy.call(wn(t),8,-1):I?"Object":"",_=O||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",H=_+(T||I?"["+Yt.call($S.call([],T||[],I||[]),": ")+"] ":"");return E.length===0?H+"{}":f?H+"{"+Jg(E,f)+"}":H+"{ "+Yt.call(E,", ")+" }"}return String(t)};function fP(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function c8(e){return Ur.call(String(e),/"/g,"&quot;")}function Qg(e){return wn(e)==="[object Array]"&&(!qe||!(typeof e=="object"&&qe in e))}function f8(e){return wn(e)==="[object Date]"&&(!qe||!(typeof e=="object"&&qe in e))}function US(e){return wn(e)==="[object RegExp]"&&(!qe||!(typeof e=="object"&&qe in e))}function d8(e){return wn(e)==="[object Error]"&&(!qe||!(typeof e=="object"&&qe in e))}function p8(e){return wn(e)==="[object String]"&&(!qe||!(typeof e=="object"&&qe in e))}function v8(e){return wn(e)==="[object Number]"&&(!qe||!(typeof e=="object"&&qe in e))}function g8(e){return wn(e)==="[object Boolean]"&&(!qe||!(typeof e=="object"&&qe in e))}function dP(e){if(oa)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Kg)return!1;try{return Kg.call(e),!0}catch{}return!1}function m8(e){if(!e||typeof e!="object"||!Yg)return!1;try{return Yg.call(e),!0}catch{}return!1}var h8=Object.prototype.hasOwnProperty||function(e){return e in this};function kr(e,t){return h8.call(e,t)}function wn(e){return i8.call(e)}function y8(e){if(e.name)return e.name;var t=o8.call(a8.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function pP(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function b8(e){if(!Qu||!e||typeof e!="object")return!1;try{Qu.call(e);try{Ju.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function w8(e){if(!Co||!e||typeof e!="object")return!1;try{Co.call(e,Co);try{Oo.call(e,Oo)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function S8(e){if(!NS||!e||typeof e!="object")return!1;try{return NS.call(e),!0}catch{}return!1}function x8(e){if(!Ju||!e||typeof e!="object")return!1;try{Ju.call(e);try{Qu.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function E8(e){if(!Oo||!e||typeof e!="object")return!1;try{Oo.call(e,Oo);try{Co.call(e,Co)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function C8(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function vP(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return vP(wy.call(e,0,t.maxStringLength),t)+n}var i=Ur.call(Ur.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,O8);return fP(i,"single",t)}function O8(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+l8.call(t.toString(16))}function Ka(e){return"Object("+e+")"}function Fp(e){return e+" { ? }"}function WS(e,t,r,n){var i=n?Jg(r,n):Yt.call(r,", ");return e+" ("+t+") {"+i+"}"}function I8(e){for(var t=0;t<e.length;t++)if(pP(e[t],`
899
899
  `)>=0)return!1;return!0}function P8(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Yt.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Yt.call(Array(t+1),r)}}function Jg(e,t){if(e.length===0)return"";var r=`
900
900
  `+t.prev+t.base;return r+Yt.call(e,","+r)+`
901
901
  `+t.prev}function As(e,t){var r=Qg(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=kr(e,i)?t(e[i],e):""}var a=typeof Lp=="function"?Lp(e):[],o;if(oa){o={};for(var l=0;l<a.length;l++)o["$"+a[l]]=a[l]}for(var s in e)kr(e,s)&&(r&&String(Number(s))===s&&s<e.length||oa&&o["$"+s]instanceof Symbol||(uP.call(/[^\w$]/,s)?n.push(t(s,e)+": "+t(e[s],e)):n.push(s+": "+t(e[s],e))));if(typeof Lp=="function")for(var u=0;u<a.length;u++)cP.call(e,a[u])&&n.push("["+t(a[u])+"]: "+t(e[a[u]],e));return n}var Sy=bn,xa=nr,D8=u8,A8=Sy("%TypeError%"),Rs=Sy("%WeakMap%",!0),Ts=Sy("%Map%",!0),R8=xa("WeakMap.prototype.get",!0),T8=xa("WeakMap.prototype.set",!0),k8=xa("WeakMap.prototype.has",!0),_8=xa("Map.prototype.get",!0),N8=xa("Map.prototype.set",!0),M8=xa("Map.prototype.has",!0),xy=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},$8=function(e,t){var r=xy(e,t);return r&&r.value},L8=function(e,t,r){var n=xy(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},F8=function(e,t){return!!xy(e,t)},B8=function(){var t,r,n,i={assert:function(a){if(!i.has(a))throw new A8("Side channel does not contain "+D8(a))},get:function(a){if(Rs&&a&&(typeof a=="object"||typeof a=="function")){if(t)return R8(t,a)}else if(Ts){if(r)return _8(r,a)}else if(n)return $8(n,a)},has:function(a){if(Rs&&a&&(typeof a=="object"||typeof a=="function")){if(t)return k8(t,a)}else if(Ts){if(r)return M8(r,a)}else if(n)return F8(n,a);return!1},set:function(a,o){Rs&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Rs),T8(t,a,o)):Ts?(r||(r=new Ts),N8(r,a,o)):(n||(n={key:{},next:null}),L8(n,a,o))}};return i},j8=Object.prototype.hasOwnProperty,z8=Object.prototype.toString,gP=function(t,r,n){if(z8.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var a=0;a<i;a++)r.call(n,t[a],a,t);else for(var o in t)j8.call(t,o)&&r.call(n,t[o],o,t)},Bp=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],U8=typeof globalThis>"u"?Z:globalThis,mP=function(){for(var t=[],r=0;r<Bp.length;r++)typeof U8[Bp[r]]=="function"&&(t[t.length]=Bp[r]);return t},jp,HS;function W8(){if(HS)return jp;HS=1;var e=bn,t=e("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return jp=t,jp}var zp,GS;function hP(){return GS||(GS=1,zp=W8()),zp}var Up,qS;function H8(){if(qS)return Up;qS=1;var e=gP,t=mP,r=nr,n=r("Object.prototype.toString"),i=yn(),a=typeof globalThis>"u"?Z:globalThis,o=t(),l=r("Array.prototype.indexOf",!0)||function(h,w){for(var v=0;v<h.length;v+=1)if(h[v]===w)return v;return-1},s=r("String.prototype.slice"),u={},c=hP(),f=Object.getPrototypeOf;i&&c&&f&&e(o,function(p){var h=new a[p];if(Symbol.toStringTag in h){var w=f(h),v=c(w,Symbol.toStringTag);if(!v){var g=f(w);v=c(g,Symbol.toStringTag)}u[p]=v.get}});var d=function(h){var w=!1;return e(u,function(v,g){if(!w)try{w=v.call(h)===g}catch{}}),w};return Up=function(h){if(!h||typeof h!="object")return!1;if(!i||!(Symbol.toStringTag in h)){var w=s(n(h),8,-1);return l(o,w)>-1}return c?d(h):!1},Up}var yP=gP,G8=mP,bP=nr,q8=bP("Object.prototype.toString"),wP=yn(),VS=typeof globalThis>"u"?Z:globalThis,V8=G8(),Y8=bP("String.prototype.slice"),SP={},Wp=hP(),Hp=Object.getPrototypeOf;wP&&Wp&&Hp&&yP(V8,function(e){if(typeof VS[e]=="function"){var t=new VS[e];if(Symbol.toStringTag in t){var r=Hp(t),n=Wp(r,Symbol.toStringTag);if(!n){var i=Hp(r);n=Wp(i,Symbol.toStringTag)}SP[e]=n.get}}});var K8=function(t){var r=!1;return yP(SP,function(n,i){if(!r)try{var a=n.call(t);a===i&&(r=a)}catch{}}),r},X8=H8(),Q8=function(t){return X8(t)?!wP||!(Symbol.toStringTag in t)?Y8(q8(t),8,-1):K8(t):!1},J8=py,xP=xf(),EP=nr,YS=Object,Z8=EP("Array.prototype.push"),KS=EP("Object.prototype.propertyIsEnumerable"),eU=xP?Object.getOwnPropertySymbols:null,CP=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=YS(t);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var a=YS(arguments[i]),o=J8(a),l=xP&&(Object.getOwnPropertySymbols||eU);if(l)for(var s=l(a),u=0;u<s.length;++u){var c=s[u];KS(a,c)&&Z8(o,c)}for(var f=0;f<o.length;++f){var d=o[f];if(KS(a,d)){var p=a[d];n[d]=p}}}return n},Gp=CP,tU=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n<t.length;++n)r[t[n]]=t[n];var i=Object.assign({},r),a="";for(var o in i)a+=o;return e!==a},rU=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch{return e[1]==="y"}return!1},OP=function(){return!Object.assign||tU()||rU()?Gp:Object.assign},nU=ni,iU=OP,aU=function(){var t=iU();return nU(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t},oU=ni,lU=Ef,sU=CP,IP=OP,uU=aU,cU=lU.apply(IP()),PP=function(t,r){return cU(Object,arguments)};oU(PP,{getPolyfill:IP,implementation:sU,shim:uU});var fU=PP,XS=py,QS=BI,JS=x6,ZS=I6,ex=W6,tx=tP,rx=X6,nx=Rz,dU=bn,Cr=nr,ix=zz,la=Qz,pU=B8,ax=Q8,DP=fU,ox=Cr("Date.prototype.getTime"),qp=Object.getPrototypeOf,lx=Cr("Object.prototype.toString"),Zu=dU("%Set%",!0),Zg=Cr("Map.prototype.has",!0),ec=Cr("Map.prototype.get",!0),sx=Cr("Map.prototype.size",!0),tc=Cr("Set.prototype.add",!0),AP=Cr("Set.prototype.delete",!0),rc=Cr("Set.prototype.has",!0),ru=Cr("Set.prototype.size",!0);function ux(e,t,r,n){for(var i=la(e),a;(a=i.next())&&!a.done;)if(br(t,a.value,r,n))return AP(e,a.value),!0;return!1}function RP(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function vU(e,t,r,n,i,a){var o=RP(r);if(o!=null)return o;var l=ec(t,o),s=DP({},i,{strict:!1});return typeof l>"u"&&!Zg(t,o)||!br(n,l,s,a)?!1:!Zg(e,o)&&br(n,l,s,a)}function gU(e,t,r){var n=RP(r);return n??(rc(t,n)&&!rc(e,n))}function cx(e,t,r,n,i,a){for(var o=la(e),l,s;(l=o.next())&&!l.done;)if(s=l.value,br(r,s,i,a)&&br(n,ec(t,s),i,a))return AP(e,s),!0;return!1}function br(e,t,r,n){var i=r||{};if(i.strict?JS(e,t):e===t)return!0;var a=nx(e),o=nx(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?JS(e,t):e==t;var l=n.has(e),s=n.has(t),u;if(l&&s){if(n.get(e)===n.get(t))return!0}else u={};return l||n.set(e,u),s||n.set(t,u),yU(e,t,i,n)}function fx(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function mU(e,t,r,n){if(ru(e)!==ru(t))return!1;for(var i=la(e),a=la(t),o,l,s;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")s||(s=new Zu),tc(s,o.value);else if(!rc(t,o.value)){if(r.strict||!gU(e,t,o.value))return!1;s||(s=new Zu),tc(s,o.value)}if(s){for(;(l=a.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!ux(s,l.value,r.strict,n))return!1}else if(!r.strict&&!rc(e,l.value)&&!ux(s,l.value,r.strict,n))return!1;return ru(s)===0}return!0}function hU(e,t,r,n){if(sx(e)!==sx(t))return!1;for(var i=la(e),a=la(t),o,l,s,u,c,f;(o=i.next())&&!o.done;)if(u=o.value[0],c=o.value[1],u&&typeof u=="object")s||(s=new Zu),tc(s,u);else if(f=ec(t,u),typeof f>"u"&&!Zg(t,u)||!br(c,f,r,n)){if(r.strict||!vU(e,t,u,c,r,n))return!1;s||(s=new Zu),tc(s,u)}if(s){for(;(l=a.next())&&!l.done;)if(u=l.value[0],f=l.value[1],u&&typeof u=="object"){if(!cx(s,e,u,f,r,n))return!1}else if(!r.strict&&(!e.has(u)||!br(ec(e,u),f,r,n))&&!cx(s,e,u,f,DP({},r,{strict:!1}),n))return!1;return ru(s)===0}return!0}function yU(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||lx(e)!==lx(t)||QS(e)!==QS(t))return!1;var o=tx(e),l=tx(t);if(o!==l)return!1;var s=e instanceof Error,u=t instanceof Error;if(s!==u||(s||u)&&(e.name!==t.name||e.message!==t.message))return!1;var c=ZS(e),f=ZS(t);if(c!==f||(c||f)&&(e.source!==t.source||ex(e)!==ex(t)))return!1;var d=rx(e),p=rx(t);if(d!==p||(d||p)&&ox(e)!==ox(t)||r.strict&&qp&&qp(e)!==qp(t)||ax(e)!==ax(t))return!1;var h=fx(e),w=fx(t);if(h!==w)return!1;if(h||w){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!=typeof t)return!1;var v=XS(e),g=XS(t);if(v.length!==g.length)return!1;for(v.sort(),g.sort(),i=v.length-1;i>=0;i--)if(v[i]!=g[i])return!1;for(i=v.length-1;i>=0;i--)if(a=v[i],!br(e[a],t[a],r,n))return!1;var m=ix(e),y=ix(t);return m!==y?!1:m==="Set"||y==="Set"?mU(e,t,r,n):m==="Map"?hU(e,t,r,n):!0}var bU=function(t,r,n){return br(t,r,n,pU())};const y7=nt(bU),wU="aaa1rp3barth4b_ott3vie4c1le2ogado5udhabi7c_ademy5centure6ountant_s9o1tor4d_s1ult4e_g1ro2tna4f_l1rica5g_akhan5ency5i_g1rbus3force5tel5kdn3l_faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m_azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o_l2partments8p_le4q_uarelle8r_ab1mco4chi3my2pa2t_e3s_da2ia2sociates9t_hleta5torney7u_ction5di_ble3o3spost5thor3o_s4vianca6w_s2x_a2z_ure5ba_by2idu3namex3narepublic11d1k2r_celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b_c1t1va3cg1n2d1e_ats2uty4er2ntley5rlin4st_buy5t2f1g1h_arti5i_ble3d1ke2ng_o3o1z2j1lack_friday9ockbuster8g1omberg7ue3m_s1w2n_pparibas9o_ats3ehringer8fa2m1nd2o_k_ing5sch2tik2on4t1utique6x2r_adesco6idgestone9oadway5ker3ther5ussels7s1t1uild_ers6siness6y1zz3v1w1y1z_h3ca_b1fe2l_l1vinklein9m_era3p2non3petown5ital_one8r_avan4ds2e_er_s4s2sa1e1h1ino4t_ering5holic7ba1n1re2s2c1d1enter4o1rn3f_a1d2g1h_anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i_priani6rcle4sco3tadel4i_c2y_eats7k1l_aims4eaning6ick2nic1que6othing5ud3ub_med6m1n1o_ach3des3ffee4llege4ogne5m_cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking_channel11l1p2rsica5untry4pon_s4rses6pa2r_edit_card4union9icket5own3s1uise_s6u_isinella9v1w1x1y_mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e_al_er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si_gn4v2hl2iamonds6et2gital5rect_ory7scount3ver5h2y2j1k1m1np2o_cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c_o2deka3u_cation8e1g1mail3erck5nergy4gineer_ing9terprises10pson4quipment8r_icsson6ni3s_q1tate5t_isalat7u_rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n_s2rm_ers5shion4t3edex3edback6rrari3ero6i_at2delity5o2lm2nal1nce1ial7re_stone6mdale6sh_ing5t_ness6j1k1lickr3ghts4r2orist4wers5y2m1o_o_d_network8tball6rd1ex2sale4um3undation8x2r_ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n_d2rniture7tbol5yi3ga_l_lery3o1up4me_s3p1rden4y2b_iz3d_n2e_a1nt_ing5orge5f1g_ee3h1i_ft_s3ves2ing5l_ass3e1obal2o4m_ail3bh2o1x2n1odaddy5ld_point6f2o_dyear5g_le4p1t1v2p1q1r_ainger5phics5tis4een3ipe3ocery4up4s1t1u_ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc_bank7ealth_care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k_t2m1n1ockey4ldings5iday5medepot5goods5s_ense7nda3rse3spital5t_ing5t_eles2s3mail5use3w2r1sbc3t1u_ghes5yatt3undai7ibm2cbc2e1u2d1e_ee3fm2kano4l1m_amat4db2mo_bilien9n_c1dustries8finiti5o2g1k1stitute6urance4e4t_ernational10uit4vestments10o1piranga7q1r_ish4s_maili5t_anbul7t_au2v3jaguar4va3cb2e_ep2tzt3welry6io2ll2m_p2nj2o_bs1urg4t1y2p_morgan6rs3uegos4niper7kaufen5ddi3e_rryhotels6logistics9properties14fh2g1h1i_a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p_mg2n2r_d1ed3uokgroup8w1y_oto4z2la_caixa5mborghini8er3ncaster5ia3d_rover6xess5salle5t_ino3robe5w_yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i_dl2fe_insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan_s3cker3us3l1ndon4tte1o3ve3pl_financial11r1s1t_d_a3u_ndbeck6xe1ury5v1y2ma_cys3drid4if1son4keup4n_agement7go3p1rket_ing3s4riott5shalls7serati6ttel5ba2c_kinsey7d1e_d_ia3et2lbourne7me1orial6n_u2rckmsd7g1h1iami3crosoft7l1ni1t2t_subishi9k1l_b1s2m_a2n1o_bi_le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to_rcycles9v_ie4p1q1r1s_d2t_n1r2u_seum3ic3tual5v1w1x1y1z2na_b1goya4me2tura4vy3ba2c1e_c1t_bank4flix4work5ustar5w_s2xt_direct7us4f_l2g_o2hk2i_co2ke1on3nja3ssan1y5l1o_kia3rthwesternmutual14on4w_ruz3tv4p1r_a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan_group9dnavy5lo3m_ega4ne1g1l_ine5oo2pen3racle3nge4g_anic5igins6saka4tsuka4t2vh3pa_ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e_t2f_izer5g1h_armacy6d1ilips5one2to_graphy6s4ysio5ics1tet2ures6d1n_g1k2oneer5zza4k1l_ace2y_station9umbing5s3m1n_c2ohl2ker3litie5rn2st3r_america6xi3ess3ime3o_d_uctions8f1gressive8mo2perties3y5tection8u_dential9s1t1ub2w_c2y2qa1pon3uebec3st5racing4dio4e_ad1lestate6tor2y4cipes5d_stone5umbrella9hab3ise_n3t2liance6n_t_als5pair3ort3ublican8st_aurant8view_s5xroth6ich_ardli6oh3l1o1p2o_cher3ks3deo3gers4om3s_vp3u_gby3hr2n2w_e2yukyu6sa_arland6fe_ty4kura4le1on3msclub4ung5ndvik_coromant12ofi4p1rl2s1ve2xo3b_i1s2c_a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e_arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x_y3fr2g1h_angrila6rp2w2ell3ia1ksha5oes2p_ping5uji3w_time7i_lk2na1gles5te3j1k_i_n2y_pe4l_ing4m_art3ile4n_cf3o_ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa_ce3ort2t3r_l2s1t_ada2ples4r1tebank4farm7c_group6ockholm6rage3e3ream4udio2y3yle4u_cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y_dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x_i3c_i2d_k2eam2ch_nology8l1masek5nnis4va3f1g1h_d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j_maxx4x2k_maxx5l1m_all4n1o_day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r_ade1ing4ining5vel_channel7ers_insurance16ust3v2t1ube2i1nes3shu4v_s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va_cations7na1guard7c1e_gas3ntures6risign5mögensberater2ung14sicherung10t2g1i_ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u_elos6wales2mart4ter4ng_gou5tch_es6eather_channel12bcam3er2site5d_ding5ibo2r3f1hoswho6ien2ki2lliamhill9n_dows4e1ners6me2olterskluwer11odside6rk_s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u_tube6t1un3za_ppos4ra3ero3ip2m1one3uerich6w2",SU="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत_म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里_大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",sa=(e,t)=>{for(const r in t)e[r]=t[r];return e},em="numeric",tm="ascii",rm="alpha",nu="asciinumeric",ks="alphanumeric",nm="domain",TP="emoji",xU="scheme",EU="slashscheme",dx="whitespace";function CU(e,t){return e in t||(t[e]=[]),t[e]}function Ln(e,t,r){t[em]&&(t[nu]=!0,t[ks]=!0),t[tm]&&(t[nu]=!0,t[rm]=!0),t[nu]&&(t[ks]=!0),t[rm]&&(t[ks]=!0),t[ks]&&(t[nm]=!0),t[TP]&&(t[nm]=!0);for(const n in t){const i=CU(n,r);i.indexOf(e)<0&&i.push(e)}}function OU(e,t){const r={};for(const n in t)t[n].indexOf(e)>=0&&(r[n]=!0);return r}function lt(e){e===void 0&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}lt.groups={};lt.prototype={accepts(){return!!this.t},go(e){const t=this,r=t.j[e];if(r)return r;for(let n=0;n<t.jr.length;n++){const i=t.jr[n][0],a=t.jr[n][1];if(a&&i.test(e))return a}return t.jd},has(e,t){return t===void 0&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,r,n){for(let i=0;i<e.length;i++)this.tt(e[i],t,r,n)},tr(e,t,r,n){n=n||lt.groups;let i;return t&&t.j?i=t:(i=new lt(t),r&&n&&Ln(t,r,n)),this.jr.push([e,i]),i},ts(e,t,r,n){let i=this;const a=e.length;if(!a)return i;for(let o=0;o<a-1;o++)i=i.tt(e[o]);return i.tt(e[a-1],t,r,n)},tt(e,t,r,n){n=n||lt.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const a=t;let o,l=i.go(e);if(l?(o=new lt,sa(o.j,l.j),o.jr.push.apply(o.jr,l.jr),o.jd=l.jd,o.t=l.t):o=new lt,a){if(n)if(o.t&&typeof o.t=="string"){const s=sa(OU(o.t,n),r);Ln(a,s,n)}else r&&Ln(a,r,n);o.t=a}return i.j[e]=o,o}};const B=(e,t,r,n,i)=>e.ta(t,r,n,i),yt=(e,t,r,n,i)=>e.tr(t,r,n,i),px=(e,t,r,n,i)=>e.ts(t,r,n,i),D=(e,t,r,n,i)=>e.tt(t,r,n,i),lr="WORD",im="UWORD",ol="LOCALHOST",am="TLD",om="UTLD",iu="SCHEME",bi="SLASH_SCHEME",nc="NUM",kP="WS",Ey="NL",Ri="OPENBRACE",Io="OPENBRACKET",Po="OPENANGLEBRACKET",Do="OPENPAREN",Dn="CLOSEBRACE",Ti="CLOSEBRACKET",ki="CLOSEANGLEBRACKET",An="CLOSEPAREN",ic="AMPERSAND",ac="APOSTROPHE",oc="ASTERISK",_r="AT",lc="BACKSLASH",sc="BACKTICK",uc="CARET",$r="COLON",Cy="COMMA",cc="DOLLAR",qt="DOT",fc="EQUALS",Oy="EXCLAMATION",Vt="HYPHEN",dc="PERCENT",pc="PIPE",vc="PLUS",gc="POUND",mc="QUERY",Iy="QUOTE",Py="SEMI",sr="SLASH",Ao="TILDE",hc="UNDERSCORE",_P="EMOJI",yc="SYM";var NP=Object.freeze({__proto__:null,WORD:lr,UWORD:im,LOCALHOST:ol,TLD:am,UTLD:om,SCHEME:iu,SLASH_SCHEME:bi,NUM:nc,WS:kP,NL:Ey,OPENBRACE:Ri,OPENBRACKET:Io,OPENANGLEBRACKET:Po,OPENPAREN:Do,CLOSEBRACE:Dn,CLOSEBRACKET:Ti,CLOSEANGLEBRACKET:ki,CLOSEPAREN:An,AMPERSAND:ic,APOSTROPHE:ac,ASTERISK:oc,AT:_r,BACKSLASH:lc,BACKTICK:sc,CARET:uc,COLON:$r,COMMA:Cy,DOLLAR:cc,DOT:qt,EQUALS:fc,EXCLAMATION:Oy,HYPHEN:Vt,PERCENT:dc,PIPE:pc,PLUS:vc,POUND:gc,QUERY:mc,QUOTE:Iy,SEMI:Py,SLASH:sr,TILDE:Ao,UNDERSCORE:hc,EMOJI:_P,SYM:yc});const vi=/[a-z]/,Vp=/\p{L}/u,Yp=/\p{Emoji}/u,Kp=/\d/,vx=/\s/,gx=`
@@ -903,5 +903,5 @@ The error may be correlated with this previous error:
903
903
  To pick up a draggable item, press the space bar.
904
904
  While dragging, use the arrow keys to move the item.
905
905
  Press space again to drop the item in its new position, or press escape to cancel.
906
- `},IW={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function PW(e){let{announcements:t=IW,container:r,hiddenTextDescribedById:n,screenReaderInstructions:i=OW}=e;const{announce:a,announcement:o}=xW(),l=Wl("DndLiveRegion"),[s,u]=C.useState(!1);if(C.useEffect(()=>{u(!0)},[]),EW(C.useMemo(()=>({onDragStart(f){let{active:d}=f;a(t.onDragStart({active:d}))},onDragMove(f){let{active:d,over:p}=f;t.onDragMove&&a(t.onDragMove({active:d,over:p}))},onDragOver(f){let{active:d,over:p}=f;a(t.onDragOver({active:d,over:p}))},onDragEnd(f){let{active:d,over:p}=f;a(t.onDragEnd({active:d,over:p}))},onDragCancel(f){let{active:d,over:p}=f;a(t.onDragCancel({active:d,over:p}))}}),[a,t])),!s)return null;const c=F.createElement(F.Fragment,null,F.createElement(bW,{id:n,value:i.draggable}),F.createElement(SW,{id:l,announcement:o}));return r?fr.createPortal(c,r):c}var Oe;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Oe||(Oe={}));function Oc(){}function x7(e,t){return C.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function E7(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return C.useMemo(()=>[...t].filter(n=>n!=null),[...t])}const jt=Object.freeze({x:0,y:0});function zP(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function DW(e,t){const r=Cc(e);if(!r)return"0 0";const n={x:(r.x-t.left)/t.width*100,y:(r.y-t.top)/t.height*100};return n.x+"% "+n.y+"%"}function UP(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function AW(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function Ex(e){let{left:t,top:r,height:n,width:i}=e;return[{x:t,y:r},{x:t+i,y:r},{x:t,y:r+n},{x:t+i,y:r+n}]}function RW(e,t){if(!e||e.length===0)return null;const[r]=e;return t?r[t]:r}function Cx(e,t,r){return t===void 0&&(t=e.left),r===void 0&&(r=e.top),{x:t+e.width*.5,y:r+e.height*.5}}const C7=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=Cx(t,t.left,t.top),a=[];for(const o of n){const{id:l}=o,s=r.get(l);if(s){const u=zP(Cx(s),i);a.push({id:l,data:{droppableContainer:o,value:u}})}}return a.sort(UP)},O7=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=Ex(t),a=[];for(const o of n){const{id:l}=o,s=r.get(l);if(s){const u=Ex(s),c=i.reduce((d,p,h)=>d+zP(u[h],p),0),f=Number((c/4).toFixed(4));a.push({id:l,data:{droppableContainer:o,value:f}})}}return a.sort(UP)};function TW(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-n,l=a-r;if(n<i&&r<a){const s=t.width*t.height,u=e.width*e.height,c=o*l,f=c/(s+u-c);return Number(f.toFixed(4))}return 0}const kW=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=[];for(const a of n){const{id:o}=a,l=r.get(o);if(l){const s=TW(l,t);s>0&&i.push({id:o,data:{droppableContainer:a,value:s}})}}return i.sort(AW)};function _W(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function WP(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:jt}function NW(e){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return i.reduce((o,l)=>({...o,top:o.top+e*l.y,bottom:o.bottom+e*l.y,left:o.left+e*l.x,right:o.right+e*l.x}),{...r})}}const MW=NW(1);function HP(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function $W(e,t,r){const n=HP(t);if(!n)return e;const{scaleX:i,scaleY:a,x:o,y:l}=n,s=e.left-o-(1-i)*parseFloat(r),u=e.top-l-(1-a)*parseFloat(r.slice(r.indexOf(" ")+1)),c=i?e.width/i:e.width,f=a?e.height/a:e.height;return{width:c,height:f,top:u,right:s+c,bottom:u+f,left:s}}const LW={ignoreTransform:!1};function Oa(e,t){t===void 0&&(t=LW);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:u}=Qe(e),{transform:c,transformOrigin:f}=u(e);c&&(r=$W(r,c,f))}const{top:n,left:i,width:a,height:o,bottom:l,right:s}=r;return{top:n,left:i,width:a,height:o,bottom:l,right:s}}function Ox(e){return Oa(e,{ignoreTransform:!0})}function FW(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function BW(e,t){return t===void 0&&(t=Qe(e).getComputedStyle(e)),t.position==="fixed"}function jW(e,t){t===void 0&&(t=Qe(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?r.test(a):!1})}function Ty(e,t){const r=[];function n(i){if(t!=null&&r.length>=t||!i)return r;if(Ry(i)&&i.scrollingElement!=null&&!r.includes(i.scrollingElement))return r.push(i.scrollingElement),r;if(!zl(i)||pW(i)||r.includes(i))return r;const{getComputedStyle:a}=Qe(i),o=a(i);return i!==e&&jW(i,o)&&r.push(i),BW(i,o)?r:n(i.parentNode)}return e?n(e):r}function GP(e){const[t]=Ty(e,1);return t??null}function Zp(e){return!If||!e?null:Ea(e)?e:Ay(e)?Ry(e)||e===Ca(e).scrollingElement?window:zl(e)?e:null:null}function qP(e){return Ea(e)?e.scrollX:e.scrollLeft}function VP(e){return Ea(e)?e.scrollY:e.scrollTop}function sm(e){return{x:qP(e),y:VP(e)}}var Re;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Re||(Re={}));function YP(e){return!If||!e?!1:e===document.scrollingElement}function KP(e){const t={x:0,y:0},r=YP(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,o=e.scrollTop>=n.y,l=e.scrollLeft>=n.x;return{isTop:i,isLeft:a,isBottom:o,isRight:l,maxScroll:n,minScroll:t}}const zW={x:.2,y:.2};function UW(e,t,r,n,i){let{top:a,left:o,right:l,bottom:s}=r;n===void 0&&(n=10),i===void 0&&(i=zW);const{isTop:u,isBottom:c,isLeft:f,isRight:d}=KP(e),p={x:0,y:0},h={x:0,y:0},w={height:t.height*i.y,width:t.width*i.x};return!u&&a<=t.top+w.height?(p.y=Re.Backward,h.y=n*Math.abs((t.top+w.height-a)/w.height)):!c&&s>=t.bottom-w.height&&(p.y=Re.Forward,h.y=n*Math.abs((t.bottom-w.height-s)/w.height)),!d&&l>=t.right-w.width?(p.x=Re.Forward,h.x=n*Math.abs((t.right-w.width-l)/w.width)):!f&&o<=t.left+w.width&&(p.x=Re.Backward,h.x=n*Math.abs((t.left+w.width-o)/w.width)),{direction:p,speed:h}}function WW(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:o}=window;return{top:0,left:0,right:a,bottom:o,width:a,height:o}}const{top:t,left:r,right:n,bottom:i}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:i,width:e.clientWidth,height:e.clientHeight}}function XP(e){return e.reduce((t,r)=>qi(t,sm(r)),jt)}function HW(e){return e.reduce((t,r)=>t+qP(r),0)}function GW(e){return e.reduce((t,r)=>t+VP(r),0)}function QP(e,t){if(t===void 0&&(t=Oa),!e)return;const{top:r,left:n,bottom:i,right:a}=t(e);GP(e)&&(i<=0||a<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const qW=[["x",["left","right"],HW],["y",["top","bottom"],GW]];class ky{constructor(t,r){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;const n=Ty(r),i=XP(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,o,l]of qW)for(const s of o)Object.defineProperty(this,s,{get:()=>{const u=l(n),c=i[a]-u;return this.rect[s]+c},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ro{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=t}add(t,r,n){var i;(i=this.target)==null||i.addEventListener(t,r,n),this.listeners.push([t,r,n])}}function VW(e){const{EventTarget:t}=Qe(e);return e instanceof t?e:Ca(e)}function ev(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return typeof t=="number"?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t?n>t.y:!1}var bt;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(bt||(bt={}));function Ix(e){e.preventDefault()}function YW(e){e.stopPropagation()}var ie;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(ie||(ie={}));const JP={start:[ie.Space,ie.Enter],cancel:[ie.Esc],end:[ie.Space,ie.Enter]},KW=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case ie.Right:return{...r,x:r.x+25};case ie.Left:return{...r,x:r.x-25};case ie.Down:return{...r,y:r.y+25};case ie.Up:return{...r,y:r.y-25}}};class ZP{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new Ro(Ca(r)),this.windowListeners=new Ro(Qe(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(bt.Resize,this.handleCancel),this.windowListeners.add(bt.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(bt.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,n=t.node.current;n&&QP(n),r(jt)}handleKeyDown(t){if(Df(t)){const{active:r,context:n,options:i}=this.props,{keyboardCodes:a=JP,coordinateGetter:o=KW,scrollBehavior:l="smooth"}=i,{code:s}=t;if(a.end.includes(s)){this.handleEnd(t);return}if(a.cancel.includes(s)){this.handleCancel(t);return}const{collisionRect:u}=n.current,c=u?{x:u.left,y:u.top}:jt;this.referenceCoordinates||(this.referenceCoordinates=c);const f=o(t,{active:r,context:n.current,currentCoordinates:c});if(f){const d=Ec(f,c),p={x:0,y:0},{scrollableAncestors:h}=n.current;for(const w of h){const v=t.code,{isTop:g,isRight:m,isLeft:y,isBottom:b,maxScroll:x,minScroll:S}=KP(w),E=WW(w),O={x:Math.min(v===ie.Right?E.right-E.width/2:E.right,Math.max(v===ie.Right?E.left:E.left+E.width/2,f.x)),y:Math.min(v===ie.Down?E.bottom-E.height/2:E.bottom,Math.max(v===ie.Down?E.top:E.top+E.height/2,f.y))},I=v===ie.Right&&!m||v===ie.Left&&!y,T=v===ie.Down&&!b||v===ie.Up&&!g;if(I&&O.x!==f.x){const _=w.scrollLeft+d.x,H=v===ie.Right&&_<=x.x||v===ie.Left&&_>=S.x;if(H&&!d.y){w.scrollTo({left:_,behavior:l});return}H?p.x=w.scrollLeft-_:p.x=v===ie.Right?w.scrollLeft-x.x:w.scrollLeft-S.x,p.x&&w.scrollBy({left:-p.x,behavior:l});break}else if(T&&O.y!==f.y){const _=w.scrollTop+d.y,H=v===ie.Down&&_<=x.y||v===ie.Up&&_>=S.y;if(H&&!d.x){w.scrollTo({top:_,behavior:l});return}H?p.y=w.scrollTop-_:p.y=v===ie.Down?w.scrollTop-x.y:w.scrollTop-S.y,p.y&&w.scrollBy({top:-p.y,behavior:l});break}}this.handleMove(t,qi(Ec(f,this.referenceCoordinates),p))}}}handleMove(t,r){const{onMove:n}=this.props;t.preventDefault(),n(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}ZP.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=JP,onActivation:i}=t,{active:a}=r;const{code:o}=e.nativeEvent;if(n.start.includes(o)){const l=a.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function Px(e){return!!(e&&"distance"in e)}function Dx(e){return!!(e&&"delay"in e)}class _y{constructor(t,r,n){var i;n===void 0&&(n=VW(t.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=t,this.events=r;const{event:a}=t,{target:o}=a;this.props=t,this.events=r,this.document=Ca(o),this.documentListeners=new Ro(this.document),this.listeners=new Ro(n),this.windowListeners=new Ro(Qe(o)),this.initialCoordinates=(i=Cc(a))!=null?i:jt,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(){const{events:t,props:{options:{activationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(bt.Resize,this.handleCancel),this.windowListeners.add(bt.DragStart,Ix),this.windowListeners.add(bt.VisibilityChange,this.handleCancel),this.windowListeners.add(bt.ContextMenu,Ix),this.documentListeners.add(bt.Keydown,this.handleKeydown),r){if(Px(r))return;if(Dx(r)){this.timeoutId=setTimeout(this.handleStart,r.delay);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(bt.Click,YW,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(bt.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:n,initialCoordinates:i,props:a}=this,{onMove:o,options:{activationConstraint:l}}=a;if(!i)return;const s=(r=Cc(t))!=null?r:jt,u=Ec(i,s);if(!n&&l){if(Dx(l))return ev(u,l.tolerance)?this.handleCancel():void 0;if(Px(l))return l.tolerance!=null&&ev(u,l.tolerance)?this.handleCancel():ev(u,l.distance)?this.handleStart():void 0}t.cancelable&&t.preventDefault(),o(s)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===ie.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const XW={move:{name:"pointermove"},end:{name:"pointerup"}};class eD extends _y{constructor(t){const{event:r}=t,n=Ca(r.target);super(t,XW,n)}}eD.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!r.isPrimary||r.button!==0?!1:(n==null||n({event:r}),!0)}}];const QW={move:{name:"mousemove"},end:{name:"mouseup"}};var um;(function(e){e[e.RightClick=2]="RightClick"})(um||(um={}));class JW extends _y{constructor(t){super(t,QW,Ca(t.event.target))}}JW.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button===um.RightClick?!1:(n==null||n({event:r}),!0)}}];const tv={move:{name:"touchmove"},end:{name:"touchend"}};class ZW extends _y{constructor(t){super(t,tv)}static setup(){return window.addEventListener(tv.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(tv.move.name,t)};function t(){}}}ZW.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:i}=r;return i.length>1?!1:(n==null||n({event:r}),!0)}}];var To;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(To||(To={}));var Ic;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Ic||(Ic={}));function e9(e){let{acceleration:t,activator:r=To.Pointer,canScroll:n,draggingRect:i,enabled:a,interval:o=5,order:l=Ic.TreeOrder,pointerCoordinates:s,scrollableAncestors:u,scrollableAncestorRects:c,delta:f,threshold:d}=e;const p=r9({delta:f,disabled:!a}),[h,w]=vW(),v=C.useRef({x:0,y:0}),g=C.useRef({x:0,y:0}),m=C.useMemo(()=>{switch(r){case To.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case To.DraggableRect:return i}},[r,i,s]),y=C.useRef(null),b=C.useCallback(()=>{const S=y.current;if(!S)return;const E=v.current.x*g.current.x,O=v.current.y*g.current.y;S.scrollBy(E,O)},[]),x=C.useMemo(()=>l===Ic.TreeOrder?[...u].reverse():u,[l,u]);C.useEffect(()=>{if(!a||!u.length||!m){w();return}for(const S of x){if((n==null?void 0:n(S))===!1)continue;const E=u.indexOf(S),O=c[E];if(!O)continue;const{direction:I,speed:T}=UW(S,O,m,t,d);for(const _ of["x","y"])p[_][I[_]]||(T[_]=0,I[_]=0);if(T.x>0||T.y>0){w(),y.current=S,h(b,o),v.current=T,g.current=I;return}}v.current={x:0,y:0},g.current={x:0,y:0},w()},[t,b,n,w,a,o,JSON.stringify(m),JSON.stringify(p),h,u,x,c,JSON.stringify(d)])}const t9={x:{[Re.Backward]:!1,[Re.Forward]:!1},y:{[Re.Backward]:!1,[Re.Forward]:!1}};function r9(e){let{delta:t,disabled:r}=e;const n=xc(t);return Ul(i=>{if(r||!n||!i)return t9;const a={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[Re.Backward]:i.x[Re.Backward]||a.x===-1,[Re.Forward]:i.x[Re.Forward]||a.x===1},y:{[Re.Backward]:i.y[Re.Backward]||a.y===-1,[Re.Forward]:i.y[Re.Forward]||a.y===1}}},[r,t,n])}function n9(e,t){const r=t!==null?e.get(t):void 0,n=r?r.node.current:null;return Ul(i=>{var a;return t===null?null:(a=n??i)!=null?a:null},[n,t])}function i9(e,t){return C.useMemo(()=>e.reduce((r,n)=>{const{sensor:i}=n,a=i.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,n)}));return[...r,...a]},[]),[e,t])}var cl;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(cl||(cl={}));var cm;(function(e){e.Optimized="optimized"})(cm||(cm={}));const Ax=new Map;function a9(e,t){let{dragging:r,dependencies:n,config:i}=t;const[a,o]=C.useState(null),l=a!=null,{frequency:s,measure:u,strategy:c}=i,f=C.useRef(e),d=g(),p=ul(d),h=C.useCallback(function(m){m===void 0&&(m=[]),!p.current&&o(y=>y?y.concat(m):m)},[p]),w=C.useRef(null),v=Ul(m=>{if(d&&!r)return Ax;const y=a;if(!m||m===Ax||f.current!==e||y!=null){const b=new Map;for(let x of e){if(!x)continue;if(y&&y.length>0&&!y.includes(x.id)&&x.rect.current){b.set(x.id,x.rect.current);continue}const S=x.node.current,E=S?new ky(u(S),S):null;x.rect.current=E,E&&b.set(x.id,E)}return b}return m},[e,a,r,d,u]);return C.useEffect(()=>{f.current=e},[e]),C.useEffect(()=>{d||requestAnimationFrame(()=>h())},[r,d]),C.useEffect(()=>{l&&o(null)},[l]),C.useEffect(()=>{d||typeof s!="number"||w.current!==null||(w.current=setTimeout(()=>{h(),w.current=null},s))},[s,d,h,...n]),{droppableRects:v,measureDroppableContainers:h,measuringScheduled:l};function g(){switch(c){case cl.Always:return!1;case cl.BeforeDragging:return r;default:return!r}}}function Ny(e,t){return Ul(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function o9(e,t){return Ny(e,t)}function l9(e){let{callback:t,disabled:r}=e;const n=Pf(t),i=C.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(n)},[n,r]);return C.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Af(e){let{callback:t,disabled:r}=e;const n=Pf(t),i=C.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(n)},[r]);return C.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function s9(e){return new ky(Oa(e),e)}function Rx(e,t,r){t===void 0&&(t=s9);const[n,i]=C.useReducer(l,null),a=l9({callback(s){if(e)for(const u of s){const{type:c,target:f}=u;if(c==="childList"&&f instanceof HTMLElement&&f.contains(e)){i();break}}}}),o=Af({callback:i});return At(()=>{i(),e?(o==null||o.observe(e),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),a==null||a.disconnect())},[e]),n;function l(s){if(!e)return null;if(e.isConnected===!1){var u;return(u=s??r)!=null?u:null}const c=t(e);return JSON.stringify(s)===JSON.stringify(c)?s:c}}function u9(e){const t=Ny(e);return WP(e,t)}const Tx=[];function c9(e){const t=C.useRef(e),r=Ul(n=>e?n&&n!==Tx&&e&&t.current&&e.parentNode===t.current.parentNode?n:Ty(e):Tx,[e]);return C.useEffect(()=>{t.current=e},[e]),r}function f9(e){const[t,r]=C.useState(null),n=C.useRef(e),i=C.useCallback(a=>{const o=Zp(a.target);o&&r(l=>l?(l.set(o,sm(o)),new Map(l)):null)},[]);return C.useEffect(()=>{const a=n.current;if(e!==a){o(a);const l=e.map(s=>{const u=Zp(s);return u?(u.addEventListener("scroll",i,{passive:!0}),[u,sm(u)]):null}).filter(s=>s!=null);r(l.length?new Map(l):null),n.current=e}return()=>{o(e),o(a)};function o(l){l.forEach(s=>{const u=Zp(s);u==null||u.removeEventListener("scroll",i)})}},[i,e]),C.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,o)=>qi(a,o),jt):XP(e):jt,[e,t])}function kx(e,t){t===void 0&&(t=[]);const r=C.useRef(null);return C.useEffect(()=>{r.current=null},t),C.useEffect(()=>{const n=e!==jt;n&&!r.current&&(r.current=e),!n&&r.current&&(r.current=null)},[e]),r.current?Ec(e,r.current):jt}function d9(e){C.useEffect(()=>{if(!If)return;const t=e.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function p9(e,t){return C.useMemo(()=>e.reduce((r,n)=>{let{eventName:i,handler:a}=n;return r[i]=o=>{a(o,t)},r},{}),[e,t])}function tD(e){return C.useMemo(()=>e?FW(e):null,[e])}const rv=[];function v9(e,t){t===void 0&&(t=Oa);const[r]=e,n=tD(r?Qe(r):null),[i,a]=C.useReducer(l,rv),o=Af({callback:a});return e.length>0&&i===rv&&a(),At(()=>{e.length?e.forEach(s=>o==null?void 0:o.observe(s)):(o==null||o.disconnect(),a())},[e]),i;function l(){return e.length?e.map(s=>YP(s)?n:new ky(t(s),s)):rv}}function rD(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return zl(t)?t:e}function g9(e){let{measure:t}=e;const[r,n]=C.useState(null),i=C.useCallback(u=>{for(const{target:c}of u)if(zl(c)){n(f=>{const d=t(c);return f?{...f,width:d.width,height:d.height}:d});break}},[t]),a=Af({callback:i}),o=C.useCallback(u=>{const c=rD(u);a==null||a.disconnect(),c&&(a==null||a.observe(c)),n(c?t(c):null)},[t,a]),[l,s]=Sc(o);return C.useMemo(()=>({nodeRef:l,rect:r,setRef:s}),[r,l,s])}const m9=[{sensor:eD,options:{}},{sensor:ZP,options:{}}],h9={current:{}},au={draggable:{measure:Ox},droppable:{measure:Ox,strategy:cl.WhileDragging,frequency:cm.Optimized},dragOverlay:{measure:Oa}};class ko extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,n;return(r=(n=this.get(t))==null?void 0:n.node.current)!=null?r:void 0}}const y9={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ko,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Oc},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:au,measureDroppableContainers:Oc,windowRect:null,measuringScheduled:!1},nD={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Oc,draggableNodes:new Map,over:null,measureDroppableContainers:Oc},Hl=C.createContext(nD),iD=C.createContext(y9);function b9(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ko}}}function w9(e,t){switch(t.type){case Oe.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Oe.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Oe.DragEnd:case Oe.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Oe.RegisterDroppable:{const{element:r}=t,{id:n}=r,i=new ko(e.droppable.containers);return i.set(n,r),{...e,droppable:{...e.droppable,containers:i}}}case Oe.SetDroppableDisabled:{const{id:r,key:n,disabled:i}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new ko(e.droppable.containers);return o.set(r,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case Oe.UnregisterDroppable:{const{id:r,key:n}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const a=new ko(e.droppable.containers);return a.delete(r),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function S9(e){let{disabled:t}=e;const{active:r,activatorEvent:n,draggableNodes:i}=C.useContext(Hl),a=xc(n),o=xc(r==null?void 0:r.id);return C.useEffect(()=>{if(!t&&!n&&a&&o!=null){if(!Df(a)||document.activeElement===a.target)return;const l=i.get(o);if(!l)return;const{activatorNode:s,node:u}=l;if(!s.current&&!u.current)return;requestAnimationFrame(()=>{for(const c of[s.current,u.current]){if(!c)continue;const f=hW(c);if(f){f.focus();break}}})}},[n,t,i,o,a]),null}function aD(e,t){let{transform:r,...n}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...n}),r):r}function x9(e){return C.useMemo(()=>({draggable:{...au.draggable,...e==null?void 0:e.draggable},droppable:{...au.droppable,...e==null?void 0:e.droppable},dragOverlay:{...au.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function E9(e){let{activeNode:t,measure:r,initialRect:n,config:i=!0}=e;const a=C.useRef(!1),{x:o,y:l}=typeof i=="boolean"?{x:i,y:i}:i;At(()=>{if(!o&&!l||!t){a.current=!1;return}if(a.current||!n)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const c=r(u),f=WP(c,n);if(o||(f.x=0),l||(f.y=0),a.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const d=GP(u);d&&d.scrollBy({top:f.y,left:f.x})}},[t,o,l,n,r])}const Rf=C.createContext({...jt,scaleX:1,scaleY:1});var Nr;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Nr||(Nr={}));const I7=C.memo(function(t){var r,n,i,a;let{id:o,accessibility:l,autoScroll:s=!0,children:u,sensors:c=m9,collisionDetection:f=kW,measuring:d,modifiers:p,...h}=t;const w=C.useReducer(w9,void 0,b9),[v,g]=w,[m,y]=CW(),[b,x]=C.useState(Nr.Uninitialized),S=b===Nr.Initialized,{draggable:{active:E,nodes:O,translate:I},droppable:{containers:T}}=v,_=E?O.get(E):null,H=C.useRef({initial:null,translated:null}),z=C.useMemo(()=>{var Me;return E!=null?{id:E,data:(Me=_==null?void 0:_.data)!=null?Me:h9,rect:H}:null},[E,_]),G=C.useRef(null),[Y,Q]=C.useState(null),[ee,oe]=C.useState(null),le=ul(h,Object.values(h)),ce=Wl("DndDescribedBy",o),P=C.useMemo(()=>T.getEnabled(),[T]),k=x9(d),{droppableRects:U,measureDroppableContainers:K,measuringScheduled:V}=a9(P,{dragging:S,dependencies:[I.x,I.y],config:k.droppable}),se=n9(O,E),Ne=C.useMemo(()=>ee?Cc(ee):null,[ee]),Ce=bD(),xe=o9(se,k.draggable.measure);E9({activeNode:E?O.get(E):null,config:Ce.layoutShiftCompensation,initialRect:xe,measure:k.draggable.measure});const J=Rx(se,k.draggable.measure,xe),ir=Rx(se?se.parentElement:null),it=C.useRef({activatorEvent:null,active:null,activeNode:se,collisionRect:null,collisions:null,droppableRects:U,draggableNodes:O,draggingNode:null,draggingNodeRect:null,droppableContainers:T,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Wt=T.getNodeFor((r=it.current.over)==null?void 0:r.id),Je=g9({measure:k.dragOverlay.measure}),ar=(n=Je.nodeRef.current)!=null?n:se,Ht=S?(i=Je.rect)!=null?i:J:null,ii=!!(Je.nodeRef.current&&Je.rect),Gl=u9(ii?null:J),or=tD(ar?Qe(ar):null),gt=c9(S?Wt??se:null),ql=v9(gt),Vl=aD(p,{transform:{x:I.x-Gl.x,y:I.y-Gl.y,scaleX:1,scaleY:1},activatorEvent:ee,active:z,activeNodeRect:J,containerNodeRect:ir,draggingNodeRect:Ht,over:it.current.over,overlayNodeRect:Je.rect,scrollableAncestors:gt,scrollableAncestorRects:ql,windowRect:or}),My=Ne?qi(Ne,I):null,$y=f9(gt),dD=kx($y),pD=kx($y,[J]),ai=qi(Vl,dD),oi=Ht?MW(Ht,Vl):null,Ia=z&&oi?f({active:z,collisionRect:oi,droppableRects:U,droppableContainers:P,pointerCoordinates:My}):null,Ly=RW(Ia,"id"),[Or,Fy]=C.useState(null),vD=ii?Vl:qi(Vl,pD),gD=_W(vD,(a=Or==null?void 0:Or.rect)!=null?a:null,J),By=C.useCallback((Me,at)=>{let{sensor:ot,options:Ir}=at;if(G.current==null)return;const mt=O.get(G.current);if(!mt)return;const Tt=Me.nativeEvent,Gt=new ot({active:G.current,activeNode:mt,event:Tt,options:Ir,context:it,onStart(kt){const Pa=G.current;if(Pa==null)return;const Da=O.get(Pa);if(!Da)return;const{onDragStart:Yl}=le.current,Kl={active:{id:Pa,data:Da.data,rect:H}};fr.unstable_batchedUpdates(()=>{Yl==null||Yl(Kl),x(Nr.Initializing),g({type:Oe.DragStart,initialCoordinates:kt,active:Pa}),m({type:"onDragStart",event:Kl})})},onMove(kt){g({type:Oe.DragMove,coordinates:kt})},onEnd:li(Oe.DragEnd),onCancel:li(Oe.DragCancel)});fr.unstable_batchedUpdates(()=>{Q(Gt),oe(Me.nativeEvent)});function li(kt){return async function(){const{active:Da,collisions:Yl,over:Kl,scrollAdjustedTranslate:zy}=it.current;let Aa=null;if(Da&&zy){const{cancelDrop:Ra}=le.current;Aa={activatorEvent:Tt,active:Da,collisions:Yl,delta:zy,over:Kl},kt===Oe.DragEnd&&typeof Ra=="function"&&await Promise.resolve(Ra(Aa))&&(kt=Oe.DragCancel)}G.current=null,fr.unstable_batchedUpdates(()=>{g({type:kt}),x(Nr.Uninitialized),Fy(null),Q(null),oe(null);const Ra=kt===Oe.DragEnd?"onDragEnd":"onDragCancel";if(Aa){const Tf=le.current[Ra];Tf==null||Tf(Aa),m({type:Ra,event:Aa})}})}}},[O]),mD=C.useCallback((Me,at)=>(ot,Ir)=>{const mt=ot.nativeEvent,Tt=O.get(Ir);if(G.current!==null||!Tt||mt.dndKit||mt.defaultPrevented)return;const Gt={active:Tt};Me(ot,at.options,Gt)===!0&&(mt.dndKit={capturedBy:at.sensor},G.current=Ir,By(ot,at))},[O,By]),jy=i9(c,mD);d9(c),At(()=>{J&&b===Nr.Initializing&&x(Nr.Initialized)},[J,b]),C.useEffect(()=>{const{onDragMove:Me}=le.current,{active:at,activatorEvent:ot,collisions:Ir,over:mt}=it.current;if(!at||!ot)return;const Tt={active:at,activatorEvent:ot,collisions:Ir,delta:{x:ai.x,y:ai.y},over:mt};fr.unstable_batchedUpdates(()=>{Me==null||Me(Tt),m({type:"onDragMove",event:Tt})})},[ai.x,ai.y]),C.useEffect(()=>{const{active:Me,activatorEvent:at,collisions:ot,droppableContainers:Ir,scrollAdjustedTranslate:mt}=it.current;if(!Me||G.current==null||!at||!mt)return;const{onDragOver:Tt}=le.current,Gt=Ir.get(Ly),li=Gt&&Gt.rect.current?{id:Gt.id,rect:Gt.rect.current,data:Gt.data,disabled:Gt.disabled}:null,kt={active:Me,activatorEvent:at,collisions:ot,delta:{x:mt.x,y:mt.y},over:li};fr.unstable_batchedUpdates(()=>{Fy(li),Tt==null||Tt(kt),m({type:"onDragOver",event:kt})})},[Ly]),At(()=>{it.current={activatorEvent:ee,active:z,activeNode:se,collisionRect:oi,collisions:Ia,droppableRects:U,draggableNodes:O,draggingNode:ar,draggingNodeRect:Ht,droppableContainers:T,over:Or,scrollableAncestors:gt,scrollAdjustedTranslate:ai},H.current={initial:Ht,translated:oi}},[z,se,Ia,oi,O,ar,Ht,U,T,Or,gt,ai]),e9({...Ce,delta:I,draggingRect:oi,pointerCoordinates:My,scrollableAncestors:gt,scrollableAncestorRects:ql});const hD=C.useMemo(()=>({active:z,activeNode:se,activeNodeRect:J,activatorEvent:ee,collisions:Ia,containerNodeRect:ir,dragOverlay:Je,draggableNodes:O,droppableContainers:T,droppableRects:U,over:Or,measureDroppableContainers:K,scrollableAncestors:gt,scrollableAncestorRects:ql,measuringConfiguration:k,measuringScheduled:V,windowRect:or}),[z,se,J,ee,Ia,ir,Je,O,T,U,Or,K,gt,ql,k,V,or]),yD=C.useMemo(()=>({activatorEvent:ee,activators:jy,active:z,activeNodeRect:J,ariaDescribedById:{draggable:ce},dispatch:g,draggableNodes:O,over:Or,measureDroppableContainers:K}),[ee,jy,z,J,g,ce,O,Or,K]);return F.createElement(jP.Provider,{value:y},F.createElement(Hl.Provider,{value:yD},F.createElement(iD.Provider,{value:hD},F.createElement(Rf.Provider,{value:gD},u)),F.createElement(S9,{disabled:(l==null?void 0:l.restoreFocus)===!1})),F.createElement(PW,{...l,hiddenTextDescribedById:ce}));function bD(){const Me=(Y==null?void 0:Y.autoScrollEnabled)===!1,at=typeof s=="object"?s.enabled===!1:s===!1,ot=S&&!Me&&!at;return typeof s=="object"?{...s,enabled:ot}:{enabled:ot}}}),C9=C.createContext(null),_x="button",O9="Droppable";function I9(e){let{id:t,data:r,disabled:n=!1,attributes:i}=e;const a=Wl(O9),{activators:o,activatorEvent:l,active:s,activeNodeRect:u,ariaDescribedById:c,draggableNodes:f,over:d}=C.useContext(Hl),{role:p=_x,roleDescription:h="draggable",tabIndex:w=0}=i??{},v=(s==null?void 0:s.id)===t,g=C.useContext(v?Rf:C9),[m,y]=Sc(),[b,x]=Sc(),S=p9(o,t),E=ul(r);At(()=>(f.set(t,{id:t,key:a,node:m,activatorNode:b,data:E}),()=>{const I=f.get(t);I&&I.key===a&&f.delete(t)}),[f,t]);const O=C.useMemo(()=>({role:p,tabIndex:w,"aria-disabled":n,"aria-pressed":v&&p===_x?!0:void 0,"aria-roledescription":h,"aria-describedby":c.draggable}),[n,p,w,v,h,c.draggable]);return{active:s,activatorEvent:l,activeNodeRect:u,attributes:O,isDragging:v,listeners:n?void 0:S,node:m,over:d,setNodeRef:y,setActivatorNodeRef:x,transform:g}}function oD(){return C.useContext(iD)}const P9="Droppable",D9={timeout:25};function A9(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:i}=e;const a=Wl(P9),{active:o,dispatch:l,over:s,measureDroppableContainers:u}=C.useContext(Hl),c=C.useRef({disabled:r}),f=C.useRef(!1),d=C.useRef(null),p=C.useRef(null),{disabled:h,updateMeasurementsFor:w,timeout:v}={...D9,...i},g=ul(w??n),m=C.useCallback(()=>{if(!f.current){f.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(g.current)?g.current:[g.current]),p.current=null},v)},[v]),y=Af({callback:m,disabled:h||!o}),b=C.useCallback((O,I)=>{y&&(I&&(y.unobserve(I),f.current=!1),O&&y.observe(O))},[y]),[x,S]=Sc(b),E=ul(t);return C.useEffect(()=>{!y||!x.current||(y.disconnect(),f.current=!1,y.observe(x.current))},[x,y]),At(()=>(l({type:Oe.RegisterDroppable,element:{id:n,key:a,disabled:r,node:x,rect:d,data:E}}),()=>l({type:Oe.UnregisterDroppable,key:a,id:n})),[n]),C.useEffect(()=>{r!==c.current.disabled&&(l({type:Oe.SetDroppableDisabled,id:n,key:a,disabled:r}),c.current.disabled=r)},[n,a,r,l]),{active:o,rect:d,isOver:(s==null?void 0:s.id)===n,node:x,over:s,setNodeRef:S}}function R9(e){let{animation:t,children:r}=e;const[n,i]=C.useState(null),[a,o]=C.useState(null),l=xc(r);return!r&&!n&&l&&i(l),At(()=>{if(!a)return;const s=n==null?void 0:n.key,u=n==null?void 0:n.props.id;if(s==null||u==null){i(null);return}Promise.resolve(t(u,a)).then(()=>{i(null)})},[t,n,a]),F.createElement(F.Fragment,null,r,n?C.cloneElement(n,{ref:o}):null)}const T9={x:0,y:0,scaleX:1,scaleY:1};function k9(e){let{children:t}=e;return F.createElement(Hl.Provider,{value:nD},F.createElement(Rf.Provider,{value:T9},t))}const _9={position:"fixed",touchAction:"none"},N9=e=>Df(e)?"transform 250ms ease":void 0,M9=C.forwardRef((e,t)=>{let{as:r,activatorEvent:n,adjustScale:i,children:a,className:o,rect:l,style:s,transform:u,transition:c=N9}=e;if(!l)return null;const f=i?u:{...u,scaleX:1,scaleY:1},d={..._9,width:l.width,height:l.height,top:l.top,left:l.left,transform:Vn.Transform.toString(f),transformOrigin:i&&n?DW(n,l):void 0,transition:typeof c=="function"?c(n):c,...s};return F.createElement(r,{className:o,style:d,ref:t},a)}),$9=e=>t=>{let{active:r,dragOverlay:n}=t;const i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(const[l,s]of Object.entries(a.active))s!==void 0&&(i[l]=r.node.style.getPropertyValue(l),r.node.style.setProperty(l,s));if(a!=null&&a.dragOverlay)for(const[l,s]of Object.entries(a.dragOverlay))s!==void 0&&n.node.style.setProperty(l,s);return o!=null&&o.active&&r.node.classList.add(o.active),o!=null&&o.dragOverlay&&n.node.classList.add(o.dragOverlay),function(){for(const[s,u]of Object.entries(i))r.node.style.setProperty(s,u);o!=null&&o.active&&r.node.classList.remove(o.active)}},L9=e=>{let{transform:{initial:t,final:r}}=e;return[{transform:Vn.Transform.toString(t)},{transform:Vn.Transform.toString(r)}]},F9={duration:250,easing:"ease",keyframes:L9,sideEffects:$9({styles:{active:{opacity:"0"}}})};function B9(e){let{config:t,draggableNodes:r,droppableContainers:n,measuringConfiguration:i}=e;return Pf((a,o)=>{if(t===null)return;const l=r.get(a);if(!l)return;const s=l.node.current;if(!s)return;const u=rD(o);if(!u)return;const{transform:c}=Qe(o).getComputedStyle(o),f=HP(c);if(!f)return;const d=typeof t=="function"?t:j9(t);return QP(s,i.draggable.measure),d({active:{id:a,data:l.data,node:s,rect:i.draggable.measure(s)},draggableNodes:r,dragOverlay:{node:o,rect:i.dragOverlay.measure(u)},droppableContainers:n,measuringConfiguration:i,transform:f})})}function j9(e){const{duration:t,easing:r,sideEffects:n,keyframes:i}={...F9,...e};return a=>{let{active:o,dragOverlay:l,transform:s,...u}=a;if(!t)return;const c={x:l.rect.left-o.rect.left,y:l.rect.top-o.rect.top},f={scaleX:s.scaleX!==1?o.rect.width*s.scaleX/l.rect.width:1,scaleY:s.scaleY!==1?o.rect.height*s.scaleY/l.rect.height:1},d={x:s.x-c.x,y:s.y-c.y,...f},p=i({...u,active:o,dragOverlay:l,transform:{initial:s,final:d}}),[h]=p,w=p[p.length-1];if(JSON.stringify(h)===JSON.stringify(w))return;const v=n==null?void 0:n({active:o,dragOverlay:l,...u}),g=l.node.animate(p,{duration:t,easing:r,fill:"forwards"});return new Promise(m=>{g.onfinish=()=>{v==null||v(),m()}})}}let Nx=0;function z9(e){return C.useMemo(()=>{if(e!=null)return Nx++,Nx},[e])}const P7=F.memo(e=>{let{adjustScale:t=!1,children:r,dropAnimation:n,style:i,transition:a,modifiers:o,wrapperElement:l="div",className:s,zIndex:u=999}=e;const{activatorEvent:c,active:f,activeNodeRect:d,containerNodeRect:p,draggableNodes:h,droppableContainers:w,dragOverlay:v,over:g,measuringConfiguration:m,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:x}=oD(),S=C.useContext(Rf),E=z9(f==null?void 0:f.id),O=aD(o,{activatorEvent:c,active:f,activeNodeRect:d,containerNodeRect:p,draggingNodeRect:v.rect,over:g,overlayNodeRect:v.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:x}),I=Ny(d),T=B9({config:n,draggableNodes:h,droppableContainers:w,measuringConfiguration:m}),_=I?v.setRef:void 0;return F.createElement(k9,null,F.createElement(R9,{animation:T},f&&E?F.createElement(M9,{key:E,id:f.id,ref:_,as:l,activatorEvent:c,adjustScale:t,className:s,transition:a,rect:I,style:{zIndex:u,...i},transform:O},r):null))});function lD(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function U9(e,t){return e.reduce((r,n,i)=>{const a=t.get(n);return a&&(r[i]=a),r},Array(e.length))}function Ms(e){return e!==null&&e>=0}function W9(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function H9(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const sD=e=>{let{rects:t,activeIndex:r,overIndex:n,index:i}=e;const a=lD(t,n,r),o=t[i],l=a[i];return!l||!o?null:{x:l.left-o.left,y:l.top-o.top,scaleX:l.width/o.width,scaleY:l.height/o.height}},$s={scaleX:1,scaleY:1},D7=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:i,rects:a,overIndex:o}=e;const l=(t=a[r])!=null?t:n;if(!l)return null;if(i===r){const u=a[o];return u?{x:0,y:r<o?u.top+u.height-(l.top+l.height):u.top-l.top,...$s}:null}const s=G9(a,i,r);return i>r&&i<=o?{x:0,y:-l.height-s,...$s}:i<r&&i>=o?{x:0,y:l.height+s,...$s}:{x:0,y:0,...$s}};function G9(e,t,r){const n=e[t],i=e[t-1],a=e[t+1];return n?r<t?i?n.top-(i.top+i.height):a?a.top-(n.top+n.height):0:a?a.top-(n.top+n.height):i?n.top-(i.top+i.height):0:0}const uD="Sortable",cD=F.createContext({activeIndex:-1,containerId:uD,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:sD,disabled:{draggable:!1,droppable:!1}});function A7(e){let{children:t,id:r,items:n,strategy:i=sD,disabled:a=!1}=e;const{active:o,dragOverlay:l,droppableRects:s,over:u,measureDroppableContainers:c,measuringScheduled:f}=oD(),d=Wl(uD,r),p=l.rect!==null,h=C.useMemo(()=>n.map(E=>typeof E=="object"&&"id"in E?E.id:E),[n]),w=o!=null,v=o?h.indexOf(o.id):-1,g=u?h.indexOf(u.id):-1,m=C.useRef(h),y=!W9(h,m.current),b=g!==-1&&v===-1||y,x=H9(a);At(()=>{y&&w&&!f&&c(h)},[y,h,w,c,f]),C.useEffect(()=>{m.current=h},[h]);const S=C.useMemo(()=>({activeIndex:v,containerId:d,disabled:x,disableTransforms:b,items:h,overIndex:g,useDragOverlay:p,sortedRects:U9(h,s),strategy:i}),[v,d,x.draggable,x.droppable,b,h,g,s,p,i]);return F.createElement(cD.Provider,{value:S},t)}const q9=e=>{let{id:t,items:r,activeIndex:n,overIndex:i}=e;return lD(r,n,i).indexOf(t)},V9=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:i,items:a,newIndex:o,previousItems:l,previousContainerId:s,transition:u}=e;return!u||!n||l!==a&&i===o?!1:r?!0:o!==i&&t===s},Y9={duration:200,easing:"ease"},fD="transform",K9=Vn.Transition.toString({property:fD,duration:0,easing:"linear"}),X9={roleDescription:"sortable"};function Q9(e){let{disabled:t,index:r,node:n,rect:i}=e;const[a,o]=C.useState(null),l=C.useRef(r);return At(()=>{if(!t&&r!==l.current&&n.current){const s=i.current;if(s){const u=Oa(n.current,{ignoreTransform:!0}),c={x:s.left-u.left,y:s.top-u.top,scaleX:s.width/u.width,scaleY:s.height/u.height};(c.x||c.y)&&o(c)}}r!==l.current&&(l.current=r)},[t,r,n,i]),C.useEffect(()=>{a&&requestAnimationFrame(()=>{o(null)})},[a]),a}function R7(e){let{animateLayoutChanges:t=V9,attributes:r,disabled:n,data:i,getNewIndex:a=q9,id:o,strategy:l,resizeObserverConfig:s,transition:u=Y9}=e;const{items:c,containerId:f,activeIndex:d,disabled:p,disableTransforms:h,sortedRects:w,overIndex:v,useDragOverlay:g,strategy:m}=C.useContext(cD),y=J9(n,p),b=c.indexOf(o),x=C.useMemo(()=>({sortable:{containerId:f,index:b,items:c},...i}),[f,i,b,c]),S=C.useMemo(()=>c.slice(c.indexOf(o)),[c,o]),{rect:E,node:O,isOver:I,setNodeRef:T}=A9({id:o,data:x,disabled:y.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...s}}),{active:_,activatorEvent:H,activeNodeRect:z,attributes:G,setNodeRef:Y,listeners:Q,isDragging:ee,over:oe,setActivatorNodeRef:le,transform:ce}=I9({id:o,data:x,attributes:{...X9,...r},disabled:y.draggable}),P=dW(T,Y),k=!!_,U=k&&!h&&Ms(d)&&Ms(v),K=!g&&ee,V=K&&U?ce:null,Ne=U?V??(l??m)({rects:w,activeNodeRect:z,activeIndex:d,overIndex:v,index:b}):null,Ce=Ms(d)&&Ms(v)?a({id:o,items:c,activeIndex:d,overIndex:v}):b,xe=_==null?void 0:_.id,J=C.useRef({activeId:xe,items:c,newIndex:Ce,containerId:f}),ir=c!==J.current.items,it=t({active:_,containerId:f,isDragging:ee,isSorting:k,id:o,index:b,items:c,newIndex:J.current.newIndex,previousItems:J.current.items,previousContainerId:J.current.containerId,transition:u,wasDragging:J.current.activeId!=null}),Wt=Q9({disabled:!it,index:b,node:O,rect:E});return C.useEffect(()=>{k&&J.current.newIndex!==Ce&&(J.current.newIndex=Ce),f!==J.current.containerId&&(J.current.containerId=f),c!==J.current.items&&(J.current.items=c)},[k,Ce,f,c]),C.useEffect(()=>{if(xe===J.current.activeId)return;if(xe&&!J.current.activeId){J.current.activeId=xe;return}const ar=setTimeout(()=>{J.current.activeId=xe},50);return()=>clearTimeout(ar)},[xe]),{active:_,activeIndex:d,attributes:G,data:x,rect:E,index:b,newIndex:Ce,items:c,isOver:I,isSorting:k,isDragging:ee,listeners:Q,node:O,overIndex:v,over:oe,setNodeRef:P,setActivatorNodeRef:le,setDroppableNodeRef:T,setDraggableNodeRef:Y,transform:Wt??Ne,transition:Je()};function Je(){if(Wt||ir&&J.current.newIndex===b)return K9;if(!(K&&!Df(H)||!u)&&(k||it))return Vn.Transition.toString({...u,property:fD})}}function J9(e,t){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e==null?void 0:e.draggable)!=null?r:t.draggable,droppable:(n=e==null?void 0:e.droppable)!=null?n:t.droppable}}ie.Down,ie.Right,ie.Up,ie.Left;export{v7 as $,I7 as A,C7 as B,i7 as C,u7 as D,hh as E,Kc as F,D7 as G,ZP as H,S7 as I,g7 as J,ie as K,m7 as L,cl as M,l7 as N,s7 as O,X as P,nj as Q,to as R,A7 as S,Ll as T,h7 as U,a7 as V,wB as W,f7 as X,d7 as Y,F as a,p7 as b,r7 as c,w7 as d,Se as e,b7 as f,n7 as g,y7 as h,c7 as i,e7 as j,lB as k,lD as l,t7 as m,O7 as n,RW as o,eD as p,Vn as q,C as r,o7 as s,oD as t,R7 as u,fr as v,P7 as w,F9 as x,E7 as y,x7 as z};
907
- //# sourceMappingURL=vendor-a75bc0d2.js.map
906
+ `},IW={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function PW(e){let{announcements:t=IW,container:r,hiddenTextDescribedById:n,screenReaderInstructions:i=OW}=e;const{announce:a,announcement:o}=xW(),l=Wl("DndLiveRegion"),[s,u]=C.useState(!1);if(C.useEffect(()=>{u(!0)},[]),EW(C.useMemo(()=>({onDragStart(f){let{active:d}=f;a(t.onDragStart({active:d}))},onDragMove(f){let{active:d,over:p}=f;t.onDragMove&&a(t.onDragMove({active:d,over:p}))},onDragOver(f){let{active:d,over:p}=f;a(t.onDragOver({active:d,over:p}))},onDragEnd(f){let{active:d,over:p}=f;a(t.onDragEnd({active:d,over:p}))},onDragCancel(f){let{active:d,over:p}=f;a(t.onDragCancel({active:d,over:p}))}}),[a,t])),!s)return null;const c=F.createElement(F.Fragment,null,F.createElement(bW,{id:n,value:i.draggable}),F.createElement(SW,{id:l,announcement:o}));return r?fr.createPortal(c,r):c}var Oe;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Oe||(Oe={}));function Oc(){}function x7(e,t){return C.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function E7(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return C.useMemo(()=>[...t].filter(n=>n!=null),[...t])}const jt=Object.freeze({x:0,y:0});function zP(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function DW(e,t){const r=Cc(e);if(!r)return"0 0";const n={x:(r.x-t.left)/t.width*100,y:(r.y-t.top)/t.height*100};return n.x+"% "+n.y+"%"}function UP(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function AW(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function Ex(e){let{left:t,top:r,height:n,width:i}=e;return[{x:t,y:r},{x:t+i,y:r},{x:t,y:r+n},{x:t+i,y:r+n}]}function RW(e,t){if(!e||e.length===0)return null;const[r]=e;return t?r[t]:r}function Cx(e,t,r){return t===void 0&&(t=e.left),r===void 0&&(r=e.top),{x:t+e.width*.5,y:r+e.height*.5}}const C7=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=Cx(t,t.left,t.top),a=[];for(const o of n){const{id:l}=o,s=r.get(l);if(s){const u=zP(Cx(s),i);a.push({id:l,data:{droppableContainer:o,value:u}})}}return a.sort(UP)},O7=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=Ex(t),a=[];for(const o of n){const{id:l}=o,s=r.get(l);if(s){const u=Ex(s),c=i.reduce((d,p,h)=>d+zP(u[h],p),0),f=Number((c/4).toFixed(4));a.push({id:l,data:{droppableContainer:o,value:f}})}}return a.sort(UP)};function TW(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-n,l=a-r;if(n<i&&r<a){const s=t.width*t.height,u=e.width*e.height,c=o*l,f=c/(s+u-c);return Number(f.toFixed(4))}return 0}const kW=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=[];for(const a of n){const{id:o}=a,l=r.get(o);if(l){const s=TW(l,t);s>0&&i.push({id:o,data:{droppableContainer:a,value:s}})}}return i.sort(AW)};function _W(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function WP(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:jt}function NW(e){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return i.reduce((o,l)=>({...o,top:o.top+e*l.y,bottom:o.bottom+e*l.y,left:o.left+e*l.x,right:o.right+e*l.x}),{...r})}}const MW=NW(1);function HP(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function $W(e,t,r){const n=HP(t);if(!n)return e;const{scaleX:i,scaleY:a,x:o,y:l}=n,s=e.left-o-(1-i)*parseFloat(r),u=e.top-l-(1-a)*parseFloat(r.slice(r.indexOf(" ")+1)),c=i?e.width/i:e.width,f=a?e.height/a:e.height;return{width:c,height:f,top:u,right:s+c,bottom:u+f,left:s}}const LW={ignoreTransform:!1};function Oa(e,t){t===void 0&&(t=LW);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:u}=Qe(e),{transform:c,transformOrigin:f}=u(e);c&&(r=$W(r,c,f))}const{top:n,left:i,width:a,height:o,bottom:l,right:s}=r;return{top:n,left:i,width:a,height:o,bottom:l,right:s}}function Ox(e){return Oa(e,{ignoreTransform:!0})}function FW(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function BW(e,t){return t===void 0&&(t=Qe(e).getComputedStyle(e)),t.position==="fixed"}function jW(e,t){t===void 0&&(t=Qe(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const a=t[i];return typeof a=="string"?r.test(a):!1})}function Ty(e,t){const r=[];function n(i){if(t!=null&&r.length>=t||!i)return r;if(Ry(i)&&i.scrollingElement!=null&&!r.includes(i.scrollingElement))return r.push(i.scrollingElement),r;if(!zl(i)||pW(i)||r.includes(i))return r;const{getComputedStyle:a}=Qe(i),o=a(i);return i!==e&&jW(i,o)&&r.push(i),BW(i,o)?r:n(i.parentNode)}return e?n(e):r}function GP(e){const[t]=Ty(e,1);return t??null}function Zp(e){return!If||!e?null:Ea(e)?e:Ay(e)?Ry(e)||e===Ca(e).scrollingElement?window:zl(e)?e:null:null}function qP(e){return Ea(e)?e.scrollX:e.scrollLeft}function VP(e){return Ea(e)?e.scrollY:e.scrollTop}function sm(e){return{x:qP(e),y:VP(e)}}var Re;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Re||(Re={}));function YP(e){return!If||!e?!1:e===document.scrollingElement}function KP(e){const t={x:0,y:0},r=YP(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},i=e.scrollTop<=t.y,a=e.scrollLeft<=t.x,o=e.scrollTop>=n.y,l=e.scrollLeft>=n.x;return{isTop:i,isLeft:a,isBottom:o,isRight:l,maxScroll:n,minScroll:t}}const zW={x:.2,y:.2};function UW(e,t,r,n,i){let{top:a,left:o,right:l,bottom:s}=r;n===void 0&&(n=10),i===void 0&&(i=zW);const{isTop:u,isBottom:c,isLeft:f,isRight:d}=KP(e),p={x:0,y:0},h={x:0,y:0},w={height:t.height*i.y,width:t.width*i.x};return!u&&a<=t.top+w.height?(p.y=Re.Backward,h.y=n*Math.abs((t.top+w.height-a)/w.height)):!c&&s>=t.bottom-w.height&&(p.y=Re.Forward,h.y=n*Math.abs((t.bottom-w.height-s)/w.height)),!d&&l>=t.right-w.width?(p.x=Re.Forward,h.x=n*Math.abs((t.right-w.width-l)/w.width)):!f&&o<=t.left+w.width&&(p.x=Re.Backward,h.x=n*Math.abs((t.left+w.width-o)/w.width)),{direction:p,speed:h}}function WW(e){if(e===document.scrollingElement){const{innerWidth:a,innerHeight:o}=window;return{top:0,left:0,right:a,bottom:o,width:a,height:o}}const{top:t,left:r,right:n,bottom:i}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:i,width:e.clientWidth,height:e.clientHeight}}function XP(e){return e.reduce((t,r)=>qi(t,sm(r)),jt)}function HW(e){return e.reduce((t,r)=>t+qP(r),0)}function GW(e){return e.reduce((t,r)=>t+VP(r),0)}function QP(e,t){if(t===void 0&&(t=Oa),!e)return;const{top:r,left:n,bottom:i,right:a}=t(e);GP(e)&&(i<=0||a<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const qW=[["x",["left","right"],HW],["y",["top","bottom"],GW]];class ky{constructor(t,r){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;const n=Ty(r),i=XP(n);this.rect={...t},this.width=t.width,this.height=t.height;for(const[a,o,l]of qW)for(const s of o)Object.defineProperty(this,s,{get:()=>{const u=l(n),c=i[a]-u;return this.rect[s]+c},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ro{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=t}add(t,r,n){var i;(i=this.target)==null||i.addEventListener(t,r,n),this.listeners.push([t,r,n])}}function VW(e){const{EventTarget:t}=Qe(e);return e instanceof t?e:Ca(e)}function ev(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return typeof t=="number"?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t?n>t.y:!1}var bt;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(bt||(bt={}));function Ix(e){e.preventDefault()}function YW(e){e.stopPropagation()}var ie;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(ie||(ie={}));const JP={start:[ie.Space,ie.Enter],cancel:[ie.Esc],end:[ie.Space,ie.Enter]},KW=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case ie.Right:return{...r,x:r.x+25};case ie.Left:return{...r,x:r.x-25};case ie.Down:return{...r,y:r.y+25};case ie.Up:return{...r,y:r.y-25}}};class ZP{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new Ro(Ca(r)),this.windowListeners=new Ro(Qe(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(bt.Resize,this.handleCancel),this.windowListeners.add(bt.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(bt.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,n=t.node.current;n&&QP(n),r(jt)}handleKeyDown(t){if(Df(t)){const{active:r,context:n,options:i}=this.props,{keyboardCodes:a=JP,coordinateGetter:o=KW,scrollBehavior:l="smooth"}=i,{code:s}=t;if(a.end.includes(s)){this.handleEnd(t);return}if(a.cancel.includes(s)){this.handleCancel(t);return}const{collisionRect:u}=n.current,c=u?{x:u.left,y:u.top}:jt;this.referenceCoordinates||(this.referenceCoordinates=c);const f=o(t,{active:r,context:n.current,currentCoordinates:c});if(f){const d=Ec(f,c),p={x:0,y:0},{scrollableAncestors:h}=n.current;for(const w of h){const v=t.code,{isTop:g,isRight:m,isLeft:y,isBottom:b,maxScroll:x,minScroll:S}=KP(w),E=WW(w),O={x:Math.min(v===ie.Right?E.right-E.width/2:E.right,Math.max(v===ie.Right?E.left:E.left+E.width/2,f.x)),y:Math.min(v===ie.Down?E.bottom-E.height/2:E.bottom,Math.max(v===ie.Down?E.top:E.top+E.height/2,f.y))},I=v===ie.Right&&!m||v===ie.Left&&!y,T=v===ie.Down&&!b||v===ie.Up&&!g;if(I&&O.x!==f.x){const _=w.scrollLeft+d.x,H=v===ie.Right&&_<=x.x||v===ie.Left&&_>=S.x;if(H&&!d.y){w.scrollTo({left:_,behavior:l});return}H?p.x=w.scrollLeft-_:p.x=v===ie.Right?w.scrollLeft-x.x:w.scrollLeft-S.x,p.x&&w.scrollBy({left:-p.x,behavior:l});break}else if(T&&O.y!==f.y){const _=w.scrollTop+d.y,H=v===ie.Down&&_<=x.y||v===ie.Up&&_>=S.y;if(H&&!d.x){w.scrollTo({top:_,behavior:l});return}H?p.y=w.scrollTop-_:p.y=v===ie.Down?w.scrollTop-x.y:w.scrollTop-S.y,p.y&&w.scrollBy({top:-p.y,behavior:l});break}}this.handleMove(t,qi(Ec(f,this.referenceCoordinates),p))}}}handleMove(t,r){const{onMove:n}=this.props;t.preventDefault(),n(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}ZP.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=JP,onActivation:i}=t,{active:a}=r;const{code:o}=e.nativeEvent;if(n.start.includes(o)){const l=a.activatorNode.current;return l&&e.target!==l?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function Px(e){return!!(e&&"distance"in e)}function Dx(e){return!!(e&&"delay"in e)}class _y{constructor(t,r,n){var i;n===void 0&&(n=VW(t.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=t,this.events=r;const{event:a}=t,{target:o}=a;this.props=t,this.events=r,this.document=Ca(o),this.documentListeners=new Ro(this.document),this.listeners=new Ro(n),this.windowListeners=new Ro(Qe(o)),this.initialCoordinates=(i=Cc(a))!=null?i:jt,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(){const{events:t,props:{options:{activationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(bt.Resize,this.handleCancel),this.windowListeners.add(bt.DragStart,Ix),this.windowListeners.add(bt.VisibilityChange,this.handleCancel),this.windowListeners.add(bt.ContextMenu,Ix),this.documentListeners.add(bt.Keydown,this.handleKeydown),r){if(Px(r))return;if(Dx(r)){this.timeoutId=setTimeout(this.handleStart,r.delay);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(bt.Click,YW,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(bt.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:n,initialCoordinates:i,props:a}=this,{onMove:o,options:{activationConstraint:l}}=a;if(!i)return;const s=(r=Cc(t))!=null?r:jt,u=Ec(i,s);if(!n&&l){if(Dx(l))return ev(u,l.tolerance)?this.handleCancel():void 0;if(Px(l))return l.tolerance!=null&&ev(u,l.tolerance)?this.handleCancel():ev(u,l.distance)?this.handleStart():void 0}t.cancelable&&t.preventDefault(),o(s)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===ie.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const XW={move:{name:"pointermove"},end:{name:"pointerup"}};class eD extends _y{constructor(t){const{event:r}=t,n=Ca(r.target);super(t,XW,n)}}eD.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!r.isPrimary||r.button!==0?!1:(n==null||n({event:r}),!0)}}];const QW={move:{name:"mousemove"},end:{name:"mouseup"}};var um;(function(e){e[e.RightClick=2]="RightClick"})(um||(um={}));class JW extends _y{constructor(t){super(t,QW,Ca(t.event.target))}}JW.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button===um.RightClick?!1:(n==null||n({event:r}),!0)}}];const tv={move:{name:"touchmove"},end:{name:"touchend"}};class ZW extends _y{constructor(t){super(t,tv)}static setup(){return window.addEventListener(tv.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(tv.move.name,t)};function t(){}}}ZW.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:i}=r;return i.length>1?!1:(n==null||n({event:r}),!0)}}];var To;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(To||(To={}));var Ic;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Ic||(Ic={}));function e9(e){let{acceleration:t,activator:r=To.Pointer,canScroll:n,draggingRect:i,enabled:a,interval:o=5,order:l=Ic.TreeOrder,pointerCoordinates:s,scrollableAncestors:u,scrollableAncestorRects:c,delta:f,threshold:d}=e;const p=r9({delta:f,disabled:!a}),[h,w]=vW(),v=C.useRef({x:0,y:0}),g=C.useRef({x:0,y:0}),m=C.useMemo(()=>{switch(r){case To.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case To.DraggableRect:return i}},[r,i,s]),y=C.useRef(null),b=C.useCallback(()=>{const S=y.current;if(!S)return;const E=v.current.x*g.current.x,O=v.current.y*g.current.y;S.scrollBy(E,O)},[]),x=C.useMemo(()=>l===Ic.TreeOrder?[...u].reverse():u,[l,u]);C.useEffect(()=>{if(!a||!u.length||!m){w();return}for(const S of x){if((n==null?void 0:n(S))===!1)continue;const E=u.indexOf(S),O=c[E];if(!O)continue;const{direction:I,speed:T}=UW(S,O,m,t,d);for(const _ of["x","y"])p[_][I[_]]||(T[_]=0,I[_]=0);if(T.x>0||T.y>0){w(),y.current=S,h(b,o),v.current=T,g.current=I;return}}v.current={x:0,y:0},g.current={x:0,y:0},w()},[t,b,n,w,a,o,JSON.stringify(m),JSON.stringify(p),h,u,x,c,JSON.stringify(d)])}const t9={x:{[Re.Backward]:!1,[Re.Forward]:!1},y:{[Re.Backward]:!1,[Re.Forward]:!1}};function r9(e){let{delta:t,disabled:r}=e;const n=xc(t);return Ul(i=>{if(r||!n||!i)return t9;const a={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[Re.Backward]:i.x[Re.Backward]||a.x===-1,[Re.Forward]:i.x[Re.Forward]||a.x===1},y:{[Re.Backward]:i.y[Re.Backward]||a.y===-1,[Re.Forward]:i.y[Re.Forward]||a.y===1}}},[r,t,n])}function n9(e,t){const r=t!==null?e.get(t):void 0,n=r?r.node.current:null;return Ul(i=>{var a;return t===null?null:(a=n??i)!=null?a:null},[n,t])}function i9(e,t){return C.useMemo(()=>e.reduce((r,n)=>{const{sensor:i}=n,a=i.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,n)}));return[...r,...a]},[]),[e,t])}var cl;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(cl||(cl={}));var cm;(function(e){e.Optimized="optimized"})(cm||(cm={}));const Ax=new Map;function a9(e,t){let{dragging:r,dependencies:n,config:i}=t;const[a,o]=C.useState(null),l=a!=null,{frequency:s,measure:u,strategy:c}=i,f=C.useRef(e),d=g(),p=ul(d),h=C.useCallback(function(m){m===void 0&&(m=[]),!p.current&&o(y=>y?y.concat(m):m)},[p]),w=C.useRef(null),v=Ul(m=>{if(d&&!r)return Ax;const y=a;if(!m||m===Ax||f.current!==e||y!=null){const b=new Map;for(let x of e){if(!x)continue;if(y&&y.length>0&&!y.includes(x.id)&&x.rect.current){b.set(x.id,x.rect.current);continue}const S=x.node.current,E=S?new ky(u(S),S):null;x.rect.current=E,E&&b.set(x.id,E)}return b}return m},[e,a,r,d,u]);return C.useEffect(()=>{f.current=e},[e]),C.useEffect(()=>{d||requestAnimationFrame(()=>h())},[r,d]),C.useEffect(()=>{l&&o(null)},[l]),C.useEffect(()=>{d||typeof s!="number"||w.current!==null||(w.current=setTimeout(()=>{h(),w.current=null},s))},[s,d,h,...n]),{droppableRects:v,measureDroppableContainers:h,measuringScheduled:l};function g(){switch(c){case cl.Always:return!1;case cl.BeforeDragging:return r;default:return!r}}}function Ny(e,t){return Ul(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function o9(e,t){return Ny(e,t)}function l9(e){let{callback:t,disabled:r}=e;const n=Pf(t),i=C.useMemo(()=>{if(r||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:a}=window;return new a(n)},[n,r]);return C.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Af(e){let{callback:t,disabled:r}=e;const n=Pf(t),i=C.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:a}=window;return new a(n)},[r]);return C.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function s9(e){return new ky(Oa(e),e)}function Rx(e,t,r){t===void 0&&(t=s9);const[n,i]=C.useReducer(l,null),a=l9({callback(s){if(e)for(const u of s){const{type:c,target:f}=u;if(c==="childList"&&f instanceof HTMLElement&&f.contains(e)){i();break}}}}),o=Af({callback:i});return At(()=>{i(),e?(o==null||o.observe(e),a==null||a.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),a==null||a.disconnect())},[e]),n;function l(s){if(!e)return null;if(e.isConnected===!1){var u;return(u=s??r)!=null?u:null}const c=t(e);return JSON.stringify(s)===JSON.stringify(c)?s:c}}function u9(e){const t=Ny(e);return WP(e,t)}const Tx=[];function c9(e){const t=C.useRef(e),r=Ul(n=>e?n&&n!==Tx&&e&&t.current&&e.parentNode===t.current.parentNode?n:Ty(e):Tx,[e]);return C.useEffect(()=>{t.current=e},[e]),r}function f9(e){const[t,r]=C.useState(null),n=C.useRef(e),i=C.useCallback(a=>{const o=Zp(a.target);o&&r(l=>l?(l.set(o,sm(o)),new Map(l)):null)},[]);return C.useEffect(()=>{const a=n.current;if(e!==a){o(a);const l=e.map(s=>{const u=Zp(s);return u?(u.addEventListener("scroll",i,{passive:!0}),[u,sm(u)]):null}).filter(s=>s!=null);r(l.length?new Map(l):null),n.current=e}return()=>{o(e),o(a)};function o(l){l.forEach(s=>{const u=Zp(s);u==null||u.removeEventListener("scroll",i)})}},[i,e]),C.useMemo(()=>e.length?t?Array.from(t.values()).reduce((a,o)=>qi(a,o),jt):XP(e):jt,[e,t])}function kx(e,t){t===void 0&&(t=[]);const r=C.useRef(null);return C.useEffect(()=>{r.current=null},t),C.useEffect(()=>{const n=e!==jt;n&&!r.current&&(r.current=e),!n&&r.current&&(r.current=null)},[e]),r.current?Ec(e,r.current):jt}function d9(e){C.useEffect(()=>{if(!If)return;const t=e.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function p9(e,t){return C.useMemo(()=>e.reduce((r,n)=>{let{eventName:i,handler:a}=n;return r[i]=o=>{a(o,t)},r},{}),[e,t])}function tD(e){return C.useMemo(()=>e?FW(e):null,[e])}const rv=[];function v9(e,t){t===void 0&&(t=Oa);const[r]=e,n=tD(r?Qe(r):null),[i,a]=C.useReducer(l,rv),o=Af({callback:a});return e.length>0&&i===rv&&a(),At(()=>{e.length?e.forEach(s=>o==null?void 0:o.observe(s)):(o==null||o.disconnect(),a())},[e]),i;function l(){return e.length?e.map(s=>YP(s)?n:new ky(t(s),s)):rv}}function rD(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return zl(t)?t:e}function g9(e){let{measure:t}=e;const[r,n]=C.useState(null),i=C.useCallback(u=>{for(const{target:c}of u)if(zl(c)){n(f=>{const d=t(c);return f?{...f,width:d.width,height:d.height}:d});break}},[t]),a=Af({callback:i}),o=C.useCallback(u=>{const c=rD(u);a==null||a.disconnect(),c&&(a==null||a.observe(c)),n(c?t(c):null)},[t,a]),[l,s]=Sc(o);return C.useMemo(()=>({nodeRef:l,rect:r,setRef:s}),[r,l,s])}const m9=[{sensor:eD,options:{}},{sensor:ZP,options:{}}],h9={current:{}},au={draggable:{measure:Ox},droppable:{measure:Ox,strategy:cl.WhileDragging,frequency:cm.Optimized},dragOverlay:{measure:Oa}};class ko extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,n;return(r=(n=this.get(t))==null?void 0:n.node.current)!=null?r:void 0}}const y9={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new ko,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Oc},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:au,measureDroppableContainers:Oc,windowRect:null,measuringScheduled:!1},nD={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Oc,draggableNodes:new Map,over:null,measureDroppableContainers:Oc},Hl=C.createContext(nD),iD=C.createContext(y9);function b9(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new ko}}}function w9(e,t){switch(t.type){case Oe.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Oe.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Oe.DragEnd:case Oe.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Oe.RegisterDroppable:{const{element:r}=t,{id:n}=r,i=new ko(e.droppable.containers);return i.set(n,r),{...e,droppable:{...e.droppable,containers:i}}}case Oe.SetDroppableDisabled:{const{id:r,key:n,disabled:i}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new ko(e.droppable.containers);return o.set(r,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case Oe.UnregisterDroppable:{const{id:r,key:n}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const a=new ko(e.droppable.containers);return a.delete(r),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function S9(e){let{disabled:t}=e;const{active:r,activatorEvent:n,draggableNodes:i}=C.useContext(Hl),a=xc(n),o=xc(r==null?void 0:r.id);return C.useEffect(()=>{if(!t&&!n&&a&&o!=null){if(!Df(a)||document.activeElement===a.target)return;const l=i.get(o);if(!l)return;const{activatorNode:s,node:u}=l;if(!s.current&&!u.current)return;requestAnimationFrame(()=>{for(const c of[s.current,u.current]){if(!c)continue;const f=hW(c);if(f){f.focus();break}}})}},[n,t,i,o,a]),null}function aD(e,t){let{transform:r,...n}=t;return e!=null&&e.length?e.reduce((i,a)=>a({transform:i,...n}),r):r}function x9(e){return C.useMemo(()=>({draggable:{...au.draggable,...e==null?void 0:e.draggable},droppable:{...au.droppable,...e==null?void 0:e.droppable},dragOverlay:{...au.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function E9(e){let{activeNode:t,measure:r,initialRect:n,config:i=!0}=e;const a=C.useRef(!1),{x:o,y:l}=typeof i=="boolean"?{x:i,y:i}:i;At(()=>{if(!o&&!l||!t){a.current=!1;return}if(a.current||!n)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const c=r(u),f=WP(c,n);if(o||(f.x=0),l||(f.y=0),a.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const d=GP(u);d&&d.scrollBy({top:f.y,left:f.x})}},[t,o,l,n,r])}const Rf=C.createContext({...jt,scaleX:1,scaleY:1});var Nr;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Nr||(Nr={}));const I7=C.memo(function(t){var r,n,i,a;let{id:o,accessibility:l,autoScroll:s=!0,children:u,sensors:c=m9,collisionDetection:f=kW,measuring:d,modifiers:p,...h}=t;const w=C.useReducer(w9,void 0,b9),[v,g]=w,[m,y]=CW(),[b,x]=C.useState(Nr.Uninitialized),S=b===Nr.Initialized,{draggable:{active:E,nodes:O,translate:I},droppable:{containers:T}}=v,_=E?O.get(E):null,H=C.useRef({initial:null,translated:null}),z=C.useMemo(()=>{var Me;return E!=null?{id:E,data:(Me=_==null?void 0:_.data)!=null?Me:h9,rect:H}:null},[E,_]),G=C.useRef(null),[Y,Q]=C.useState(null),[ee,oe]=C.useState(null),le=ul(h,Object.values(h)),ce=Wl("DndDescribedBy",o),P=C.useMemo(()=>T.getEnabled(),[T]),k=x9(d),{droppableRects:U,measureDroppableContainers:K,measuringScheduled:V}=a9(P,{dragging:S,dependencies:[I.x,I.y],config:k.droppable}),se=n9(O,E),Ne=C.useMemo(()=>ee?Cc(ee):null,[ee]),Ce=bD(),xe=o9(se,k.draggable.measure);E9({activeNode:E?O.get(E):null,config:Ce.layoutShiftCompensation,initialRect:xe,measure:k.draggable.measure});const J=Rx(se,k.draggable.measure,xe),ir=Rx(se?se.parentElement:null),it=C.useRef({activatorEvent:null,active:null,activeNode:se,collisionRect:null,collisions:null,droppableRects:U,draggableNodes:O,draggingNode:null,draggingNodeRect:null,droppableContainers:T,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Wt=T.getNodeFor((r=it.current.over)==null?void 0:r.id),Je=g9({measure:k.dragOverlay.measure}),ar=(n=Je.nodeRef.current)!=null?n:se,Ht=S?(i=Je.rect)!=null?i:J:null,ii=!!(Je.nodeRef.current&&Je.rect),Gl=u9(ii?null:J),or=tD(ar?Qe(ar):null),gt=c9(S?Wt??se:null),ql=v9(gt),Vl=aD(p,{transform:{x:I.x-Gl.x,y:I.y-Gl.y,scaleX:1,scaleY:1},activatorEvent:ee,active:z,activeNodeRect:J,containerNodeRect:ir,draggingNodeRect:Ht,over:it.current.over,overlayNodeRect:Je.rect,scrollableAncestors:gt,scrollableAncestorRects:ql,windowRect:or}),My=Ne?qi(Ne,I):null,$y=f9(gt),dD=kx($y),pD=kx($y,[J]),ai=qi(Vl,dD),oi=Ht?MW(Ht,Vl):null,Ia=z&&oi?f({active:z,collisionRect:oi,droppableRects:U,droppableContainers:P,pointerCoordinates:My}):null,Ly=RW(Ia,"id"),[Or,Fy]=C.useState(null),vD=ii?Vl:qi(Vl,pD),gD=_W(vD,(a=Or==null?void 0:Or.rect)!=null?a:null,J),By=C.useCallback((Me,at)=>{let{sensor:ot,options:Ir}=at;if(G.current==null)return;const mt=O.get(G.current);if(!mt)return;const Tt=Me.nativeEvent,Gt=new ot({active:G.current,activeNode:mt,event:Tt,options:Ir,context:it,onStart(kt){const Pa=G.current;if(Pa==null)return;const Da=O.get(Pa);if(!Da)return;const{onDragStart:Yl}=le.current,Kl={active:{id:Pa,data:Da.data,rect:H}};fr.unstable_batchedUpdates(()=>{Yl==null||Yl(Kl),x(Nr.Initializing),g({type:Oe.DragStart,initialCoordinates:kt,active:Pa}),m({type:"onDragStart",event:Kl})})},onMove(kt){g({type:Oe.DragMove,coordinates:kt})},onEnd:li(Oe.DragEnd),onCancel:li(Oe.DragCancel)});fr.unstable_batchedUpdates(()=>{Q(Gt),oe(Me.nativeEvent)});function li(kt){return async function(){const{active:Da,collisions:Yl,over:Kl,scrollAdjustedTranslate:zy}=it.current;let Aa=null;if(Da&&zy){const{cancelDrop:Ra}=le.current;Aa={activatorEvent:Tt,active:Da,collisions:Yl,delta:zy,over:Kl},kt===Oe.DragEnd&&typeof Ra=="function"&&await Promise.resolve(Ra(Aa))&&(kt=Oe.DragCancel)}G.current=null,fr.unstable_batchedUpdates(()=>{g({type:kt}),x(Nr.Uninitialized),Fy(null),Q(null),oe(null);const Ra=kt===Oe.DragEnd?"onDragEnd":"onDragCancel";if(Aa){const Tf=le.current[Ra];Tf==null||Tf(Aa),m({type:Ra,event:Aa})}})}}},[O]),mD=C.useCallback((Me,at)=>(ot,Ir)=>{const mt=ot.nativeEvent,Tt=O.get(Ir);if(G.current!==null||!Tt||mt.dndKit||mt.defaultPrevented)return;const Gt={active:Tt};Me(ot,at.options,Gt)===!0&&(mt.dndKit={capturedBy:at.sensor},G.current=Ir,By(ot,at))},[O,By]),jy=i9(c,mD);d9(c),At(()=>{J&&b===Nr.Initializing&&x(Nr.Initialized)},[J,b]),C.useEffect(()=>{const{onDragMove:Me}=le.current,{active:at,activatorEvent:ot,collisions:Ir,over:mt}=it.current;if(!at||!ot)return;const Tt={active:at,activatorEvent:ot,collisions:Ir,delta:{x:ai.x,y:ai.y},over:mt};fr.unstable_batchedUpdates(()=>{Me==null||Me(Tt),m({type:"onDragMove",event:Tt})})},[ai.x,ai.y]),C.useEffect(()=>{const{active:Me,activatorEvent:at,collisions:ot,droppableContainers:Ir,scrollAdjustedTranslate:mt}=it.current;if(!Me||G.current==null||!at||!mt)return;const{onDragOver:Tt}=le.current,Gt=Ir.get(Ly),li=Gt&&Gt.rect.current?{id:Gt.id,rect:Gt.rect.current,data:Gt.data,disabled:Gt.disabled}:null,kt={active:Me,activatorEvent:at,collisions:ot,delta:{x:mt.x,y:mt.y},over:li};fr.unstable_batchedUpdates(()=>{Fy(li),Tt==null||Tt(kt),m({type:"onDragOver",event:kt})})},[Ly]),At(()=>{it.current={activatorEvent:ee,active:z,activeNode:se,collisionRect:oi,collisions:Ia,droppableRects:U,draggableNodes:O,draggingNode:ar,draggingNodeRect:Ht,droppableContainers:T,over:Or,scrollableAncestors:gt,scrollAdjustedTranslate:ai},H.current={initial:Ht,translated:oi}},[z,se,Ia,oi,O,ar,Ht,U,T,Or,gt,ai]),e9({...Ce,delta:I,draggingRect:oi,pointerCoordinates:My,scrollableAncestors:gt,scrollableAncestorRects:ql});const hD=C.useMemo(()=>({active:z,activeNode:se,activeNodeRect:J,activatorEvent:ee,collisions:Ia,containerNodeRect:ir,dragOverlay:Je,draggableNodes:O,droppableContainers:T,droppableRects:U,over:Or,measureDroppableContainers:K,scrollableAncestors:gt,scrollableAncestorRects:ql,measuringConfiguration:k,measuringScheduled:V,windowRect:or}),[z,se,J,ee,Ia,ir,Je,O,T,U,Or,K,gt,ql,k,V,or]),yD=C.useMemo(()=>({activatorEvent:ee,activators:jy,active:z,activeNodeRect:J,ariaDescribedById:{draggable:ce},dispatch:g,draggableNodes:O,over:Or,measureDroppableContainers:K}),[ee,jy,z,J,g,ce,O,Or,K]);return F.createElement(jP.Provider,{value:y},F.createElement(Hl.Provider,{value:yD},F.createElement(iD.Provider,{value:hD},F.createElement(Rf.Provider,{value:gD},u)),F.createElement(S9,{disabled:(l==null?void 0:l.restoreFocus)===!1})),F.createElement(PW,{...l,hiddenTextDescribedById:ce}));function bD(){const Me=(Y==null?void 0:Y.autoScrollEnabled)===!1,at=typeof s=="object"?s.enabled===!1:s===!1,ot=S&&!Me&&!at;return typeof s=="object"?{...s,enabled:ot}:{enabled:ot}}}),C9=C.createContext(null),_x="button",O9="Droppable";function I9(e){let{id:t,data:r,disabled:n=!1,attributes:i}=e;const a=Wl(O9),{activators:o,activatorEvent:l,active:s,activeNodeRect:u,ariaDescribedById:c,draggableNodes:f,over:d}=C.useContext(Hl),{role:p=_x,roleDescription:h="draggable",tabIndex:w=0}=i??{},v=(s==null?void 0:s.id)===t,g=C.useContext(v?Rf:C9),[m,y]=Sc(),[b,x]=Sc(),S=p9(o,t),E=ul(r);At(()=>(f.set(t,{id:t,key:a,node:m,activatorNode:b,data:E}),()=>{const I=f.get(t);I&&I.key===a&&f.delete(t)}),[f,t]);const O=C.useMemo(()=>({role:p,tabIndex:w,"aria-disabled":n,"aria-pressed":v&&p===_x?!0:void 0,"aria-roledescription":h,"aria-describedby":c.draggable}),[n,p,w,v,h,c.draggable]);return{active:s,activatorEvent:l,activeNodeRect:u,attributes:O,isDragging:v,listeners:n?void 0:S,node:m,over:d,setNodeRef:y,setActivatorNodeRef:x,transform:g}}function oD(){return C.useContext(iD)}const P9="Droppable",D9={timeout:25};function A9(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:i}=e;const a=Wl(P9),{active:o,dispatch:l,over:s,measureDroppableContainers:u}=C.useContext(Hl),c=C.useRef({disabled:r}),f=C.useRef(!1),d=C.useRef(null),p=C.useRef(null),{disabled:h,updateMeasurementsFor:w,timeout:v}={...D9,...i},g=ul(w??n),m=C.useCallback(()=>{if(!f.current){f.current=!0;return}p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(g.current)?g.current:[g.current]),p.current=null},v)},[v]),y=Af({callback:m,disabled:h||!o}),b=C.useCallback((O,I)=>{y&&(I&&(y.unobserve(I),f.current=!1),O&&y.observe(O))},[y]),[x,S]=Sc(b),E=ul(t);return C.useEffect(()=>{!y||!x.current||(y.disconnect(),f.current=!1,y.observe(x.current))},[x,y]),At(()=>(l({type:Oe.RegisterDroppable,element:{id:n,key:a,disabled:r,node:x,rect:d,data:E}}),()=>l({type:Oe.UnregisterDroppable,key:a,id:n})),[n]),C.useEffect(()=>{r!==c.current.disabled&&(l({type:Oe.SetDroppableDisabled,id:n,key:a,disabled:r}),c.current.disabled=r)},[n,a,r,l]),{active:o,rect:d,isOver:(s==null?void 0:s.id)===n,node:x,over:s,setNodeRef:S}}function R9(e){let{animation:t,children:r}=e;const[n,i]=C.useState(null),[a,o]=C.useState(null),l=xc(r);return!r&&!n&&l&&i(l),At(()=>{if(!a)return;const s=n==null?void 0:n.key,u=n==null?void 0:n.props.id;if(s==null||u==null){i(null);return}Promise.resolve(t(u,a)).then(()=>{i(null)})},[t,n,a]),F.createElement(F.Fragment,null,r,n?C.cloneElement(n,{ref:o}):null)}const T9={x:0,y:0,scaleX:1,scaleY:1};function k9(e){let{children:t}=e;return F.createElement(Hl.Provider,{value:nD},F.createElement(Rf.Provider,{value:T9},t))}const _9={position:"fixed",touchAction:"none"},N9=e=>Df(e)?"transform 250ms ease":void 0,M9=C.forwardRef((e,t)=>{let{as:r,activatorEvent:n,adjustScale:i,children:a,className:o,rect:l,style:s,transform:u,transition:c=N9}=e;if(!l)return null;const f=i?u:{...u,scaleX:1,scaleY:1},d={..._9,width:l.width,height:l.height,top:l.top,left:l.left,transform:Vn.Transform.toString(f),transformOrigin:i&&n?DW(n,l):void 0,transition:typeof c=="function"?c(n):c,...s};return F.createElement(r,{className:o,style:d,ref:t},a)}),$9=e=>t=>{let{active:r,dragOverlay:n}=t;const i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(const[l,s]of Object.entries(a.active))s!==void 0&&(i[l]=r.node.style.getPropertyValue(l),r.node.style.setProperty(l,s));if(a!=null&&a.dragOverlay)for(const[l,s]of Object.entries(a.dragOverlay))s!==void 0&&n.node.style.setProperty(l,s);return o!=null&&o.active&&r.node.classList.add(o.active),o!=null&&o.dragOverlay&&n.node.classList.add(o.dragOverlay),function(){for(const[s,u]of Object.entries(i))r.node.style.setProperty(s,u);o!=null&&o.active&&r.node.classList.remove(o.active)}},L9=e=>{let{transform:{initial:t,final:r}}=e;return[{transform:Vn.Transform.toString(t)},{transform:Vn.Transform.toString(r)}]},F9={duration:250,easing:"ease",keyframes:L9,sideEffects:$9({styles:{active:{opacity:"0"}}})};function B9(e){let{config:t,draggableNodes:r,droppableContainers:n,measuringConfiguration:i}=e;return Pf((a,o)=>{if(t===null)return;const l=r.get(a);if(!l)return;const s=l.node.current;if(!s)return;const u=rD(o);if(!u)return;const{transform:c}=Qe(o).getComputedStyle(o),f=HP(c);if(!f)return;const d=typeof t=="function"?t:j9(t);return QP(s,i.draggable.measure),d({active:{id:a,data:l.data,node:s,rect:i.draggable.measure(s)},draggableNodes:r,dragOverlay:{node:o,rect:i.dragOverlay.measure(u)},droppableContainers:n,measuringConfiguration:i,transform:f})})}function j9(e){const{duration:t,easing:r,sideEffects:n,keyframes:i}={...F9,...e};return a=>{let{active:o,dragOverlay:l,transform:s,...u}=a;if(!t)return;const c={x:l.rect.left-o.rect.left,y:l.rect.top-o.rect.top},f={scaleX:s.scaleX!==1?o.rect.width*s.scaleX/l.rect.width:1,scaleY:s.scaleY!==1?o.rect.height*s.scaleY/l.rect.height:1},d={x:s.x-c.x,y:s.y-c.y,...f},p=i({...u,active:o,dragOverlay:l,transform:{initial:s,final:d}}),[h]=p,w=p[p.length-1];if(JSON.stringify(h)===JSON.stringify(w))return;const v=n==null?void 0:n({active:o,dragOverlay:l,...u}),g=l.node.animate(p,{duration:t,easing:r,fill:"forwards"});return new Promise(m=>{g.onfinish=()=>{v==null||v(),m()}})}}let Nx=0;function z9(e){return C.useMemo(()=>{if(e!=null)return Nx++,Nx},[e])}const P7=F.memo(e=>{let{adjustScale:t=!1,children:r,dropAnimation:n,style:i,transition:a,modifiers:o,wrapperElement:l="div",className:s,zIndex:u=999}=e;const{activatorEvent:c,active:f,activeNodeRect:d,containerNodeRect:p,draggableNodes:h,droppableContainers:w,dragOverlay:v,over:g,measuringConfiguration:m,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:x}=oD(),S=C.useContext(Rf),E=z9(f==null?void 0:f.id),O=aD(o,{activatorEvent:c,active:f,activeNodeRect:d,containerNodeRect:p,draggingNodeRect:v.rect,over:g,overlayNodeRect:v.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:x}),I=Ny(d),T=B9({config:n,draggableNodes:h,droppableContainers:w,measuringConfiguration:m}),_=I?v.setRef:void 0;return F.createElement(k9,null,F.createElement(R9,{animation:T},f&&E?F.createElement(M9,{key:E,id:f.id,ref:_,as:l,activatorEvent:c,adjustScale:t,className:s,transition:a,rect:I,style:{zIndex:u,...i},transform:O},r):null))});function lD(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function U9(e,t){return e.reduce((r,n,i)=>{const a=t.get(n);return a&&(r[i]=a),r},Array(e.length))}function Ms(e){return e!==null&&e>=0}function W9(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function H9(e){return typeof e=="boolean"?{draggable:e,droppable:e}:e}const sD=e=>{let{rects:t,activeIndex:r,overIndex:n,index:i}=e;const a=lD(t,n,r),o=t[i],l=a[i];return!l||!o?null:{x:l.left-o.left,y:l.top-o.top,scaleX:l.width/o.width,scaleY:l.height/o.height}},$s={scaleX:1,scaleY:1},D7=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:i,rects:a,overIndex:o}=e;const l=(t=a[r])!=null?t:n;if(!l)return null;if(i===r){const u=a[o];return u?{x:0,y:r<o?u.top+u.height-(l.top+l.height):u.top-l.top,...$s}:null}const s=G9(a,i,r);return i>r&&i<=o?{x:0,y:-l.height-s,...$s}:i<r&&i>=o?{x:0,y:l.height+s,...$s}:{x:0,y:0,...$s}};function G9(e,t,r){const n=e[t],i=e[t-1],a=e[t+1];return n?r<t?i?n.top-(i.top+i.height):a?a.top-(n.top+n.height):0:a?a.top-(n.top+n.height):i?n.top-(i.top+i.height):0:0}const uD="Sortable",cD=F.createContext({activeIndex:-1,containerId:uD,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:sD,disabled:{draggable:!1,droppable:!1}});function A7(e){let{children:t,id:r,items:n,strategy:i=sD,disabled:a=!1}=e;const{active:o,dragOverlay:l,droppableRects:s,over:u,measureDroppableContainers:c,measuringScheduled:f}=oD(),d=Wl(uD,r),p=l.rect!==null,h=C.useMemo(()=>n.map(E=>typeof E=="object"&&"id"in E?E.id:E),[n]),w=o!=null,v=o?h.indexOf(o.id):-1,g=u?h.indexOf(u.id):-1,m=C.useRef(h),y=!W9(h,m.current),b=g!==-1&&v===-1||y,x=H9(a);At(()=>{y&&w&&!f&&c(h)},[y,h,w,c,f]),C.useEffect(()=>{m.current=h},[h]);const S=C.useMemo(()=>({activeIndex:v,containerId:d,disabled:x,disableTransforms:b,items:h,overIndex:g,useDragOverlay:p,sortedRects:U9(h,s),strategy:i}),[v,d,x.draggable,x.droppable,b,h,g,s,p,i]);return F.createElement(cD.Provider,{value:S},t)}const q9=e=>{let{id:t,items:r,activeIndex:n,overIndex:i}=e;return lD(r,n,i).indexOf(t)},V9=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:i,items:a,newIndex:o,previousItems:l,previousContainerId:s,transition:u}=e;return!u||!n||l!==a&&i===o?!1:r?!0:o!==i&&t===s},Y9={duration:200,easing:"ease"},fD="transform",K9=Vn.Transition.toString({property:fD,duration:0,easing:"linear"}),X9={roleDescription:"sortable"};function Q9(e){let{disabled:t,index:r,node:n,rect:i}=e;const[a,o]=C.useState(null),l=C.useRef(r);return At(()=>{if(!t&&r!==l.current&&n.current){const s=i.current;if(s){const u=Oa(n.current,{ignoreTransform:!0}),c={x:s.left-u.left,y:s.top-u.top,scaleX:s.width/u.width,scaleY:s.height/u.height};(c.x||c.y)&&o(c)}}r!==l.current&&(l.current=r)},[t,r,n,i]),C.useEffect(()=>{a&&requestAnimationFrame(()=>{o(null)})},[a]),a}function R7(e){let{animateLayoutChanges:t=V9,attributes:r,disabled:n,data:i,getNewIndex:a=q9,id:o,strategy:l,resizeObserverConfig:s,transition:u=Y9}=e;const{items:c,containerId:f,activeIndex:d,disabled:p,disableTransforms:h,sortedRects:w,overIndex:v,useDragOverlay:g,strategy:m}=C.useContext(cD),y=J9(n,p),b=c.indexOf(o),x=C.useMemo(()=>({sortable:{containerId:f,index:b,items:c},...i}),[f,i,b,c]),S=C.useMemo(()=>c.slice(c.indexOf(o)),[c,o]),{rect:E,node:O,isOver:I,setNodeRef:T}=A9({id:o,data:x,disabled:y.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...s}}),{active:_,activatorEvent:H,activeNodeRect:z,attributes:G,setNodeRef:Y,listeners:Q,isDragging:ee,over:oe,setActivatorNodeRef:le,transform:ce}=I9({id:o,data:x,attributes:{...X9,...r},disabled:y.draggable}),P=dW(T,Y),k=!!_,U=k&&!h&&Ms(d)&&Ms(v),K=!g&&ee,V=K&&U?ce:null,Ne=U?V??(l??m)({rects:w,activeNodeRect:z,activeIndex:d,overIndex:v,index:b}):null,Ce=Ms(d)&&Ms(v)?a({id:o,items:c,activeIndex:d,overIndex:v}):b,xe=_==null?void 0:_.id,J=C.useRef({activeId:xe,items:c,newIndex:Ce,containerId:f}),ir=c!==J.current.items,it=t({active:_,containerId:f,isDragging:ee,isSorting:k,id:o,index:b,items:c,newIndex:J.current.newIndex,previousItems:J.current.items,previousContainerId:J.current.containerId,transition:u,wasDragging:J.current.activeId!=null}),Wt=Q9({disabled:!it,index:b,node:O,rect:E});return C.useEffect(()=>{k&&J.current.newIndex!==Ce&&(J.current.newIndex=Ce),f!==J.current.containerId&&(J.current.containerId=f),c!==J.current.items&&(J.current.items=c)},[k,Ce,f,c]),C.useEffect(()=>{if(xe===J.current.activeId)return;if(xe&&!J.current.activeId){J.current.activeId=xe;return}const ar=setTimeout(()=>{J.current.activeId=xe},50);return()=>clearTimeout(ar)},[xe]),{active:_,activeIndex:d,attributes:G,data:x,rect:E,index:b,newIndex:Ce,items:c,isOver:I,isSorting:k,isDragging:ee,listeners:Q,node:O,overIndex:v,over:oe,setNodeRef:P,setActivatorNodeRef:le,setDroppableNodeRef:T,setDraggableNodeRef:Y,transform:Wt??Ne,transition:Je()};function Je(){if(Wt||ir&&J.current.newIndex===b)return K9;if(!(K&&!Df(H)||!u)&&(k||it))return Vn.Transition.toString({...u,property:fD})}}function J9(e,t){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e==null?void 0:e.draggable)!=null?r:t.draggable,droppable:(n=e==null?void 0:e.droppable)!=null?n:t.droppable}}ie.Down,ie.Right,ie.Up,ie.Left;export{v7 as $,I7 as A,C7 as B,i7 as C,u7 as D,hh as E,Kc as F,D7 as G,ZP as H,S7 as I,g7 as J,ie as K,m7 as L,cl as M,l7 as N,s7 as O,X as P,$l as Q,to as R,A7 as S,h7 as T,pj as U,a7 as V,wB as W,f7 as X,d7 as Y,F as a,p7 as b,r7 as c,w7 as d,Se as e,b7 as f,n7 as g,y7 as h,c7 as i,e7 as j,lB as k,lD as l,t7 as m,O7 as n,RW as o,eD as p,Vn as q,C as r,o7 as s,oD as t,R7 as u,fr as v,P7 as w,F9 as x,E7 as y,x7 as z};
907
+ //# sourceMappingURL=vendor-6c95943d.js.map