1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d0534bf7-4d98-9d7c-4930-2038f1d44f21")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,421032,e=>{"use strict";let t,r,n,l,i,o;var a=e.i(533337),d=e.i(256974),s=e.i(122677),u=e.i(875169),c=e.i(861861),p=function(e){var t=e.top,r=e.right,n=e.bottom,l=e.left;return{top:t,right:r,bottom:n,left:l,width:r-l,height:n-t,x:l,y:t,center:{x:(r+l)/2,y:(n+t)/2}}},f=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},g=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},m={top:0,right:0,bottom:0,left:0},b=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?m:r,l=e.border,i=void 0===l?m:l,o=e.padding,a=void 0===o?m:o,d=p(f(t,n)),s=p(g(t,i)),u=p(g(s,a));return{marginBox:d,borderBox:p(t),paddingBox:s,contentBox:u,margin:n,border:i,padding:a}},h=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&(0,c.default)(!1),r},y=function(e,t){var r=e.borderBox,n=e.border,l=e.margin,i=e.padding;return b({borderBox:{top:r.top+t.y,left:r.left+t.x,bottom:r.bottom+t.y,right:r.right+t.x},border:n,margin:l,padding:i})},v=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),y(e,t)},x=function(e,t){return b({borderBox:e,margin:{top:h(t.marginTop),right:h(t.marginRight),bottom:h(t.marginBottom),left:h(t.marginLeft)},padding:{top:h(t.paddingTop),right:h(t.paddingRight),bottom:h(t.paddingBottom),left:h(t.paddingLeft)},border:{top:h(t.borderTopWidth),right:h(t.borderRightWidth),bottom:h(t.borderBottomWidth),left:h(t.borderLeftWidth)}})},I=function(e){return x(e.getBoundingClientRect(),window.getComputedStyle(e))};let D=function(e){var t=[],r=null,n=function(){for(var n=arguments.length,l=Array(n),i=0;i<n;i++)l[i]=arguments[i];t=l,r||(r=requestAnimationFrame(function(){r=null,e.apply(void 0,t)}))};return n.cancel=function(){r&&(cancelAnimationFrame(r),r=null)},n};function E(){return(E=Object.assign.bind()).apply(null,arguments)}function N(e,t){}N.bind(null,"warn");let A=N.bind(null,"error");function w(){}function P(e,t,r){let n=t.map(t=>{var n;let l=(n=t.options,{...r,...n});return e.addEventListener(t.eventName,t.fn,l),function(){e.removeEventListener(t.eventName,t.fn,l)}});return function(){n.forEach(e=>{e()})}}class C extends Error{}function S(e,t){throw new C("Invariant failed")}C.prototype.toString=function(){return this.message};class O extends a.default.Component{constructor(...e){super(...e),this.callbacks=null,this.unbind=w,this.onWindowError=e=>{let t=this.getCallbacks();t.isDragging()&&t.tryAbort(),e.error instanceof C&&e.preventDefault()},this.getCallbacks=()=>{if(!this.callbacks)throw Error("Unable to find AppCallbacks in <ErrorBoundary/>");return this.callbacks},this.setCallbacks=e=>{this.callbacks=e}}componentDidMount(){this.unbind=P(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(e){if(e instanceof C)return void this.setState({});throw e}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}}let R=` 3 Press space bar to start a drag. 4 When dragging you can use the arrow keys to move the item around and escape to cancel. 5 Some screen readers may require you to be in focus mode or to use your pass through key 6`,B=(e,t)=>{let r=e.droppableId===t.droppableId,n=e.index+1,l=t.index+1;return r?` 7 You have moved the item from position ${n} 8 to position ${l} 9 `:` 10 You have moved the item from position ${n} 11 in list ${e.droppableId} 12 to list ${t.droppableId} 13 in position ${l} 14 `},L=(e,t,r)=>t.droppableId===r.droppableId?` 15 The item ${e} 16 has been combined with ${r.draggableId}`:` 17 The item ${e} 18 in list ${t.droppableId} 19 has been combined with ${r.draggableId} 20 in list ${r.droppableId} 21 `,T=e=>` 22 The item has returned to its starting position 23 of ${e.index+1} 24`,G=e=>` 25 You have lifted an item in position ${e.source.index+1} 26`,M=e=>{let t=e.destination;if(t)return B(e.source,t);let r=e.combine;return r?L(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},_=e=>{if("CANCEL"===e.reason)return` 27 Movement cancelled. 28 ${T(e.source)} 29 `;let t=e.destination,r=e.combine;return t?` 30 You have dropped the item. 31 ${B(e.source,t)} 32 `:r?` 33 You have dropped the item. 34 ${L(e.draggableId,e.source,r)} 35 `:` 36 The item has been dropped while not over a drop area. 37 ${T(e.source)} 38 `};function $(e,t){if(e.length!==t.length)return!1;for(let l=0;l<e.length;l++){var r,n;if(!((r=e[l])===(n=t[l])||Number.isNaN(r)&&Number.isNaN(n))&&1)return!1}return!0}function F(e,t){let r=(0,a.useState)(()=>({inputs:t,result:e()}))[0],n=(0,a.useRef)(!0),l=(0,a.useRef)(r),i=n.current||t&&l.current.inputs&&$(t,l.current.inputs)?l.current:{inputs:t,result:e()};return(0,a.useEffect)(()=>{n.current=!1,l.current=i},[i]),i.result}function k(e,t){return F(()=>e,t)}let W={x:0,y:0},j=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),U=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),H=(e,t)=>e.x===t.x&&e.y===t.y,V=e=>({x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}),q=(e,t,r=0)=>"x"===e?{x:t,y:r}:{x:r,y:t},z=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),Y=(e,t)=>
38Math.min(...t.map(t=>z(e,t))),J=e=>t=>({x:e(t.x),y:e(t.y)}),K=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),X=e=>[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}];var Q=({page:e,withPlaceholder:t,axis:r,frame:n})=>{var l,i;let o=((e,t)=>{if(t&&t.shouldClipSubject){var r;let n;return r=t.pageMarginBox,(n=p({top:Math.max(e.top,r.top),right:Math.min(e.right,r.right),bottom:Math.min(e.bottom,r.bottom),left:Math.max(e.left,r.left)})).width<=0||n.height<=0?null:n}return p(e)})((l=e.marginBox,i=n?K(l,n.scroll.diff.displacement):l,t&&t.increasedBy?{...i,[r.end]:i[r.end]+t.increasedBy[r.line]}:i),n);return{page:e,withPlaceholder:t,active:o}},Z=(e,t)=>{e.frame||S();let r=e.frame,n=U(t,r.scroll.initial),l=V(n),i={...r,scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:l},max:r.scroll.max}},o=Q({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i});return{...e,frame:i,subject:o}};function ee(e,t=$){let r=null;function n(...l){if(r&&r.lastThis===this&&t(l,r.lastArgs))return r.lastResult;let i=e.apply(this,l);return r={lastResult:i,lastArgs:l,lastThis:this},i}return n.clear=function(){r=null},n}let et=ee(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),er=ee(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),en=ee(e=>Object.values(e)),el=ee(e=>Object.values(e));var ei=ee((e,t)=>el(t).filter(t=>e===t.descriptor.droppableId).sort((e,t)=>e.descriptor.index-t.descriptor.index));function eo(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function ea(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ed=ee((e,t)=>t.filter(t=>t.descriptor.id!==e.descriptor.id)),es=(e,t)=>e.descriptor.droppableId===t.descriptor.id;let eu={point:W,value:0},ec={invisible:{},visible:{},all:[]},ep={displaced:ec,displacedBy:eu,at:null};var ef=(e,t)=>r=>e<=r&&r<=t,eg=e=>{let t=ef(e.top,e.bottom),r=ef(e.left,e.right);return n=>{if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;let l=t(n.top)||t(n.bottom),i=r(n.left)||r(n.right);if(l&&i)return!0;let o=n.top<e.top&&n.bottom>e.bottom,a=n.left<e.left&&n.right>e.right;return!!o&&!!a||o&&i||a&&l}},em=e=>{let t=ef(e.top,e.bottom),r=ef(e.left,e.right);return e=>t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)};let eb={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},eh={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ey=({target:e,destination:t,viewport:r,withDroppableDisplacement:n,isVisibleThroughFrameFn:l})=>{let i=n?K(e,t.frame?t.frame.scroll.diff.displacement:W):e;return!!t.subject.active&&l(t.subject.active)(i)&&l(r)(i)},ev=e=>ey({...e,isVisibleThroughFrameFn:em});function ex({afterDragging:e,destination:t,displacedBy:r,viewport:n,forceShouldAnimate:l,last:i}){return e.reduce(function(e,o){let a=p(f(o.page.marginBox,{top:r.point.y,right:0,bottom:0,left:r.point.x})),d=o.descriptor.id;if(e.all.push(d),!ey({target:a,destination:t,viewport:n,withDroppableDisplacement:!0,isVisibleThroughFrameFn:eg}))return e.invisible[o.descriptor.id]=!0,e;let s=((e,t,r)=>{if("boolean"==typeof r)return r;if(!t)return!0;let{invisible:n,visible:l}=t;if(n[e])return!1;let i=l[e];return!i||i.shouldAnimate})(d,i,l);return e.visible[d]={draggableId:d,shouldAnimate:s},e},{all:[],visible:{},invisible:{}})}function eI({insideDestination:e,inHomeList:t,displacedBy:r,destination:n}){let l=function(e,t){if(!e.length)return 0;let r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}(e,{inHomeList:t});return{displaced:ec,displacedBy:r,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:l}}}}function eD({draggable:e,insideDestination:t,destination:r,viewport:n,displacedBy:l,last:i,index:o,forceShouldAnimate:a}){let d=es(e,r);if(null==o)return eI({insideDestination:t,inHomeList:d,displacedBy:l,destination:r});let s=t.find(e=>e.descriptor.index===o);if(!s)return eI({insideDestination:t,inHomeList:d,displacedBy:l,destination:r});let u=ed(e,t),c=t.indexOf(s);return{displaced:ex({afterDragging:u.slice(c),destination:r,displacedBy:l,last:i,viewport:n.frame,forceShouldAnimate:a}),displacedBy:l,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:o}}}}function eE(e,t){return!!t.effected[e]}let eN=(e,t)=>t.margin[e.start]+t.borderBox[e.size]/2,eA=(e,t,r)=>t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2,ew=({axis:e,moveRelativeTo:t,isMoving:r})=>q(e.line,t.marginBox[e.end]+eN(e,r),eA(e,t.marginBox,r)),eP=({axis:e,moveRelativeTo:t,isMoving:r})=>q(e.line,t.marginBox[e.start]-(r.margin[e.end]+r.borderBox[e.size]/2),eA(e,t.marginBox,r));var eC=(e,t)=>{let r=e.frame;return r?j(t,r.scroll.diff.displacement):t},eS=e=>{let t=(({impact:e,draggable:t,droppable:r,draggables:n,afterCritical:l})=>{let i=t.page.borderBox.center,o=e.at;return r&&o?"REORDER"===o.type?(({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:l})=>{let i=ei(n.descriptor.id,r),o=t.page,a=n.axis;if(!i.length)return(({axis:e,moveInto:t,isMoving:r})=>q(e.line,t.contentBox[e.start]+eN(e,r),eA(e,t.contentBox,r)))({axis:a,moveInto:n.page,isMoving:o});let{displaced:d,displacedBy:s}=e,u=d.all[0];if(u){let e=r[u];return eE(u,l)?eP({axis:a,moveRelativeTo:e.page,isMoving:o}):eP({axis:a,moveRelativeTo:y(e.page,s.point),isMoving:o})}let c=i[i.length-1];return c.descriptor.id===t.descriptor.id?o.borderBox.center:eE(c.descriptor.id,l)?ew({axis:a,moveRelativeTo:y(c.page,V(l.displacedBy.point)),isMoving:o}):ew({axis:a,moveRelativeTo:c.page,isMoving:o})})({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:l}):(({afterCritical:e,impact:t,draggables:r})=>{let n=ea(t);n||S();let l=n.draggableId;return j(r[l].page.borderBox.center,(({displaced:e,afterCritical:t,combineWith:r,displacedBy:n})=>{let l=!!(e.visible[r]||e.invisible[r]);return eE(r,t)?l?W:V(n.point):l?n.point:W})({displaced:t.displaced,afterCritical:e,combineWith:l,displacedBy:t.displacedBy}))})({impact:e,draggables:n,afterCritical:l}):i})(e),r=e.droppable;return r?eC(r,t):t},eO=(e,t)=>{let r=U(t,e.scroll.initial),n=V(r);return{frame:p({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}}};function eR(e,t){return e.map(e=>t[e])}var eB=({pageBorderBoxCenter:e,draggable:t,viewport:r})=>{let n=U(j(r.scroll.diff.displacement,e),t.page.borderBox.center);return j(t.client.borderBox.center,n)},eL=({draggable:e,destination:t,newPageBorderBoxCenter:r,viewport:n,withDroppableDisplacement:l,onlyOnMainAxis:i=!1})=>{let o,a=U(r,e.page.borderBox.center),d={target:K(e.page.borderBox,a),destination:t,withDroppableDisplacement:l,viewport:n};return i?ey({...d,isVisibleThroughFrameFn:(o=d.destination.axis,e=>{let t=ef(e.top,e.bottom),r=ef(e.left,e.right);return e=>o===eb?t(e.top)&&t(e.bottom):r(e.left)&&r(e.right)})}):ev(d)};let eT=e=>{let t=e.subject.active;return t||S(),t},eG=(e,t)=>{let r=e.page.borderBox.center;return eE(e.descriptor.id,t)?U(r,t.displacedBy.point):r};var eM=ee(function(e,t){let r=t[e.line];return{value:r,point:q(e.line,r)}});let e_=(e,t)=>
38({...e,scroll:{...e.scroll,max:t}}),e$=(e,t,r)=>{let n=e.frame;es(t,e)&&S(),e.subject.withPlaceholder&&S();let l=eM(e.axis,t.displaceBy).point,i=((e,t,r)=>{let n=e.axis;if("virtual"===e.descriptor.mode)return q(n.line,t[n.line]);let l=e.subject.page.contentBox[n.size],i=ei(e.descriptor.id,r).reduce((e,t)=>e+t.client.marginBox[n.size],0)+t[n.line]-l;return i<=0?null:q(n.line,i)})(e,l,r),o={placeholderSize:l,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n){let t=Q({page:e.subject.page,withPlaceholder:o,axis:e.axis,frame:e.frame});return{...e,subject:t}}let a=i?j(n.scroll.max,i):n.scroll.max,d=e_(n,a),s=Q({page:e.subject.page,withPlaceholder:o,axis:e.axis,frame:d});return{...e,subject:s,frame:d}};var eF=e=>{let t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null};function ek(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function eW(e){let t=ef(e.top,e.bottom),r=ef(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}function ej({displaced:e,id:t}){return!!(e.visible[t]||e.invisible[t])}var eU=({pageOffset:e,draggable:t,draggables:r,droppables:n,previousImpact:l,viewport:i,afterCritical:o})=>{var a,d;let s,u=p(K(t.page.borderBox,e)),c=function({pageBorderBox:e,draggable:t,droppables:r}){let n=en(r).filter(t=>{if(!t.isEnabled)return!1;let r=t.subject.active;if(!r||!(e.left<r.right)||!(e.right>r.left)||!(e.top<r.bottom)||!(e.bottom>r.top))return!1;if(eW(r)(e.center))return!0;let n=t.axis,l=r.center[n.crossAxisLine],i=e[n.crossAxisStart],o=e[n.crossAxisEnd],a=ef(r[n.crossAxisStart],r[n.crossAxisEnd]),d=a(i),s=a(o);return!d&&!s||(d?i<l:o>l)});return n.length?1===n.length?n[0].descriptor.id:function({pageBorderBox:e,draggable:t,candidates:r}){let n=t.page.borderBox.center,l=r.map(t=>{let r=t.axis,l=q(t.axis.line,e.center[r.line],t.page.borderBox.center[r.crossAxisLine]);return{id:t.descriptor.id,distance:z(n,l)}}).sort((e,t)=>t.distance-e.distance);return l[0]?l[0].id:null}({pageBorderBox:e,draggable:t,candidates:n}):null}({pageBorderBox:u,draggable:t,droppables:n});if(!c)return ep;let f=n[c],g=ei(f.descriptor.id,r),m=(a=f,d=u,(s=a.frame)?p(K(d,s.scroll.diff.value)):d);return(({draggable:e,pageBorderBoxWithDroppableScroll:t,previousImpact:r,destination:n,insideDestination:l,afterCritical:i})=>{if(!n.isCombineEnabled)return null;let o=n.axis,a=eM(n.axis,e.displaceBy),d=a.value,s=t[o.start],u=t[o.end],c=ed(e,l).find(e=>{let t=e.descriptor.id,n=e.page.borderBox,l=n[o.size]/4,a=eE(t,i),c=ej({displaced:r.displaced,id:t});return a?c?u>n[o.start]+l&&u<n[o.end]-l:s>n[o.start]-d+l&&s<n[o.end]-d-l:c?u>n[o.start]+d+l&&u<n[o.end]+d-l:s>n[o.start]+l&&s<n[o.end]-l});return c?{displacedBy:a,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:c.descriptor.id,droppableId:n.descriptor.id}}}:null})({pageBorderBoxWithDroppableScroll:m,draggable:t,previousImpact:l,destination:f,insideDestination:g,afterCritical:o})||(({pageBorderBoxWithDroppableScroll:e,draggable:t,destination:r,insideDestination:n,last:l,viewport:i,afterCritical:o})=>{let a=r.axis,d=eM(r.axis,t.displaceBy),s=d.value,u=e[a.start],c=e[a.end],p=ed(t,n).find(e=>{let t=e.descriptor.id,r=e.page.borderBox.center[a.line],n=eE(t,o),i=ej({displaced:l,id:t});return n?i?c<=r:u<r-s:i?c<=r+s:u<r})||null,f=function({draggable:e,closest:t,inHomeList:r}){return t?r&&t.descriptor.index>e.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}({draggable:t,closest:p,inHomeList:es(t,r)});return eD({draggable:t,insideDestination:n,destination:r,viewport:i,last:l,displacedBy:d,index:f})})({pageBorderBoxWithDroppableScroll:m,draggable:t,destination:f,insideDestination:g,last:l.displaced,viewport:i,afterCritical:o})},eH=(e,t)=>({...e,[t.descriptor.id]:t}),eV=({state:e,clientSelection:t,dimensions:r,viewport:n,impact:l,scrollJumpRequest:i})=>{let o=n||e.viewport,a=r||e.dimensions,d=t||e.current.client.selection,s=U(d,e.initial.client.selection),u={offset:s,selection:d,borderBoxCenter:j(e.initial.client.borderBoxCenter,s)},c={selection:j(u.selection,o.scroll.current),borderBoxCenter:j(u.borderBoxCenter,o.scroll.current),offset:j(u.offset,o.scroll.diff.value)},p={client:u,page:c};if("COLLECTING"===e.phase)return{...e,dimensions:a,viewport:o,current:p};let f=a.draggables[e.critical.draggable.id],g=l||eU({pageOffset:c.offset,draggable:f,draggables:a.draggables,droppables:a.droppables,previousImpact:e.impact,viewport:o,afterCritical:e.afterCritical}),m=(({draggable:e,draggables:t,droppables:r,previousImpact:n,impact:l})=>{let i=(({previousImpact:e,impact:t,droppables:r})=>{let n=eF(e),l=eF(t);
38if(!n||n===l)return r;let i=r[n];return i.subject.withPlaceholder?eH(r,(e=>{let t=e.subject.withPlaceholder;t||S();let r=e.frame;if(!r){let t=Q({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return{...e,subject:t}}let n=t.oldFrameMaxScroll;n||S();let l=e_(r,n),i=Q({page:e.subject.page,axis:e.axis,frame:l,withPlaceholder:null});return{...e,subject:i,frame:l}})(i)):r})({previousImpact:n,impact:l,droppables:r}),o=eF(l);if(!o)return i;let a=r[o];return es(e,a)||a.subject.withPlaceholder?i:eH(i,e$(a,e,t))})({draggable:f,impact:g,previousImpact:e.impact,draggables:a.draggables,droppables:a.droppables});return{...e,current:p,dimensions:{draggables:a.draggables,droppables:m},impact:g,viewport:o,scrollJumpRequest:i||null,forceShouldAnimate:!i&&null}},eq=({impact:e,viewport:t,draggables:r,destination:n,forceShouldAnimate:l})=>{var i;let o=e.displaced,a=ex({afterDragging:(i=o.all,i.map(e=>r[e])),destination:n,displacedBy:e.displacedBy,viewport:t.frame,forceShouldAnimate:l,last:o});return{...e,displaced:a}},ez=({impact:e,draggable:t,droppable:r,draggables:n,viewport:l,afterCritical:i})=>eB({pageBorderBoxCenter:eS({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:i}),draggable:t,viewport:l}),eY=({state:e,dimensions:t,viewport:r})=>{"SNAP"!==e.movementMode&&S();let n=e.impact,l=r||e.viewport,i=t||e.dimensions,{draggables:o,droppables:a}=i,d=o[e.critical.draggable.id],s=eF(n);s||S();let u=a[s],c=eq({impact:n,viewport:l,destination:u,draggables:o}),p=ez({impact:c,draggable:d,droppable:u,draggables:o,viewport:l,afterCritical:e.afterCritical});return eV({impact:c,clientSelection:p,state:e,dimensions:i,viewport:l})},eJ=({draggable:e,home:t,draggables:r,viewport:n})=>{let l,i=eM(t.axis,e.displaceBy),o=ei(t.descriptor.id,r),a=o.indexOf(e);-1===a&&S();let d=o.slice(a+1),s=d.reduce((e,t)=>(e[t.descriptor.id]=!0,e),{}),u={inVirtualList:"virtual"===t.descriptor.mode,displacedBy:i,effected:s};return{impact:{displaced:ex({afterDragging:d,destination:t,displacedBy:i,last:null,viewport:n.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:{index:(l=e.descriptor).index,droppableId:l.droppableId}}},afterCritical:u}};let eK=e=>{},eX=e=>{},eQ=(e,t,r)=>{let n,l=(n=e.dimensions,{draggables:n.draggables,droppables:eH(n.droppables,t)});return"SNAP"!==e.movementMode||r?eV({state:e,dimensions:l}):eY({state:e,dimensions:l})};function eZ(e){return e.isDragging&&"SNAP"===e.movementMode?{...e,scrollJumpRequest:null}:e}let e0={phase:"IDLE",completed:null,shouldFlush:!1};var e1=(e=e0,t)=>{if("FLUSH"===t.type)return{...e0,shouldFlush:!0};if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&S();let{critical:r,clientSelection:n,viewport:l,dimensions:i,movementMode:o}=t.payload,a=i.draggables[r.draggable.id],d=i.droppables[r.droppable.id],s={selection:n,borderBoxCenter:a.client.borderBox.center,offset:W},u={client:s,page:{selection:j(s.selection,l.scroll.initial),borderBoxCenter:j(s.selection,l.scroll.initial),offset:j(s.selection,l.scroll.diff.value)}},c=en(i.droppables).every(e=>!e.isFixedOnPage),{impact:p,afterCritical:f}=eJ({draggable:a,home:d,draggables:i.draggables,viewport:l});return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:o,dimensions:i,initial:u,current:u,isWindowScrollAllowed:c,impact:p,afterCritical:f,onLiftImpact:p,viewport:l,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&S(),{...e,phase:"COLLECTING"});if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&S(),(({state:e,published:t})=>{eK();let r=t.modified.map(t=>Z(e.dimensions.droppables[t.droppableId],t.scroll)),n={...e.dimensions.droppables,...et(r)},l=er((({additions:e,updatedDroppables:t,viewport:r})=>{let n=r.scroll.diff.value;return e.map(e=>
38{let l,i=j(n,((l=t[e.descriptor.droppableId].frame)||S(),l).scroll.diff.value);return(({draggable:e,offset:t,initialWindowScroll:r})=>{let n=y(e.client,t),l=v(n,r);return{...e,placeholder:{...e.placeholder,client:n},client:n,page:l}})({draggable:e,offset:i,initialWindowScroll:r.scroll.initial})})})({additions:t.additions,updatedDroppables:n,viewport:e.viewport})),i={...e.dimensions.draggables,...l};t.removals.forEach(e=>{delete i[e]});let o={droppables:n,draggables:i},a=eF(e.impact),d=a?o.droppables[a]:null,{impact:s,afterCritical:u}=eJ({draggable:o.draggables[e.critical.draggable.id],home:o.droppables[e.critical.droppable.id],draggables:i,viewport:e.viewport}),c=d&&d.isCombineEnabled?e.impact:s,p=eU({pageOffset:e.current.page.offset,draggable:o.draggables[e.critical.draggable.id],draggables:o.draggables,droppables:o.droppables,previousImpact:c,viewport:e.viewport,afterCritical:u});eX();let f={...e,phase:"DRAGGING",impact:p,onLiftImpact:s,dimensions:o,afterCritical:u,forceShouldAnimate:!1};return"COLLECTING"===e.phase?f:{...f,phase:"DROP_PENDING",reason:e.reason,isWaiting:!1}})({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;ek(e)||S();let{client:r}=t.payload;return H(r,e.current.client.selection)?e:eV({state:e,clientSelection:r,impact:"SNAP"===e.movementMode?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"COLLECTING"===e.phase)return eZ(e);ek(e)||S();let{id:r,newScroll:n}=t.payload,l=e.dimensions.droppables[r];return l?eQ(e,Z(l,n),!1):e}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;ek(e)||S();let{id:r,isEnabled:n}=t.payload,l=e.dimensions.droppables[r];return l||S(),l.isEnabled===n&&S(),eQ(e,{...l,isEnabled:n},!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;ek(e)||S();let{id:r,isCombineEnabled:n}=t.payload,l=e.dimensions.droppables[r];return l||S(),l.isCombineEnabled===n&&S(),eQ(e,{...l,isCombineEnabled:n},!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;ek(e)||S(),e.isWindowScrollAllowed||S();let r=t.payload.newScroll;if(H(e.viewport.scroll.current,r))return eZ(e);let n=eO(e.viewport,r);return"SNAP"===e.movementMode?eY({state:e,viewport:n}):eV({state:e,viewport:n})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!ek(e))return e;let r=t.payload.maxScroll;if(H(r,e.viewport.scroll.max))return e;let n={...e.viewport,scroll:{...e.viewport.scroll,max:r}};return{...e,viewport:n}}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&S();let r=(({state:e,type:t})=>{var r,n;let l,i=(r=e.impact,n=e.dimensions.droppables,(l=eF(r))?n[l]:null),o=!!i,a=e.dimensions.droppables[e.critical.droppable.id],d=i||a,s=d.axis.direction,u="vertical"===s&&("MOVE_UP"===t||"MOVE_DOWN"===t)||"horizontal"===s&&("MOVE_LEFT"===t||"MOVE_RIGHT"===t);if(u&&!o)return null;let c="MOVE_DOWN"===t||"MOVE_RIGHT"===t,p=e.dimensions.draggables[e.critical.draggable.id],f=e.current.page.borderBoxCenter,{draggables:g,droppables:m}=e.dimensions;return u?(({isMovingForward:e,draggable:t,destination:r,draggables:n,previousImpact:l,viewport:i,previousPageBorderBoxCenter:o,previousClientSelection:a,afterCritical:d})=>{if(!r.isEnabled)return null;let s=ei(r.descriptor.id,n),u=es(t,r),c=(({isMovingForward:e,draggable:t,destination:r,insideDestination:n,previousImpact:l})=>{if(!r.isCombineEnabled||!eo(l))return null;function i(e){let t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return{...l,at:t}}let o=l.displaced.all,a=o.length?o[0]:null;if(e)return a?i(a):null;let d=ed(t,n);if(!a)return d.length?i(d[d.length-1].descriptor.id):null;let s=d.findIndex(e=>e.descriptor.id===a);-1===s&&S();let u=s-1;return u<0?null:i(d[u].descriptor.id)})({isMovingForward:e,draggable:t,destination:r,insideDestination:s,previousImpact:l})||(({isMovingForward:e,isInHomeList:t,draggable:r,draggables:n,destination:l,insideDestination:i,previousImpact:o,viewport:
38a,afterCritical:d})=>{let s=o.at;if(s||S(),"REORDER"===s.type){let n=(({isMovingForward:e,isInHomeList:t,insideDestination:r,location:n})=>{if(!r.length)return null;let l=n.index,i=e?l+1:l-1,o=r[0].descriptor.index,a=r[r.length-1].descriptor.index;return i<o||i>(t?a:a+1)?null:i})({isMovingForward:e,isInHomeList:t,location:s.destination,insideDestination:i});return null==n?null:eD({draggable:r,insideDestination:i,destination:l,viewport:a,last:o.displaced,displacedBy:o.displacedBy,index:n})}let u=(({isMovingForward:e,destination:t,draggables:r,combine:n,afterCritical:l})=>{if(!t.isCombineEnabled)return null;let i=n.draggableId,o=r[i].descriptor.index;return eE(i,l)?e?o:o-1:e?o+1:o})({isMovingForward:e,destination:l,displaced:o.displaced,draggables:n,combine:s.combine,afterCritical:d});return null==u?null:eD({draggable:r,insideDestination:i,destination:l,viewport:a,last:o.displaced,displacedBy:o.displacedBy,index:u})})({isMovingForward:e,isInHomeList:u,draggable:t,draggables:n,destination:r,insideDestination:s,previousImpact:l,viewport:i,afterCritical:d});if(!c)return null;let p=eS({impact:c,draggable:t,droppable:r,draggables:n,afterCritical:d});if(eL({draggable:t,destination:r,newPageBorderBoxCenter:p,viewport:i.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:eB({pageBorderBoxCenter:p,draggable:t,viewport:i}),impact:c,scrollJumpRequest:null};let f=U(p,o);return{clientSelection:a,impact:(({impact:e,viewport:t,destination:r,draggables:n,maxScrollChange:l})=>{let i=eO(t,j(t.scroll.current,l)),o=r.frame?Z(r,j(r.frame.scroll.current,l)):r,a=e.displaced,d=ex({afterDragging:eR(a.all,n),destination:r,displacedBy:e.displacedBy,viewport:i.frame,last:a,forceShouldAnimate:!1}),s=ex({afterDragging:eR(a.all,n),destination:o,displacedBy:e.displacedBy,viewport:t.frame,last:a,forceShouldAnimate:!1}),u={},c={},p=[a,d,s];return a.all.forEach(e=>{let t=function(e,t){for(let r=0;r<t.length;r++){let n=t[r].visible[e];if(n)return n}return null}(e,p);if(t){c[e]=t;return}u[e]=!0}),{...e,displaced:{all:a.all,invisible:u,visible:c}}})({impact:c,viewport:i,destination:r,draggables:n,maxScrollChange:f}),scrollJumpRequest:f}})({isMovingForward:c,previousPageBorderBoxCenter:f,draggable:p,destination:d,draggables:g,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):(({isMovingForward:e,previousPageBorderBoxCenter:t,draggable:r,isOver:n,draggables:l,droppables:i,viewport:o,afterCritical:a})=>{let d=(({isMovingForward:e,pageBorderBoxCenter:t,source:r,droppables:n,viewport:l})=>{let i=r.subject.active;if(!i)return null;let o=r.axis,a=ef(i[o.start],i[o.end]),d=en(n).filter(e=>e!==r).filter(e=>e.isEnabled).filter(e=>!!e.subject.active).filter(e=>eg(l.frame)(eT(e))).filter(t=>{let r=eT(t);return e?i[o.crossAxisEnd]<r[o.crossAxisEnd]:r[o.crossAxisStart]<i[o.crossAxisStart]}).filter(e=>{let t=eT(e),r=ef(t[o.start],t[o.end]);return a(t[o.start])||a(t[o.end])||r(i[o.start])||r(i[o.end])}).sort((t,r)=>{let n=eT(t)[o.crossAxisStart],l=eT(r)[o.crossAxisStart];return e?n-l:l-n}).filter((e,t,r)=>eT(e)[o.crossAxisStart]===eT(r[0])[o.crossAxisStart]);if(!d.length)return null;if(1===d.length)return d[0];let s=d.filter(e=>ef(eT(e)[o.start],eT(e)[o.end])(t[o.line]));return 1===s.length?s[0]:s.length>1?s.sort((e,t)=>eT(e)[o.start]-eT(t)[o.start])[0]:d.sort((e,r)=>{let n=Y(t,X(eT(e))),l=Y(t,X(eT(r)));return n!==l?n-l:eT(e)[o.start]-eT(r)[o.start]})[0]})({isMovingForward:e,pageBorderBoxCenter:t,source:n,droppables:i,viewport:o});if(!d)return null;let s=ei(d.descriptor.id,l),u=(({pageBorderBoxCenter:e,viewport:t,destination:r,insideDestination:n,afterCritical:l})=>n.filter(e=>{let n;return ev({target:(n=e.page.borderBox,eE(e.descriptor.id,l)?K(n,V(l.displacedBy.point)):n),destination:r,viewport:t.frame,withDroppableDisplacement:!0})}).sort((t,n)=>{let i=z(e,eC(r,eG(t,l))),o=z(e,eC(r,eG(n,l)));return i<o?-1:o<i?1:t.descriptor.index-n.descriptor.index})[0]||null)({pageBorderBoxCenter:t,viewport:o,destination:d,insideDestination:s,afterCritical:a}),c=(({previousPageBorderBoxCenter:e,moveRelativeTo:t,insideDestination:r,draggable:n,draggables:l,destination:i,viewport:o,afterCritical:a})=>{let d;if(!t){if(r.length)return null;let e={displaced:ec,displacedBy:eu,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:0}}},t=eS({impact:e,draggable:n,droppable:i,draggables:l,afterCritical:a}),d=es(n,i)?i:e$(i,n,l);return eL({draggable:n,destination:d,newPageBorderBoxCenter:t,viewport:o.frame,
38withDroppableDisplacement:!1,onlyOnMainAxis:!0})?e:null}let s=e[i.axis.line]<=t.page.borderBox.center[i.axis.line],u=(d=t.descriptor.index,t.descriptor.id===n.descriptor.id||s?d:d+1),c=eM(i.axis,n.displaceBy);return eD({draggable:n,insideDestination:r,destination:i,viewport:o,displacedBy:c,last:ec,index:u})})({previousPageBorderBoxCenter:t,destination:d,draggable:r,draggables:l,moveRelativeTo:u,insideDestination:s,viewport:o,afterCritical:a});return c?{clientSelection:eB({pageBorderBoxCenter:eS({impact:c,draggable:r,droppable:d,draggables:l,afterCritical:a}),draggable:r,viewport:o}),impact:c,scrollJumpRequest:null}:null})({isMovingForward:c,previousPageBorderBoxCenter:f,draggable:p,isOver:d,draggables:g,droppables:m,viewport:e.viewport,afterCritical:e.afterCritical})})({state:e,type:t.type});return r?eV({state:e,impact:r.impact,clientSelection:r.clientSelection,scrollJumpRequest:r.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){let r=t.payload.reason;return"COLLECTING"!==e.phase&&S(),{...e,phase:"DROP_PENDING",isWaiting:!0,reason:r}}if("DROP_ANIMATE"===t.type){let{completed:r,dropDuration:n,newHomeClientOffset:l}=t.payload;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&S(),{phase:"DROP_ANIMATING",completed:r,dropDuration:n,newHomeClientOffset:l,dimensions:e.dimensions}}if("DROP_COMPLETE"===t.type){let{completed:e}=t.payload;return{phase:"IDLE",completed:e,shouldFlush:!1}}return e};function e3(e,t){return e instanceof Object&&"type"in e&&e.type===t}let e2=e=>({type:"PUBLISH_WHILE_DRAGGING",payload:e}),e5=()=>({type:"COLLECTION_STARTING",payload:null}),e7=e=>({type:"UPDATE_DROPPABLE_SCROLL",payload:e}),e6=e=>({type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}),e8=e=>({type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}),e9=e=>({type:"MOVE",payload:e}),e4=()=>({type:"MOVE_UP",payload:null}),te=()=>({type:"MOVE_DOWN",payload:null}),tt=()=>({type:"MOVE_RIGHT",payload:null}),tr=()=>({type:"MOVE_LEFT",payload:null}),tn=()=>({type:"FLUSH",payload:null}),tl=e=>({type:"DROP_COMPLETE",payload:e}),ti=e=>({type:"DROP",payload:e}),to=()=>({type:"DROP_ANIMATION_FINISHED",payload:null}),ta="cubic-bezier(.2,1,.1,1)",td=0,ts=.7,tu=.75,tc={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},tp=`${tc.outOfTheWay}s cubic-bezier(0.2, 0, 0, 1)`,tf={fluid:`opacity ${tp}`,snap:`transform ${tp}, opacity ${tp}`,drop:e=>{let t=`${e}s ${ta}`;return`transform ${t}, opacity ${t}`},outOfTheWay:`transform ${tp}`,placeholder:`height ${tp}, width ${tp}, margin ${tp}`},tg=e=>H(e,W)?void 0:`translate(${e.x}px, ${e.y}px)`,{minDropTime:tm,maxDropTime:tb}=tc,th=tb-tm,ty=({getState:e,dispatch:t})=>r=>n=>{if(!e3(n,"DROP"))return void r(n);let l=e(),i=n.payload.reason;if("COLLECTING"===l.phase)return void t({type:"DROP_PENDING",payload:{reason:i}});if("IDLE"===l.phase)return;"DROP_PENDING"===l.phase&&l.isWaiting&&S(),"DRAGGING"!==l.phase&&"DROP_PENDING"!==l.phase&&S();let o=l.critical,a=l.dimensions,d=a.draggables[l.critical.draggable.id],{impact:s,didDropInsideDroppable:u}=(({draggables:e,reason:t,lastImpact:r,home:n,viewport:l,onLiftImpact:i})=>r.at&&"DROP"===t?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:{...r,displaced:ec},didDropInsideDroppable:!0}:{impact:eq({draggables:e,impact:i,destination:n,viewport:l,forceShouldAnimate:!0}),didDropInsideDroppable:!1})({reason:i,lastImpact:l.impact,afterCritical:l.afterCritical,onLiftImpact:l.onLiftImpact,home:l.dimensions.droppables[l.critical.droppable.id],viewport:l.viewport,draggables:l.dimensions.draggables}),c=u?eo(s):null,p=u?ea(s):null,f={index:o.draggable.index,droppableId:o.droppable.id},g={draggableId:d.descriptor.id,type:d.descriptor.type,source:f,reason:i,mode:l.movementMode,destination:c,combine:p},m=(({impact:e,draggable:t,dimensions:r,viewport:n,afterCritical:l})=>{let{draggables:i,droppables:o}=r,a=eF(e),d=a?o[a]:null,s=o[t.descriptor.droppableId];return U(ez({impact:e,draggable:t,draggables:i,afterCritical:l,droppable:d||s,viewport:n}),t.client.borderBox.center)})({impact:s,draggable:d,dimensions:a,viewport:l.viewport,afterCritical:l.afterCritical}),b={critical:l.critical,afterCritical:l.afterCritical,result:g,impact:s};if(!(!H(l.current.client.offset,m)||g.combine))return void t(tl({completed:b}));let h=(({current:e,destination:t,reason:r})=>{let n=z(e,t);if(n<=0)return tm;if(n>=1500)return tb;let l=tm+n/1500*th;return Number(("CANCEL"===r?.6*l:l).toFixed(2))})({current:l.current.client.offset,destination:m,reason:i});t({type:"DROP_ANIMATE",payload:{newHomeClientOffset:m,dropDuration:h,completed:b}}
38)};var tv=()=>({x:window.pageXOffset,y:window.pageYOffset});let tx=e=>{let t=function({onWindowScroll:e}){let t=D(function(){e(tv())}),r={eventName:"scroll",options:{passive:!0,capture:!1},fn:e=>{(e.target===window||e.target===window.document)&&t()}},n=w;function l(){return n!==w}return{start:function(){l()&&S(),n=P(window,[r])},stop:function(){l()||S(),t.cancel(),n(),n=w},isActive:l}}({onWindowScroll:t=>{e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return e=>r=>{!t.isActive()&&e3(r,"INITIAL_PUBLISH")&&t.start(),t.isActive()&&(e3(r,"DROP_COMPLETE")||e3(r,"DROP_ANIMATE")||e3(r,"FLUSH"))&&t.stop(),e(r)}},tI=(e,t)=>{eK(),t(),eX()},tD=(e,t)=>({draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t});function tE(e,t,r,n){let l,i,o,a;if(!e)return void r(n(t));let d=(l=!1,i=!1,o=setTimeout(()=>{i=!0}),(a=e=>{l||i||(l=!0,r(e),clearTimeout(o))}).wasCalled=()=>l,a);e(t,{announce:d}),d.wasCalled()||r(n(t))}let tN=e=>t=>r=>{if(!e3(r,"DROP_ANIMATION_FINISHED"))return void t(r);let n=e.getState();"DROP_ANIMATING"!==n.phase&&S(),e.dispatch(tl({completed:n.completed}))},tA=e=>{let t=null,r=null;return n=>l=>{if((e3(l,"FLUSH")||e3(l,"DROP_COMPLETE")||e3(l,"DROP_ANIMATION_FINISHED"))&&(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(l),!e3(l,"DROP_ANIMATE"))return;let i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch(to())}};r=requestAnimationFrame(()=>{r=null,t=P(window,[i])})}},tw=e=>t=>r=>{if(t(r),!e3(r,"PUBLISH_WHILE_DRAGGING"))return;let n=e.getState();"DROP_PENDING"!==n.phase||n.isWaiting||e.dispatch(ti({reason:n.reason}))},tP=s.compose,tC=()=>({additions:{},removals:{},modified:{}});var tS=({scrollHeight:e,scrollWidth:t,height:r,width:n})=>{let l=U({x:t,y:e},{x:n,y:r});return{x:Math.max(0,l.x),y:Math.max(0,l.y)}},tO=()=>{let e=document.documentElement;return e||S(),e},tR=()=>{let e=tO();return tS({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})};function tB(e,t,r){return r.descriptor.id!==t.id&&r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode}var tL=(e,t)=>"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason,tT=e=>{window.scrollBy(e.x,e.y)};let tG=ee(e=>en(e).filter(e=>!!e.isEnabled&&!!e.frame)),tM={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:e=>e**2,durationDampening:{stopDampeningAt:1200,accelerateAt:360},disabled:!1};var t_=({startOfRange:e,endOfRange:t,current:r})=>{let n=t-e;return 0===n?0:(r-e)/n},t$=({distanceToEdge:e,thresholds:t,dragStartTime:r,shouldUseTimeDampening:n,getAutoScrollerOptions:l})=>{let i=((e,t,r=()=>tM)=>{let n=r();if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return n.maxPixelScroll;if(e===t.startScrollingFrom)return 1;let l=t_({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e});return Math.ceil(n.maxPixelScroll*n.ease(1-l))})(e,t,l);return 0===i?0:n?Math.max(((e,t,r)=>{let n=r(),l=n.durationDampening.accelerateAt,i=n.durationDampening.stopDampeningAt,o=Date.now()-t;if(o>=i)return e;if(o<l)return 1;let a=t_({startOfRange:l,endOfRange:i,current:o});return Math.ceil(e*n.ease(a))})(i,r,l),1):i},tF=({container:e,distanceToEdges:t,dragStartTime:r,axis:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let o=((e,t,r=()=>tM)=>{let n=r(),l=e[t.size]*n.startFromPercentage;return{startScrollingFrom:l,maxScrollValueAt:e[t.size]*n.maxScrollAtPercentage}})(e,n,i);return t[n.end]<t[n.start]?t$({distanceToEdge:t[n.end],thresholds:o,dragStartTime:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i}):-1*t$({distanceToEdge:t[n.start],thresholds:o,dragStartTime:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i})};let tk=J(e=>0===e?0:e);var tW=({dragStartTime:e,container:t,subject:r,center:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let o={top:n.y-t.top,right:t.right-n.x,bottom:t.bottom-n.y,left:n.x-t.left},a=tF({container:t,distanceToEdges:o,dragStartTime:e,axis:eb,shouldUseTimeDampening:l,getAutoScrollerOptions:i}),d=tk({x:tF({container:t,distanceToEdges:o,dragStartTime:e,axis:eh,shouldUseTimeDampening:l,getAutoScrollerOptions:i}),y:a});if(H(d,W))return null;let s=(({container:e,subject:t,proposedScroll:r})=>{let n=t.height>e.height,l=t.width>e.width;return l||n?l&&n?null:{x:l?0:r.x,y:n?0:r.y}:r})({container:t,subject:r,proposedScroll:d});return s?H(s,W)?null:s:null};let tj=J(e=>0===e?0:e>0?1:-1),tU=(t=(e,t)=>
38e<0?e:e>t?e-t:0,({current:e,max:r,change:n})=>{let l=j(e,n),i={x:t(l.x,r.x),y:t(l.y,r.y)};return H(i,W)?null:i}),tH=({max:e,current:t,change:r})=>{let n={x:Math.max(t.x,e.x),y:Math.max(t.y,e.y)},l=tj(r),i=tU({max:n,current:t,change:l});return!i||0!==l.x&&0===i.x||0!==l.y&&0===i.y},tV=(e,t)=>tH({current:e.scroll.current,max:e.scroll.max,change:t}),tq=(e,t)=>{let r=e.frame;return!!r&&tH({current:r.scroll.current,max:r.scroll.max,change:t})};var tz=({state:e,dragStartTime:t,shouldUseTimeDampening:r,scrollWindow:n,scrollDroppable:l,getAutoScrollerOptions:i})=>{let o=e.current.page.borderBoxCenter,a=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){let l=(({viewport:e,subject:t,center:r,dragStartTime:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let o=tW({dragStartTime:n,container:e.frame,subject:t,center:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i});return o&&tV(e,o)?o:null})({dragStartTime:t,viewport:e.viewport,subject:a,center:o,shouldUseTimeDampening:r,getAutoScrollerOptions:i});if(l)return void n(l)}let d=(({center:e,destination:t,droppables:r})=>{if(t){let e=r[t];return e.frame?e:null}return tG(r).find(t=>(t.frame||S(),eW(t.frame.pageMarginBox)(e)))||null})({center:o,destination:eF(e.impact),droppables:e.dimensions.droppables});if(!d)return;let s=(({droppable:e,subject:t,center:r,dragStartTime:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let o=e.frame;if(!o)return null;let a=tW({dragStartTime:n,container:o.pageMarginBox,subject:t,center:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i});return a&&tq(e,a)?a:null})({dragStartTime:t,droppable:d,subject:a,center:o,shouldUseTimeDampening:r,getAutoScrollerOptions:i});s&&l(d.descriptor.id,s)};let tY="data-rfd",tJ={base:r=`${tY}-drag-handle`,draggableId:`${r}-draggable-id`,contextId:`${r}-context-id`},tK={base:n=`${tY}-draggable`,contextId:`${n}-context-id`,id:`${n}-id`},tX={base:l=`${tY}-droppable`,contextId:`${l}-context-id`,id:`${l}-id`},tQ={contextId:`${tY}-scroll-container-context-id`},tZ=(e,t)=>e.map(e=>{let r=e.styles[t];return r?`${e.selector} { ${r} }`:""}).join(" "),t0="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect,t1=()=>{let e=document.querySelector("head");return e||S(),e},t3=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function t2(e,t){return Array.from(e.querySelectorAll(t))}var t5=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;function t7(e){return e instanceof t5(e).HTMLElement}function t6(e,t){let r=t2(document,`[${tJ.contextId}="${e}"]`);if(!r.length)return null;let n=r.find(e=>e.getAttribute(tJ.draggableId)===t);return n&&t7(n)?n:null}function t8(){let e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach(t=>t(e))}function n(t){return e.draggables[t]||null}function l(t){return e.droppables[t]||null}return{draggable:{register:t=>{e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:(t,r)=>{let n=e.draggables[r.descriptor.id];n&&n.uniqueId===t.uniqueId&&(delete e.draggables[r.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:t=>{let l=t.descriptor.id,i=n(l);!i||t.uniqueId===i.uniqueId&&(delete e.draggables[l],e.droppables[t.descriptor.droppableId]&&r({type:"REMOVAL",value:t}))},getById:function(e){let t=n(e);return t||S(),t},findById:n,exists:e=>!!n(e),getAllByType:t=>Object.values(e.draggables).filter(e=>e.descriptor.type===t)},droppable:{register:t=>{e.droppables[t.descriptor.id]=t},unregister:t=>{let r=l(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){let t=l(e);return t||S(),t},findById:l,exists:e=>!!l(e),getAllByType:t=>Object.values(e.droppables).filter(e=>e.descriptor.type===t)},subscribe:function(e){return t.push(e),function(){let r=t.indexOf(e);-1!==r&&t.splice(r,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var t9=a.default.createContext(null),t4=()=>{let e=document.body;return e||S(),e};let re={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},rt={separator:"::"};function rr(e,t=rt){let r=a.default.useId();return F(()=>`${e}${t.separator}${r}`,[t.separator,e,r])}var rn=a.default.createContext(null);let rl=/(\d+)\.(\d+)\.(\d+)/,ri=e=>{let t=rl.exec(e);null==t&&S();let r=Number(t[1]);return{major:r,minor:Number(t[2]),patch:Number(t[3]),raw:e}};function ro(e){}function ra(e,t){ro(()=>{(0,a.useEffect)(()=>{try{e()}catch(e){A(` 39 A setup problem was encountered. 40 41 > ${e.message} 42 `)}},t)})}function rd(e){let t=(0,a.useRef)(e);return(0,a.useEffect)(()=>{t.current=e}),t}function rs(e){return"IDLE"!==e.phase&&"DROP_ANIMATING"!==e.phase&&e.isDragging}let ru={13:!0,9:!0};var rc=e=>{ru[e.keyCode]&&e.preventDefault()};let rp=(i="visibilitychange","u"<typeof document?i:[i,`ms${i}`,`webkit${i}`,`moz${i}`,`o${i}`].find(e=>`on${e}`in document)||i),rf={type:"IDLE"};function rg(){}let rm={34:!0,33:!0,36:!0,35:!0},rb={type:"IDLE"},rh=["input","button","textarea","select","option","optgroup","video","audio"],ry=(o="matches","u"<typeof document?o:[o,"msMatchesSelector","webkitMatchesSelector"].find(e=>e in Element.prototype)||o);function rv(e){e.preventDefault()}function rx({expected:e,phase:t,isLockActive:r,shouldWarn:n}
42){return!!r()&&e===t}function rI({lockAPI:e,store:t,registry:r,draggableId:n}){if(e.isClaimed())return!1;let l=r.draggable.findById(n);return!!l&&!!l.options.isEnabled&&!!tL(t.getState(),n)}let rD=[function(e){let t=(0,a.useRef)(rf),r=(0,a.useRef)(w),n=F(()=>({eventName:"mousedown",fn:function(t){if(t.defaultPrevented||0!==t.button||t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)return;let n=e.findClosestDraggableId(t);if(!n)return;let l=e.tryGetLock(n,o,{sourceEvent:t});if(!l)return;t.preventDefault();let i={x:t.clientX,y:t.clientY};r.current(),u(l,i)}}),[e]),l=F(()=>({eventName:"webkitmouseforcewillbegin",fn:t=>{if(t.defaultPrevented)return;let r=e.findClosestDraggableId(t);if(!r)return;let n=e.findOptionsForDraggable(r);!n||n.shouldRespectForcePress||e.canGetLock(r)&&t.preventDefault()}}),[e]),i=k(function(){r.current=P(window,[l,n],{passive:!1,capture:!0})},[l,n]),o=k(()=>{"IDLE"!==t.current.type&&(t.current=rf,r.current(),i())},[i]),d=k(()=>{let e=t.current;o(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[o]),s=k(function(){r.current=P(window,function({cancel:e,completed:t,getPhase:r,setPhase:n}){return[{eventName:"mousemove",fn:e=>{var t;let{button:l,clientX:i,clientY:o}=e;if(0!==l)return;let a={x:i,y:o},d=r();if("DRAGGING"===d.type){e.preventDefault(),d.actions.move(a);return}"PENDING"!==d.type&&S(),t=d.point,(Math.abs(a.x-t.x)>=5||Math.abs(a.y-t.y)>=5)&&(e.preventDefault(),n({type:"DRAGGING",actions:d.actions.fluidLift(a)}))}},{eventName:"mouseup",fn:n=>{let l=r();"DRAGGING"!==l.type?e():(n.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),t())}},{eventName:"mousedown",fn:t=>{"DRAGGING"===r().type&&t.preventDefault(),e()}},{eventName:"keydown",fn:t=>{if("PENDING"===r().type)return void e();if(27===t.keyCode){t.preventDefault(),e();return}rc(t)}},{eventName:"resize",fn:e},{eventName:"scroll",options:{passive:!0,capture:!1},fn:()=>{"PENDING"===r().type&&e()}},{eventName:"webkitmouseforcedown",fn:t=>{let n=r();("IDLE"===n.type&&S(),n.actions.shouldRespectForcePress())?e():t.preventDefault()}},{eventName:rp,fn:e}]}({cancel:d,completed:o,getPhase:()=>t.current,setPhase:e=>{t.current=e}}),{capture:!0,passive:!1})},[d,o]),u=k(function(e,r){"IDLE"!==t.current.type&&S(),t.current={type:"PENDING",point:r,actions:e},s()},[s]);t0(function(){return i(),function(){r.current()}},[i])},function(e){let t=(0,a.useRef)(rg),r=F(()=>({eventName:"keydown",fn:function(r){if(r.defaultPrevented||32!==r.keyCode)return;let l=e.findClosestDraggableId(r);if(!l)return;let i=e.tryGetLock(l,d,{sourceEvent:r});if(!i)return;r.preventDefault();let o=!0,a=i.snapLift();function d(){o||S(),o=!1,t.current(),n()}t.current(),t.current=P(window,function(e,t){function r(){t(),e.cancel()}return[{eventName:"keydown",fn:n=>{if(27===n.keyCode){n.preventDefault(),r();return}if(32===n.keyCode){n.preventDefault(),t(),e.drop();return}if(40===n.keyCode){n.preventDefault(),e.moveDown();return}if(38===n.keyCode){n.preventDefault(),e.moveUp();return}if(39===n.keyCode){n.preventDefault(),e.moveRight();return}if(37===n.keyCode){n.preventDefault(),e.moveLeft();return}rm[n.keyCode]?n.preventDefault():rc(n)}},{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:rp,fn:r}]}(a,d),{capture:!0,passive:!1})}}),[e]),n=k(function(){t.current=P(window,[r],{passive:!1,capture:!0})},[r]);t0(function(){return n(),function(){t.current()}},[n])},function(e){let t=(0,a.useRef)(rb),r=(0,a.useRef)(w),n=k(function(){return t.current},[]),l=k(function(e){t.current=e},[]),i=F(()=>({eventName:"touchstart",fn:function(t){if(t.defaultPrevented)return;let n=e.findClosestDraggableId(t);if(!n)return;let l=e.tryGetLock(n,d,{sourceEvent:t});if(!l)return;let{clientX:i,clientY:o}=t.touches[0];r.current(),p(l,{x:i,y:o})}}),[e]),o=k(function(){r.current=P(window,[i],{capture:!0,passive:!1})},[i]),d=k(()=>{let e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),l(rb),r.current(),o())},[o,l]),s=k(()=>{let e=t.current;d(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[d]),u=k(function(){let e={capture:!0,passive:!1},t={cancel:s,completed:d,getPhase:n}
42,l=P(window,function({cancel:e,completed:t,getPhase:r}){return[{eventName:"touchmove",options:{capture:!1},fn:t=>{let n=r();if("DRAGGING"!==n.type)return void e();n.hasMoved=!0;let{clientX:l,clientY:i}=t.touches[0];t.preventDefault(),n.actions.move({x:l,y:i})}},{eventName:"touchend",fn:n=>{let l=r();"DRAGGING"!==l.type?e():(n.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),t())}},{eventName:"touchcancel",fn:t=>{"DRAGGING"!==r().type||t.preventDefault(),e()}},{eventName:"touchforcechange",fn:t=>{let n=r();"IDLE"===n.type&&S();let l=t.touches[0];if(!l||!(l.force>=.15))return;let i=n.actions.shouldRespectForcePress();if("PENDING"===n.type){i&&e();return}i?n.hasMoved?t.preventDefault():e():t.preventDefault()}},{eventName:rp,fn:e}]}(t),e),i=P(window,function({cancel:e,getPhase:t}){return[{eventName:"orientationchange",fn:e},{eventName:"resize",fn:e},{eventName:"contextmenu",fn:e=>{e.preventDefault()}},{eventName:"keydown",fn:r=>{"DRAGGING"!==t().type||27===r.keyCode&&r.preventDefault(),e()}},{eventName:rp,fn:e}]}(t),e);r.current=function(){l(),i()}},[s,n,d]),c=k(function(){let e=n();"PENDING"!==e.type&&S(),l({type:"DRAGGING",actions:e.actions.fluidLift(e.point),hasMoved:!1})},[n,l]),p=k(function(e,t){"IDLE"!==n().type&&S(),l({type:"PENDING",point:t,actions:e,longPressTimerId:setTimeout(c,120)}),u()},[u,n,l,c]);t0(function(){return o(),function(){r.current();let e=n();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),l(rb))}},[n,o,l]),t0(function(){return P(window,[{eventName:"touchmove",fn:()=>{},options:{capture:!1,passive:!1}}])},[])}];function rE(e){return e.current||S(),e.current}function rN(e){var t;let r,n,l,i,o,c,f,g,m,b,h,y,v,x,I,N,A,C,O,R,{contextId:B,setCallbacks:L,sensors:T,nonce:$,dragHandleUsageInstructions:H}=e,V=(0,a.useRef)(null);ra(()=>{let e;((e,t)=>{let r=ri(e),n=ri(t);if(n.major>r.major||!(n.major<r.major)&&(n.minor>r.minor||!(n.minor<r.minor)&&n.patch>=r.patch))return})("^18.0.0 || ^19.0.0",a.default.version),(e=document.doctype)&&(e.name.toLowerCase(),e.publicId)},[]);let q=rd(e),z=k(()=>{let e;return{onBeforeCapture:t=>{(0,d.flushSync)(()=>{e.onBeforeCapture&&e.onBeforeCapture(t)})},onBeforeDragStart:(e=q.current).onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}},[q]),Y=k(()=>{let e;return e=q.current,{...tM,...e.autoScrollerOptions,durationDampening:{...tM.durationDampening,...e.autoScrollerOptions}}},[q]),J=(r=F(()=>{let e;return e=t,`rfd-announcement-${e}`},[t=B]),n=(0,a.useRef)(null),(0,a.useEffect)(function(){let e=document.createElement("div");return n.current=e,e.id=r,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),E(e.style,re),t4().appendChild(e),function(){setTimeout(function(){let t=t4();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)})}},[r]),k(e=>{let t=n.current;if(t){t.textContent=e;return}},[])),K=function({contextId:e,text:t}){let r=rr("hidden-text",{separator:"-"}),n=F(()=>(function({contextId:e,uniqueId:t}){return`rfd-hidden-text-${e}-${t}`})({contextId:e,uniqueId:r}),[r,e]);return(0,a.useEffect)(function(){let e=document.createElement("div");return e.id=n,e.textContent=t,e.style.display="none",t4().appendChild(e),function(){let t=t4();t.contains(e)&&t.removeChild(e)}},[n,t]),n}({contextId:B,text:H}),X=(l=F(()=>{let e,t,r,n,l,i;return t=` 43 cursor: -webkit-grab; 44 cursor: grab; 45 `,r={selector:(e=e=>`[${e}="${B}"]`)(tJ.contextId),styles:{always:` 46 -webkit-touch-callout: none; 47 -webkit-tap-highlight-color: rgba(0,0,0,0); 48 touch-action: manipulation; 49 `,resting:t,dragging:"pointer-events: none;",dropAnimating:t}},n=` 50 transition: ${tf.outOfTheWay}; 51 `,l={selector:e(tK.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}},{always:tZ(i=[l,r,{selector:e(tX.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:` 52 cursor: grabbing; 53 cursor: -webkit-grabbing; 54 user-select: none; 55 -webkit-user-select: none; 56 -moz-user-select: none; 57 -ms-user-select: none;
58 overflow-anchor: none; 59 `}}],"always"),resting:tZ(i,"resting"),dragging:tZ(i,"dragging"),dropAnimating:tZ(i,"dropAnimating"),userCancel:tZ(i,"userCancel")}},[B]),i=(0,a.useRef)(null),o=(0,a.useRef)(null),c=k(ee(e=>{let t=o.current;t||S(),t.textContent=e}),[]),t0(()=>{(i.current||o.current)&&S();let e=t3($),t=t3($);return i.current=e,o.current=t,e.setAttribute(`${tY}-always`,B),t.setAttribute(`${tY}-dynamic`,B),t1().appendChild(e),t1().appendChild(t),f(l.always),c(l.resting),()=>{let e=e=>{let t=e.current;t||S(),t1().removeChild(t),e.current=null};e(i),e(o)}},[$,f=k(e=>{let t=i.current;t||S(),t.textContent=e},[]),c,l.always,l.resting,B]),g=k(()=>c(l.dragging),[c,l.dragging]),m=k(e=>{"DROP"===e?c(l.dropAnimating):c(l.userCancel)},[c,l.dropAnimating,l.userCancel]),F(()=>({dragging:g,dropping:m,resting:b}),[g,m,b=k(()=>{o.current&&c(l.resting)},[c,l.resting])])),Q=k(e=>{rE(V).dispatch(e)},[]),Z=F(()=>(0,s.bindActionCreators)({publishWhileDragging:e2,updateDroppableScroll:e7,updateDroppableIsEnabled:e6,updateDroppableIsCombineEnabled:e8,collectionStarting:e5},Q),[Q]),en=(h=F(t8,[]),(0,a.useEffect)(()=>function(){h.clean()},[h]),h),el=F(()=>{let e,t,r;return e=null,t=function({registry:e,callbacks:t}){let r=tC(),n=null,l=()=>{n||(t.collectionStarting(),n=requestAnimationFrame(()=>{n=null,eK();let{additions:l,removals:i,modified:o}=r,a=Object.keys(l).map(t=>e.draggable.getById(t).getDimension(W)).sort((e,t)=>e.descriptor.index-t.descriptor.index),d=Object.keys(o).map(t=>{let r=e.droppable.getById(t).callbacks.getScrollWhileDragging();return{droppableId:t,scroll:r}}),s={additions:a,removals:Object.keys(i),modified:d};r=tC(),eX(),t.publish(s)}))};return{add:e=>{let t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],l()},remove:e=>{let t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],l()},stop:()=>{n&&(cancelAnimationFrame(n),n=null,r=tC())}}}({callbacks:{publish:Z.publishWhileDragging,collectionStarting:Z.collectionStarting},registry:en}),r=r=>{e||S();let n=e.critical.draggable;"ADDITION"===r.type&&tB(en,n,r.value)&&t.add(r.value),"REMOVAL"===r.type&&tB(en,n,r.value)&&t.remove(r.value)},{updateDroppableIsEnabled:(t,r)=>{en.droppable.exists(t)||S(),e&&Z.updateDroppableIsEnabled({id:t,isEnabled:r})},updateDroppableIsCombineEnabled:(t,r)=>{e&&(en.droppable.exists(t)||S(),Z.updateDroppableIsCombineEnabled({id:t,isCombineEnabled:r}))},scrollDroppable:(t,r)=>{e&&en.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:(t,r)=>{e&&(en.droppable.exists(t)||S(),Z.updateDroppableScroll({id:t,newScroll:r}))},startPublishing:t=>{e&&S();let n=en.draggable.getById(t.draggableId),l=en.droppable.getById(n.descriptor.droppableId),i={draggable:n.descriptor,droppable:l.descriptor};return e={critical:i,unsubscribe:en.subscribe(r)},(({critical:e,scrollOptions:t,registry:r})=>{let n,l,i,o,a,d;eK();let s=(n=tv(),l=tR(),i=n.y,o=n.x,d=(a=tO()).clientWidth,{frame:p({top:i,left:o,right:o+d,bottom:i+a.clientHeight}),scroll:{initial:n,current:n,max:l,diff:{value:W,displacement:W}}}),u=s.scroll.current,c=e.droppable,f=r.droppable.getAllByType(c.type).map(e=>e.callbacks.getDimensionAndWatchScroll(u,t)),g={draggables:er(r.draggable.getAllByType(e.draggable.type).map(e=>e.getDimension(u))),droppables:et(f)};return eX(),{dimensions:g,critical:e,viewport:s}})({critical:i,registry:en,scrollOptions:t.scrollOptions})},stopPublishing:()=>{if(!e)return;t.stop();let r=e.critical.droppable;en.droppable.getAllByType(r.type).forEach(e=>e.callbacks.dragStopped()),e.unsubscribe(),e=null}}},[en,Z]),ei=F(()=>(({scrollDroppable:e,scrollWindow:t,move:r,getAutoScrollerOptions:n})=>{let l=(({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:r=()=>tM})=>{let n=D(e),l=D(t),i=null,o=e=>{i||S();let{shouldUseTimeDampening:t,dragStartTime:o}=i;tz({state:e,scrollWindow:n,scrollDroppable:l,dragStartTime:o,shouldUseTimeDampening:t,getAutoScrollerOptions:r})};return{start:e=>{eK(),i&&S();let t=Date.now(),n=!1,l=()=>{n=!0};tz({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:l,scrollDroppable:l,getAutoScrollerOptions:r}),i={dragStartTime:t,shouldUseTimeDampening:n},eX(),n&&o(e)},stop:()=>
59{i&&(n.cancel(),l.cancel(),i=null)},scroll:o}})({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:n}),i=(({move:e,scrollDroppable:t,scrollWindow:r})=>n=>{let l=n.scrollJumpRequest;if(!l)return;let i=eF(n.impact);i||S();let o=((e,r)=>{let n;if(!tq(e,r))return r;let l=(n=e.frame)&&tq(e,r)?tU({current:n.scroll.current,max:n.scroll.max,change:r}):null;if(!l)return t(e.descriptor.id,r),null;let i=U(r,l);return t(e.descriptor.id,i),U(r,i)})(n.dimensions.droppables[i],l);if(!o)return;let a=n.viewport,d=((e,t,n)=>{if(!e||!tV(t,n))return n;let l=((e,t)=>{if(!tV(e,t))return null;let r=e.scroll.max;return tU({current:e.scroll.current,max:r,change:t})})(t,n);if(!l)return r(n),null;let i=U(n,l);return r(i),U(n,i)})(n.isWindowScrollAllowed,a,o);d&&e({client:j(n.current.client.selection,d)})})({move:r,scrollWindow:t,scrollDroppable:e});return{scroll:e=>{n().disabled||"DRAGGING"!==e.phase||("FLUID"===e.movementMode?l.scroll(e):e.scrollJumpRequest&&i(e))},start:l.start,stop:l.stop}})({scrollWindow:tT,scrollDroppable:el.scrollDroppable,getAutoScrollerOptions:Y,...(0,s.bindActionCreators)({move:e9},Q)}),[el.scrollDroppable,Q,Y]),ed=(y=(0,a.useRef)({}),v=(0,a.useRef)(null),x=(0,a.useRef)(null),I=(0,a.useRef)(!1),N=k(function(e,t){let r={id:e,focus:t};return y.current[e]=r,function(){let t=y.current;t[e]!==r&&delete t[e]}},[]),A=k(function(e){let t=t6(B,e);t&&t!==document.activeElement&&t.focus()},[B]),C=k(function(e,t){v.current===e&&(v.current=t)},[]),O=k(function(){x.current||I.current&&(x.current=requestAnimationFrame(()=>{x.current=null;let e=v.current;e&&A(e)}))},[A]),R=k(function(e){v.current=null;let t=document.activeElement;t&&t.getAttribute(tJ.draggableId)===e&&(v.current=e)},[]),t0(()=>(I.current=!0,function(){I.current=!1;let e=x.current;e&&cancelAnimationFrame(e)}),[]),F(()=>({register:N,tryRecordFocus:R,tryRestoreFocusRecorded:O,tryShiftRecord:C}),[N,R,O,C])),es=F(()=>(({dimensionMarshal:e,focusMarshal:t,styleMarshal:r,getResponders:n,announce:l,autoScroller:i})=>{let o,a,d,u,c,p;return(0,s.createStore)(e1,tP((0,s.applyMiddleware)(()=>e=>t=>{e3(t,"INITIAL_PUBLISH")&&r.dragging(),e3(t,"DROP_ANIMATE")&&r.dropping(t.payload.completed.result.reason),(e3(t,"FLUSH")||e3(t,"DROP_COMPLETE"))&&r.resting(),e(t)},()=>t=>r=>{(e3(r,"DROP_COMPLETE")||e3(r,"FLUSH")||e3(r,"DROP_ANIMATE"))&&e.stopPublishing(),t(r)},({getState:t,dispatch:r})=>n=>l=>{if(!e3(l,"LIFT"))return void n(l);let{id:i,clientSelection:o,movementMode:a}=l.payload,d=t();"DROP_ANIMATING"===d.phase&&r(tl({completed:d.completed})),"IDLE"!==t().phase&&S(),r(tn()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:i,movementMode:a}});let{critical:s,dimensions:u,viewport:c}=e.startPublishing({draggableId:i,scrollOptions:{shouldPublishImmediately:"SNAP"===a}});r({type:"INITIAL_PUBLISH",payload:{critical:s,dimensions:u,clientSelection:o,movementMode:a,viewport:c}})},ty,tN,tA,tw,e=>t=>r=>{if(e3(r,"DROP_COMPLETE")||e3(r,"DROP_ANIMATE")||e3(r,"FLUSH")){i.stop(),t(r);return}if(e3(r,"INITIAL_PUBLISH")){t(r);let n=e.getState();"DRAGGING"!==n.phase&&S(),i.start(n);return}t(r),i.scroll(e.getState())},tx,(o=!1,()=>e=>r=>{if(e3(r,"INITIAL_PUBLISH")){o=!0,t.tryRecordFocus(r.payload.critical.draggable.id),e(r),t.tryRestoreFocusRecorded();return}if(e(r),o){if(e3(r,"FLUSH")){o=!1,t.tryRestoreFocusRecorded();return}if(e3(r,"DROP_COMPLETE")){o=!1;let e=r.payload.completed.result;e.combine&&t.tryShiftRecord(e.draggableId,e.combine.draggableId),t.tryRestoreFocusRecorded()}}}),(a=[],d={add:e=>{let t=setTimeout(()=>(e=>{let t=a.findIndex(t=>t.timerId===e);-1===t&&S();let[r]=a.splice(t,1);r.callback()})(t));a.push({timerId:t,callback:e})},flush:()=>
59{if(!a.length)return;let e=[...a];a.length=0,e.forEach(e=>{clearTimeout(e.timerId),e.callback()})}},u=null,p={beforeCapture:(e,t)=>{u&&S(),tI("onBeforeCapture",()=>{let r=n().onBeforeCapture;r&&r({draggableId:e,mode:t})})},beforeStart:(e,t)=>{u&&S(),tI("onBeforeDragStart",()=>{let r=n().onBeforeDragStart;r&&r(tD(e,t))})},start:(e,t)=>{u&&S();let r=tD(e,t);u={mode:t,lastCritical:e,lastLocation:r.source,lastCombine:null},d.add(()=>{tI("onDragStart",()=>tE(n().onDragStart,r,l,G))})},update:(e,t)=>{var r,i;let o=eo(t),a=ea(t);u||S();let s=!((e,t)=>{if(e===t)return!0;let r=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,n=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return r&&n})(e,u.lastCritical);s&&(u.lastCritical=e);let c=(r=u.lastLocation,(null!=r||null!=o)&&(null==r||null==o||r.droppableId!==o.droppableId||r.index!==o.index));c&&(u.lastLocation=o);let p=(i=u.lastCombine,(null!=i||null!=a)&&(null==i||null==a||i.draggableId!==a.draggableId||i.droppableId!==a.droppableId));if(p&&(u.lastCombine=a),!s&&!c&&!p)return;let f={...tD(e,u.mode),combine:a,destination:o};d.add(()=>{tI("onDragUpdate",()=>tE(n().onDragUpdate,f,l,M))})},flush:()=>{u||S(),d.flush()},drop:c=e=>{u||S(),u=null,tI("onDragEnd",()=>tE(n().onDragEnd,e,l,_))},abort:()=>{u&&c({...tD(u.lastCritical,u.mode),combine:null,destination:null,reason:"CANCEL"})}},e=>t=>r=>{if(e3(r,"BEFORE_INITIAL_CAPTURE"))return void p.beforeCapture(r.payload.draggableId,r.payload.movementMode);if(e3(r,"INITIAL_PUBLISH")){let e=r.payload.critical;p.beforeStart(e,r.payload.movementMode),t(r),p.start(e,r.payload.movementMode);return}if(e3(r,"DROP_COMPLETE")){let e=r.payload.completed.result;p.flush(),t(r),p.drop(e);return}if(t(r),e3(r,"FLUSH"))return void p.abort();let n=e.getState();"DRAGGING"===n.phase&&p.update(n.critical,n.impact)}))))})({announce:J,autoScroller:ei,dimensionMarshal:el,focusMarshal:ed,getResponders:z,styleMarshal:X}),[J,ei,el,ed,z,X]);V.current=es;let eu=k(()=>{let e=rE(V);"IDLE"!==e.getState().phase&&e.dispatch(tn())},[]),ec=k(()=>{let e=rE(V).getState();return"DROP_ANIMATING"===e.phase||"IDLE"!==e.phase&&e.isDragging},[]);L(F(()=>({isDragging:ec,tryAbort:eu}),[ec,eu]));let ep=k(e=>tL(rE(V).getState(),e),[]),ef=k(()=>ek(rE(V).getState()),[]),eg=F(()=>({marshal:el,focus:ed,contextId:B,canLift:ep,isMovementAllowed:ef,dragHandleUsageInstructionsId:K,registry:en}),[B,el,K,ed,ep,ef,en]);return!function({contextId:e,store:t,registry:r,customSensors:n,enableDefaultSensors:l}){let i=[...l?rD:[],...n||[]],o=(0,a.useState)(()=>(function(){let e=null;function t(){e||S(),e=null}return{isClaimed:function(){return!!e},isActive:function(t){return t===e},claim:function(t){e&&S();let r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}})())[0],d=k(function(e,t){rs(e)&&!rs(t)&&o.tryAbandon()},[o]);t0(function(){let e=t.getState();return t.subscribe(()=>{let r=t.getState();d(e,r),e=r})},[o,t,d]),t0(()=>o.tryAbandon,[o.tryAbandon]);let s=k(e=>rI({lockAPI:o,registry:r,store:t,draggableId:e}),[o,r,t]),u=k((n,l,i)=>(function({lockAPI:e,contextId:t,store:r,registry:n,draggableId:l,forceSensorStop:i,sourceEvent:o}){var a;let d,s;if(!rI({lockAPI:e,store:r,registry:n,draggableId:l}))return null;let u=n.draggable.getById(l),c=(a=u.descriptor.id,(d=t2(document,`[${tK.contextId}="${t}"]`).find(e=>e.getAttribute(tK.id)===a))&&t7(d)?d:null);if(!c||o&&!u.options.canDragInteractiveElements&&t7(s=o.target)&&function e(t,r){if(null==r)return!1;if(rh.includes(r.tagName.toLowerCase()))return!0;let n=r.getAttribute("contenteditable");return"true"===n||""===n||r!==t&&e(t,r.parentElement)}(c,s))return null;let f=e.claim(i||w),g="PRE_DRAG";function m(){return u.options.shouldRespectForcePress}function b(){return e.isActive(f)}let h=(function(e,t){rx({expected:e,phase:g,isLockActive:b,shouldWarn:!0})&&r.dispatch(t())}).bind(null,"DRAGGING");function y(t){function n(){e.release(),g="COMPLETED"}function l(e,i={shouldBlockNextClick:!1}){t.cleanup(),i.shouldBlockNextClick&&setTimeout(P(window,[{eventName:"click",fn:rv,options:{once:!0,passive:!1,capture:!0}}])),n(),r.dispatch(ti({reason:e}))}return"PRE_DRAG"!==g&&(n(),S()),r.dispatch({type:"LIFT",payload:t.liftActionArgs}),g="DRAGGING",{isActive:()=>rx({expected:"DRAGGING",phase:g,isLockActive:b,shouldWarn:!1}),shouldRespectForcePress:m,drop:e=>l("DROP",e),cancel:e=>l("CANCEL",e),...t.actions}}return{isActive:()=>rx({expected:"PRE_DRAG",phase:g,isLockActive:b,shouldWarn:!1}),shouldRespectForcePress:m,fluidLift:function(e){let t=D(e=>{h(()=>e9({client:e}))});return{...y({liftActionArgs:{id:l,clientSelection:e,movementMode:"FLUID"},cleanup:()=>t.cancel(),actions:{move:t}}),move:t}},snapLift:function(){return y({liftActionArgs:{id:l,clientSelection:p(c.getBoundingClientRect()).center,movementMode:"SNAP"}
59,cleanup:w,actions:{moveUp:()=>h(e4),moveRight:()=>h(tt),moveDown:()=>h(te),moveLeft:()=>h(tr)}})},abort:function(){rx({expected:"PRE_DRAG",phase:g,isLockActive:b,shouldWarn:!0})&&e.release()}}})({lockAPI:o,registry:r,contextId:e,store:t,draggableId:n,forceSensorStop:l||null,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null}),[e,o,r,t]),c=k(t=>{let r;return(r=function(e,t){let r=t.target;if(!(r instanceof t5(r).Element))return null;let n=`[${tJ.contextId}="${e}"]`,l=r.closest?r.closest(n):function e(t,r){return null==t?null:t[ry](r)?t:e(t.parentElement,r)}(r,n);return l&&t7(l)?l:null}(e,t))?r.getAttribute(tJ.draggableId):null},[e]),f=k(e=>{let t=r.draggable.findById(e);return t?t.options:null},[r.draggable]),g=k(function(){o.isClaimed()&&(o.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(tn()))},[o,t]),m=k(()=>o.isClaimed(),[o]),b=F(()=>({canGetLock:s,tryGetLock:u,findClosestDraggableId:c,findOptionsForDraggable:f,tryReleaseLock:g,isLockClaimed:m}),[s,u,c,f,g,m]);ro(()=>{let e=rd(i);ra(()=>{e.current.length!==i.length&&S(!1)})});for(let e=0;e<i.length;e++)i[e](b)}({contextId:B,store:es,registry:en,customSensors:T||null,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,a.useEffect)(()=>eu,[eu]),a.default.createElement(rn.Provider,{value:eg},a.default.createElement(u.Provider,{context:t9,store:es},e.children))}var rA=a.default.createContext(null);function rw(e){e&&t7(e)||S()}function rP(e){let t=(0,a.useContext)(e);return t||S(),t}function rC(e){e.preventDefault()}var rS=(e,t)=>e===t,rO=e=>{let{combine:t,destination:r}=e;return r?r.droppableId:t?t.droppableId:null};function rR(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}let rB={mapped:{type:"SECONDARY",offset:W,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:rR(null)}},rL=(0,u.connect)(()=>{let e,t,r,n,l,i,o,a,d=(e=ee((e,t)=>({x:e,y:t})),t=ee((e,t,r=null,n=null,l=null)=>({isDragging:!0,isClone:t,isDropAnimating:!!l,dropAnimation:l,mode:e,draggingOver:r,combineWith:n,combineTargetFor:null})),r=ee((e,r,n,l,i=null,o=null,a=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:o,mode:r,offset:e,dimension:n,forceShouldAnimate:a,snapshot:t(r,l,i,o,null)}})),(n,l)=>{if(rs(n)){let t;if(n.critical.draggable.id!==l.draggableId)return null;let i=n.current.client.offset,o=n.dimensions.draggables[l.draggableId],a=eF(n.impact),d=(t=n.impact).at&&"COMBINE"===t.at.type?t.at.combine.draggableId:null,s=n.forceShouldAnimate;return r(e(i.x,i.y),n.movementMode,o,l.isClone,a,d,s)}if("DROP_ANIMATING"===n.phase){let e=n.completed;if(e.result.draggableId!==l.draggableId)return null;let r=l.isClone,i=n.dimensions.draggables[l.draggableId],o=e.result,a=o.mode,d=rO(o),s=o.combine?o.combine.draggableId:null,u={duration:n.dropDuration,curve:ta,moveTo:n.newHomeClientOffset,opacity:s?td:null,scale:s?tu:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:i,dropping:u,draggingOver:d,combineWith:s,mode:a,forceShouldAnimate:null,snapshot:t(a,r,d,s,u)}}}return null}),s=(n=ee((e,t)=>({x:e,y:t})),l=ee(rR),i=ee((e,t=null,r)=>({mapped:{type:"SECONDARY",offset:e,combineTargetFor:t,shouldAnimateDisplacement:r,snapshot:l(t)}})),o=e=>e?i(W,e,!0):null,a=(e,t,r,l)=>{let a=r.displaced.visible[e],d=!!(l.inVirtualList&&l.effected[e]),s=ea(r),u=s&&s.draggableId===e?t:null;if(!a){if(!d)return o(u);if(r.displaced.invisible[e])return null;let t=V(l.displacedBy.point);return i(n(t.x,t.y),u,!0)}if(d)return o(u);let c=r.displacedBy.point;return i(n(c.x,c.y),u,a.shouldAnimate)},(e,t)=>{if(rs(e))return e.critical.draggable.id===t.draggableId?null:a(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){let r=e.completed;return r.result.draggableId===t.draggableId?null:a(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null});return(e,t)=>d(e,t)||s(e,t)||rB},{dropAnimationFinished:to},null,{context:t9,areStatePropsEqual:rS})(e=>{let t=(0,a.useRef)(null),r=k((e=null)=>{t.current=e},[]),n=k(()=>t.current,[]),{contextId:l,dragHandleUsageInstructionsId:i,registry:o}=rP(rn),{type:s,droppableId:u}=rP(rA),c=F(()=>({id:e.draggableId,index:e.index,type:s,droppableId:u}),[e.draggableId,e.index,s,u]),{children:p,draggableId:f,isEnabled:g,shouldRespectForcePress:m,canDragInteractiveElements:b,isClone:h,mapped:y,dropAnimationFinished:I}=e;ra(()=>{let t=e.draggableId;t||S(!1),"string"!=typeof t&&S(!1),Number.isInteger(e.index)||S(!1),"DRAGGING"!==e.mapped.type&&(rw(n()),e.isEnabled&&(t6(l,t)||S(!1)))}),ro(()=>{let e=(0,a.useRef)(h);ra(()=>{h!==e.current&&S(!1)}
59,[h])}),h||function(e){let t=rr("draggable"),{descriptor:r,registry:n,getDraggableRef:l,canDragInteractiveElements:i,shouldRespectForcePress:o,isEnabled:d}=e,s=F(()=>({canDragInteractiveElements:i,shouldRespectForcePress:o,isEnabled:d}),[i,d,o]),u=k(e=>{let t=l();return t||S(),function(e,t,r=W){let n=window.getComputedStyle(t),l=x(t.getBoundingClientRect(),n),i=v(l,r),o={client:l,tagName:t.tagName.toLowerCase(),display:n.display};return{descriptor:e,placeholder:o,displaceBy:{x:l.marginBox.width,y:l.marginBox.height},client:l,page:i}}(r,t,e)},[r,l]),c=F(()=>({uniqueId:t,descriptor:r,options:s,getDimension:u}),[r,u,s,t]),p=(0,a.useRef)(c),f=(0,a.useRef)(!0);t0(()=>(n.draggable.register(p.current),()=>n.draggable.unregister(p.current)),[n.draggable]),t0(()=>{if(f.current){f.current=!1;return}let e=p.current;p.current=c,n.draggable.update(c,e)},[c,n.draggable])}(F(()=>({descriptor:c,registry:o,getDraggableRef:n,canDragInteractiveElements:b,shouldRespectForcePress:m,isEnabled:g}),[c,o,n,b,m,g]));let D=F(()=>g?{tabIndex:0,role:"button","aria-describedby":i,"data-rfd-drag-handle-draggable-id":f,"data-rfd-drag-handle-context-id":l,draggable:!1,onDragStart:rC}:null,[l,i,f,g]),E=k(e=>{"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&(0,d.flushSync)(I)},[I,y]),N=F(()=>{let e="DRAGGING"===y.type?function(e){let t=e.dimension.client,{offset:r,combineWith:n,dropping:l}=e,i=!!n,o=null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode,a=!!l,d=a?((e,t)=>{let r=tg(e);if(r)return t?`${r} scale(${tu})`:r})(r,i):tg(r);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:l?tf.drop(l.duration):o?tf.snap:tf.fluid,transform:d,opacity:((e,t)=>{if(e)return t?td:ts})(i,a),zIndex:a?4500:5e3,pointerEvents:"none"}}(y):{transform:tg(y.offset),transition:y.shouldAnimateDisplacement?void 0:"none"};return{innerRef:r,draggableProps:{"data-rfd-draggable-context-id":l,"data-rfd-draggable-id":f,style:e,onTransitionEnd:"DRAGGING"===y.type&&y.dropping?E:void 0},dragHandleProps:D}},[l,D,f,y,E,r]),A=F(()=>({draggableId:c.id,type:c.type,source:{index:c.index,droppableId:c.droppableId}}),[c.droppableId,c.id,c.index,c.type]);return a.default.createElement(a.default.Fragment,null,p(N,y.snapshot,A))});function rT(e){return rP(rA).isUsingCloneFor!==e.draggableId||e.isClone?a.default.createElement(rL,e):null}let rG=e=>t=>e===t,rM=rG("scroll"),r_=rG("auto");rG("visible");let r$=(e,t)=>t(e.overflowX)||t(e.overflowY),rF=e=>{let t,r;return null==e||e===document.body||e===document.documentElement?null:r$(r={overflowX:(t=window.getComputedStyle(e)).overflowX,overflowY:t.overflowY},rM)||r$(r,r_)?e:rF(e.parentElement)};var rk=e=>({x:e.scrollLeft,y:e.scrollTop});let rW=e=>!!e&&("fixed"===window.getComputedStyle(e).position||rW(e.parentElement)),rj={passive:!1},rU={passive:!0};var rH=e=>e.shouldPublishImmediately?rj:rU;let rV=e=>e&&e.env.closestScrollable||null;function rq(){}let rz={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}};var rY=a.default.memo(e=>{let t=(0,a.useRef)(null),r=k(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]),{animate:n,onTransitionEnd:l,onClose:i,contextId:o}=e,[d,s]=(0,a.useState)("open"===e.animate);(0,a.useEffect)(()=>d?"open"!==n?(r(),s(!1),rq):t.current?rq:(t.current=setTimeout(()=>{t.current=null,s(!1)}),r):rq,[n,d,r]);let u=k(e=>{"height"===e.propertyName&&(l(),"close"===n&&i())},[n,i,l]),c=(({isAnimatingOpenOnMount:e,placeholder:t,animate:r})=>{let n=(({isAnimatingOpenOnMount:e,placeholder:t,animate:r})=>e||"close"===r?rz:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin})({isAnimatingOpenOnMount:e,placeholder:t,animate:r});return{display:t.display,boxSizing:"border-box",width:n.width,height:n.height,marginTop:n.margin.top,marginRight:n.margin.right,marginBottom:n.margin.bottom,marginLeft:n.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?tf.placeholder:null}})({isAnimatingOpenOnMount:d,animate:e.animate,placeholder:e.placeholder});return a.default.createElement(e.placeholder.tagName,{style:c,"data-rfd-placeholder-context-id":o,onTransitionEnd:u,ref:e.innerRef})});function rJ(e){return"boolean"==typeof e}function rK(e,t){t.forEach(t=>t(e))}let rX=[function({props:e}){e.droppableId||S(),"string"!=typeof e.droppableId&&S()},function({props:e}
59){rJ(e.isDropDisabled)||S(),rJ(e.isCombineEnabled)||S(),rJ(e.ignoreContainerClipping)||S()},function({getDroppableRef:e}){rw(e())}],rQ=[function({props:e,getPlaceholderRef:t}){if(!e.placeholder||t())return}],rZ=[function({props:e}){e.renderClone||S()},function({getPlaceholderRef:e}){e()&&S()}];class r0 extends a.default.PureComponent{constructor(...e){super(...e),this.state={isVisible:!!this.props.on,data:this.props.on,animate:this.props.shouldAnimate&&this.props.on?"open":"none"},this.onClose=()=>{"close"===this.state.animate&&this.setState({isVisible:!1})}}static getDerivedStateFromProps(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!e.on,data:e.on,animate:"none"}}render(){if(!this.state.isVisible)return null;let e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)}}let r1={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||S(),document.body}},r3=e=>{let t,r={...e};for(t in r1)void 0===e[t]&&(r={...r,[t]:r1[t]});return r},r2=(e,t)=>t.draggables[e.draggable.id],r5=(0,u.connect)(()=>{let e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},r=ee(e=>({draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}})),n=ee((n,l,i,o,a,d)=>{let s=a.descriptor.id;if(a.descriptor.droppableId===n){let e=d?{render:d,dragging:r(a.descriptor)}:null;return{placeholder:a.placeholder,shouldAnimatePlaceholder:!1,snapshot:{isDraggingOver:i,draggingOverWith:i?s:null,draggingFromThisWith:s,isUsingPlaceholder:!0},useClone:e}}return l?o?{placeholder:a.placeholder,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:i,draggingOverWith:s,draggingFromThisWith:null,isUsingPlaceholder:!0},useClone:null}:e:t});return(r,l)=>{let i=r3(l),o=i.droppableId,a=i.type,d=!i.isDropDisabled,s=i.renderClone;if(rs(r)){let e=r.critical;if(a!==e.droppable.type)return t;let l=r2(e,r.dimensions),i=eF(r.impact)===o;return n(o,d,i,i,l,s)}if("DROP_ANIMATING"===r.phase){let e=r.completed;if(a!==e.critical.droppable.type)return t;let l=r2(e.critical,r.dimensions);return n(o,d,rO(e.result)===o,eF(e.impact)===o,l,s)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){let n=r.completed;if(a!==n.critical.droppable.type)return t;let l=eF(n.impact)===o,i=!!(n.impact.at&&"COMBINE"===n.impact.at.type),d=n.critical.droppable.id===o;if(l)return i?e:t;if(d)return e}return t}},{updateViewportMaxScroll:e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e})},(e,t,r)=>({...r3(r),...e,...t}),{context:t9,areStatePropsEqual:rS})(e=>{var t;let r=(0,a.useContext)(rn);r||S();let{contextId:n,isMovementAllowed:l}=r,i=(0,a.useRef)(null),o=(0,a.useRef)(null),{children:s,droppableId:u,type:c,mode:p,direction:g,ignoreContainerClipping:m,isDropDisabled:h,isCombineEnabled:y,snapshot:x,useClone:E,updateViewportMaxScroll:N,getContainerForClone:A}=e,w=k(()=>i.current,[]),P=k((e=null)=>{i.current=e},[]),C=k(()=>o.current,[]),O=k((e=null)=>{o.current=e},[]);t={props:e,getDroppableRef:w,getPlaceholderRef:C},ra(()=>{rK(t,rX),"standard"===t.props.mode&&rK(t,rQ),"virtual"===t.props.mode&&rK(t,rZ)});let R=k(()=>{l()&&N({maxScroll:tR()})},[l,N]);!function(e){let t=(0,a.useRef)(null),r=rP(rn),n=rr("droppable"),{registry:l,marshal:i}=r,o=rd(e),d=F(()=>({id:e.droppableId,type:e.type,mode:e.mode}),[e.droppableId,e.mode,e.type]),s=(0,a.useRef)(d),u=F(()=>ee((e,r)=>{t.current||S(),i.updateDroppableScroll(d.id,{x:e,y:r})}),[d.id,i]),c=k(()=>{let e=t.current;return e&&e.env.closestScrollable?rk(e.env.closestScrollable):W},[]),p=k(()=>{let e=c();u(e.x,e.y)},[c,u]),g=F(()=>D(p),[p]),m=k(()=>{let e=t.current,r=rV(e);(e&&r||S(),e.scrollOptions.shouldPublishImmediately)?p():g()},[g,p]),h=k((e,n)=>{t.current&&S();let l=o.current,i=l.getDroppableRef();i||S();let a={closestScrollable:rF(i),isFixedOnPage:rW(i)},s={ref:i,descriptor:d,env:a,scrollOptions:n};t.current=s;let u=(({ref:e,descriptor:t,env:r,windowScroll:n,direction:l,isDropDisabled:i,isCombine
59Enabled:o,shouldClipSubject:a})=>{let d=r.closestScrollable,s=((e,t)=>{let r=I(e);if(!t||e!==t)return r;let n=r.paddingBox.top-t.scrollTop,l=r.paddingBox.left-t.scrollLeft,i=n+t.scrollHeight;return b({borderBox:f({top:n,right:l+t.scrollWidth,bottom:i,left:l},r.border),margin:r.margin,border:r.border,padding:r.padding})})(e,d),u=v(s,n),c=(()=>{if(!d)return null;let e=I(d),t={scrollHeight:d.scrollHeight,scrollWidth:d.scrollWidth};return{client:e,page:v(e,n),scroll:rk(d),scrollSize:t,shouldClipSubject:a}})();return(({descriptor:e,isEnabled:t,isCombineEnabled:r,isFixedOnPage:n,direction:l,client:i,page:o,closest:a})=>{let d=(()=>{if(!a)return null;let{scrollSize:e,client:t}=a,r=tS({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:a.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:a.shouldClipSubject,scroll:{initial:a.scroll,current:a.scroll,max:r,diff:{value:W,displacement:W}}}})(),s="vertical"===l?eb:eh,u=Q({page:o,withPlaceholder:null,axis:s,frame:d});return{descriptor:e,isCombineEnabled:r,isFixedOnPage:n,axis:s,isEnabled:t,client:i,page:o,frame:d,subject:u}})({descriptor:t,isEnabled:!i,isCombineEnabled:o,isFixedOnPage:r.isFixedOnPage,direction:l,client:s,page:u,closest:c})})({ref:i,descriptor:d,env:a,windowScroll:e,direction:l.direction,isDropDisabled:l.isDropDisabled,isCombineEnabled:l.isCombineEnabled,shouldClipSubject:!l.ignoreContainerClipping}),c=a.closestScrollable;return c&&(c.setAttribute(tQ.contextId,r.contextId),c.addEventListener("scroll",m,rH(s.scrollOptions))),u},[r.contextId,d,m,o]),y=k(()=>{let e=t.current,r=rV(e);return e&&r||S(),rk(r)},[]),x=k(()=>{let e=t.current;e||S();let r=rV(e);t.current=null,r&&(g.cancel(),r.removeAttribute(tQ.contextId),r.removeEventListener("scroll",m,rH(e.scrollOptions)))},[m,g]),E=k(e=>{let r=t.current;r||S();let n=rV(r);n||S(),n.scrollTop+=e.y,n.scrollLeft+=e.x},[]),N=F(()=>({getDimensionAndWatchScroll:h,getScrollWhileDragging:y,dragStopped:x,scroll:E}),[x,h,y,E]),A=F(()=>({uniqueId:n,descriptor:d,callbacks:N}),[N,d,n]);t0(()=>(s.current=A.descriptor,l.droppable.register(A),()=>{t.current&&x(),l.droppable.unregister(A)}),[N,d,x,A,i,l.droppable]),t0(()=>{t.current&&i.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)},[e.isDropDisabled,i]),t0(()=>{t.current&&i.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)},[e.isCombineEnabled,i])}({droppableId:u,type:c,mode:p,direction:g,isDropDisabled:h,isCombineEnabled:y,ignoreContainerClipping:m,getDroppableRef:w});let B=F(()=>a.default.createElement(r0,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},({onClose:e,data:t,animate:r})=>a.default.createElement(rY,{placeholder:t,onClose:e,innerRef:O,animate:r,contextId:n,onTransitionEnd:R})),[n,R,e.placeholder,e.shouldAnimatePlaceholder,O]),L=F(()=>({innerRef:P,placeholder:B,droppableProps:{"data-rfd-droppable-id":u,"data-rfd-droppable-context-id":n}}),[n,u,B,P]),T=E?E.dragging.draggableId:null,G=F(()=>({droppableId:u,type:c,isUsingCloneFor:T}),[u,T,c]);return a.default.createElement(rA.Provider,{value:G},s(L,x),function(){if(!E)return null;let{dragging:e,render:t}=E,r=a.default.createElement(rT,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(r,n)=>t(r,n,e));return d.default.createPortal(r,A())}())});e.s(["DragDropContext",0,function(e){let t=a.default.useId(),r=e.dragHandleUsageInstructions||R;return a.default.createElement(O,null,n=>a.default.createElement(rN,{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,autoScrollerOptions:e.autoScrollerOptions},e.children))},"Draggable",0,function(e){let t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=!!e.disableInteractiveElementBlocking,n=!!e.shouldRespectForcePress;return a.default.createElement(rT,E({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))},"Droppable",0,r5],421032)},861861,e=>{"use strict";e.s(["default",0,function(e,t){if(!e)throw Error("Invariant failed")}])},331753,(e,t,r)=>{"use strict";var n=e.r(533337),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useSyncExternalStore,o=n.useRef,a=n.useEffect,d=n.useMemo,s=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,u){var c=o(null);if(null===c.current){var p={hasValue:!1,value:null};c.current=p}else p=c.current;var f=i(e,(c=d(function(){function e(e){if(!a){if(a=!0,i=e,e=n(e),void 0!==u&&p.hasValue){var t=p.value;if(u(t,e))return o=t}return o=e}if(t=o,l(i,e))return t;var r=n(e);return void 0!==u&&u(t,r)?(i=e,t):(i=e,o=r)}var i,o,a=!1,d=void 0===r?null:r;return[function(){return e(t())},null===d?void 0:function(){return e(d())}]}
59,[t,r,n,u]))[0],c[1]);return a(function(){p.hasValue=!0,p.value=f},[f]),s(f),f}},215018,(e,t,r)=>{"use strict";t.exports=e.r(331753)},122677,875169,e=>{"use strict";function t(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var r="function"==typeof Symbol&&Symbol.observable||"@@observable",n=()=>Math.random().toString(36).substring(7).split("").join("."),l={INIT:`@@redux/INIT${n()}`,REPLACE:`@@redux/REPLACE${n()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${n()}`};function i(e,t){return function(...r){return t(e.apply(this,r))}}function o(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...r)=>e(t(...r)))}e.s(["applyMiddleware",0,function(...e){return r=>(n,l)=>{let i=r(n,l),a=()=>{throw Error(t(15))},d={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=o(...e.map(e=>e(d)))(i.dispatch),{...i,dispatch:a}}},"bindActionCreators",0,function(e,r){if("function"==typeof e)return i(e,r);if("object"!=typeof e||null===e)throw Error(t(16));let n={};for(let t in e){let l=e[t];"function"==typeof l&&(n[t]=i(l,r))}return n},"compose",0,o,"createStore",0,function e(n,i,o){if("function"!=typeof n)throw Error(t(2));if("function"==typeof i&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw Error(t(0));if("function"==typeof i&&void 0===o&&(o=i,i=void 0),void 0!==o){if("function"!=typeof o)throw Error(t(1));return o(e)(n,i)}let a=n,d=i,s=new Map,u=s,c=0,p=!1;
59function f(){u===s&&(u=new Map,s.forEach((e,t)=>{u.set(t,e)}))}function g(){if(p)throw Error(t(3));return d}function m(e){if("function"!=typeof e)throw Error(t(4));if(p)throw Error(t(5));let r=!0;f();let n=c++;return u.set(n,e),function(){if(r){if(p)throw Error(t(6));r=!1,f(),u.delete(n),s=null}}}function b(e){if(!function(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw Error(t(7));if(void 0===e.type)throw Error(t(8));if("string"!=typeof e.type)throw Error(t(17));if(p)throw Error(t(9));try{p=!0,d=a(d,e)}finally{p=!1}return(s=u).forEach(e=>{e()}),e}return b({type:l.INIT}),{dispatch:b,subscribe:m,getState:g,replaceReducer:function(e){if("function"!=typeof e)throw Error(t(10));a=e,b({type:l.REPLACE})},[r]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(t(11));function r(){e.next&&e.next(g())}return r(),{unsubscribe:m(r)}},[r](){return this}}}}}],122677);var a=e.i(533337),d=(e.i(215018),Symbol.for(a.version.startsWith("19")?"react.transitional.element":"react.element")),s=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),g=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy");function x(e){return function(t){let r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function I(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function D(e,t){return function(t,{displayName:r}){let n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=I(e);let l=n(t,r);return"function"==typeof l&&(n.mapToProps=l,n.dependsOnOwnProps=I(l),l=n(t,r)),l},n}}function E(e,t){return(r,n)=>{throw Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function N(e,t,r){return{...r,...e,...t}}var A={notify(){},get:()=>[]};function w(e,t){let r,n=A,l=0,i=!1;function o(){s.onStateChange&&s.onStateChange()}function a(){if(l++,!r){let l,i;r=t?t.addNestedSub(o):e.subscribe(o),l=null,i=null,n={clear(){l=null,i=null},notify(){let e=l;for(;e;)e.callback(),e=e.next},get(){let e=[],t=l;for(;t;)e.push(t),t=t.next;return e},subscribe(e){let t=!0,r=i={callback:e,next:null,prev:i};return r.prev?r.prev.next=r:l=r,function(){t&&null!==l&&(t=!1,r.next?r.next.prev=r.prev:i=r.prev,r.prev?r.prev.next=r.next:l=r.next)}}}}}function d(){l--,r&&0===l&&(r(),r=void 0,n.clear(),n=A)}let s={addNestedSub:function(e){a();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),d())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,a())},tryUnsubscribe:function(){i&&(i=!1,d())},getListeners:()=>n};return s}var P="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,C="u">typeof navigator&&"ReactNative"===navigator.product,S=P||C?a.useLayoutEffect:a.useEffect;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function R(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!O(e[r[n]],t[r[n]]))return!1;return!0}var B={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},L={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},T={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G={[m]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[y]:T};function M(e){return function(e){if("object"==typeof e&&null!==e){let{$$typeof:t}=e;switch(t){case d:switch(e=e.type){case u:case p:case c:case b:case h:return e;default:switch(e=e&&e.$$typeof){case g:case m:case v:case y:case f:return e;default:return t}}case s:return t}}}(e)===y?T:G[e.$$typeof]||B}var _=Object.defineProperty,$=Object.getOwnPropertyNames,F=Object.getOwnPropertySymbols,k=Object.getOwnPropertyDescriptor,W=Object.getPrototypeOf,j=Object.prototype;function U(e,t){if("string"!=typeof t){if(j){let r=W(t);r&&r!==j&&U(e,r)}let r=$(t);F&&(r=r.concat(F(t)));let n=M(e),l=M(t);for(let i=0;i<r.length;++i){let o=r[i];if(!L[o]&&!(l&&l[o])&&!(n&&n[o])){let r=k(t,o);
59try{_(e,o,r)}catch(e){}}}}return e}var H=Symbol.for("react-redux-context"),V="u">typeof globalThis?globalThis:{},q=function(){if(!a.createContext)return{};let e=V[H]??=new Map,t=e.get(a.createContext);return t||(t=a.createContext(null),e.set(a.createContext,t)),t}(),z=[null,null];function Y(e,t,r,n,l,i){e.current=n,r.current=!1,l.current&&(l.current=null,i())}function J(e,t){return e===t}function K(e=q){return function(){return a.useContext(e)}}var X=K();e.s(["Provider",0,function(e){let{children:t,context:r,serverState:n,store:l}=e,i=a.useMemo(()=>{let e=w(l);return{store:l,subscription:e,getServerState:n?()=>n:void 0}},[l,n]),o=a.useMemo(()=>l.getState(),[l]);return S(()=>{let{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==l.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,o]),a.createElement((r||q).Provider,{value:i},t)},"connect",0,function(e,t,r,{pure:n,areStatesEqual:l=J,areOwnPropsEqual:i=R,areStatePropsEqual:o=R,areMergedPropsEqual:d=R,forwardRef:s=!1,context:u=q}={}){let c=e?"function"==typeof e?D(e,"mapStateToProps"):E(e,"mapStateToProps"):x(()=>({})),p=t&&"object"==typeof t?x(e=>(function(e,t){let r={};for(let n in e){let l=e[n];"function"==typeof l&&(r[n]=(...e)=>t(l(...e)))}return r})(t,e)):t?"function"==typeof t?D(t,"mapDispatchToProps"):E(t,"mapDispatchToProps"):x(e=>({dispatch:e})),f=r?"function"==typeof r?function(e,{displayName:t,areMergedPropsEqual:n}){let l,i=!1;return function(e,t,o){let a=r(e,t,o);return i?n(a,l)||(l=a):(i=!0,l=a),l}}:E(r,"mergeProps"):()=>N,g=!!e;return e=>{let t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:g,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:c,initMapDispatchToProps:p,initMergeProps:f,areStatesEqual:l,areStatePropsEqual:o,areOwnPropsEqual:i,areMergedPropsEqual:d};function m(t){var r;let l,[i,o,d]=a.useMemo(()=>{let{reactReduxForwardedRef:e,...r}=t;return[t.context,e,r]},[t]),s=a.useMemo(()=>(i?.Consumer,u),[i,u]),c=a.useContext(s),p=!!t.store&&!!t.store.getState&&!!t.store.dispatch,f=!!c&&!!c.store,m=p?t.store:c.store,b=f?c.getServerState:m.getState,h=a.useMemo(()=>(function(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...l}){return function(e,t,r,n,{areStatesEqual:l,areOwnPropsEqual:i,areStatePropsEqual:o}){let a,d,s,u,c,p=!1;return function(f,g){return p?function(p,f){let g=!i(f,d),m=!l(p,a,f,d);if(a=p,d=f,g&&m)return s=e(a,d),t.dependsOnOwnProps&&(u=t(n,d)),c=r(s,u,d);if(g)return e.dependsOnOwnProps&&(s=e(a,d)),t.dependsOnOwnProps&&(u=t(n,d)),c=r(s,u,d);if(m){let t,n;return n=!o(t=e(a,d),s),s=t,n&&(c=r(s,u,d)),c}return c}(f,g):(s=e(a=f,d=g),u=t(n,d),c=r(s,u,d),p=!0,c)}}(t(e,l),r(e,l),n(e,l),e,l)})(m.dispatch,n),[m]),[y,v]=a.useMemo(()=>{if(!g)return z;let e=w(m,p?void 0:c.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[m,p,c]),x=a.useMemo(()=>p?c:{...c,subscription:y},[p,c,y]),I=a.useRef(void 0),D=a.useRef(d),E=a.useRef(void 0),N=a.useRef(!1),A=a.useRef(!1),P=a.useRef(void 0);S(()=>(A.current=!0,()=>{A.current=!1}),[]);let C=a.useMemo(()=>()=>E.current&&d===D.current?E.current:h(m.getState(),d),[m,d]),O=a.useMemo(()=>e=>{if(!y)return()=>{};if(!g)return()=>{};let t=!1,r=null,n=()=>{let n,l;if(t||!A.current)return;let i=m.getState();try{n=h(i,D.current)}catch(e){l=e,r=e}l||(r=null),n===I.current?N.current||v():(I.current=n,E.current=n,N.current=!0,e())};return y.onStateChange=n,y.trySubscribe(),n(),()=>{if(t=!0,y.tryUnsubscribe(),y.onStateChange=null,r)throw r}},[y]);r=[D,I,N,d,E,v],S(()=>Y(...r),void 0);try{l=a.useSyncExternalStore(O,C,b?()=>h(b(),d):C)}catch(e){throw P.current&&(e.message+=` 60The error may be correlated with this previous error: 61${P.current.stack} 62 63`),e}S(()=>{P.current=void 0,E.current=void 0,I.current=l});let R=a.useMemo(()=>a.createElement(e,{...l,ref:o}),[o,e,l]);return a.useMemo(()=>g?a.createElement(s.Provider,{value:x},R):R,[s,R,x])}let b=a.memo(m);if(b.WrappedComponent=e,b.displayName=m.displayName=r,s){let t=a.forwardRef(function(e,t){return a.createElement(b,{...e,reactReduxForwardedRef:t})});return t.displayName=r,t.WrappedComponent=e,U(t,e)}return U(b,e)}}],875169)}]); 64 65//# debugId=d0534bf7-4d98-9d7c-4930-2038f1d44f21
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.