PageSourceSearch

https://giphy.com/_next/static/chunks/77973763-a31db5d5a6fc3cc1.js

js giphy.com collected 2026-09-24 07:34:26 UTC 80,704 bytes, 55 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3442],{20111:(e,t,r)=>{let n,l,i,a,o,d;r.d(t,{JY:()=>rb,gL:()=>rK,sx:()=>rC});var s=r(7620),u=r(97509),c=r(73847),p=r(5095),f=r(88036),g=r(82901),m=r(35207);function b(e,t){}b.bind(null,"warn");b.bind(null,"error");function h(){}function y(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 I extends Error{}function x(e,t){throw new I("Invariant failed")}I.prototype.toString=function(){return this.message};class v extends s.Component{constructor(...e){super(...e),this.callbacks=null,this.unbind=h,this.onWindowError=e=>{let t=this.getCallbacks();t.isDragging()&&t.tryAbort(),e.error instanceof I&&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=y(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(e){if(e instanceof I)return void this.setState({});throw e}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}}let D=`
2  Press space bar to start a drag.
3  When dragging you can use the arrow keys to move the item around and escape to cancel.
4  Some screen readers may require you to be in focus mode or to use your pass through key
5`,E=(e,t)=>{let r=e.droppableId===t.droppableId,n=e.index+1,l=t.index+1;return r?`
6      You have moved the item from position ${n}
7      to position ${l}
8    `:`
9    You have moved the item from position ${n}
10    in list ${e.droppableId}
11    to list ${t.droppableId}
12    in position ${l}
13  `},A=(e,t,r)=>t.droppableId===r.droppableId?`
14      The item ${e}
15      has been combined with ${r.draggableId}`:`
16      The item ${e}
17      in list ${t.droppableId}
18      has been combined with ${r.draggableId}
19      in list ${r.droppableId}
20    `,N=e=>`
21  The item has returned to its starting position
22  of ${e.index+1}
23`,R=e=>`
24  You have lifted an item in position ${e.source.index+1}
25`,C=e=>{let t=e.destination;if(t)return E(e.source,t);let r=e.combine;return r?A(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},P=e=>{if("CANCEL"===e.reason)return`
26      Movement cancelled.
27      ${N(e.source)}
28    `;let t=e.destination,r=e.combine;return t?`
29      You have dropped the item.
30      ${E(e.source,t)}
31    `:r?`
32      You have dropped the item.
33      ${A(e.draggableId,e.source,r)}
34    `:`
35    The item has been dropped while not over a drop area.
36    ${N(e.source)}
37  `};function w(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 O(e,t){let r=(0,s.useState)(()=>({inputs:t,result:e()}))[0],n=(0,s.useRef)(!0),l=(0,s.useRef)(r),i=n.current||t&&l.current.inputs&&w(t,l.current.inputs)?l.current:{inputs:t,result:e()};return(0,s.useEffect)(()=>{n.current=!1,l.current=i},[i]),i.result}function S(e,t){return O(()=>e,t)}let B={x:0,y:0},G=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),L=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),T=(e,t)=>e.x===t.x&&e.y===t.y,_=e=>({x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}),M=(e,t,r=0)=>"x"===e?{x:t,y:r}:{x:r,y:t},F=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),k=(e,t)=>Math.min(...t.map(t=>F(e,t))),$=e=>t=>({x:e(t.x),y:e(t.y)}),W=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),U=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 H=({page:e,withPlaceholder:t,axis:r,frame:n})=>{var l,i;let a=((e,t)=>{if(t&&t.shouldClipSubject){var r;let n;return r=t.pageMarginBox,(n=(0,f.l)({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(0,f.l)(e)})((l=e.marginBox,i=n?W(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:a}},V=(e,t)=>{e.frame||x();let r=e.frame,n=L(t,r.scroll.initial),l=_(n),i={...r,scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:l},max:r.scroll.max}},a=H({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i});return{...e,frame:i,subject:a}};function j(e,t=w){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 z=j(e=>e.reduce((e,t)=>
37(e[t.descriptor.id]=t,e),{})),q=j(e=>e.reduce((e,t)=>(e[t.descriptor.id]=t,e),{})),Y=j(e=>Object.values(e)),J=j(e=>Object.values(e));var X=j((e,t)=>J(t).filter(t=>e===t.descriptor.droppableId).sort((e,t)=>e.descriptor.index-t.descriptor.index));function K(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function Q(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var Z=j((e,t)=>t.filter(t=>t.descriptor.id!==e.descriptor.id)),ee=(e,t)=>e.descriptor.droppableId===t.descriptor.id;let et={point:B,value:0},er={invisible:{},visible:{},all:[]},en={displaced:er,displacedBy:et,at:null};var el=(e,t)=>r=>e<=r&&r<=t,ei=e=>{let t=el(e.top,e.bottom),r=el(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 a=n.top<e.top&&n.bottom>e.bottom,o=n.left<e.left&&n.right>e.right;return!!a&&!!o||a&&i||o&&l}},ea=e=>{let t=el(e.top,e.bottom),r=el(e.left,e.right);return e=>t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)};let eo={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ed={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},es=({target:e,destination:t,viewport:r,withDroppableDisplacement:n,isVisibleThroughFrameFn:l})=>{let i=n?W(e,t.frame?t.frame.scroll.diff.displacement:B):e;return!!t.subject.active&&l(t.subject.active)(i)&&l(r)(i)},eu=e=>es({...e,isVisibleThroughFrameFn:ea});function ec({afterDragging:e,destination:t,displacedBy:r,viewport:n,forceShouldAnimate:l,last:i}){return e.reduce(function(e,a){let o,d,s=(o=a.page.marginBox,d={top:r.point.y,right:0,bottom:0,left:r.point.x},(0,f.l)((0,f.fT)(o,d))),u=a.descriptor.id;if(e.all.push(u),!es({target:s,destination:t,viewport:n,withDroppableDisplacement:!0,isVisibleThroughFrameFn:ei}))return e.invisible[a.descriptor.id]=!0,e;let c=((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})(u,i,l);return e.visible[u]={draggableId:u,shouldAnimate:c},e},{all:[],visible:{},invisible:{}})}function ep({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:er,displacedBy:r,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:l}}}}function ef({draggable:e,insideDestination:t,destination:r,viewport:n,displacedBy:l,last:i,index:a,forceShouldAnimate:o}){let d=ee(e,r);if(null==a)return ep({insideDestination:t,inHomeList:d,displacedBy:l,destination:r});let s=t.find(e=>e.descriptor.index===a);if(!s)return ep({insideDestination:t,inHomeList:d,displacedBy:l,destination:r});let u=Z(e,t),c=t.indexOf(s);return{displaced:ec({afterDragging:u.slice(c),destination:r,displacedBy:l,last:i,viewport:n.frame,forceShouldAnimate:o}),displacedBy:l,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:a}}}}function eg(e,t){return!!t.effected[e]}let em=(e,t)=>t.margin[e.start]+t.borderBox[e.size]/2,eb=(e,t,r)=>t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2,eh=({axis:e,moveRelativeTo:t,isMoving:r})=>M(e.line,t.marginBox[e.end]+em(e,r),eb(e,t.marginBox,r)),ey=({axis:e,moveRelativeTo:t,isMoving:r})=>M(e.line,t.marginBox[e.start]-(r.margin[e.end]+r.borderBox[e.size]/2),eb(e,t.marginBox,r));var eI=(e,t)=>{let r=e.frame;return r?G(t,r.scroll.diff.displacement):t},ex=e=>{let t=(({impact:e,draggable:t,droppable:r,draggables:n,afterCritical:l})=>{let i=t.page.borderBox.center,a=e.at;return r&&a?"REORDER"===a.type?(({impact:e,draggable:t,draggables:r,droppable:n,afterCritical:l})=>{let i=X(n.descriptor.id,r),a=t.page,o=n.axis;if(!i.length)return(({axis:e,moveInto:t,isMoving:r})=>M(e.line,t.contentBox[e.start]+em(e,r),eb(e,t.contentBox,r)))({axis:o,moveInto:n.page,isMoving:a});let{displaced:d,displacedBy:s}=e,u=d.all[0];if(u){let e=r[u];return eg(u,l)?ey({axis:o,moveRelativeTo:e.page,isMoving:a}):ey({axis:o,moveRelativeTo:(0,f.cY)(e.page,s.point),isMoving:a})}let c=i[i.length-1];return c.descriptor.id===t.descriptor.id?a.borderBox.center:eg(c.descriptor.id,l)?eh({axis:o,moveRelativeTo:(0,f.cY)(c.page,_(l.displacedBy.point)),isMoving:a}):eh({axis:o,moveRelativeTo:c.page,isMoving:a})})({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:l}):(({afterCritical:e,impact:t,draggables:r})=>{let n=Q(t);n||x();let l=n.draggableId;return G(r[l].page.borderBox.center,(({displaced:e,afterCritical:t,combineWith:r,displacedBy:n})=>{let l=!!(e.visible[r]||e.invisible[r]);return eg(r,t)?l?B:_(n.point):l?n.point:B})({displaced:t.displaced,afterCritical:e,combineWith:l,displacedBy:t.displacedBy}))})({impact:e,draggables:n,afterCritical:l}):i})(e),r=e.droppable;return r?eI(r,t):t},ev=(e,t)=>
37{let r=L(t,e.scroll.initial),n=_(r);return{frame:(0,f.l)({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 eD(e,t){return e.map(e=>t[e])}var eE=({pageBorderBoxCenter:e,draggable:t,viewport:r})=>{let n=L(G(r.scroll.diff.displacement,e),t.page.borderBox.center);return G(t.client.borderBox.center,n)},eA=({draggable:e,destination:t,newPageBorderBoxCenter:r,viewport:n,withDroppableDisplacement:l,onlyOnMainAxis:i=!1})=>{let a,o=L(r,e.page.borderBox.center),d={target:W(e.page.borderBox,o),destination:t,withDroppableDisplacement:l,viewport:n};return i?es({...d,isVisibleThroughFrameFn:(a=d.destination.axis,e=>{let t=el(e.top,e.bottom),r=el(e.left,e.right);return e=>a===eo?t(e.top)&&t(e.bottom):r(e.left)&&r(e.right)})}):eu(d)};let eN=e=>{let t=e.subject.active;return t||x(),t},eR=(e,t)=>{let r=e.page.borderBox.center;return eg(e.descriptor.id,t)?L(r,t.displacedBy.point):r};var eC=j(function(e,t){let r=t[e.line];return{value:r,point:M(e.line,r)}});let eP=(e,t)=>({...e,scroll:{...e.scroll,max:t}}),ew=(e,t,r)=>{let n=e.frame;ee(t,e)&&x(),e.subject.withPlaceholder&&x();let l=eC(e.axis,t.displaceBy).point,i=((e,t,r)=>{let n=e.axis;if("virtual"===e.descriptor.mode)return M(n.line,t[n.line]);let l=e.subject.page.contentBox[n.size],i=X(e.descriptor.id,r).reduce((e,t)=>e+t.client.marginBox[n.size],0)+t[n.line]-l;return i<=0?null:M(n.line,i)})(e,l,r),a={placeholderSize:l,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n){let t=H({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame});return{...e,subject:t}}let o=i?G(n.scroll.max,i):n.scroll.max,d=eP(n,o),s=H({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:d});return{...e,subject:s,frame:d}};var eO=e=>{let t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null};function eS(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function eB(e){let t=el(e.top,e.bottom),r=el(e.left,e.right);return function(e){return t(e.y)&&r(e.x)}}let eG=(e,t)=>(0,f.l)(W(e,t));function eL({displaced:e,id:t}){return!!(e.visible[t]||e.invisible[t])}var eT=({pageOffset:e,draggable:t,draggables:r,droppables:n,previousImpact:l,viewport:i,afterCritical:a})=>{let o,d=eG(t.page.borderBox,e),s=function({pageBorderBox:e,draggable:t,droppables:r}){let n=Y(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(eB(r)(e.center))return!0;let n=t.axis,l=r.center[n.crossAxisLine],i=e[n.crossAxisStart],a=e[n.crossAxisEnd],o=el(r[n.crossAxisStart],r[n.crossAxisEnd]),d=o(i),s=o(a);return!d&&!s||(d?i<l:a>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=M(t.axis.line,e.center[r.line],t.page.borderBox.center[r.crossAxisLine]);return{id:t.descriptor.id,distance:F(n,l)}}).sort((e,t)=>t.distance-e.distance);return l[0]?l[0].id:null}({pageBorderBox:e,draggable:t,candidates:n}):null}({pageBorderBox:d,draggable:t,droppables:n});if(!s)return en;let u=n[s],c=X(u.descriptor.id,r),p=(o=u.frame)?eG(d,o.scroll.diff.value):d;return(({draggable:e,pageBorderBoxWithDroppableScroll:t,previousImpact:r,destination:n,insideDestination:l,afterCritical:i})=>{if(!n.isCombineEnabled)return null;let a=n.axis,o=eC(n.axis,e.displaceBy),d=o.value,s=t[a.start],u=t[a.end],c=Z(e,l).find(e=>{let t=e.descriptor.id,n=e.page.borderBox,l=n[a.size]/4,o=eg(t,i),c=eL({displaced:r.displaced,id:t});return o?c?u>n[a.start]+l&&u<n[a.end]-l:s>n[a.start]-d+l&&s<n[a.end]-d-l:c?u>n[a.start]+d+l&&u<n[a.end]+d-l:s>n[a.start]+l&&s<n[a.end]-l});return c?{displacedBy:o,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:c.descriptor.id,droppableId:n.descriptor.id}}}:null})({pageBorderBoxWithDroppableScroll:p,draggable:t,previousImpact:l,destination:u,insideDestination:c,afterCritical:a})||(({pageBorderBoxWithDroppableScroll:e,draggable:t,destination:r,insideDestination:n,last:l,viewport:i,afterCritical:a})=>{let o=r.axis,d=eC(r.axis,t.displaceBy),s=d.value,u=e[o.start],c=e[o.end],p=Z(t,n).find(e=>{let t=e.descriptor.id,r=e.page.borderBox.center[o.line],n=eg(t,a),i=eL({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:ee(t,r)});return ef({draggable:t,insideDestination:n,destination:r,viewport:i,last:l,displacedBy:d,index:f})})({pageBorderBoxWithDroppableScroll:p,draggable:t,destination:u,insideDestination:c,last:l.displaced,viewport:i,afterCritical:a})},e_=(e,t)=>
37({...e,[t.descriptor.id]:t}),eM=({state:e,clientSelection:t,dimensions:r,viewport:n,impact:l,scrollJumpRequest:i})=>{let a=n||e.viewport,o=r||e.dimensions,d=t||e.current.client.selection,s=L(d,e.initial.client.selection),u={offset:s,selection:d,borderBoxCenter:G(e.initial.client.borderBoxCenter,s)},c={selection:G(u.selection,a.scroll.current),borderBoxCenter:G(u.borderBoxCenter,a.scroll.current),offset:G(u.offset,a.scroll.diff.value)},p={client:u,page:c};if("COLLECTING"===e.phase)return{...e,dimensions:o,viewport:a,current:p};let f=o.draggables[e.critical.draggable.id],g=l||eT({pageOffset:c.offset,draggable:f,draggables:o.draggables,droppables:o.droppables,previousImpact:e.impact,viewport:a,afterCritical:e.afterCritical}),m=(({draggable:e,draggables:t,droppables:r,previousImpact:n,impact:l})=>{let i=(({previousImpact:e,impact:t,droppables:r})=>{let n=eO(e),l=eO(t);if(!n||n===l)return r;let i=r[n];return i.subject.withPlaceholder?e_(r,(e=>{let t=e.subject.withPlaceholder;t||x();let r=e.frame;if(!r){let t=H({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return{...e,subject:t}}let n=t.oldFrameMaxScroll;n||x();let l=eP(r,n),i=H({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}),a=eO(l);if(!a)return i;let o=r[a];return ee(e,o)||o.subject.withPlaceholder?i:e_(i,ew(o,e,t))})({draggable:f,impact:g,previousImpact:e.impact,draggables:o.draggables,droppables:o.droppables});return{...e,current:p,dimensions:{draggables:o.draggables,droppables:m},impact:g,viewport:a,scrollJumpRequest:i||null,forceShouldAnimate:!i&&null}},eF=({impact:e,viewport:t,draggables:r,destination:n,forceShouldAnimate:l})=>{var i;let a=e.displaced,o=ec({afterDragging:(i=a.all,i.map(e=>r[e])),destination:n,displacedBy:e.displacedBy,viewport:t.frame,forceShouldAnimate:l,last:a});return{...e,displaced:o}},ek=({impact:e,draggable:t,droppable:r,draggables:n,viewport:l,afterCritical:i})=>eE({pageBorderBoxCenter:ex({impact:e,draggable:t,draggables:n,droppable:r,afterCritical:i}),draggable:t,viewport:l}),e$=({state:e,dimensions:t,viewport:r})=>{"SNAP"!==e.movementMode&&x();let n=e.impact,l=r||e.viewport,i=t||e.dimensions,{draggables:a,droppables:o}=i,d=a[e.critical.draggable.id],s=eO(n);s||x();let u=o[s],c=eF({impact:n,viewport:l,destination:u,draggables:a}),p=ek({impact:c,draggable:d,droppable:u,draggables:a,viewport:l,afterCritical:e.afterCritical});return eM({impact:c,clientSelection:p,state:e,dimensions:i,viewport:l})},eW=({draggable:e,home:t,draggables:r,viewport:n})=>{let l,i=eC(t.axis,e.displaceBy),a=X(t.descriptor.id,r),o=a.indexOf(e);-1===o&&x();let d=a.slice(o+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:ec({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 eU=e=>{},eH=e=>{},eV=(e,t,r)=>{let n,l=(n=e.dimensions,{draggables:n.draggables,droppables:e_(n.droppables,t)});return"SNAP"!==e.movementMode||r?eM({state:e,dimensions:l}):e$({state:e,dimensions:l})};function ej(e){return e.isDragging&&"SNAP"===e.movementMode?{...e,scrollJumpRequest:null}:e}let ez={phase:"IDLE",completed:null,shouldFlush:!1};var eq=(e=ez,t)=>{if("FLUSH"===t.type)return{...ez,shouldFlush:!0};if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&x();let{critical:r,clientSelection:n,viewport:l,dimensions:i,movementMode:a}=t.payload,o=i.draggables[r.draggable.id],d=i.droppables[r.droppable.id],s={selection:n,borderBoxCenter:o.client.borderBox.center,offset:B},u={client:s,page:{selection:G(s.selection,l.scroll.initial),borderBoxCenter:G(s.selection,l.scroll.initial),offset:G(s.selection,l.scroll.diff.value)}},c=Y(i.droppables).every(e=>!e.isFixedOnPage),{impact:p,afterCritical:f}=eW({draggable:o,home:d,draggables:i.draggables,viewport:l});return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:a,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&&x(),{...e,phase:"COLLECTING"});if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&x(),(({state:e,published:t})=>{eU();let r=t.modified.map(t=>V(e.dimensions.droppables[t.droppableId],t.scroll)),n={...e.dimensions.droppables,...z(r)},l=q((({additions:e,updatedDroppables:t,viewport:r})=>{let n=r.scroll.diff.value;return e.map(e=>
37{let l,i=G(n,((l=t[e.descriptor.droppableId].frame)||x(),l).scroll.diff.value);return(({draggable:e,offset:t,initialWindowScroll:r})=>{let n=(0,f.cY)(e.client,t),l=(0,f.SQ)(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 a={droppables:n,draggables:i},o=eO(e.impact),d=o?a.droppables[o]:null,{impact:s,afterCritical:u}=eW({draggable:a.draggables[e.critical.draggable.id],home:a.droppables[e.critical.droppable.id],draggables:i,viewport:e.viewport}),c=d&&d.isCombineEnabled?e.impact:s,p=eT({pageOffset:e.current.page.offset,draggable:a.draggables[e.critical.draggable.id],draggables:a.draggables,droppables:a.droppables,previousImpact:c,viewport:e.viewport,afterCritical:u});eH();let g={...e,phase:"DRAGGING",impact:p,onLiftImpact:s,dimensions:a,afterCritical:u,forceShouldAnimate:!1};return"COLLECTING"===e.phase?g:{...g,phase:"DROP_PENDING",reason:e.reason,isWaiting:!1}})({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;eS(e)||x();let{client:r}=t.payload;return T(r,e.current.client.selection)?e:eM({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 ej(e);eS(e)||x();let{id:r,newScroll:n}=t.payload,l=e.dimensions.droppables[r];return l?eV(e,V(l,n),!1):e}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;eS(e)||x();let{id:r,isEnabled:n}=t.payload,l=e.dimensions.droppables[r];return l||x(),l.isEnabled===n&&x(),eV(e,{...l,isEnabled:n},!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;eS(e)||x();let{id:r,isCombineEnabled:n}=t.payload,l=e.dimensions.droppables[r];return l||x(),l.isCombineEnabled===n&&x(),eV(e,{...l,isCombineEnabled:n},!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;eS(e)||x(),e.isWindowScrollAllowed||x();let r=t.payload.newScroll;if(T(e.viewport.scroll.current,r))return ej(e);let n=ev(e.viewport,r);return"SNAP"===e.movementMode?e$({state:e,viewport:n}):eM({state:e,viewport:n})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!eS(e))return e;let r=t.payload.maxScroll;if(T(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&&x();let r=(({state:e,type:t})=>{var r,n;let l,i=(r=e.impact,n=e.dimensions.droppables,(l=eO(r))?n[l]:null),a=!!i,o=e.dimensions.droppables[e.critical.droppable.id],d=i||o,s=d.axis.direction,u="vertical"===s&&("MOVE_UP"===t||"MOVE_DOWN"===t)||"horizontal"===s&&("MOVE_LEFT"===t||"MOVE_RIGHT"===t);if(u&&!a)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:a,previousClientSelection:o,afterCritical:d})=>{if(!r.isEnabled)return null;let s=X(r.descriptor.id,n),u=ee(t,r),c=(({isMovingForward:e,draggable:t,destination:r,insideDestination:n,previousImpact:l})=>{if(!r.isCombineEnabled||!K(l))return null;function i(e){let t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return{...l,at:t}}let a=l.displaced.all,o=a.length?a[0]:null;if(e)return o?i(o):null;let d=Z(t,n);if(!o)return d.length?i(d[d.length-1].descriptor.id):null;let s=d.findIndex(e=>e.descriptor.id===o);-1===s&&x();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:a,viewport:o,afterCritical:d})=>{let s=a.at;if(s||x(),"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,a=r[0].descriptor.index,o=r[r.length-1].descriptor.index;return i<a||i>(t?o:o+1)?null:i})({isMovingForward:e,isInHomeList:t,location:s.destination,insideDestination:i});return null==n?null:ef({draggable:r,insideDestination:i,destination:l,viewport:o,last:a.displaced,displacedBy:a.displacedBy,index:n})}let u=(({isMovingForward:e,destination:t,draggables:r,combine:n,afterCritical:l})=>
37{if(!t.isCombineEnabled)return null;let i=n.draggableId,a=r[i].descriptor.index;return eg(i,l)?e?a:a-1:e?a+1:a})({isMovingForward:e,destination:l,displaced:a.displaced,draggables:n,combine:s.combine,afterCritical:d});return null==u?null:ef({draggable:r,insideDestination:i,destination:l,viewport:o,last:a.displaced,displacedBy:a.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=ex({impact:c,draggable:t,droppable:r,draggables:n,afterCritical:d});if(eA({draggable:t,destination:r,newPageBorderBoxCenter:p,viewport:i.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:eE({pageBorderBoxCenter:p,draggable:t,viewport:i}),impact:c,scrollJumpRequest:null};let f=L(p,a);return{clientSelection:o,impact:(({impact:e,viewport:t,destination:r,draggables:n,maxScrollChange:l})=>{let i=ev(t,G(t.scroll.current,l)),a=r.frame?V(r,G(r.frame.scroll.current,l)):r,o=e.displaced,d=ec({afterDragging:eD(o.all,n),destination:r,displacedBy:e.displacedBy,viewport:i.frame,last:o,forceShouldAnimate:!1}),s=ec({afterDragging:eD(o.all,n),destination:a,displacedBy:e.displacedBy,viewport:t.frame,last:o,forceShouldAnimate:!1}),u={},c={},p=[o,d,s];return o.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:o.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:a,afterCritical:o})=>{let d=(({isMovingForward:e,pageBorderBoxCenter:t,source:r,droppables:n,viewport:l})=>{let i=r.subject.active;if(!i)return null;let a=r.axis,o=el(i[a.start],i[a.end]),d=Y(n).filter(e=>e!==r).filter(e=>e.isEnabled).filter(e=>!!e.subject.active).filter(e=>ei(l.frame)(eN(e))).filter(t=>{let r=eN(t);return e?i[a.crossAxisEnd]<r[a.crossAxisEnd]:r[a.crossAxisStart]<i[a.crossAxisStart]}).filter(e=>{let t=eN(e),r=el(t[a.start],t[a.end]);return o(t[a.start])||o(t[a.end])||r(i[a.start])||r(i[a.end])}).sort((t,r)=>{let n=eN(t)[a.crossAxisStart],l=eN(r)[a.crossAxisStart];return e?n-l:l-n}).filter((e,t,r)=>eN(e)[a.crossAxisStart]===eN(r[0])[a.crossAxisStart]);if(!d.length)return null;if(1===d.length)return d[0];let s=d.filter(e=>el(eN(e)[a.start],eN(e)[a.end])(t[a.line]));return 1===s.length?s[0]:s.length>1?s.sort((e,t)=>eN(e)[a.start]-eN(t)[a.start])[0]:d.sort((e,r)=>{let n=k(t,U(eN(e))),l=k(t,U(eN(r)));return n!==l?n-l:eN(e)[a.start]-eN(r)[a.start]})[0]})({isMovingForward:e,pageBorderBoxCenter:t,source:n,droppables:i,viewport:a});if(!d)return null;let s=X(d.descriptor.id,l),u=(({pageBorderBoxCenter:e,viewport:t,destination:r,insideDestination:n,afterCritical:l})=>n.filter(e=>{let n;return eu({target:(n=e.page.borderBox,eg(e.descriptor.id,l)?W(n,_(l.displacedBy.point)):n),destination:r,viewport:t.frame,withDroppableDisplacement:!0})}).sort((t,n)=>{let i=F(e,eI(r,eR(t,l))),a=F(e,eI(r,eR(n,l)));return i<a?-1:a<i?1:t.descriptor.index-n.descriptor.index})[0]||null)({pageBorderBoxCenter:t,viewport:a,destination:d,insideDestination:s,afterCritical:o}),c=(({previousPageBorderBoxCenter:e,moveRelativeTo:t,insideDestination:r,draggable:n,draggables:l,destination:i,viewport:a,afterCritical:o})=>{let d;if(!t){if(r.length)return null;let e={displaced:er,displacedBy:et,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:0}}},t=ex({impact:e,draggable:n,droppable:i,draggables:l,afterCritical:o}),d=ee(n,i)?i:ew(i,n,l);return eA({draggable:n,destination:d,newPageBorderBoxCenter:t,viewport:a.frame,withDroppableDisplacement:!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=eC(i.axis,n.displaceBy);return ef({draggable:n,insideDestination:r,destination:i,viewport:
37a,displacedBy:c,last:er,index:u})})({previousPageBorderBoxCenter:t,destination:d,draggable:r,draggables:l,moveRelativeTo:u,insideDestination:s,viewport:a,afterCritical:o});return c?{clientSelection:eE({pageBorderBoxCenter:ex({impact:c,draggable:r,droppable:d,draggables:l,afterCritical:o}),draggable:r,viewport:a}),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?eM({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&&x(),{...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&&x(),{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 eY(e,t){return e instanceof Object&&"type"in e&&e.type===t}let eJ=e=>({type:"PUBLISH_WHILE_DRAGGING",payload:e}),eX=()=>({type:"COLLECTION_STARTING",payload:null}),eK=e=>({type:"UPDATE_DROPPABLE_SCROLL",payload:e}),eQ=e=>({type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}),eZ=e=>({type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}),e0=e=>({type:"MOVE",payload:e}),e1=()=>({type:"MOVE_UP",payload:null}),e2=()=>({type:"MOVE_DOWN",payload:null}),e3=()=>({type:"MOVE_RIGHT",payload:null}),e5=()=>({type:"MOVE_LEFT",payload:null}),e7=()=>({type:"FLUSH",payload:null}),e4=e=>({type:"DROP_COMPLETE",payload:e}),e8=e=>({type:"DROP",payload:e}),e9=()=>({type:"DROP_ANIMATION_FINISHED",payload:null}),e6="cubic-bezier(.2,1,.1,1)",te=0,tt=.7,tr=.75,tn={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},tl=`${tn.outOfTheWay}s cubic-bezier(0.2, 0, 0, 1)`,ti={fluid:`opacity ${tl}`,snap:`transform ${tl}, opacity ${tl}`,drop:e=>{let t=`${e}s ${e6}`;return`transform ${t}, opacity ${t}`},outOfTheWay:`transform ${tl}`,placeholder:`height ${tl}, width ${tl}, margin ${tl}`},ta=e=>T(e,B)?void 0:`translate(${e.x}px, ${e.y}px)`,{minDropTime:to,maxDropTime:td}=tn,ts=td-to,tu=({getState:e,dispatch:t})=>r=>n=>{if(!eY(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&&x(),"DRAGGING"!==l.phase&&"DROP_PENDING"!==l.phase&&x();let a=l.critical,o=l.dimensions,d=o.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:er},didDropInsideDroppable:!0}:{impact:eF({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?K(s):null,p=u?Q(s):null,f={index:a.draggable.index,droppableId:a.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:a}=r,o=eO(e),d=o?a[o]:null,s=a[t.descriptor.droppableId];return L(ek({impact:e,draggable:t,draggables:i,afterCritical:l,droppable:d||s,viewport:n}),t.client.borderBox.center)})({impact:s,draggable:d,dimensions:o,viewport:l.viewport,afterCritical:l.afterCritical}),b={critical:l.critical,afterCritical:l.afterCritical,result:g,impact:s};if(!(!T(l.current.client.offset,m)||g.combine))return void t(e4({completed:b}));let h=(({current:e,destination:t,reason:r})=>{let n=F(e,t);if(n<=0)return to;if(n>=1500)return td;let l=to+n/1500*ts;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}}
37)};var tc=()=>({x:window.pageXOffset,y:window.pageYOffset});let tp=e=>{let t=function({onWindowScroll:e}){let t=(0,g.A)(function(){e(tc())}),r={eventName:"scroll",options:{passive:!0,capture:!1},fn:e=>{(e.target===window||e.target===window.document)&&t()}},n=h;function l(){return n!==h}return{start:function(){l()&&x(),n=y(window,[r])},stop:function(){l()||x(),t.cancel(),n(),n=h},isActive:l}}({onWindowScroll:t=>{e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return e=>r=>{!t.isActive()&&eY(r,"INITIAL_PUBLISH")&&t.start(),t.isActive()&&(eY(r,"DROP_COMPLETE")||eY(r,"DROP_ANIMATE")||eY(r,"FLUSH"))&&t.stop(),e(r)}},tf=(e,t)=>{eU(),t(),eH()},tg=(e,t)=>({draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t});function tm(e,t,r,n){let l,i,a,o;if(!e)return void r(n(t));let d=(l=!1,i=!1,a=setTimeout(()=>{i=!0}),(o=e=>{l||i||(l=!0,r(e),clearTimeout(a))}).wasCalled=()=>l,o);e(t,{announce:d}),d.wasCalled()||r(n(t))}let tb=e=>t=>r=>{if(!eY(r,"DROP_ANIMATION_FINISHED"))return void t(r);let n=e.getState();"DROP_ANIMATING"!==n.phase&&x(),e.dispatch(e4({completed:n.completed}))},th=e=>{let t=null,r=null;return n=>l=>{if((eY(l,"FLUSH")||eY(l,"DROP_COMPLETE")||eY(l,"DROP_ANIMATION_FINISHED"))&&(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(l),!eY(l,"DROP_ANIMATE"))return;let i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch(e9())}};r=requestAnimationFrame(()=>{r=null,t=y(window,[i])})}},ty=e=>t=>r=>{if(t(r),!eY(r,"PUBLISH_WHILE_DRAGGING"))return;let n=e.getState();"DROP_PENDING"!==n.phase||n.isWaiting||e.dispatch(e8({reason:n.reason}))},tI=c.Zz,tx=()=>({additions:{},removals:{},modified:{}});var tv=({scrollHeight:e,scrollWidth:t,height:r,width:n})=>{let l=L({x:t,y:e},{x:n,y:r});return{x:Math.max(0,l.x),y:Math.max(0,l.y)}},tD=()=>{let e=document.documentElement;return e||x(),e},tE=()=>{let e=tD();return tv({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})};function tA(e,t,r){return r.descriptor.id!==t.id&&r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode}var tN=(e,t)=>"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason,tR=e=>{window.scrollBy(e.x,e.y)};let tC=j(e=>Y(e).filter(e=>!!e.isEnabled&&!!e.frame)),tP={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:e=>e**2,durationDampening:{stopDampeningAt:1200,accelerateAt:360},disabled:!1};var tw=({startOfRange:e,endOfRange:t,current:r})=>{let n=t-e;return 0===n?0:(r-e)/n},tO=({distanceToEdge:e,thresholds:t,dragStartTime:r,shouldUseTimeDampening:n,getAutoScrollerOptions:l})=>{let i=((e,t,r=()=>tP)=>{let n=r();if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return n.maxPixelScroll;if(e===t.startScrollingFrom)return 1;let l=tw({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,a=Date.now()-t;if(a>=i)return e;if(a<l)return 1;let o=tw({startOfRange:l,endOfRange:i,current:a});return Math.ceil(e*n.ease(o))})(i,r,l),1):i},tS=({container:e,distanceToEdges:t,dragStartTime:r,axis:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let a=((e,t,r=()=>tP)=>{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]?tO({distanceToEdge:t[n.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i}):-1*tO({distanceToEdge:t[n.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i})};let tB=$(e=>0===e?0:e);var tG=({dragStartTime:e,container:t,subject:r,center:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let a={top:n.y-t.top,right:t.right-n.x,bottom:t.bottom-n.y,left:n.x-t.left},o=tS({container:t,distanceToEdges:a,dragStartTime:e,axis:eo,shouldUseTimeDampening:l,getAutoScrollerOptions:i}),d=tB({x:tS({container:t,distanceToEdges:a,dragStartTime:e,axis:ed,shouldUseTimeDampening:l,getAutoScrollerOptions:i}),y:o});if(T(d,B))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?T(s,B)?null:s:null};let tL=$(e=>0===e?0:e>0?1:-1),tT=(n=(e,t)=>e<0?e:e>t?e-t:0,({current:e,max:t,change:r})=>{let l=G(e,r),i={x:n(l.x,t.x),y:n(l.y,t.y)};return T(i,B)?null:i}),t_=({max:e,current:t,change:r})=>{let n={x:Math.max(t.x,e.x),y:Math.max(t.y,e.y)},l=tL(r),i=tT({max:n,current:t,change:l});return!i||0!==l.x&&0===i.x||0!==l.y&&0===i.y},tM=(e,t)=>t_({current:e.scroll.current,max:e.scroll.max,change:t}),tF=(e,t)=>{let r=e.frame;return!!r&&t_({current:r.scroll.current,max:r.scroll.max,change:t})};var tk=({state:e,dragStartTime:t,shouldUseTimeDampening:r,scrollWindow:n,scrollDroppable:l,getAutoScrollerOptions:i})=>{let a=e.current.page.borderBoxCenter,o=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 a=tG({dragStartTime:n,container:e.frame,subject:t,center:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i});return a&&tM(e,a)?a:null})({dragStartTime:t,viewport:e.viewport,subject:o,center:a,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 tC(r).find(t=>(t.frame||x(),eB(t.frame.pageMarginBox)(e)))||null})({center:a,destination:eO(e.impact),droppables:e.dimensions.droppables});if(!d)return;let s=(({droppable:e,subject:t,center:r,dragStartTime:n,shouldUseTimeDampening:l,getAutoScrollerOptions:i})=>{let a=e.frame;if(!a)return null;let o=tG({dragStartTime:n,container:a.pageMarginBox,subject:t,center:r,shouldUseTimeDampening:l,getAutoScrollerOptions:i});return o&&tF(e,o)?o:null})({dragStartTime:t,droppable:d,subject:o,center:a,shouldUseTimeDampening:r,getAutoScrollerOptions:i});s&&l(d.descriptor.id,s)};let t$="data-rfd",tW={base:l=`${t$}-drag-handle`,draggableId:`${l}-draggable-id`,contextId:`${l}-context-id`},tU={base:i=`${t$}-draggable`,contextId:`${i}-context-id`,id:`${i}-id`},tH={base:a=`${t$}-droppable`,contextId:`${a}-context-id`,id:`${a}-id`},tV={contextId:`${t$}-scroll-container-context-id`},tj=(e,t)=>e.map(e=>{let r=e.styles[t];return r?`${e.selector} { ${r} }`:""}).join(" "),tz="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect,tq=()=>{let e=document.querySelector("head");return e||x(),e},tY=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function tJ(e,t){return Array.from(e.querySelectorAll(t))}var tX=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;function tK(e){return e instanceof tX(e).HTMLElement}function tQ(e,t){let r=tJ(document,`[${tW.contextId}="${e}"]`);if(!r.length)return null;let n=r.find(e=>e.getAttribute(tW.draggableId)===t);return n&&tK(n)?n:null}function tZ(){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||x(),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||x(),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 t0=s.createContext(null),t1=()=>{let e=document.body;return e||x(),e};let t2={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},t3={separator:"::"};function t5(e,t=t3){let r=s.useId();return O(()=>`${e}${t.separator}${r}`,[t.separator,e,r])}var t7=s.createContext(null);let t4=/(\d+)\.(\d+)\.(\d+)/,t8=e=>{let t=t4.exec(e);null==t&&x();let r=Number(t[1]);return{major:r,minor:Number(t[2]),patch:Number(t[3]),raw:e}};function t9(e,t){}function t6(e){let t=(0,s.useRef)(e);return(0,s.useEffect)(()=>{t.current=e}),t}function re(e){return"IDLE"!==e.phase&&"DROP_ANIMATING"!==e.phase&&e.isDragging}let rt={13:!0,9:!0};var rr=e=>{rt[e.keyCode]&&e.preventDefault()};let rn=(o="visibilitychange","u"<typeof document?o:[o,`ms${o}`,`webkit${o}`,`moz${o}`,`o${o}`].find(e=>`on${e}`in document)||o),rl={type:"IDLE"};function ri(){}let ra={34:!0,33:!0,36:!0,35:!0},ro={type:"IDLE"},rd=["input","button","textarea","select","option","optgroup","video","audio"],rs=(d="matches","u"<typeof document?d:[d,"msMatchesSelector","webkitMatchesSelector"].find(e=>e in Element.prototype)||d);function ru(e){e.preventDefault()}function rc({expected:e,phase:t,isLockActive:r,shouldWarn:n}
37){return!!r()&&e===t}function rp({lockAPI:e,store:t,registry:r,draggableId:n}){if(e.isClaimed())return!1;let l=r.draggable.findById(n);return!!l&&!!l.options.isEnabled&&!!tN(t.getState(),n)}let rf=[function(e){let t=(0,s.useRef)(rl),r=(0,s.useRef)(h),n=O(()=>({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,a,{sourceEvent:t});if(!l)return;t.preventDefault();let i={x:t.clientX,y:t.clientY};r.current(),u(l,i)}}),[e]),l=O(()=>({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=S(function(){r.current=y(window,[l,n],{passive:!1,capture:!0})},[l,n]),a=S(()=>{"IDLE"!==t.current.type&&(t.current=rl,r.current(),i())},[i]),o=S(()=>{let e=t.current;a(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[a]),d=S(function(){r.current=y(window,function({cancel:e,completed:t,getPhase:r,setPhase:n}){return[{eventName:"mousemove",fn:e=>{var t;let{button:l,clientX:i,clientY:a}=e;if(0!==l)return;let o={x:i,y:a},d=r();if("DRAGGING"===d.type){e.preventDefault(),d.actions.move(o);return}"PENDING"!==d.type&&x(),t=d.point,(Math.abs(o.x-t.x)>=5||Math.abs(o.y-t.y)>=5)&&(e.preventDefault(),n({type:"DRAGGING",actions:d.actions.fluidLift(o)}))}},{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}rr(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&&x(),n.actions.shouldRespectForcePress())?e():t.preventDefault()}},{eventName:rn,fn:e}]}({cancel:o,completed:a,getPhase:()=>t.current,setPhase:e=>{t.current=e}}),{capture:!0,passive:!1})},[o,a]),u=S(function(e,r){"IDLE"!==t.current.type&&x(),t.current={type:"PENDING",point:r,actions:e},d()},[d]);tz(function(){return i(),function(){r.current()}},[i])},function(e){let t=(0,s.useRef)(ri),r=O(()=>({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 a=!0,o=i.snapLift();function d(){a||x(),a=!1,t.current(),n()}t.current(),t.current=y(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}ra[n.keyCode]?n.preventDefault():rr(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:rn,fn:r}]}(o,d),{capture:!0,passive:!1})}}),[e]),n=S(function(){t.current=y(window,[r],{passive:!1,capture:!0})},[r]);tz(function(){return n(),function(){t.current()}},[n])},function(e){let t=(0,s.useRef)(ro),r=(0,s.useRef)(h),n=S(function(){return t.current},[]),l=S(function(e){t.current=e},[]),i=O(()=>({eventName:"touchstart",fn:function(t){if(t.defaultPrevented)return;let n=e.findClosestDraggableId(t);if(!n)return;let l=e.tryGetLock(n,o,{sourceEvent:t});if(!l)return;let{clientX:i,clientY:a}=t.touches[0];r.current(),p(l,{x:i,y:a})}}),[e]),a=S(function(){r.current=y(window,[i],{capture:!0,passive:!1})},[i]),o=S(()=>{let e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),l(ro),r.current(),a())},[a,l]),d=S(()=>{let e=t.current;o(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()},[o]),u=S(function(){let e={capture:!0,passive:!1},t={cancel:d,completed:o,getPhase:n}
37,l=y(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&&x();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:rn,fn:e}]}(t),e),i=y(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:rn,fn:e}]}(t),e);r.current=function(){l(),i()}},[d,n,o]),c=S(function(){let e=n();"PENDING"!==e.type&&x(),l({type:"DRAGGING",actions:e.actions.fluidLift(e.point),hasMoved:!1})},[n,l]),p=S(function(e,t){"IDLE"!==n().type&&x(),l({type:"PENDING",point:t,actions:e,longPressTimerId:setTimeout(c,120)}),u()},[u,n,l,c]);tz(function(){return a(),function(){r.current();let e=n();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),l(ro))}},[n,a,l]),tz(function(){return y(window,[{eventName:"touchmove",fn:()=>{},options:{capture:!1,passive:!1}}])},[])}];function rg(e){return e.current||x(),e.current}function rm(e){var t;let r,n,l,i,a,o,d,b,I,v,D,E,A,N,w,T,_,M,F,k,{contextId:$,setCallbacks:W,sensors:U,nonce:H,dragHandleUsageInstructions:V}=e,Y=(0,s.useRef)(null);t9(()=>{let e;((e,t)=>{let r=t8(e),n=t8(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",s.version),(e=document.doctype)&&(e.name.toLowerCase(),e.publicId)},[]);let J=t6(e),X=S(()=>{let e;return{onBeforeCapture:t=>{(0,u.flushSync)(()=>{e.onBeforeCapture&&e.onBeforeCapture(t)})},onBeforeDragStart:(e=J.current).onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}},[J]),Z=S(()=>{let e;return e=J.current,{...tP,...e.autoScrollerOptions,durationDampening:{...tP.durationDampening,...e.autoScrollerOptions}}},[J]),ee=(r=O(()=>{let e;return e=t,`rfd-announcement-${e}`},[t=$]),n=(0,s.useRef)(null),(0,s.useEffect)(function(){let e=document.createElement("div");return n.current=e,e.id=r,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),(0,m.A)(e.style,t2),t1().appendChild(e),function(){setTimeout(function(){let t=t1();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)})}},[r]),S(e=>{let t=n.current;if(t){t.textContent=e;return}},[])),et=function({contextId:e,text:t}){let r=t5("hidden-text",{separator:"-"}),n=O(()=>(function({contextId:e,uniqueId:t}){return`rfd-hidden-text-${e}-${t}`})({contextId:e,uniqueId:r}),[r,e]);return(0,s.useEffect)(function(){let e=document.createElement("div");return e.id=n,e.textContent=t,e.style.display="none",t1().appendChild(e),function(){let t=t1();t.contains(e)&&t.removeChild(e)}},[n,t]),n}({contextId:$,text:V}),er=(l=O(()=>{let e,t,r,n,l,i;return t=`
38      cursor: -webkit-grab;
39      cursor: grab;
40    `,r={selector:(e=e=>`[${e}="${$}"]`)(tW.contextId),styles:{always:`
41          -webkit-touch-callout: none;
42          -webkit-tap-highlight-color: rgba(0,0,0,0);
43          touch-action: manipulation;
44        `,resting:t,dragging:"pointer-events: none;",dropAnimating:t}},n=`
45      transition: ${ti.outOfTheWay};
46    `,l={selector:e(tU.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}},{always:tj(i=[l,r,{selector:e(tH.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:`
47        cursor: grabbing;
48        cursor: -webkit-grabbing;
49        user-select: none;
50        -webkit-user-select: none;
51        -moz-user-select: none;
52        -ms-user-select: none;
53        overflow-anchor: none;
54      `}}],"always"),resting:tj(i,"resting"),dragging:tj(i,"dragging"),dropAnimating:tj(i,"dropAnimating"),userCancel:tj(i,"userCancel")}},[$]),i=(0,s.useRef)(null),a=(0,s.useRef)(null),o=S(j(e=>{let t=a.current;t||x(),t.textContent=e}),[]),tz(()=>{(i.current||a.current)&&x();let e=tY(H),t=tY(H);return i.current=e,a.current=t,e.setAttribute(`${t$}-always`,$),t.setAttribute(`${t$}-dynamic`,$),tq().appendChild(e),tq().appendChild(t),d(l.always),o(l.resting),()=>{let e=e=>{let t=e.current;t||x(),tq().removeChild(t),e.current=null};e(i),e(a)}},[H,d=S(e=>{let t=i.current;t||x(),t.textContent=e},[]),o,l.always,l.resting,$]),b=S(()=>o(l.dragging),[o,l.dragging]),I=S(e=>{"DROP"===e?o(l.dropAnimating):o(l.userCancel)},[o,l.dropAnimating,l.userCancel]),O(()=>({dragging:b,dropping:I,resting:v}),[b,I,v=S(()=>{a.current&&o(l.resting)},[o,l.resting])])),en=S(e=>{rg(Y).dispatch(e)},[]),el=O(()=>(0,c.zH)({publishWhileDragging:eJ,updateDroppableScroll:eK,updateDroppableIsEnabled:eQ,updateDroppableIsCombineEnabled:eZ,collectionStarting:eX},en),[en]),ei=(D=O(tZ,[]),(0,s.useEffect)(()=>function(){D.clean()},[D]),D),ea=O(()=>{let e,t,r;return e=null,t=function({registry:e,callbacks:t}){let r=tx(),n=null,l=()=>{n||(t.collectionStarting(),n=requestAnimationFrame(()=>{n=null,eU();let{additions:l,removals:i,modified:a}=r,o=Object.keys(l).map(t=>e.draggable.getById(t).getDimension(B)).sort((e,t)=>e.descriptor.index-t.descriptor.index),d=Object.keys(a).map(t=>{let r=e.droppable.getById(t).callbacks.getScrollWhileDragging();return{droppableId:t,scroll:r}}),s={additions:o,removals:Object.keys(i),modified:d};r=tx(),eH(),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=tx())}}}({callbacks:{publish:el.publishWhileDragging,collectionStarting:el.collectionStarting},registry:ei}),r=r=>{e||x();let n=e.critical.draggable;"ADDITION"===r.type&&tA(ei,n,r.value)&&t.add(r.value),"REMOVAL"===r.type&&tA(ei,n,r.value)&&t.remove(r.value)},{updateDroppableIsEnabled:(t,r)=>{ei.droppable.exists(t)||x(),e&&el.updateDroppableIsEnabled({id:t,isEnabled:r})},updateDroppableIsCombineEnabled:(t,r)=>{e&&(ei.droppable.exists(t)||x(),el.updateDroppableIsCombineEnabled({id:t,isCombineEnabled:r}))},scrollDroppable:(t,r)=>{e&&ei.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:(t,r)=>{e&&(ei.droppable.exists(t)||x(),el.updateDroppableScroll({id:t,newScroll:r}))},startPublishing:t=>{e&&x();let n=ei.draggable.getById(t.draggableId),l=ei.droppable.getById(n.descriptor.droppableId),i={draggable:n.descriptor,droppable:l.descriptor};return e={critical:i,unsubscribe:ei.subscribe(r)},(({critical:e,scrollOptions:t,registry:r})=>{let n,l,i,a,o,d,s;eU();let u=(n=tc(),l=tE(),i=n.y,a=n.x,d=(o=tD()).clientWidth,s=o.clientHeight,{frame:(0,f.l)({top:i,left:a,right:a+d,bottom:i+s}),scroll:{initial:n,current:n,max:l,diff:{value:B,displacement:B}}}),c=u.scroll.current,p=e.droppable,g=r.droppable.getAllByType(p.type).map(e=>e.callbacks.getDimensionAndWatchScroll(c,t)),m={draggables:q(r.draggable.getAllByType(e.draggable.type).map(e=>e.getDimension(c))),droppables:z(g)};return eH(),{dimensions:m,critical:e,viewport:u}})({critical:i,registry:ei,scrollOptions:t.scrollOptions})},stopPublishing:()=>{if(!e)return;t.stop();let r=e.critical.droppable;ei.droppable.getAllByType(r.type).forEach(e=>e.callbacks.dragStopped()),e.unsubscribe(),e=null}}},[ei,el]),eo=O(()=>(({scrollDroppable:e,scrollWindow:t,move:r,getAutoScrollerOptions:n})=>{let l=(({scrollWindow:e,scrollDroppable:t,getAutoScrollerOptions:r=()=>tP})=>{let n=(0,g.A)(e),l=(0,g.A)(t),i=null,a=e=>{i||x();let{shouldUseTimeDampening:t,dragStartTime:a}=i;tk({state:e,scrollWindow:n,scrollDroppable:l,dragStartTime:a,shouldUseTimeDampening:t,getAutoScrollerOptions:r})};return{start:e=>{eU(),i&&x();let t=Date.now(),n=!1,l=()=>{n=!0};tk({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:l,scrollDroppable:l,getAutoScrollerOptions:r}),i={dragStartTime:t,shouldUseTimeDampening:n},eH(),n&&a(e)},stop:()=>
54{i&&(n.cancel(),l.cancel(),i=null)},scroll:a}})({scrollWindow:t,scrollDroppable:e,getAutoScrollerOptions:n}),i=(({move:e,scrollDroppable:t,scrollWindow:r})=>n=>{let l=n.scrollJumpRequest;if(!l)return;let i=eO(n.impact);i||x();let a=((e,r)=>{let n;if(!tF(e,r))return r;let l=(n=e.frame)&&tF(e,r)?tT({current:n.scroll.current,max:n.scroll.max,change:r}):null;if(!l)return t(e.descriptor.id,r),null;let i=L(r,l);return t(e.descriptor.id,i),L(r,i)})(n.dimensions.droppables[i],l);if(!a)return;let o=n.viewport,d=((e,t,n)=>{if(!e||!tM(t,n))return n;let l=((e,t)=>{if(!tM(e,t))return null;let r=e.scroll.max;return tT({current:e.scroll.current,max:r,change:t})})(t,n);if(!l)return r(n),null;let i=L(n,l);return r(i),L(n,i)})(n.isWindowScrollAllowed,o,a);d&&e({client:G(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:tR,scrollDroppable:ea.scrollDroppable,getAutoScrollerOptions:Z,...(0,c.zH)({move:e0},en)}),[ea.scrollDroppable,en,Z]),ed=(E=(0,s.useRef)({}),A=(0,s.useRef)(null),N=(0,s.useRef)(null),w=(0,s.useRef)(!1),T=S(function(e,t){let r={id:e,focus:t};return E.current[e]=r,function(){let t=E.current;t[e]!==r&&delete t[e]}},[]),_=S(function(e){let t=tQ($,e);t&&t!==document.activeElement&&t.focus()},[$]),M=S(function(e,t){A.current===e&&(A.current=t)},[]),F=S(function(){N.current||w.current&&(N.current=requestAnimationFrame(()=>{N.current=null;let e=A.current;e&&_(e)}
54))},[_]),k=S(function(e){A.current=null;let t=document.activeElement;t&&t.getAttribute(tW.draggableId)===e&&(A.current=e)},[]),tz(()=>(w.current=!0,function(){w.current=!1;let e=N.current;e&&cancelAnimationFrame(e)}),[]),O(()=>({register:T,tryRecordFocus:k,tryRestoreFocusRecorded:F,tryShiftRecord:M}),[T,k,F,M])),es=O(()=>(({dimensionMarshal:e,focusMarshal:t,styleMarshal:r,getResponders:n,announce:l,autoScroller:i})=>{let a,o,d,s,u,p;return(0,c.y$)(eq,tI((0,c.Tw)(()=>e=>t=>{eY(t,"INITIAL_PUBLISH")&&r.dragging(),eY(t,"DROP_ANIMATE")&&r.dropping(t.payload.completed.result.reason),(eY(t,"FLUSH")||eY(t,"DROP_COMPLETE"))&&r.resting(),e(t)},()=>t=>r=>{(eY(r,"DROP_COMPLETE")||eY(r,"FLUSH")||eY(r,"DROP_ANIMATE"))&&e.stopPublishing(),t(r)},({getState:t,dispatch:r})=>n=>l=>{if(!eY(l,"LIFT"))return void n(l);let{id:i,clientSelection:a,movementMode:o}=l.payload,d=t();"DROP_ANIMATING"===d.phase&&r(e4({completed:d.completed})),"IDLE"!==t().phase&&x(),r(e7()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:i,movementMode:o}});let{critical:s,dimensions:u,viewport:c}=e.startPublishing({draggableId:i,scrollOptions:{shouldPublishImmediately:"SNAP"===o}});r({type:"INITIAL_PUBLISH",payload:{critical:s,dimensions:u,clientSelection:a,movementMode:o,viewport:c}})},tu,tb,th,ty,e=>t=>r=>{if(eY(r,"DROP_COMPLETE")||eY(r,"DROP_ANIMATE")||eY(r,"FLUSH")){i.stop(),t(r);return}if(eY(r,"INITIAL_PUBLISH")){t(r);let n=e.getState();"DRAGGING"!==n.phase&&x(),i.start(n);return}t(r),i.scroll(e.getState())},tp,(a=!1,()=>e=>r=>{if(eY(r,"INITIAL_PUBLISH")){a=!0,t.tryRecordFocus(r.payload.critical.draggable.id),e(r),t.tryRestoreFocusRecorded();return}if(e(r),a){if(eY(r,"FLUSH")){a=!1,t.tryRestoreFocusRecorded();return}if(eY(r,"DROP_COMPLETE")){a=!1;let e=r.payload.completed.result;e.combine&&t.tryShiftRecord(e.draggableId,e.combine.draggableId),t.tryRestoreFocusRecorded()}}}),(o=[],d={add:e=>{let t=setTimeout(()=>(e=>{let t=o.findIndex(t=>t.timerId===e);-1===t&&x();let[r]=o.splice(t,1);r.callback()})(t));o.push({timerId:t,callback:e})},flush:()=>
54{if(!o.length)return;let e=[...o];o.length=0,e.forEach(e=>{clearTimeout(e.timerId),e.callback()})}},s=null,p={beforeCapture:(e,t)=>{s&&x(),tf("onBeforeCapture",()=>{let r=n().onBeforeCapture;r&&r({draggableId:e,mode:t})})},beforeStart:(e,t)=>{s&&x(),tf("onBeforeDragStart",()=>{let r=n().onBeforeDragStart;r&&r(tg(e,t))})},start:(e,t)=>{s&&x();let r=tg(e,t);s={mode:t,lastCritical:e,lastLocation:r.source,lastCombine:null},d.add(()=>{tf("onDragStart",()=>tm(n().onDragStart,r,l,R))})},update:(e,t)=>{var r,i;let a=K(t),o=Q(t);s||x();let u=!((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,s.lastCritical);u&&(s.lastCritical=e);let c=(r=s.lastLocation,(null!=r||null!=a)&&(null==r||null==a||r.droppableId!==a.droppableId||r.index!==a.index));c&&(s.lastLocation=a);let p=(i=s.lastCombine,(null!=i||null!=o)&&(null==i||null==o||i.draggableId!==o.draggableId||i.droppableId!==o.droppableId));if(p&&(s.lastCombine=o),!u&&!c&&!p)return;let f={...tg(e,s.mode),combine:o,destination:a};d.add(()=>{tf("onDragUpdate",()=>tm(n().onDragUpdate,f,l,C))})},flush:()=>{s||x(),d.flush()},drop:u=e=>{s||x(),s=null,tf("onDragEnd",()=>tm(n().onDragEnd,e,l,P))},abort:()=>{s&&u({...tg(s.lastCritical,s.mode),combine:null,destination:null,reason:"CANCEL"})}},e=>t=>r=>{if(eY(r,"BEFORE_INITIAL_CAPTURE"))return void p.beforeCapture(r.payload.draggableId,r.payload.movementMode);if(eY(r,"INITIAL_PUBLISH")){let e=r.payload.critical;p.beforeStart(e,r.payload.movementMode),t(r),p.start(e,r.payload.movementMode);return}if(eY(r,"DROP_COMPLETE")){let e=r.payload.completed.result;p.flush(),t(r),p.drop(e);return}if(t(r),eY(r,"FLUSH"))return void p.abort();let n=e.getState();"DRAGGING"===n.phase&&p.update(n.critical,n.impact)}))))})({announce:ee,autoScroller:eo,dimensionMarshal:ea,focusMarshal:ed,getResponders:X,styleMarshal:er}),[ee,eo,ea,ed,X,er]);Y.current=es;let eu=S(()=>{let e=rg(Y);"IDLE"!==e.getState().phase&&e.dispatch(e7())},[]),ec=S(()=>{let e=rg(Y).getState();return"DROP_ANIMATING"===e.phase||"IDLE"!==e.phase&&e.isDragging},[]);W(O(()=>({isDragging:ec,tryAbort:eu}),[ec,eu]));let ep=S(e=>tN(rg(Y).getState(),e),[]),ef=S(()=>eS(rg(Y).getState()),[]),eg=O(()=>({marshal:ea,focus:ed,contextId:$,canLift:ep,isMovementAllowed:ef,dragHandleUsageInstructionsId:et,registry:ei}),[$,ea,et,ed,ep,ef,ei]);return!function({contextId:e,store:t,registry:r,customSensors:n,enableDefaultSensors:l}){let i=[...l?rf:[],...n||[]],a=(0,s.useState)(()=>(function(){let e=null;function t(){e||x(),e=null}return{isClaimed:function(){return!!e},isActive:function(t){return t===e},claim:function(t){e&&x();let r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}})())[0],o=S(function(e,t){re(e)&&!re(t)&&a.tryAbandon()},[a]);tz(function(){let e=t.getState();return t.subscribe(()=>{let r=t.getState();o(e,r),e=r})},[a,t,o]),tz(()=>a.tryAbandon,[a.tryAbandon]);let d=S(e=>rp({lockAPI:a,registry:r,store:t,draggableId:e}),[a,r,t]),u=S((n,l,i)=>(function({lockAPI:e,contextId:t,store:r,registry:n,draggableId:l,forceSensorStop:i,sourceEvent:a}){var o;let d,s;if(!rp({lockAPI:e,store:r,registry:n,draggableId:l}))return null;let u=n.draggable.getById(l),c=(o=u.descriptor.id,(d=tJ(document,`[${tU.contextId}="${t}"]`).find(e=>e.getAttribute(tU.id)===o))&&tK(d)?d:null);if(!c||a&&!u.options.canDragInteractiveElements&&tK(s=a.target)&&function e(t,r){if(null==r)return!1;if(rd.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 p=e.claim(i||h),m="PRE_DRAG";function b(){return u.options.shouldRespectForcePress}function I(){return e.isActive(p)}let v=(function(e,t){rc({expected:e,phase:m,isLockActive:I,shouldWarn:!0})&&r.dispatch(t())}).bind(null,"DRAGGING");function D(t){function n(){e.release(),m="COMPLETED"}function l(e,i={shouldBlockNextClick:!1}){t.cleanup(),i.shouldBlockNextClick&&setTimeout(y(window,[{eventName:"click",fn:ru,options:{once:!0,passive:!1,capture:!0}}])),n(),r.dispatch(e8({reason:e}))}return"PRE_DRAG"!==m&&(n(),x()),r.dispatch({type:"LIFT",payload:t.liftActionArgs}),m="DRAGGING",{isActive:()=>rc({expected:"DRAGGING",phase:m,isLockActive:I,shouldWarn:!1}),shouldRespectForcePress:b,drop:e=>l("DROP",e),cancel:e=>l("CANCEL",e),...t.actions}}return{isActive:()=>rc({expected:"PRE_DRAG",phase:m,isLockActive:I,shouldWarn:!1}),shouldRespectForcePress:b,fluidLift:function(e){let t=(0,g.A)(e=>{v(()=>e0({client:e}))});return{...D({liftActionArgs:{id:l,clientSelection:e,movementMode:"FLUID"},cleanup:()=>t.cancel(),actions:{move:t}}),move:t}},snapLift:function(){return D({liftActionArgs:{id:l,clientSelection:(0,f.l)(c.getBoundingClientRect()).center,movementMode:"SNAP"}
54,cleanup:h,actions:{moveUp:()=>v(e1),moveRight:()=>v(e3),moveDown:()=>v(e2),moveLeft:()=>v(e5)}})},abort:function(){rc({expected:"PRE_DRAG",phase:m,isLockActive:I,shouldWarn:!0})&&e.release()}}})({lockAPI:a,registry:r,contextId:e,store:t,draggableId:n,forceSensorStop:l||null,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null}),[e,a,r,t]),c=S(t=>{let r;return(r=function(e,t){let r=t.target;if(!(r instanceof tX(r).Element))return null;let n=`[${tW.contextId}="${e}"]`,l=r.closest?r.closest(n):function e(t,r){return null==t?null:t[rs](r)?t:e(t.parentElement,r)}(r,n);return l&&tK(l)?l:null}(e,t))?r.getAttribute(tW.draggableId):null},[e]),p=S(e=>{let t=r.draggable.findById(e);return t?t.options:null},[r.draggable]),m=S(function(){a.isClaimed()&&(a.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(e7()))},[a,t]),b=S(()=>a.isClaimed(),[a]),I=O(()=>({canGetLock:d,tryGetLock:u,findClosestDraggableId:c,findOptionsForDraggable:p,tryReleaseLock:m,isLockClaimed:b}),[d,u,c,p,m,b]);for(let e=0;e<i.length;e++)i[e](I)}({contextId:$,store:es,registry:ei,customSensors:U||null,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,s.useEffect)(()=>eu,[eu]),s.createElement(t7.Provider,{value:eg},s.createElement(p.Kq,{context:t0,store:es},e.children))}function rb(e){let t=s.useId(),r=e.dragHandleUsageInstructions||D;return s.createElement(v,null,n=>s.createElement(rm,{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))}var rh=s.createContext(null);function ry(e){e&&tK(e)||x()}function rI(e){let t=(0,s.useContext)(e);return t||x(),t}function rx(e){e.preventDefault()}var rv=(e,t)=>e===t,rD=e=>{let{combine:t,destination:r}=e;return r?r.droppableId:t?t.droppableId:null};function rE(e=null){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}let rA={mapped:{type:"SECONDARY",offset:B,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:rE(null)}},rN=(0,p.Ng)(()=>{let e,t,r,n,l,i,a,o,d=(e=j((e,t)=>({x:e,y:t})),t=j((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=j((e,r,n,l,i=null,a=null,o=null)=>({mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:r,offset:e,dimension:n,forceShouldAnimate:o,snapshot:t(r,l,i,a,null)}})),(n,l)=>{if(re(n)){let t;if(n.critical.draggable.id!==l.draggableId)return null;let i=n.current.client.offset,a=n.dimensions.draggables[l.draggableId],o=eO(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,a,l.isClone,o,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],a=e.result,o=a.mode,d=rD(a),s=a.combine?a.combine.draggableId:null,u={duration:n.dropDuration,curve:e6,moveTo:n.newHomeClientOffset,opacity:s?te:null,scale:s?tr:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:i,dropping:u,draggingOver:d,combineWith:s,mode:o,forceShouldAnimate:null,snapshot:t(o,r,d,s,u)}}}return null}),s=(n=j((e,t)=>({x:e,y:t})),l=j(rE),i=j((e,t=null,r)=>({mapped:{type:"SECONDARY",offset:e,combineTargetFor:t,shouldAnimateDisplacement:r,snapshot:l(t)}})),a=e=>e?i(B,e,!0):null,o=(e,t,r,l)=>{let o=r.displaced.visible[e],d=!!(l.inVirtualList&&l.effected[e]),s=Q(r),u=s&&s.draggableId===e?t:null;if(!o){if(!d)return a(u);if(r.displaced.invisible[e])return null;let t=_(l.displacedBy.point);return i(n(t.x,t.y),u,!0)}if(d)return a(u);let c=r.displacedBy.point;return i(n(c.x,c.y),u,o.shouldAnimate)},(e,t)=>{if(re(e))return e.critical.draggable.id===t.draggableId?null:o(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:o(t.draggableId,r.result.draggableId,r.impact,r.afterCritical)}return null});return(e,t)=>d(e,t)||s(e,t)||rA},{dropAnimationFinished:e9},null,{context:t0,areStatePropsEqual:rv})(e=>{let t=(0,s.useRef)(null),r=S((e=null)=>{t.current=e},[]),n=S(()=>t.current,[]),{contextId:l,dragHandleUsageInstructionsId:i,registry:a}=rI(t7),{type:o,droppableId:d}=rI(rh),c=O(()=>({id:e.draggableId,index:e.index,type:o,droppableId:d}),[e.draggableId,e.index,o,d]),{children:p,draggableId:g,isEnabled:m,shouldRespectForcePress:b,canDragInteractiveElements:h,isClone:y,mapped:I,dropAnimationFinished:v}=e;t9(()=>{let t=e.draggableId;t||x(!1),"string"!=typeof t&&x(!1),Number.isInteger(e.index)||x(!1),"DRAGGING"!==e.mapped.type&&(ry(n()),e.isEnabled&&(tQ(l,t)||x(!1)))}),y||function(e){let t=t5("draggable"),{descriptor:r,registry:n,getDraggableRef:l,canDragInteractiveElements:i,shouldRespectForcePress:a,isEnabled:o}=e,d=O(()=>({canDragInteractiveElements:i,shouldRespectForcePress:a,isEnabled:o}),[i,o,a]),u=S(e=>{let t=l();return t||x(),function(e,t,r=B){let n=window.getComputedStyle(t),l=t.getBoundingClientRect(),i=(0,f.a)(l,n),a=(0,f.SQ)(i,r),o={client:i,tagName:t.tagName.toLowerCase(),display:n.display};return{descriptor:e,placeholder:o,displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(r,t,e)},[r,l]),c=O(()=>({uniqueId:t,descriptor:r,options:d,getDimension:u}),[r,u,d,t]),p=(0,s.useRef)(c),g=(0,s.useRef)(!0);tz(()=>(n.draggable.register(p.current),()=>n.draggable.unregister(p.current)),[n.draggable]),tz(()=>{if(g.current){g.current=!1;return}let e=p.current;p.current=c,n.draggable.update(c,e)},[c,n.draggable])}(O(()=>({descriptor:c,registry:a,getDraggableRef:n,canDragInteractiveElements:h,shouldRespectForcePress:b,isEnabled:m}),[c,a,n,h,b,m]));let D=O(()=>m?{tabIndex:0,role:"button","aria-describedby":i,"data-rfd-drag-handle-draggable-id":g,"data-rfd-drag-handle-context-id":l,draggable:!1,onDragStart:rx}:null,[l,i,g,m]),E=S(e=>{"DRAGGING"===I.type&&I.dropping&&"transform"===e.propertyName&&(0,u.flushSync)(v)}
54,[v,I]),A=O(()=>{let e="DRAGGING"===I.type?function(e){let t=e.dimension.client,{offset:r,combineWith:n,dropping:l}=e,i=!!n,a=null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode,o=!!l,d=o?((e,t)=>{let r=ta(e);if(r)return t?`${r} scale(${tr})`:r})(r,i):ta(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?ti.drop(l.duration):a?ti.snap:ti.fluid,transform:d,opacity:((e,t)=>{if(e)return t?te:tt})(i,o),zIndex:o?4500:5e3,pointerEvents:"none"}}(I):{transform:ta(I.offset),transition:I.shouldAnimateDisplacement?void 0:"none"};return{innerRef:r,draggableProps:{"data-rfd-draggable-context-id":l,"data-rfd-draggable-id":g,style:e,onTransitionEnd:"DRAGGING"===I.type&&I.dropping?E:void 0},dragHandleProps:D}},[l,D,g,I,E,r]),N=O(()=>({draggableId:c.id,type:c.type,source:{index:c.index,droppableId:c.droppableId}}),[c.droppableId,c.id,c.index,c.type]);return s.createElement(s.Fragment,null,p(A,I.snapshot,N))});function rR(e){return rI(rh).isUsingCloneFor!==e.draggableId||e.isClone?s.createElement(rN,e):null}function rC(e){let t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,r=!!e.disableInteractiveElementBlocking,n=!!e.shouldRespectForcePress;return s.createElement(rR,(0,m.A)({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:r,shouldRespectForcePress:n}))}let rP=e=>t=>e===t,rw=rP("scroll"),rO=rP("auto");rP("visible");let rS=(e,t)=>t(e.overflowX)||t(e.overflowY),rB=e=>{let t,r;return null==e||e===document.body||e===document.documentElement?null:rS(r={overflowX:(t=window.getComputedStyle(e)).overflowX,overflowY:t.overflowY},rw)||rS(r,rO)?e:rB(e.parentElement)};var rG=e=>({x:e.scrollLeft,y:e.scrollTop});let rL=e=>!!e&&("fixed"===window.getComputedStyle(e).position||rL(e.parentElement)),rT={passive:!1},r_={passive:!0};var rM=e=>e.shouldPublishImmediately?rT:r_;let rF=e=>e&&e.env.closestScrollable||null;function rk(){}let r$={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}};var rW=s.memo(e=>{let t=(0,s.useRef)(null),r=S(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]),{animate:n,onTransitionEnd:l,onClose:i,contextId:a}=e,[o,d]=(0,s.useState)("open"===e.animate);(0,s.useEffect)(()=>o?"open"!==n?(r(),d(!1),rk):t.current?rk:(t.current=setTimeout(()=>{t.current=null,d(!1)}),r):rk,[n,o,r]);let u=S(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?r$:{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?ti.placeholder:null}})({isAnimatingOpenOnMount:o,animate:e.animate,placeholder:e.placeholder});return s.createElement(e.placeholder.tagName,{style:c,"data-rfd-placeholder-context-id":a,onTransitionEnd:u,ref:e.innerRef})});function rU(e){return"boolean"==typeof e}function rH(e,t){t.forEach(t=>t(e))}let rV=[function({props:e}){e.droppableId||x(),"string"!=typeof e.droppableId&&x()},function({props:e}){rU(e.isDropDisabled)||x(),rU(e.isCombineEnabled)||x(),rU(e.ignoreContainerClipping)||x()},function({getDroppableRef:e}){ry(e())}],rj=[function({props:e,getPlaceholderRef:t}){if(!e.placeholder||t())return}],rz=[function({props:e}){e.renderClone||x()},function({getPlaceholderRef:e}){e()&&x()}];class rq extends s.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"}}
54render(){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 rY={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||x(),document.body}},rJ=e=>{let t,r={...e};for(t in rY)void 0===e[t]&&(r={...r,[t]:rY[t]});return r},rX=(e,t)=>t.draggables[e.draggable.id],rK=(0,p.Ng)(()=>{let e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t={...e,shouldAnimatePlaceholder:!1},r=j(e=>({draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}})),n=j((n,l,i,a,o,d)=>{let s=o.descriptor.id;if(o.descriptor.droppableId===n){let e=d?{render:d,dragging:r(o.descriptor)}:null;return{placeholder:o.placeholder,shouldAnimatePlaceholder:!1,snapshot:{isDraggingOver:i,draggingOverWith:i?s:null,draggingFromThisWith:s,isUsingPlaceholder:!0},useClone:e}}return l?a?{placeholder:o.placeholder,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:i,draggingOverWith:s,draggingFromThisWith:null,isUsingPlaceholder:!0},useClone:null}:e:t});return(r,l)=>{let i=rJ(l),a=i.droppableId,o=i.type,d=!i.isDropDisabled,s=i.renderClone;if(re(r)){let e=r.critical;if(o!==e.droppable.type)return t;let l=rX(e,r.dimensions),i=eO(r.impact)===a;return n(a,d,i,i,l,s)}if("DROP_ANIMATING"===r.phase){let e=r.completed;if(o!==e.critical.droppable.type)return t;let l=rX(e.critical,r.dimensions);return n(a,d,rD(e.result)===a,eO(e.impact)===a,l,s)}if("IDLE"===r.phase&&r.completed&&!r.shouldFlush){let n=r.completed;if(o!==n.critical.droppable.type)return t;let l=eO(n.impact)===a,i=!!(n.impact.at&&"COMBINE"===n.impact.at.type),d=n.critical.droppable.id===a;if(l)return i?e:t;if(d)return e}return t}},{updateViewportMaxScroll:e=>({type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e})},(e,t,r)=>({...rJ(r),...e,...t}),{context:t0,areStatePropsEqual:rv})(e=>{var t;let r=(0,s.useContext)(t7);r||x();let{contextId:n,isMovementAllowed:l}=r,i=(0,s.useRef)(null),a=(0,s.useRef)(null),{children:o,droppableId:d,type:c,mode:p,direction:m,ignoreContainerClipping:b,isDropDisabled:h,isCombineEnabled:y,snapshot:I,useClone:v,updateViewportMaxScroll:D,getContainerForClone:E}=e,A=S(()=>i.current,[]),N=S((e=null)=>{i.current=e},[]),R=S(()=>a.current,[]),C=S((e=null)=>{a.current=e},[]);t={props:e,getDroppableRef:A,getPlaceholderRef:R},t9(()=>{rH(t,rV),"standard"===t.props.mode&&rH(t,rj),"virtual"===t.props.mode&&rH(t,rz)});let P=S(()=>{l()&&D({maxScroll:tE()})},[l,D]);!function(e){let t=(0,s.useRef)(null),r=rI(t7),n=t5("droppable"),{registry:l,marshal:i}=r,a=t6(e),o=O(()=>({id:e.droppableId,type:e.type,mode:e.mode}),[e.droppableId,e.mode,e.type]),d=(0,s.useRef)(o),u=O(()=>j((e,r)=>{t.current||x(),i.updateDroppableScroll(o.id,{x:e,y:r})}),[o.id,i]),c=S(()=>{let e=t.current;return e&&e.env.closestScrollable?rG(e.env.closestScrollable):B},[]),p=S(()=>{let e=c();u(e.x,e.y)},[c,u]),m=O(()=>(0,g.A)(p),[p]),b=S(()=>{let e=t.current,r=rF(e);(e&&r||x(),e.scrollOptions.shouldPublishImmediately)?p():m()},[m,p]),h=S((e,n)=>{t.current&&x();let l=a.current,i=l.getDroppableRef();i||x();let d={closestScrollable:rB(i),isFixedOnPage:rL(i)},s={ref:i,descriptor:o,env:d,scrollOptions:n};t.current=s;let u=(({ref:e,descriptor:t,env:r,windowScroll:n,direction:l,isDropDisabled:i,isCombineEnabled:a,shouldClipSubject:o})=>{let d=r.closestScrollable,s=((e,t)=>{let r=(0,f.YH)(e);if(!t||e!==t)return r;let n=r.paddingBox.top-t.scrollTop,l=r.paddingBox.left-t.scrollLeft,i=n+t.scrollHeight,a=l+t.scrollWidth,o=(0,f.fT)({top:n,right:a,bottom:i,left:l},r.border);return(0,f.ge)({borderBox:o,margin:r.margin,border:r.border,padding:r.padding})})(e,d),u=(0,f.SQ)(s,n),c=(()=>{if(!d)return null;let e=(0,f.YH)(d),t={scrollHeight:d.scrollHeight,scrollWidth:d.scrollWidth};return{client:e,page:(0,f.SQ)(e,n),scroll:rG(d),scrollSize:t,shouldClipSubject:o}})();return(({descriptor:e,isEnabled:t,isCombineEnabled:r,isFixedOnPage:n,direction:l,client:i,page:a,closest:o})=>{let d=(()=>
54{if(!o)return null;let{scrollSize:e,client:t}=o,r=tv({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:o.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:o.shouldClipSubject,scroll:{initial:o.scroll,current:o.scroll,max:r,diff:{value:B,displacement:B}}}})(),s="vertical"===l?eo:ed,u=H({page:a,withPlaceholder:null,axis:s,frame:d});return{descriptor:e,isCombineEnabled:r,isFixedOnPage:n,axis:s,isEnabled:t,client:i,page:a,frame:d,subject:u}})({descriptor:t,isEnabled:!i,isCombineEnabled:a,isFixedOnPage:r.isFixedOnPage,direction:l,client:s,page:u,closest:c})})({ref:i,descriptor:o,env:d,windowScroll:e,direction:l.direction,isDropDisabled:l.isDropDisabled,isCombineEnabled:l.isCombineEnabled,shouldClipSubject:!l.ignoreContainerClipping}),c=d.closestScrollable;return c&&(c.setAttribute(tV.contextId,r.contextId),c.addEventListener("scroll",b,rM(s.scrollOptions))),u},[r.contextId,o,b,a]),y=S(()=>{let e=t.current,r=rF(e);return e&&r||x(),rG(r)},[]),I=S(()=>{let e=t.current;e||x();let r=rF(e);t.current=null,r&&(m.cancel(),r.removeAttribute(tV.contextId),r.removeEventListener("scroll",b,rM(e.scrollOptions)))},[b,m]),v=S(e=>{let r=t.current;r||x();let n=rF(r);n||x(),n.scrollTop+=e.y,n.scrollLeft+=e.x},[]),D=O(()=>({getDimensionAndWatchScroll:h,getScrollWhileDragging:y,dragStopped:I,scroll:v}),[I,h,y,v]),E=O(()=>({uniqueId:n,descriptor:o,callbacks:D}),[D,o,n]);tz(()=>(d.current=E.descriptor,l.droppable.register(E),()=>{t.current&&I(),l.droppable.unregister(E)}),[D,o,I,E,i,l.droppable]),tz(()=>{t.current&&i.updateDroppableIsEnabled(d.current.id,!e.isDropDisabled)},[e.isDropDisabled,i]),tz(()=>{t.current&&i.updateDroppableIsCombineEnabled(d.current.id,e.isCombineEnabled)},[e.isCombineEnabled,i])}({droppableId:d,type:c,mode:p,direction:m,isDropDisabled:h,isCombineEnabled:y,ignoreContainerClipping:b,getDroppableRef:A});let w=O(()=>s.createElement(rq,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},({onClose:e,data:t,animate:r})=>s.createElement(rW,{placeholder:t,onClose:e,innerRef:C,animate:r,contextId:n,onTransitionEnd:P})),[n,P,e.placeholder,e.shouldAnimatePlaceholder,C]),G=O(()=>({innerRef:N,placeholder:w,droppableProps:{"data-rfd-droppable-id":d,"data-rfd-droppable-context-id":n}}),[n,d,w,N]),L=v?v.dragging.draggableId:null,T=O(()=>({droppableId:d,type:c,isUsingCloneFor:L}),[d,L,c]);return s.createElement(rh.Provider,{value:T},o(G,I),function(){if(!v)return null;let{dragging:e,render:t}=v,r=s.createElement(rR,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(r,n)=>t(r,n,e));return u.createPortal(r,E())}())})}}]);
55//# sourceMappingURL=77973763-a31db5d5a6fc3cc1.js.map

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.