PageSourceSearch

https://www.znanye.com/static/js/3780.78de4ccc.chunk.js

js znanye.com collected 2026-10-05 02:52:54 UTC 90,338 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkznanye=self.webpackChunkznanye||[]).push([[3780],{92906:(e,r,t)=>{t.r(r),t.d(r,{default:()=>a});var n=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function i(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t++)if(i=e[t],a=r[t],!(i===a||n(i)&&n(a)))return!1;var i,a;return!0}const a=function(e,r){var t;void 0===r&&(r=i);var n,a=[],o=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return o&&t===this&&r(i,a)||(n=e.apply(this,i),o=!0,t=this,a=i),n}}},13780:(e,r,t)=>{t.d(r,{JY:()=>Hn,sx:()=>wi,gL:()=>Si});var n=t(65043),i=t(77387),a=t(58168),o=t(50805),l=t(97508);function u(e,r){var t=(0,n.useState)((function(){return{inputs:r,result:e()}}))[0],i=(0,n.useRef)(!0),a=(0,n.useRef)(t),o=i.current||Boolean(r&&a.current.inputs&&function(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t++)if(e[t]!==r[t])return!1;return!0}(r,a.current.inputs))?a.current:{inputs:r,result:e()};return(0,n.useEffect)((function(){i.current=!1,a.current=o}),[o]),o.result}var c=u,d=function(e,r){return u((function(){return e}),r)},s="Invariant failed";var p=function(e){var r=e.top,t=e.right,n=e.bottom,i=e.left;return{top:r,right:t,bottom:n,left:i,width:t-i,height:n-r,x:i,y:r,center:{x:(t+i)/2,y:(n+r)/2}}},f=function(e,r){return{top:e.top-r.top,left:e.left-r.left,bottom:e.bottom+r.bottom,right:e.right+r.right}},g=function(e,r){return{top:e.top+r.top,left:e.left+r.left,bottom:e.bottom-r.bottom,right:e.right-r.right}},v={top:0,right:0,bottom:0,left:0},m=function(e){var r=e.borderBox,t=e.margin,n=void 0===t?v:t,i=e.border,a=void 0===i?v:i,o=e.padding,l=void 0===o?v:o,u=p(f(r,n)),c=p(g(r,a)),d=p(g(c,l));return{marginBox:u,borderBox:p(r),paddingBox:c,contentBox:d,margin:n,border:a,padding:l}},b=function(e){var r=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var t=Number(r);return isNaN(t)&&function(e,r){if(!e)throw new Error(s)}(!1),t},h=function(e,r){var t,n,i=e.borderBox,a=e.border,o=e.margin,l=e.padding,u=(n=r,{top:(t=i).top+n.y,left:t.left+n.x,bottom:t.bottom+n.y,right:t.right+n.x});return m({borderBox:u,border:a,margin:o,padding:l})},y=function(e,r){return void 0===r&&(r={x:window.pageXOffset,y:window.pageYOffset}),h(e,r)},I=function(e,r){var t={top:b(r.marginTop),right:b(r.marginRight),bottom:b(r.marginBottom),left:b(r.marginLeft)},n={top:b(r.paddingTop),right:b(r.paddingRight),bottom:b(r.paddingBottom),left:b(r.paddingLeft)},i={top:b(r.borderTopWidth),right:b(r.borderRightWidth),bottom:b(r.borderBottomWidth),left:b(r.borderLeftWidth)};return m({borderBox:e,margin:t,padding:n,border:i})},D=function(e){var r=e.getBoundingClientRect(),t=window.getComputedStyle(e);return I(r,t)},x=t(92906);const A=function(e){var r=[],t=null,n=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];r=i,t||(t=requestAnimationFrame((function(){t=null,e.apply(void 0,r)})))};return n.cancel=function(){t&&(cancelAnimationFrame(t),t=null)},n};var E=t(97950);function w(e,r){}w.bind(null,"warn"),w.bind(null,"error");function C(){}function B(e,r,t){var n=r.map((function(r){var n=function(e,r){return(0,a.A)({},e,{},r)}(t,r.options);return e.addEventListener(r.eventName,r.fn,n),function(){e.removeEventListener(r.eventName,r.fn,n)}}));return function(){n.forEach((function(e){e()}))}}var R=!0,N="Invariant failed";function S(e){this.message=e}function P(e,r){if(!e)throw new S(R?N:N+": "+(r||""))}S.prototype.toString=function(){return this.message};var O=function(e){function r(){for(var r,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(r=e.call.apply(e,[this].concat(n))||this).callbacks=null,r.unbind=C,r.onWindowError=function(e){var t=r.getCallbacks();t.isDragging()&&t.tryAbort(),e.error instanceof S&&e.preventDefault()},r.getCallbacks=function(){if(!r.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return r.callbacks},r.setCallbacks=function(e){r.callbacks=e},r}(0,i.A)(r,e);var t=r.prototype;return t.componentDidMount=function(){this.unbind=B(window,[{eventName:"error",fn:this.onWindowError}])},t.componentDidCatch=function(e){if(!(e instanceof S))throw e;this.setState({})},t.componentWillUnmount=function(){this.unbind()},t.render=function(){return this.props.children(this.setCallbacks)},r}(n.Component),T=function(e){return e+1},L=function(e,r){var t=e.droppableId===r.droppableId,n=T(e.index),i=T(r.index);return t?"\n      You have moved the item from position "+n+"\n      to position "+i+"\n    ":"\n    You have moved the item from position "+n+"\n    in list "+e.droppableId+"\n    to list "+r.droppableId+"\n    in position "+i+"\n  "},G=function(e,r,t){return r.droppableId===t.droppableId?"\n      The item "+e+"\n      has been combined with "+t.draggableId:"\n      The item "+e+"\n      in list "+r.droppableId+"\n      has been combined with "+t.draggableId+"\n      in list "+t.droppableId+"\n    "},M=function(e){return"\n  The item has returned to its starting position\n  of "+T(e.index)+"\n"},_={dragHandleUsageInstructions:"\n  Press space bar to start a drag.\n  When dragging you can use the arrow keys to move the item around and escape to cancel.\n  Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:function(e){return"\n  You have lifted an item in position "+T(e.source.index)+"\n"},onDragUpdate:function(e){var r=e.destination;if(r)return L(e.source,r);var t=e.combine;return t?G(e.draggableId,e.source,t):"You are over an area that cannot be dropped on"},onDragEnd:function(e){if("CANCEL"===e.reason)return"\n      Movement cancelled.\n      "+M(e.s
1ource)+"\n    ";var r=e.destination,t=e.combine;return r?"\n      You have dropped the item.\n      "+L(e.source,r)+"\n    ":t?"\n      You have dropped the item.\n      "+G(e.draggableId,e.source,t)+"\n    ":"\n    The item has been dropped while not over a drop area.\n    "+M(e.source)+"\n  "}},F={x:0,y:0},k=function(e,r){return{x:e.x+r.x,y:e.y+r.y}},W=function(e,r){return{x:e.x-r.x,y:e.y-r.y}},U=function(e,r){return e.x===r.x&&e.y===r.y},H=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},j=function(e,r,t){var n;return void 0===t&&(t=0),(n={})[e]=r,n["x"===e?"y":"x"]=t,n},V=function(e,r){return Math.sqrt(Math.pow(r.x-e.x,2)+Math.pow(r.y-e.y,2))},q=function(e,r){return Math.min.apply(Math,r.map((function(r){return V(e,r)})))},z=function(e){return function(r){return{x:e(r.x),y:e(r.y)}}},Y=function(e,r){return{top:e.top+r.y,left:e.left+r.x,bottom:e.bottom+r.y,right:e.right+r.x}},J=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},X=function(e,r){return r&&r.shouldClipSubject?function(e,r){var t=p({top:Math.max(r.top,e.top),right:Math.min(r.right,e.right),bottom:Math.min(r.bottom,e.bottom),left:Math.max(r.left,e.left)});return t.width<=0||t.height<=0?null:t}(r.pageMarginBox,e):p(e)},K=function(e){var r=e.page,t=e.withPlaceholder,n=e.axis,i=e.frame,o=function(e,r){return r?Y(e,r.scroll.diff.displacement):e}(r.marginBox,i),l=function(e,r,t){var n;return t&&t.increasedBy?(0,a.A)({},e,((n={})[r.end]=e[r.end]+t.increasedBy[r.line],n)):e}(o,n,t);return{page:r,withPlaceholder:t,active:X(l,i)}},Z=function(e,r){e.frame||P(!1);var t=e.frame,n=W(r,t.scroll.initial),i=H(n),o=(0,a.A)({},t,{scroll:{initial:t.scroll.initial,current:r,diff:{value:n,displacement:i},max:t.scroll.max}}),l=K({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o});return(0,a.A)({},e,{frame:o,subject:l})};function $(e){return Object.values?Object.values(e):Object.keys(e).map((function(r){return e[r]}))}function Q(e,r){if(e.findIndex)return e.findIndex(r);for(var t=0;t<e.length;t++)if(r(e[t]))return t;return-1}function ee(e,r){if(e.find)return e.find(r);var t=Q(e,r);return-1!==t?e[t]:void 0}function re(e){return Array.prototype.slice.call(e)}var te=(0,x.default)((function(e){return e.reduce((function(e,r){return e[r.descriptor.id]=r,e}),{})})),ne=(0,x.default)((function(e){return e.reduce((function(e,r){return e[r.descriptor.id]=r,e}),{})})),ie=(0,x.default)((function(e){return $(e)})),ae=(0,x.default)((function(e){return $(e)})),oe=(0,x.default)((function(e,r){var t=ae(r).filter((function(r){return e===r.descriptor.droppableId})).sort((function(e,r){return e.descriptor.index-r.descriptor.index}));return t}));function le(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function ue(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ce=(0,x.default)((function(e,r){return r.filter((function(r){return r.descriptor.id!==e.descriptor.id}))})),de=function(e,r){return e.descriptor.droppableId===r.descriptor.id},se={point:F,value:0},pe={invisible:{},visible:{},all:[]},fe={displaced:pe,displacedBy:se,at:null},ge=function(e,r){return function(t){return e<=t&&t<=r}},ve=function(e){var r=ge(e.top,e.bottom),t=ge(e.left,e.right);return function(n){if(r(n.top)&&r(n.bottom)&&t(n.left)&&t(n.right))return!0;var i=r(n.top)||r(n.bottom),a=t(n.left)||t(n.right);if(i&&a)return!0;var o=n.top<e.top&&n.bottom>e.bottom,l=n.left<e.left&&n.right>e.right;return!(!o||!l)||(o&&a||l&&i)}},me=function(e){var r=ge(e.top,e.bottom),t=ge(e.left,e.right);return function(e){return r(e.top)&&r(e.bottom)&&t(e.left)&&t(e.right)}},be={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},he={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ye=function(e){var r=e.target,t=e.destination,n=e.viewport,i=e.withDroppableDisplacement,a=e.isVisibleThroughFrameFn,o=i?function(e,r){var t=r.frame?r.frame.scroll.diff.displacement:F;return Y(e,t)}(r,t):r;return function(e,r,t){return!!r.subject.active&&t(r.subject.active)(e)}(o,t,a)&&function(e,r,t){return t(r)(e)}(o,n,a)},Ie=function(e){return ye((0,a.A)({},e,{isVisibleThroughFrameFn:ve}))},De=function(e){return ye((0,a.A)({},e,{isVisibleThroughFrameFn:me}))},xe=function(e,r,t){if("boolean"===typeof t)return t;if(!r)return!0;var n=r.invisible,i=r.visible;if(n[e])return!1;var a=i[e];return!a||a.shouldAnimate};function Ae(e){var r=e.afterDragging,t=e.destination,n=e.displacedBy,i=e.viewport,a=e.forceShouldAnimate,o=e.last;return r.reduce((function(e,r){var l=function(e,r){var t=e.page.marginBox,n={top:r.point.y,right:0,bottom:0,left:r.point.x};return p(f(t,n))}(r,n),u=r.descriptor.id;if(e.all.push(u),!Ie({target:l,destination:t,viewport:i,withDroppableDisplacement:!0}))return e.invisible[r.descriptor.id]=!0,e;var c={draggableId:u,shouldAnimate:xe(u,o,a)};return e.visible[u]=c,e}),{all:[],visible:{}
vendor: 16,824 bytes, line 1
1,invisible:{}})}function Ee(e){var r=e.insideDestination,t=e.inHomeList,n=e.displacedBy,i=e.destination,a=function(e,r){if(!e.length)return 0;var t=e[e.length-1].descriptor.index;return r.inHomeList?t:t+1}(r,{inHomeList:t});return{displaced:pe,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:a}}}}function we(e){var r=e.draggable,t=e.insideDestination,n=e.destination,i=e.viewport,a=e.displacedBy,o=e.last,l=e.index,u=e.forceShouldAnimate,c=de(r,n);if(null==l)return Ee({insideDestination:t,inHomeList:c,displacedBy:a,destination:n});var d=ee(t,(function(e){return e.descriptor.index===l}));if(!d)return Ee({insideDestination:t,inHomeList:c,displacedBy:a,destination:n});var s=ce(r,t),p=t.indexOf(d);return{displaced:Ae({afterDragging:s.slice(p),destination:n,displacedBy:a,last:o,viewport:i.frame,forceShouldAnimate:u}),displacedBy:a,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:l}}}}function Ce(e,r){return Boolean(r.effected[e])}var Be=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.draggable,i=e.draggables,a=e.destination,o=e.insideDestination,l=e.previousImpact,u=e.viewport,c=e.afterCritical,d=l.at;if(d||P(!1),"REORDER"===d.type){var s=function(e){var r=e.isMovingForward,t=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var a=i.index,o=r?a+1:a-1,l=n[0].descriptor.index,u=n[n.length-1].descriptor.index;return o<l||o>(t?u:u+1)?null:o}({isMovingForward:r,isInHomeList:t,location:d.destination,insideDestination:o});return null==s?null:we({draggable:n,insideDestination:o,destination:a,viewport:u,last:l.displaced,displacedBy:l.displacedBy,index:s})}var p=function(e){var r=e.isMovingForward,t=e.destination,n=e.draggables,i=e.combine,a=e.afterCritical;if(!t.isCombineEnabled)return null;var o=i.draggableId,l=n[o].descriptor.index;return Ce(o,a)?r?l:l-1:r?l+1:l}({isMovingForward:r,destination:a,displaced:l.displaced,draggables:i,combine:d.combine,afterCritical:c});return null==p?null:we({draggable:n,insideDestination:o,destination:a,viewport:u,last:l.displaced,displacedBy:l.displacedBy,index:p})},Re=function(e){var r=e.afterCritical,t=e.impact,n=e.draggables,i=ue(t);i||P(!1);var a=i.draggableId,o=n[a].page.borderBox.center,l=function(e){var r=e.displaced,t=e.afterCritical,n=e.combineWith,i=e.displacedBy,a=Boolean(r.visible[n]||r.invisible[n]);return Ce(n,t)?a?F:H(i.point):a?i.point:F}({displaced:t.displaced,afterCritical:r,combineWith:a,displacedBy:t.displacedBy});return k(o,l)},Ne=function(e,r){return r.margin[e.start]+r.borderBox[e.size]/2},Se=function(e,r,t){return r[e.crossAxisStart]+t.margin[e.crossAxisStart]+t.borderBox[e.crossAxisSize]/2},Pe=function(e){var r=e.axis,t=e.moveRelativeTo,n=e.isMoving;return j(r.line,t.marginBox[r.end]+Ne(r,n),Se(r,t.marginBox,n))},Oe=function(e){var r=e.axis,t=e.moveRelativeTo,n=e.isMoving;return j(r.line,t.marginBox[r.start]-function(e,r){return r.margin[e.end]+r.borderBox[e.size]/2}(r,n),Se(r,t.marginBox,n))},Te=function(e){var r=e.impact,t=e.draggable,n=e.draggables,i=e.droppable,a=e.afterCritical,o=oe(i.descriptor.id,n),l=t.page,u=i.axis;if(!o.length)return function(e){var r=e.axis,t=e.moveInto,n=e.isMoving;return j(r.line,t.contentBox[r.start]+Ne(r,n),Se(r,t.contentBox,n))}({axis:u,moveInto:i.page,isMoving:l});var c=r.displaced,d=r.displacedBy,s=c.all[0];if(s){var p=n[s];if(Ce(s,a))return Oe({axis:u,moveRelativeTo:p.page,isMoving:l});var f=h(p.page,d.point);return Oe({axis:u,moveRelativeTo:f,isMoving:l})}var g=o[o.length-1];if(g.descriptor.id===t.descriptor.id)return l.borderBox.center;if(Ce(g.descriptor.id,a)){var v=h(g.page,H(a.displacedBy.point));return Pe({axis:u,moveRelativeTo:v,isMoving:l})}return Pe({axis:u,moveRelativeTo:g.page,isMoving:l})},Le=function(e,r){var t=e.frame;return t?k(r,t.scroll.diff.displacement):r},Ge=function(e){var r=function(e){var r=e.impact,t=e.draggable,n=e.droppable,i=e.draggables,a=e.afterCritical,o=t.page.borderBox.center,l=r.at;return n&&l?"REORDER"===l.type?Te({impact:r,draggable:t,draggables:i,droppable:n,afterCritical:a}):Re({impact:r,draggables:i,afterCritical:a}):o}(e),t=e.droppable;return t?Le(t,r):r},Me=function(e,r){var t=W(r,e.scroll.initial),n=H(t);return{frame:p({top:r.y,bottom:r.y+e.frame.height,left:r.x,right:r.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:r,diff:{value:t,displacement:n}}}};function _e(e,r){return e.map((function(e){return r[e]}))}var Fe=function(e){var r=e.pageBorderBoxCenter,t=e.draggable,n=function(e,r){return k(e.scroll.diff.displacement,r)}(e.viewport,r),i=W(n,t.page.borderBox.center);return k(t.client.borderBox.center,i)},ke=function(e){var r=e.draggable,t=e.destination,n=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,l=e.onlyOnMainAxis,u=void 0!==l&&l,c=W(n,r.page.borderBox.center),d={target:Y(r.page.borderBox,c),destination:t,withDroppableDisplacement:o,viewport:i};return u?function(e){return ye((0,a.A)({},e,{isVisibleThroughFrameFn:(r=e.destination.axis,function(e){var t=ge(e.top,e.bottom),n=ge(e.left,e.right);return function(e){return r===be?t(e.top)&&t(e.bottom):n(e.left)&&n(e.right)}})}));var r}(d):De(d)},We=function(e){var r=e.isMovingForward,t=e.draggable,n=e.destination,i=e.draggables,o=e.previousImpact,l=e.viewport,u=e.previousPageBorderBoxCenter,c=e.previousClientSelection,d=e.afterCritical;if(!n.isEnabled)return null;var s=oe(n.descriptor.id,i),p=de(t,n),f=function(e){var r=e.isMovingForward,t=e.draggable,n=e.destination,i=e.insideDestination,o=e.previousImpact;if(!n.isCombineEnabled)return null;if(!le(o))return null;function l(e){var r={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return(0,a.A)({},o,{at:r})}var u=o.displaced.all,c=u.length?u[0]:null;if(r)return c?l(c):null;var d=ce(t,i);if(!c)return d.length?l(d[d.length-1].descriptor.id):null;var s=Q(d,(function(e){return e.descriptor.id===c}));-1===s&&P(!1);var p=s-1;return p<0?null:l(d[p].descriptor.id)}({isMovingForward:r,draggable:t,destination:n,insideDestination:s,previousImpact:o})||Be({isMovingForward:r,isInHomeList:p,draggable:t,draggables:i,destination:n,insideDestination:s,previousImpact:o,viewport:l,afterCritical:d});if(!f)return null;var g=Ge({impact:f,draggable:t,droppable:n,draggables:i,afterCritical:d});if(ke({draggable:t,destination:n,newPageBorderBoxCenter:g,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Fe({pageBorderBoxCenter:g,draggable:t,viewport:l}),impact:f,scrollJumpRequest:null};var v=W(g,u),m=function(e){var r=e.impact,t=e.viewport,n=e.destination,i=e.draggables,o=e.maxScrollChange,l=Me(t,k(t.scroll.current,o)),u=n.frame?Z(n,k(n.frame.scroll.current,o)):n,c=r.displaced,d=Ae({afterDragging:_e(c.all,i),destination:n,displacedBy:r.displacedBy,viewport:l.frame,last:c,forceShouldAnimate:!1}),s=Ae({afterDragging:_e(c.all,i),destination:u,displacedBy:r.displacedBy,viewport:t.frame,last:c,forceShouldAnimate:!1}),p={},f={},g=[c,d,s];return c.all.forEach((function(e){var r=function(e,r){for(var t=0;t<r.length;t++){var n=r[t].visible[e];if(n)return n}return null}(e,g);r?f[e]=r:p[e]=!0})),(0,a.A)({},r,{displaced:{all:c.all,invisible:p,visible:f}})}({impact:f,viewport:l,destination:n,draggables:i,maxScrollChange:v});return{clientSelection:c,impact:m,scrollJumpRequest:v}},Ue=function(e){var r=e.subject.active;return r||P(!1),r},He=function(e,r){var t=e.page.borderBox.center;return Ce(e.descriptor.id,r)?W(t,r.displacedBy.point):t},je=function(e,r){var t=e.page.borderBox;return Ce(e.descriptor.id,r)?Y(t,H(r.displacedBy.point)):t},Ve=(0,x.default)((function(e,r){var t=r[e.line];return{value:t,point:j(e.line,t)}})),qe=function(e,r){return(0,a.A)({},e,{scroll:(0,a.A)({},e.scroll,{max:r})})},ze=function(e,r,t){var n=e.frame;de(r,e)&&P(!1),e.subject.withPlaceholder&&P(!1);var i=Ve(e.axis,r.displaceBy).point,o=function(e,r,t){var n=e.axis;if("virtual"===e.descriptor.mode)return j(n.line,r[n.line]);var i=e.subject.page.contentBox[n.size],a=oe(e.descriptor.id,t).reduce((function(e,r){return e+r.client.marginBox[n.size]}),0)+r[n.line]-i;return a<=0?null:j(n.line,a)}(e,i,t),l={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!n){var u=K({page:e.subject.page,withPlaceholder:l,axis:e.axis,frame:e.frame});return(0,a.A)({},e,{subject:u})}var c=o?k(n.scroll.max,o):n.scroll.max,d=qe(n,c),s=K({page:e.subject.page,withPlaceholder:l,axis:e.axis,frame:d});return(0,a.A)({},e,{subject:s,frame:d})},Ye=function(e){var r=e.isMovingForward,t=e.previousPageBorderBoxCenter,n=e.draggable,i=e.isOver,a=e.draggables,o=e.droppables,l=e.viewport,u=e.afterCritical,c=function(e){var r=e.isMovingForward,t=e.pageBorderBoxCenter,n=e.source,i=e.droppables,a=e.viewport,o=n.subject.active;if(!o)return null;var l=n.axis,u=ge(o[l.start],o[l.end]),c=ie(i).filter((function(e){return e!==n})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return ve(a.frame)(Ue(e))})).filter((function(e){var t=Ue(e);return r?o[l.crossAxisEnd]<t[l.crossAxisEnd]:t[l.crossAxisStart]<o[l.crossAxisStart]})).filter((function(e){var r=Ue(e),t=ge(r[l.start],r[l.end]);return u(r[l.start])||u(r[l.end])||t(o[l.start])||t(o[l.end])})).sort((function(e,t){var n=Ue(e)[l.crossAxisStart],i=Ue(t)[l.crossAxisStart];return r?n-i:i-n})).filter((function(e,r,t){return Ue(e)[l.crossAxisStart]===Ue(t[0])[l.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var d=c.filter((function(e){return ge(Ue(e)[l.start],Ue(e)[l.end])(t[l.line])}));return 1===d.length?d[0]:d.length>1?d.sort((function(e,r){return Ue(e)[l.start]-Ue(r)[l.start]}))[0]:c.sort((function(e,r){var n=q(t,J(Ue(e))),i=q(t,J(Ue(r)));return n!==i?n-i:Ue(e)[l.start]-Ue(r)[l.start]}))[0]}({isMovingForward:r,pageBorderBoxCenter:t,source:i,droppables:o,viewport:l});if(!c)return null;var d=oe(c.descriptor.id,a),s=function(e){var r=e.pageBorderBoxCenter,t=e.viewport,n=e.destination,i=e.insideDestination,a=e.afterCritical,o=i.filter((function(e){return De({target:je(e,a),destination:n,viewport:t.frame,withDroppableDisplacement:!0})})).sort((function(e,t){var i=V(r,Le(n,He(e,a))),o=V(r,Le(n,He(t,a)));return i<o?-1:o<i?1:e.descriptor.index-t.descriptor.index}));return o[0]||null}({pageBorderBoxCenter:t,viewport:l,destination:c,insideDestination:d,afterCritical:u}),p=function(e){var r=e.previousPageBorderBoxCenter,t=e.moveRelativeTo,n=e.insideDestination,i=e.draggable,a=e.draggables,o=e.destination,l=e.viewport,u=e.afterCritical;if(!t){if(n.length)return null;var c={displaced:pe,displacedBy:se,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:0}}},d=Ge({impact:c,draggable:i,droppable:o,draggables:a,afterCritical:u}),s=de(i,o)?o:ze(o,i,a);return ke({draggable:i,destination:s,newPageBorderBoxCenter:d,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var p=Boolean(r[o.axis.line]<=t.page.borderBox.center[o.axis.line]),f=function(){var e=t.descriptor.index;return t.descriptor.id===i.descriptor.id||p?e:e+1}(),g=Ve(o.axis,i.displaceBy);return we({draggable:i,insideDestination:n,destination:o,viewport:l,displacedBy:g,last:pe,index:f})}({previousPageBorderBoxCenter:t,destination:c,draggable:n,draggables:a,moveRelativeTo:s,insideDestination:d,viewport:l,afterCritical:u});if(!p)return null;var f=Ge({impact:p,draggable:n,droppable:c,draggables:a,afterCritical:u});return{clientSelection:Fe({pageBorderBoxCenter:f,draggable:n,viewport:l}),impact:p,scrollJumpRequest:null}},Je=function(e){var r=e.at;return r?"REORDER"===r.type?r.destination.droppableId:r.combine.droppableId:null},Xe=function(e){var r=e.state,t=e.type,n=function(e,r){var t=Je(e);return t?r[t]:null}(r.impact,r.dimensions.droppables),i=Boolean(n),a=r.dimensions.droppables[r.critical.droppable.id],o=n||a,l=o.axis.direction,u="vertical"===l&&("MOVE_UP"===t||"MOVE_DOWN"===t)||"horizontal"===l&&("MOVE_LEFT"===t||"MOVE_RIGHT"===t);if(u&&!i)return null;var c="MOVE_DOWN"===t||"MOVE_RIGHT"===t,d=r.dimensions.draggables[r.critical.draggable.id],s=r.current.page.borderBoxCenter,p=r.dimensions,f=p.draggables,g=p.droppables;return u?We({isMovingForward:c,previousPageBorderBoxCenter:s,draggable:d,destination:o,draggables:f,viewport:r.viewport,previousClientSelection:r.current.client.selection,previousImpact:r.impact,afterCritical:r.afterCritical}):Ye({isMovingForward:c,previousPageBorderBoxCenter:s,draggable:d,isOver:o,draggables:f,droppables:g,viewport:r.viewport,afterCritical:r.afterCritical})};function Ke(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Ze(e){var r=ge(e.top,e.bottom),t=ge(e.left,e.right);return function(e){return r(e.y)&&t(e.x)}}function $e(e){var r=e.pageBorderBox,t=e.draggable,n=e.droppables,i=ie(n).filter((function(e){if(!e.isEnabled)return!1;var t,n,i=e.subject.active;if(!i)return!1;if(n=i,!((t=r).left<n.right&&t.right>n.left&&t.top<n.bottom&&t.bottom>n.top))return!1;if(Ze(i)(r.center))return!0;var a=e.axis,o=i.center[a.crossAxisLine],l=r[a.crossAxisStart],u=r[a.crossAxisEnd],c=ge(i[a.crossAxisStart],i[a.crossAxisEnd]),d=c(l),s=c(u);return!d&&!s||(d?l<o:u>o)}));return i.length?1===i.length?i[0].descriptor.id:function(e){var r=e.pageBorderBox,t=e.draggable,n=e.candidates,i=t.page.borderBox.center,a=n.map((function(e){var t=e.axis,n=j(e.axis.line,r.center[t.line],e.page.borderBox.center[t.crossAxisLine]);return{id:e.descriptor.id,distance:V(i,n)}})).sort((function(e,r){return r.distance-e.distance}));return a[0]?a[0].id:null}({pageBorderBox:r,draggable:t,candidates:i}):null}var Qe=function(e,r){return p(Y(e,r))};function er(e){var r=e.displaced,t=e.id;return Boolean(r.visible[t]||r.invisible[t])}var rr=function(e){var r=e.pageOffset,t=e.draggable,n=e.draggables,i=e.droppables,a=e.previousImpact,o=e.viewport,l=e.afterCritical,u=Qe(t.page.borderBox,r),c=$e({pageBorderBox:u,draggable:t,droppables:i});if(!c)return fe;var d=i[c],s=oe(d.descriptor.id,n),p=function(e,r){var t=e.frame;return t?Qe(r,t.scroll.diff.value):r}(d,u);return function(e){var r=e.draggable,t=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,i=e.destination,a=e.insideDestination,o=e.afterCritical;if(!i.isCombineEnabled)return null;var l=i.axis,u=Ve(i.axis,r.displaceBy),c=u.value,d=t[l.start],s=t[l.end],p=ee(ce(r,a),(function(e){var r=e.descriptor.id,t=e.page.borderBox,i=t[l.size]/4,a=Ce(r,o),u=er({displaced:n.displaced,id:r});return a?u?s>t[l.start]+i&&s<t[l.end]-i:d>t[l.start]-c+i&&d<t[l.end]-c-i:u?s>t[l.start]+c+i&&s<t[l.end]+c-i:d>t[l.start]+i&&d<t[l.end]-i}));return p?{displacedBy:u,displaced:n.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:i.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:p,draggable:t,previousImpact:a,destination:d,insideDestination:s,afterCritical:l})||function(e){var r=e.pageBorderBoxWithDroppableScroll,t=e.draggable,n=e.destination,i=e.insideDestination,a=e.last,o=e.viewport,l=e.afterCritical,u=n.axis,c=Ve(n.axis,t.displaceBy),d=c.value,s=r[u.start],p=r[u.end],f=function(e){var r=e.draggable,t=e.closest,n=e.inHomeList;return t?n&&t.descriptor.index>r.descriptor.index?t.descriptor.index-1:t.descriptor.index:null}({draggable:t,closest:ee(ce(t,i),(function(e){var r=e.descriptor.id,t=e.page.borderBox.center[u.line],n=Ce(r,l),i=er({displaced:a,id:r});return n?i?p<=t:s<t-d:i?p<=t+d:s<t})),inHomeList:de(t,n)});return we({draggable:t,insideDestination:i,destination:n,viewport:o,last:a,displacedBy:c,index:f})}({pageBorderBoxWithDroppableScroll:p,draggable:t,destination:d,insideDestination:s,last:a.displaced,viewport:o,afterCritical:l})},tr=function(e,r){var t;return(0,a.A)({},e,((t={})[r.descriptor.id]=r,t))},nr=function(e){var r=e.previousImpact,t=e.impact,n=e.droppables,i=Je(r),o=Je(t);if(!i)return n;if(i===o)return n;var l=n[i];if(!l.subject.withPlaceholder)return n;var u=function(e){var r=e.subject.withPlaceholder;r||P(!1);var t=e.frame;if(!t){var n=K({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return(0,a.A)({},e,{subject:n})}var i=r.oldFrameMaxScroll;i||P(!1);var o=qe(t,i),l=K({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null});return(0,a.A)({},e,{subject:l,frame:o})}(l);return tr(n,u)},ir=function(e){var r=e.state,t=e.clientSelection,n=e.dimensions,i=e.viewport,o=e.impact,l=e.scrollJumpRequest,u=i||r.viewport,c=n||r.dimensions,d=t||r.current.client.selection,s=W(d,r.initial.client.selection),p={offset:s,selection:d,borderBoxCenter:k(r.initial.client.borderBoxCenter,s)},f={selection:k(p.selection,u.scroll.current),borderBoxCenter:k(p.borderBoxCenter,u.scroll.current),offset:k(p.offset,u.scroll.diff.value)},g={client:p,page:f};if("COLLECTING"===r.phase)return(0,a.A)({phase:"COLLECTING"},r,{dimensions:c,viewport:u,current:g});var v=c.draggables[r.critical.draggable.id],m=o||rr({pageOffset:f.offset,draggable:v,draggables:c.draggables,droppables:c.droppables,previousImpact:r.
1impact,viewport:u,afterCritical:r.afterCritical}),b=function(e){var r=e.draggable,t=e.draggables,n=e.droppables,i=e.previousImpact,a=e.impact,o=nr({previousImpact:i,impact:a,droppables:n}),l=Je(a);if(!l)return o;var u=n[l];if(de(r,u))return o;if(u.subject.withPlaceholder)return o;var c=ze(u,r,t);return tr(o,c)}({draggable:v,impact:m,previousImpact:r.impact,draggables:c.draggables,droppables:c.droppables});return(0,a.A)({},r,{current:g,dimensions:{draggables:c.draggables,droppables:b},impact:m,viewport:u,scrollJumpRequest:l||null,forceShouldAnimate:!l&&null})};var ar=function(e){var r=e.impact,t=e.viewport,n=e.draggables,i=e.destination,o=e.forceShouldAnimate,l=r.displaced,u=function(e,r){return e.map((function(e){return r[e]}))}(l.all,n),c=Ae({afterDragging:u,destination:i,displacedBy:r.displacedBy,viewport:t.frame,forceShouldAnimate:o,last:l});return(0,a.A)({},r,{displaced:c})},or=function(e){var r=e.impact,t=e.draggable,n=e.droppable,i=e.draggables,a=e.viewport,o=e.afterCritical,l=Ge({impact:r,draggable:t,draggables:i,droppable:n,afterCritical:o});return Fe({pageBorderBoxCenter:l,draggable:t,viewport:a})},lr=function(e){var r=e.state,t=e.dimensions,n=e.viewport;"SNAP"!==r.movementMode&&P(!1);var i=r.impact,a=n||r.viewport,o=t||r.dimensions,l=o.draggables,u=o.droppables,c=l[r.critical.draggable.id],d=Je(i);d||P(!1);var s=u[d],p=ar({impact:i,viewport:a,destination:s,draggables:l}),f=or({impact:p,draggable:c,droppable:s,draggables:l,viewport:a,afterCritical:r.afterCritical});return ir({impact:p,clientSelection:f,state:r,dimensions:o,viewport:a})},ur=function(e){var r=e.draggable,t=e.home,n=e.draggables,i=e.viewport,a=Ve(t.axis,r.displaceBy),o=oe(t.descriptor.id,n),l=o.indexOf(r);-1===l&&P(!1);var u,c=o.slice(l+1),d=c.reduce((function(e,r){return e[r.descriptor.id]=!0,e}),{}),s={inVirtualList:"virtual"===t.descriptor.mode,displacedBy:a,effected:d};return{impact:{displaced:Ae({afterDragging:c,destination:t,displacedBy:a,last:null,viewport:i.frame,forceShouldAnimate:!1}),displacedBy:a,at:{type:"REORDER",destination:(u=r.descriptor,{index:u.index,droppableId:u.droppableId})}},afterCritical:s}},cr=function(e){0},dr=function(e){0},sr=function(e){var r=e.additions,t=e.updatedDroppables,n=e.viewport,i=n.scroll.diff.value;return r.map((function(e){var r=e.descriptor.droppableId,o=function(e){var r=e.frame;return r||P(!1),r}(t[r]),l=o.scroll.diff.value,u=function(e){var r=e.draggable,t=e.offset,n=e.initialWindowScroll,i=h(r.client,t),o=y(i,n);return(0,a.A)({},r,{placeholder:(0,a.A)({},r.placeholder,{client:i}),client:i,page:o})}({draggable:e,offset:k(i,l),initialWindowScroll:n.scroll.initial});return u}))},pr=function(e){return"SNAP"===e.movementMode},fr=function(e,r,t){var n=function(e,r){return{draggables:e.draggables,droppables:tr(e.droppables,r)}}(e.dimensions,r);return!pr(e)||t?ir({state:e,dimensions:n}):lr({state:e,dimensions:n})};function gr(e){return e.isDragging&&"SNAP"===e.movementMode?(0,a.A)({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var vr={phase:"IDLE",completed:null,shouldFlush:!1},mr=function(e,r){if(void 0===e&&(e=vr),"FLUSH"===r.type)return(0,a.A)({},vr,{shouldFlush:!0});if("INITIAL_PUBLISH"===r.type){"IDLE"!==e.phase&&P(!1);var t=r.payload,n=t.critical,i=t.clientSelection,o=t.viewport,l=t.dimensions,u=t.movementMode,c=l.draggables[n.draggable.id],d=l.droppables[n.droppable.id],s={selection:i,borderBoxCenter:c.client.borderBox.center,offset:F},p={client:s,page:{selection:k(s.selection,o.scroll.initial),borderBoxCenter:k(s.selection,o.scroll.initial),offset:k(s.selection,o.scroll.diff.value)}},f=ie(l.droppables).every((function(e){return!e.isFixedOnPage})),g=ur({draggable:c,home:d,draggables:l.draggables,viewport:o}),v=g.impact;return{phase:"DRAGGING",isDragging:!0,critical:n,movementMode:u,dimensions:l,initial:p,current:p,isWindowScrollAllowed:f,impact:v,afterCritical:g.afterCritical,onLiftImpact:v,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===r.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&P(!1),(0,a.A)({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===r.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&P(!1),function(e){var r=e.state,t=e.published;cr();var n=t.modified.map((function(e){var t=r.dimensions.droppables[e.droppableId];return Z(t,e.scroll)})),i=(0,a.A)({},r.dimensions.droppables,{},te(n)),o=ne(sr({additions:t.additions,updatedDroppables:i,viewport:r.viewport})),l=(0,a.A)({},r.dimensions.draggables,{},o);
1t.removals.forEach((function(e){delete l[e]}));var u={droppables:i,draggables:l},c=Je(r.impact),d=c?u.droppables[c]:null,s=u.draggables[r.critical.draggable.id],p=u.droppables[r.critical.droppable.id],f=ur({draggable:s,home:p,draggables:l,viewport:r.viewport}),g=f.impact,v=f.afterCritical,m=d&&d.isCombineEnabled?r.impact:g,b=rr({pageOffset:r.current.page.offset,draggable:u.draggables[r.critical.draggable.id],draggables:u.draggables,droppables:u.droppables,previousImpact:m,viewport:r.viewport,afterCritical:v});dr();var h=(0,a.A)({phase:"DRAGGING"},r,{phase:"DRAGGING",impact:b,onLiftImpact:g,dimensions:u,afterCritical:v,forceShouldAnimate:!1});return"COLLECTING"===r.phase?h:(0,a.A)({phase:"DROP_PENDING"},h,{phase:"DROP_PENDING",reason:r.reason,isWaiting:!1})}({state:e,published:r.payload});if("MOVE"===r.type){if("DROP_PENDING"===e.phase)return e;Ke(e)||P(!1);var m=r.payload.client;return U(m,e.current.client.selection)?e:ir({state:e,clientSelection:m,impact:pr(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===r.type){if("DROP_PENDING"===e.phase)return gr(e);if("COLLECTING"===e.phase)return gr(e);Ke(e)||P(!1);var b=r.payload,h=b.id,y=b.newScroll,I=e.dimensions.droppables[h];if(!I)return e;var D=Z(I,y);return fr(e,D,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===r.type){if("DROP_PENDING"===e.phase)return e;Ke(e)||P(!1);var x=r.payload,A=x.id,E=x.isEnabled,w=e.dimensions.droppables[A];w||P(!1),w.isEnabled===E&&P(!1);var C=(0,a.A)({},w,{isEnabled:E});return fr(e,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===r.type){if("DROP_PENDING"===e.phase)return e;Ke(e)||P(!1);var B=r.payload,R=B.id,N=B.isCombineEnabled,S=e.dimensions.droppables[R];S||P(!1),S.isCombineEnabled===N&&P(!1);var O=(0,a.A)({},S,{isCombineEnabled:N});return fr(e,O,!0)}if("MOVE_BY_WINDOW_SCROLL"===r.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Ke(e)||P(!1),e.isWindowScrollAllowed||P(!1);var T=r.payload.newScroll;if(U(e.viewport.scroll.current,T))return gr(e);var L=Me(e.viewport,T);return pr(e)?lr({state:e,viewport:L}):ir({state:e,viewport:L})}if("UPDATE_VIEWPORT_MAX_SCROLL"===r.type){if(!Ke(e))return e;var G=r.payload.maxScroll;if(U(G,e.viewport.scroll.max))return e;var M=(0,a.A)({},e.viewport,{scroll:(0,a.A)({},e.viewport.scroll,{max:G})});return(0,a.A)({phase:"DRAGGING"},e,{viewport:M})}if("MOVE_UP"===r.type||"MOVE_DOWN"===r.type||"MOVE_LEFT"===r.type||"MOVE_RIGHT"===r.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&P(!1);var _=Xe({state:e,type:r.type});return _?ir({state:e,impact:_.impact,clientSelection:_.clientSelection,scrollJumpRequest:_.scrollJumpRequest}):e}if("DROP_PENDING"===r.type){var W=r.payload.reason;return"COLLECTING"!==e.phase&&P(!1),(0,a.A)({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:W})}if("DROP_ANIMATE"===r.type){var H=r.payload,j=H.completed,V=H.dropDuration,q=H.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&P(!1),{phase:"DROP_ANIMATING",completed:j,dropDuration:V,newHomeClientOffset:q,dimensions:e.dimensions}}return"DROP_COMPLETE"===r.type?{phase:"IDLE",completed:r.payload.completed,shouldFlush:!1}:e},br=function(e){return{type:"LIFT",payload:e}},hr=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},yr=function(){return{type:"COLLECTION_STARTING",payload:null}},Ir=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Dr=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},xr=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Ar=function(e){return{type:"MOVE",payload:e}},Er=function(){return{type:"MOVE_UP",payload:null}},wr=function(){return{type:"MOVE_DOWN",payload:null}},Cr=function(){return{type:"MOVE_RIGHT",payload:null}},Br=function(){return{type:"MOVE_LEFT",payload:null}},Rr=function(){return{type:"FLUSH",payload:null}},Nr=function(e){return{type:"DROP_COMPLETE",payload:e}},Sr=function(e){return{type:"DROP",payload:e}},Pr=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Or="cubic-bezier(.2,1,.1,1)",Tr={drop:0,combining:.7},Lr={drop:.75},Gr=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Mr={fluid:"opacity "+Gr,snap:"transform "+Gr+", opacity "+Gr,drop:function(e){var r=e+"s "+Or;return"transform "+r+", opacity "+r},outOfTheWay:"transform "+Gr,placeholder:"height "+Gr+", width "+Gr+", margin "+Gr},_r=function(e){return U(e,F)?null:"translate("+e.x+"px, "+e.y+"px)"},Fr={moveTo:_r,drop:function(e,r){var t=_r(e);return t?r?t+" scale("+Lr.drop+")":t:null}},kr=.33,Wr=.55,Ur=Wr-kr,Hr=function(e){var r=e.getState,t=e.dispatch;return function(e){return function(n){if("DROP"===n.type){var i=r(),o=n.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&P(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&P(!1);var l=i.critical,u=i.dimensions,c=u.draggables[i.critical.draggable.id],d=function(e){var r=e.draggables,t=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,l=e.onLiftImpact;return n.at&&"DROP"===t?"REORDER"===n.at.type?{impact:n,didDropInsideDroppable:!0}:{impact:(0,a.A)({},n,{displaced:pe}),didDropInsideDroppable:!0}:{impact:ar({draggables:r,impact:l,destination:i,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.
vendor: 15,640 bytes, line 1
1id],viewport:i.viewport,draggables:i.dimensions.draggables}),s=d.impact,p=d.didDropInsideDroppable,f=p?le(s):null,g=p?ue(s):null,v={index:l.draggable.index,droppableId:l.droppable.id},m={draggableId:c.descriptor.id,type:c.descriptor.type,source:v,reason:o,mode:i.movementMode,destination:f,combine:g},b=function(e){var r=e.impact,t=e.draggable,n=e.dimensions,i=e.viewport,a=e.afterCritical,o=n.draggables,l=n.droppables,u=Je(r),c=u?l[u]:null,d=l[t.descriptor.droppableId],s=or({impact:r,draggable:t,draggables:o,afterCritical:a,droppable:c||d,viewport:i});return W(s,t.client.borderBox.center)}({impact:s,draggable:c,dimensions:u,viewport:i.viewport,afterCritical:i.afterCritical}),h={critical:i.critical,afterCritical:i.afterCritical,result:m,impact:s};if(!U(i.current.client.offset,b)||Boolean(m.combine)){var y=function(e){var r=e.current,t=e.destination,n=e.reason,i=V(r,t);if(i<=0)return kr;if(i>=1500)return Wr;var a=kr+Ur*(i/1500);return Number(("CANCEL"===n?.6*a:a).toFixed(2))}({current:i.current.client.offset,destination:b,reason:o});t(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:b,dropDuration:y,completed:h}))}else t(Nr({completed:h}))}}else t(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(n)}}},jr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Vr(e){var r=e.onWindowScroll;var t=A((function(){r(jr())})),n=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(r){r.target!==window&&r.target!==window.document||e()}}}(t),i=C;function a(){return i!==C}return{start:function(){a()&&P(!1),i=B(window,[n])},stop:function(){a()||P(!1),t.cancel(),i(),i=C},isActive:a}}var qr=function(e){var r=Vr({onWindowScroll:function(r){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:r}})}});return function(e){return function(t){r.isActive()||"INITIAL_PUBLISH"!==t.type||r.start(),r.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(t)&&r.stop(),e(t)}}},zr=function(){var e=[];return{add:function(r){var t=setTimeout((function(){return function(r){var t=Q(e,(function(e){return e.timerId===r}));-1===t&&P(!1),e.splice(t,1)[0].callback()}(t)})),n={timerId:t,callback:r};e.push(n)},flush:function(){if(e.length){var r=[].concat(e);e.length=0,r.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Yr=function(e,r){cr(),r(),dr()},Jr=function(e,r){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:r}},Xr=function(e,r,t,n){if(e){var i=function(e){var r=!1,t=!1,n=setTimeout((function(){t=!0})),i=function(i){r||t||(r=!0,e(i),clearTimeout(n))};return i.wasCalled=function(){return r},i}(t);e(r,{announce:i}),i.wasCalled()||t(n(r))}else t(n(r))},Kr=function(e,r){var t=function(e,r){var t=zr(),n=null,i=function(t){n||P(!1),n=null,Yr(0,(function(){return Xr(e().onDragEnd,t,r,_.onDragEnd)}))};return{beforeCapture:function(r,t){n&&P(!1),Yr(0,(function(){var n=e().onBeforeCapture;n&&n({draggableId:r,mode:t})}))},beforeStart:function(r,t){n&&P(!1),Yr(0,(function(){var n=e().onBeforeDragStart;n&&n(Jr(r,t))}))},start:function(i,a){n&&P(!1);var o=Jr(i,a);n={mode:a,lastCritical:i,lastLocation:o.source,lastCombine:null},t.add((function(){Yr(0,(function(){return Xr(e().onDragStart,o,r,_.onDragStart)}))}))},update:function(i,o){var l=le(o),u=ue(o);n||P(!1);var c=!function(e,r){if(e===r)return!0;var t=e.draggable.id===r.draggable.id&&e.draggable.droppableId===r.draggable.droppableId&&e.draggable.type===r.draggable.type&&e.draggable.index===r.draggable.index,n=e.droppable.id===r.droppable.id&&e.droppable.type===r.droppable.type;return t&&n}(i,n.lastCritical);c&&(n.lastCritical=i);var d,s,p=(s=l,!(null==(d=n.lastLocation)&&null==s||null!=d&&null!=s&&d.droppableId===s.droppableId&&d.index===s.index));p&&(n.lastLocation=l);var f=!function(e,r){return null==e&&null==r||null!=e&&null!=r&&e.draggableId===r.draggableId&&e.droppableId===r.droppableId}(n.lastCombine,u);if(f&&(n.lastCombine=u),c||p||f){var g=(0,a.A)({},Jr(i,n.mode),{combine:u,destination:l});t.add((function(){Yr(0,(function(){return Xr(e().onDragUpdate,g,r,_.onDragUpdate)}))}))}},flush:function(){n||P(!1),t.flush()},drop:i,abort:function(){if(n){var e=(0,a.A)({},Jr(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,r);return function(e){return function(r){return function(n){if("BEFORE_INITIAL_CAPTURE"!==n.type){if("INITIAL_PUBLISH"===n.type){var i=n.payload.critical;return t.beforeStart(i,n.payload.movementMode),r(n),void t.start(i,n.payload.movementMode)}if("DROP_COMPLETE"===n.type){var a=n.payload.completed.result;return t.flush(),r(n),void t.drop(a)}if(r(n),"FLUSH"!==n.type){var o=e.getState();"DRAGGING"===o.phase&&t.update(o.critical,o.impact)}else t.abort()}else t.beforeCapture(n.payload.draggableId,n.payload.movementMode)}}}},Zr=function(e){return function(r){return function(t){if("DROP_ANIMATION_FINISHED"===t.type){var n=e.getState();"DROP_ANIMATING"!==n.phase&&P(!1),e.dispatch(Nr({completed:n.completed}))}else r(t)}}},$r=function(e){var r=null,t=null;return function(n){return function(i){if("FLUSH"!==i.type&&"DROP_COMPLETE"!==i.type&&"DROP_ANIMATION_FINISHED"!==i.type||(t&&(cancelAnimationFrame(t),t=null),r&&(r(),r=null)),n(i),"DROP_ANIMATE"===i.type){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};t=requestAnimationFrame((function(){t=null,r=B(window,[a])}))}}}},Qr=function(e){return function(r){return function(t){if(r(t),"PUBLISH_WHILE_DRAGGING"===t.type){var n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(Sr({reason:n.reason})))}}}},et=o.Zz,rt=function(e){var r,t=e.dimensionMarshal,n=e.focusMarshal,i=e.styleMarshal,a=e.getResponders,l=e.announce,u=e.autoScroller;return(0,o.y$)(mr,et((0,o.Tw)((r=i,function(){return function(e){return function(t){"INITIAL_PUBLISH"===t.type&&r.dragging(),"DROP_ANIMATE"===t.type&&r.dropping(t.payload.completed.result.reason),"FLUSH"!==t.type&&"DROP_COMPLETE"!==t.type||r.resting(),e(t)}}}),function(e){return function(){return function(r){return function(t){"DROP_COMPLETE"!==t.type&&"FLUSH"!==t.type&&"DROP_ANIMATE"!==t.type||e.stopPublishing(),r(t)}}}}(t),function(e){return function(r){var t=r.getState,n=r.dispatch;return function(r){return function(i){if("LIFT"===i.type){var a=i.payload,o=a.id,l=a.clientSelection,u=a.movementMode,c=t();"DROP_ANIMATING"===c.phase&&n(Nr({completed:c.completed})),"IDLE"!==t().phase&&P(!1),n(Rr()),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:o,movementMode:u}});var d={draggableId:o,scrollOptions:{shouldPublishImmediately:"SNAP"===u}},s=e.startPublishing(d),p=s.critical,f=s.dimensions,g=s.viewport;n({type:"INITIAL_PUBLISH",payload:{critical:p,dimensions:f,clientSelection:l,movementMode:u,viewport:g}})}else r(i)}}}}(t),Hr,Zr,$r,Qr,function(e){return function(r){return function(t){return function(n){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n))return e.stop(),void t(n);if("INITIAL_PUBLISH"===n.type){t(n);var i=r.getState();return"DRAGGING"!==i.phase&&P(!1),void e.start(i)}t(n),e.scroll(r.getState())}}}}(u),qr,function(e){var r=!1;return function(){return function(t){return function(n){if("INITIAL_PUBLISH"===n.type)return r=!0,e.tryRecordFocus(n.payload.critical.draggable.id),t(n),void e.tryRestoreFocusRecorded();if(t(n),r){if("FLUSH"===n.type)return r=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===n.type){r=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(n),Kr(a,l))))};var tt=function(e){var r=e.scrollHeight,t=e.scrollWidth,n=e.height,i=e.width,a=W({x:t,y:r},{x:i,y:n});return{x:Math.max(0,a.x),y:Math.max(0,a.y)}},nt=function(){var e=document.documentElement;return e||P(!1),e},it=function(){var e=nt();return tt({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},at=function(e){var r=e.critical,t=e.scrollOptions,n=e.registry;cr();var i=function(){var e=jr(),r=it(),t=e.y,n=e.x,i=nt(),a=i.clientWidth,o=i.clientHeight;return{frame:p({top:t,left:n,right:n+a,bottom:t+o}),scroll:{initial:e,current:e,max:r,diff:{value:F,displacement:F}}}}(),a=i.scroll.current,o=r.droppable,l=n.droppable.getAllByType(o.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(a,t)})),u=n.draggable.getAllByType(r.draggable.type).map((function(e){return e.getDimension(a)})),c={draggables:ne(u),droppables:te(l)};return dr(),{dimensions:c,critical:r,viewport:i}};function ot(e,r,t){return t.descriptor.id!==r.id&&(t.descriptor.type===r.type&&"virtual"===e.droppable.getById(t.descriptor.droppableId).descriptor.mode)}var lt=function(e,r){var t=null,n=function(e){var r=e.registry,t=e.callbacks,n={additions:{},removals:{},modified:{}},i=null,a=function(){i||(t.collectionStarting(),i=requestAnimationFrame((function(){i=null,cr();var e=n,a=e.additions,o=e.removals,l=e.modified,u=Object.keys(a).map((function(e){return r.draggable.getById(e).getDimension(F)})).sort((function(e,r){return e.descriptor.index-r.descriptor.index})),c=Object.keys(l).map((function(e){return{droppableId:e,scroll:r.droppable.getById(e).callbacks.getScrollWhileDragging()}})),d={additions:u,removals:Object.keys(o),modified:c};n={additions:{},removals:{},modified:{}},dr(),t.publish(d)})))};return{add:function(e){var r=e.descriptor.id;n.additions[r]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[r]&&delete n.removals[r],a()},remove:function(e){var r=e.descriptor;n.removals[r.id]=!0,n.modified[r.droppableId]=!0,n.additions[r.id]&&delete n.additions[r.id],a()},stop:function(){i&&(cancelAnimationFrame(i),i=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:r.publishWhileDragging,collectionStarting:r.collectionStarting},registry:e}),i=function(r){t||P(!1);var i=t.critical.draggable;"ADDITION"===r.type&&ot(e,i,r.value)&&n.add(r.value),"REMOVAL"===r.type&&ot(e,i,r.value)&&n.remove(r.value)},a={updateDroppableIsEnabled:function(n,i){e.droppable.exists(n)||P(!1),t&&r.updateDroppableIsEnabled({id:n,isEnabled:i})},updateDroppableIsCombineEnabled:function(n,i){t&&(e.droppable.exists(n)||P(!1),r.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:i}))},scrollDroppable:function(r,n){t&&e.droppable.getById(r).callbacks.scroll(n)},updateDroppableScroll:function(n,i){t&&(e.droppable.exists(n)||P(!1),r.updateDroppableScroll({id:n,newScroll:i}))},startPublishing:function(r){t&&P(!1);var n=e.draggable.getById(r.draggableId),a=e.droppable.getById(n.descriptor.droppableId),o={draggable:n.descriptor,droppable:a.descriptor},l=e.subscribe(i);return t={critical:o,unsubscribe:l},at({critical:o,registry:e,scrollOptions:r.scrollOptions})},stopPublishing:function(){if(t){n.stop();var r=t.critical.droppable;e.droppable.getAllByType(r.type).forEach((function(e){return e.callbacks.dragStopped()})),t.unsubscribe(),t=null}}};return a},ut=function(e,r){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==r&&"DROP"===e.completed.result.reason)},ct=function(e){window.scrollBy(e.x,e.y)},dt=(0,x.default)((function(e){return ie(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),st=function(e){var r=e.center,t=e.destination,n=e.droppables;if(t){var i=n[t];return i.frame?i:null}var a=function(e,r){var t=ee(dt(r),(function(r){return r.frame||P(!1),Ze(r.frame.pageMarginBox)(e)}));return t}(r,n);return a},pt=.25,ft=.05,gt=28,vt=function(e){return Math.pow(e,2)},mt={stopDampeningAt:1200,accelerateAt:360},bt=function(e){var r=e.startOfRange,t=e.endOfRange,n=e.current,i=t-r;return 0===i?0:(n-r)/i},ht=mt.accelerateAt,yt=mt.stopDampeningAt,It=function(e){var r=e.distanceToEdge,t=e.thresholds,n=e.dragStartTime,i=e.shouldUseTimeDampening,a=function(e,r){if(e>r.startScrollingFrom)return 0;if(e<=r.maxScrollValueAt)return gt;if(e===r.startScrollingFrom)return 1;var t=bt({startOfRange:r.maxScrollValueAt,endOfRange:r.startScrollingFrom,current:e}),n=gt*vt(1-t);return Math.ceil(n)}(r,t);return 0===a?0:i?Math.max(function(e,r){var t=r,n=yt,i=Date.now()-t;if(i>=yt)return e;if(i<ht)return 1;var a=bt({startOfRange:ht,endOfRange:n,current:i}),o=e*vt(a);return Math.ceil(o)}(a,n),1):a},Dt=function(e){var r=e.container,t=e.distanceToEdges,n=e.dragStartTime,i=e.axis,a=e.shouldUseTimeDampening,o=function(e,r){return{startScrollingFrom:e[r.size]*pt,maxScrollValueAt:e[r.size]*ft}}(r,i);return t[i.end]<t[i.start]?It({distanceToEdge:t[i.end],thresholds:o,dragStartTime:n,shouldUseTimeDampening:a}):-1*It({distanceToEdge:t[i.start],thresholds:o,dragStartTime:n,shouldUseTimeDampening:a})},xt=z((function(e){return 0===e?0:e})),At=function(e){var r=e.dragStartTime,t=e.container,n=e.subject,i=e.center,a=e.shouldUseTimeDampening,o={top:i.y-t.top,right:t.right-i.x,bottom:t.bottom-i.y,left:i.x-t.left},l=Dt({container:t,distanceToEdges:o,dragStartTime:r,axis:be,shouldUseTimeDampening:a}),u=Dt({container:t,distanceToEdges:o,dragStartTime:r,axis:he,shouldUseTimeDampening:a}),c=xt({x:u,y:l});if(U(c,F))return null;var d=function(e){var r=e.container,t=e.subject,n=e.proposedScroll,i=t.height>r.height,a=t.width>r.width;return a||i?a&&i?null:{x:a?0:n.x,y:i?0:n.y}:n}({container:t,subject:n,proposedScroll:c});return d?U(d,F)?null:d:null},Et=z((function(e){return 0===e?0:e>0?1:-1})),wt=function(){var e=function(e,r){return e<0?e:e>r?e-r:0};return function(r){var t=r.current,n=r.max,i=r.change,a=k(t,i),o={x:e(a.x,n.x),y:e(a.y,n.y)};return U(o,F)?null:o}}(),Ct=function(e){var r=e.max,t=e.current,n=e.change,i={x:Math.max(t.x,r.x),y:Math.max(t.y,r.y)},a=Et(n),o=wt({max:i,current:t,change:a});return!o||(0!==a.x&&0===o.x||0!==a.y&&0===o.y)},Bt=function(e,r){return Ct({current:e.scroll.current,max:e.scroll.max,change:r})},Rt=function(e,r){var t=e.frame;return!!t&&Ct({current:t.scroll.current,max:t.scroll.max,change:r})},Nt=function(e){var r=e.state,t=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,a=e.scrollDroppable,o=r.current.page.borderBoxCenter,l=r.dimensions.draggables[r.critical.draggable.id].page.marginBox;if(r.isWindowScrollAllowed){var u=function(e){var r=e.viewport,t=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=At({dragStartTime:i,container:r.frame,subject:t,center:n,shouldUseTimeDampening:a});return o&&Bt(r,o)?o:null}({dragStartTime:t,viewport:r.viewport,subject:l,center:o,shouldUseTimeDampening:n});if(u)return void i(u)}var c=st({center:o,destination:Je(r.impact),droppables:r.dimensions.droppables});if(c){var d=function(e){var r=e.droppable,t=e.subject,n=e.center,i=e.dragStartTime,a=e.shouldUseTimeDampening,o=r.frame;if(!o)return null;var l=At({dragStartTime:i,container:o.pageMarginBox,subject:t,center:n,shouldUseTimeDampening:a});return l&&Rt(r,l)?l:null}({dragStartTime:t,droppable:c,subject:l,center:o,shouldUseTimeDampening:n});d&&a(c.descriptor.id,d)}},St=function(e){var r=e.move,t=e.scrollDroppable,n=e.scrollWindow,i=function(e,r){if(!Rt(e,r))return r;var n=function(e,r){var t=e.frame;return t&&Rt(e,r)?wt({current:t.scroll.current,max:t.scroll.max,change:r}):null}(e,r);if(!n)return t(e.descriptor.id,r),null;var i=W(r,n);return t(e.descriptor.id,i),W(r,i)},a=function(e,r,t){if(!e)return t;if(!Bt(r,t))return t;var i=function(e,r){if(!Bt(e,r))return null;var t=e.scroll.max,n=e.scroll.current;return wt({current:n,max:t,change:r})}(r,t);if(!i)return n(t),null;var a=W(t,i);return n(a),W(t,a)};return function(e){var t=e.scrollJumpRequest;if(t){var n=Je(e.impact);n||P(!1);var o=i(e.dimensions.droppables[n],t);
1if(o){var l=e.viewport,u=a(e.isWindowScrollAllowed,l,o);u&&function(e,t){var n=k(e.current.client.selection,t);r({client:n})}(e,u)}}}},Pt=function(e){var r=e.scrollDroppable,t=e.scrollWindow,n=e.move,i=function(e){var r=e.scrollWindow,t=e.scrollDroppable,n=A(r),i=A(t),a=null,o=function(e){a||P(!1);var r=a,t=r.shouldUseTimeDampening,o=r.dragStartTime;Nt({state:e,scrollWindow:n,scrollDroppable:i,dragStartTime:o,shouldUseTimeDampening:t})};return{start:function(e){cr(),a&&P(!1);var r=Date.now(),t=!1,n=function(){t=!0};Nt({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),a={dragStartTime:r,shouldUseTimeDampening:t},dr(),t&&o(e)},stop:function(){a&&(n.cancel(),i.cancel(),a=null)},scroll:o}}({scrollWindow:t,scrollDroppable:r}),a=St({move:n,scrollWindow:t,scrollDroppable:r});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&a(e):i.scroll(e))},start:i.start,stop:i.stop}},Ot="data-rbd",Tt=function(){var e=Ot+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Lt=function(){var e=Ot+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Gt=function(){var e=Ot+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Mt={contextId:Ot+"-scroll-container-context-id"},_t=function(e,r){return e.map((function(e){var t=e.styles[r];return t?e.selector+" { "+t+" }":""})).join(" ")},Ft=function(e){var r,t=(r=e,function(e){return"["+e+'="'+r+'"]'}),n=function(){var e="\n      cursor: -webkit-grab;\n      cursor: grab;\n    ";return{selector:t(Tt.contextId),styles:{always:"\n          -webkit-touch-callout: none;\n          -webkit-tap-highlight-color: rgba(0,0,0,0);\n          touch-action: manipulation;\n        ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}}(),i=[function(){var e="\n      transition: "+Mr.outOfTheWay+";\n    ";return{selector:t(Lt.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),n,{selector:t(Gt.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n        user-select: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        overflow-anchor: none;\n      "}}];return{always:_t(i,"always"),resting:_t(i,"resting"),dragging:_t(i,"dragging"),dropAnimating:_t(i,"dropAnimating"),userCancel:_t(i,"userCancel")}},kt="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect,Wt=function(){var e=document.querySelector("head");return e||P(!1),e},Ut=function(e){var r=document.createElement("style");return e&&r.setAttribute("nonce",e),r.type="text/css",r};var Ht=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function jt(e){return e instanceof Ht(e).HTMLElement}function Vt(e,r){var t="["+Tt.contextId+'="'+e+'"]',n=re(document.querySelectorAll(t));if(!n.length)return null;var i=ee(n,(function(e){return e.getAttribute(Tt.draggableId)===r}));return i&&jt(i)?i:null}function qt(){var e={draggables:{},droppables:{}},r=[];function t(e){r.length&&r.forEach((function(r){return r(e)}))}function n(r){return e.draggables[r]||null}function i(r){return e.droppables[r]||null}return{draggable:{register:function(r){e.draggables[r.descriptor.id]=r,t({type:"ADDITION",value:r})},update:function(r,t){var n=e.draggables[t.descriptor.id];n&&n.uniqueId===r.uniqueId&&(delete e.draggables[t.descriptor.id],e.draggables[r.descriptor.id]=r)},unregister:function(r){var i=r.descriptor.id,a=n(i);a&&r.uniqueId===a.uniqueId&&(delete e.draggables[i],t({type:"REMOVAL",value:r}))},getById:function(e){var r=n(e);return r||P(!1),r},findById:n,exists:function(e){return Boolean(n(e))},getAllByType:function(r){return $(e.draggables).filter((function(e){return e.descriptor.type===r}))}},droppable:{register:function(r){e.droppables[r.descriptor.id]=r},unregister:function(r){var t=i(r.descriptor.id);t&&r.uniqueId===t.uniqueId&&delete e.droppables[r.descriptor.id]},getById:function(e){var r=i(e);return r||P(!1),r},findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(r){return $(e.droppables).filter((function(e){return e.descriptor.type===r}))}},subscribe:function(e){return r.push(e),function(){var t=r.indexOf(e);-1!==t&&r.splice(t,1)}},clean:function(){e.draggables={},e.droppables={},r.length=0}}}var zt=n.createContext(null),Yt=function(){var e=document.body;return e||P(!1),e},Jt={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Xt=function(e){return"rbd-announcement-"+e};var Kt=0,Zt={separator:"::"};function $t(e,r){return void 0===r&&(r=Zt),c((function(){return""+e+r.separator+Kt++}),[r.separator,e])}var Qt=n.createContext(null);function en(e){0}function rn(e,r){en()}function tn(e){var r=(0,n.useRef)(e);return(0,n.useEffect)((function(){r.current=e})),r}var nn,an=27,on=32,ln=37,un=38,cn=39,dn=40,sn=((nn={})[13]=!0,nn[9]=!0,nn),pn=function(e){sn[e.keyCode]&&e.preventDefault()},fn=function(){var e="visibilitychange";return"undefined"===typeof document?e:ee([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),gn=0,vn=5;var mn,bn={type:"IDLE"};function hn(e){var r=e.cancel,t=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var r=e.button,t=e.clientX,a=e.clientY;if(r===gn){var o={x:t,y:a},l=n();if("DRAGGING"===l.type)return e.preventDefault(),void l.actions.move(o);"PENDING"!==l.type&&P(!1);var u=l.point;if(c=u,d=o,Math.abs(d.x-c.x)>=vn||Math.abs(d.y-c.y)>=vn){var c,d;e.preventDefault();var s=l.actions.fluidLift(o);i({type:"DRAGGING",actions:s})}}}},{eventName:"mouseup",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),t()):r()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===n().type&&e.preventDefault(),r()}},{eventName:"keydown",fn:function(e){if("PENDING"!==n().type)return e.keyCode===an?(e.preventDefault(),void r()):void pn(e);r()}},{eventName:"resize",fn:r},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===n().type&&r()}},{eventName:"webkitmouseforcedown",fn:function(e){var t=n();"IDLE"===t.type&&P(!1),t.actions.shouldRespectForcePress()?r():e.preventDefault()}},{eventName:fn,fn:r}]}function yn(){}var In=((mn={})[34]=!0,mn[33]=!0,mn[36]=!0,mn[35]=!0,mn);function Dn(e,r){function t(){r(),e.cancel()}return[{eventName:"keydown",fn:function(n){return n.keyCode===an?(n.preventDefault(),void t()):n.keyCode===on?(n.preventDefault(),r(),void e.drop()):n.keyCode===dn?(n.preventDefault(),void e.moveDown()):n.keyCode===un?(n.preventDefault(),void e.moveUp()):n.keyCode===cn?(n.preventDefault(),void e.moveRight()):n.keyCode===ln?(n.preventDefault(),void e.moveLeft()):void(In[n.keyCode]?n.preventDefault():pn(n))}},{eventName:"mousedown",fn:t},{eventName:"mouseup",fn:t},{eventName:"click",fn:t},{eventName:"touchstart",fn:t},{eventName:"resize",fn:t},{eventName:"wheel",fn:t,options:{passive:!0}},{eventName:fn,fn:t}]}var xn={type:"IDLE"},An=.15;var En={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function wn(e,r){if(null==r)return!1;if(Boolean(En[r.tagName.toLowerCase()]))return!0;var t=r.getAttribute("contenteditable");return"true"===t||""===t||r!==e&&wn(e,r.parentElement)}function Cn(e,r){var t=r.target;return!!jt(t)&&wn(e,t)}var Bn=function(e){return p(e.getBoundingClientRect()).center};var Rn=function(){var e="matches";
1return"undefined"===typeof document?e:ee([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Nn(e,r){return null==e?null:e[Rn](r)?e:Nn(e.parentElement,r)}function Sn(e,r){return e.closest?e.closest(r):Nn(e,r)}function Pn(e,r){var t,n=r.target;if(!((t=n)instanceof Ht(t).Element))return null;var i=function(e){return"["+Tt.contextId+'="'+e+'"]'}(e),a=Sn(n,i);return a&&jt(a)?a:null}function On(e){e.preventDefault()}function Tn(e){var r=e.expected,t=e.phase,n=e.isLockActive;e.shouldWarn;return!!n()&&r===t}function Ln(e){var r=e.lockAPI,t=e.store,n=e.registry,i=e.draggableId;if(r.isClaimed())return!1;var a=n.draggable.findById(i);return!!a&&(!!a.options.isEnabled&&!!ut(t.getState(),i))}function Gn(e){var r=e.lockAPI,t=e.contextId,n=e.store,i=e.registry,o=e.draggableId,l=e.forceSensorStop,u=e.sourceEvent;if(!Ln({lockAPI:r,store:n,registry:i,draggableId:o}))return null;var c=i.draggable.getById(o),d=function(e,r){var t="["+Lt.contextId+'="'+e+'"]',n=ee(re(document.querySelectorAll(t)),(function(e){return e.getAttribute(Lt.id)===r}));return n&&jt(n)?n:null}(t,c.descriptor.id);if(!d)return null;if(u&&!c.options.canDragInteractiveElements&&Cn(d,u))return null;var s=r.claim(l||C),p="PRE_DRAG";function f(){return c.options.shouldRespectForcePress}function g(){return r.isActive(s)}var v=function(e,r){Tn({expected:e,phase:p,isLockActive:g,shouldWarn:!0})&&n.dispatch(r())}.bind(null,"DRAGGING");function m(e){function t(){r.release(),p="COMPLETED"}function i(r,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var a=B(window,[{eventName:"click",fn:On,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(a)}t(),n.dispatch(Sr({reason:r}))}return"PRE_DRAG"!==p&&(t(),"PRE_DRAG"!==p&&P(!1)),n.dispatch(br(e.liftActionArgs)),p="DRAGGING",(0,a.A)({isActive:function(){return Tn({expected:"DRAGGING",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}return{isActive:function(){return Tn({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(e){var r=A((function(e){v((function(){return Ar({client:e})}))})),t=m({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return r.cancel()},actions:{move:r}});return(0,a.A)({},t,{move:r})},snapLift:function(){var e={moveUp:function(){return v(Er)},moveRight:function(){return v(Cr)},moveDown:function(){return v(wr)},moveLeft:function(){return v(Br)}};return m({liftActionArgs:{id:o,clientSelection:Bn(d),movementMode:"SNAP"},cleanup:C,actions:e})},abort:function(){Tn({expected:"PRE_DRAG",phase:p,isLockActive:g,shouldWarn:!0})&&r.release()}}}var Mn=[function(e){var r=(0,n.useRef)(bn),t=(0,n.useRef)(C),i=c((function(){return{eventName:"mousedown",fn:function(r){if(!r.defaultPrevented&&r.button===gn&&!(r.ctrlKey||r.metaKey||r.shiftKey||r.altKey)){var n=e.findClosestDraggableId(r);if(n){var i=e.tryGetLock(n,l,{sourceEvent:r});if(i){r.preventDefault();var a={x:r.clientX,y:r.clientY};t.current(),p(i,a)}}}}}}),[e]),a=c((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(r){if(!r.defaultPrevented){var t=e.findClosestDraggableId(r);if(t){var n=e.findOptionsForDraggable(t);n&&(n.shouldRespectForcePress||e.canGetLock(t)&&r.preventDefault())}}}}}),[e]),o=d((function(){t.current=B(window,[a,i],{passive:!1,capture:!0})}),[a,i]),l=d((function(){"IDLE"!==r.current.type&&(r.current=bn,t.current(),o())}),[o]),u=d((function(){var e=r.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=d((function(){var e=hn({cancel:u,completed:l,getPhase:function(){return r.current},setPhase:function(e){r.current=e}});t.current=B(window,e,{capture:!0,passive:!1})}),[u,l]),p=d((function(e,t){"IDLE"!==r.current.type&&P(!1),r.current={type:"PENDING",point:t,actions:e},s()}),[s]);kt((function(){return o(),function(){t.current()}}),[o])},function(e){var r=(0,n.useRef)(yn),t=c((function(){return{eventName:"keydown",fn:function(t){if(!t.defaultPrevented&&t.keyCode===on){var n=e.findClosestDraggableId(t);if(n){var a=e.tryGetLock(n,u,{sourceEvent:t});if(a){t.preventDefault();var o=!0,l=a.snapLift();r.current(),r.current=B(window,Dn(l,u),{capture:!0,passive:!1})}}}function u(){o||P(!1),o=!1,r.current(),i()}}}}),[e]),i=d((function(){r.current=B(window,[t],{passive:!1,capture:!0})}),[t]);kt((function(){return i(),function(){r.current()}}),[i])},function(e){var r=(0,n.useRef)(xn),t=(0,n.useRef)(C),i=d((function(){return r.current}),[]),a=d((function(e){r.current=e}),[]),o=c((function(){return{eventName:"touchstart",fn:function(r){if(!r.defaultPrevented){var n=e.findClosestDraggableId(r);if(n){var i=e.tryGetLock(n,u,{sourceEvent:r});if(i){var a=r.touches[0],o={x:a.clientX,y:a.clientY};t.current(),g(i,o)}}}}}}),[e]),l=d((function(){t.current=B(window,[o],{capture:!0,passive:!1})}),[o]),u=d((function(){var e=r.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),a(xn),t.current(),l())}),[l,a]),s=d((function(){var e=r.current;
1u(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[u]),p=d((function(){var e={capture:!0,passive:!1},r={cancel:s,completed:u,getPhase:i},n=B(window,function(e){var r=e.cancel,t=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var t=n();if("DRAGGING"===t.type){t.hasMoved=!0;var i=e.touches[0],a={x:i.clientX,y:i.clientY};e.preventDefault(),t.actions.move(a)}else r()}},{eventName:"touchend",fn:function(e){var i=n();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),t()):r()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===n().type?(e.preventDefault(),r()):r()}},{eventName:"touchforcechange",fn:function(e){var t=n();"IDLE"===t.type&&P(!1);var i=e.touches[0];if(i&&i.force>=An){var a=t.actions.shouldRespectForcePress();if("PENDING"!==t.type)return a?t.hasMoved?void e.preventDefault():void r():void e.preventDefault();a&&r()}}},{eventName:fn,fn:r}]}(r),e),a=B(window,function(e){var r=e.cancel,t=e.getPhase;return[{eventName:"orientationchange",fn:r},{eventName:"resize",fn:r},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===t().type?(e.keyCode===an&&e.preventDefault(),r()):r()}},{eventName:fn,fn:r}]}(r),e);t.current=function(){n(),a()}}),[s,i,u]),f=d((function(){var e=i();"PENDING"!==e.type&&P(!1);var r=e.actions.fluidLift(e.point);a({type:"DRAGGING",actions:r,hasMoved:!1})}),[i,a]),g=d((function(e,r){"IDLE"!==i().type&&P(!1);var t=setTimeout(f,120);a({type:"PENDING",point:r,actions:e,longPressTimerId:t}),p()}),[p,i,a,f]);kt((function(){return l(),function(){t.current();var e=i();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),a(xn))}}),[i,l,a]),kt((function(){return B(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function _n(e){var r=e.contextId,t=e.store,i=e.registry,a=e.customSensors,o=e.enableDefaultSensors,l=[].concat(o?Mn:[],a||[]),u=(0,n.useState)((function(){return function(){var e=null;function r(){e||P(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(r){return r===e},claim:function(r){e&&P(!1);var t={abandon:r};return e=t,t},release:r,tryAbandon:function(){e&&(e.abandon(),r())}}}()}))[0],s=d((function(e,r){e.isDragging&&!r.isDragging&&u.tryAbandon()}),[u]);kt((function(){var e=t.getState();return t.subscribe((function(){var r=t.getState();s(e,r),e=r}))}),[u,t,s]),kt((function(){return u.tryAbandon}),[u.tryAbandon]);var p=d((function(e){return Ln({lockAPI:u,registry:i,store:t,draggableId:e})}),[u,i,t]),f=d((function(e,n,a){return Gn({lockAPI:u,registry:i,contextId:r,store:t,draggableId:e,forceSensorStop:n,sourceEvent:a&&a.sourceEvent?a.sourceEvent:null})}),[r,u,i,t]),g=d((function(e){return function(e,r){var t=Pn(e,r);return t?t.getAttribute(Tt.draggableId):null}(r,e)}),[r]),v=d((function(e){var r=i.draggable.findById(e);return r?r.options:null}),[i.draggable]),m=d((function(){u.isClaimed()&&(u.tryAbandon(),"IDLE"!==t.getState().phase&&t.dispatch(Rr()))}),[u,t]),b=d(u.isClaimed,[u]),h=c((function(){return{canGetLock:p,tryGetLock:f,findClosestDraggableId:g,findOptionsForDraggable:v,tryReleaseLock:m,isLockClaimed:b}}),[p,f,g,v,m,b]);en();for(var y=0;y<l.length;y++)l[y](h)}var Fn=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function kn(e){return e.current||P(!1),e.current}function Wn(e){var r=e.contextId,t=e.setCallbacks,i=e.sensors,u=e.nonce,s=e.dragHandleUsageInstructions,p=(0,n.useRef)(null);rn();var f=tn(e),g=d((function(){return Fn(f.current)}),[f]),v=function(e){var r=c((function(){return Xt(e)}),[e]),t=(0,n.useRef)(null);return(0,n.useEffect)((function(){var e=document.createElement("div");return t.current=e,e.id=r,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),(0,a.A)(e.style,Jt),Yt().appendChild(e),function(){setTimeout((function(){var r=Yt();r.contains(e)&&r.removeChild(e),e===t.current&&(t.current=null)}))}}),[r]),d((function(e){var r=t.current;r&&(r.textContent=e)}),[])}(r),m=function(e){var r=e.contextId,t=e.text,i=$t("hidden-text",{separator:"-"}),a=c((function(){return"rbd-hidden-text-"+(e={contextId:r,uniqueId:i}).contextId+"-"+e.uniqueId;var e}),[i,r]);return(0,n.useEffect)((function(){var e=document.createElement("div");return e.id=a,e.textContent=t,e.style.display="none",Yt().appendChild(e),function(){var r=Yt();r.contains(e)&&r.removeChild(e)}}),[a,t]),a}({contextId:r,text:s}),b=function(e,r){var t=c((function(){return Ft(e)}
1),[e]),i=(0,n.useRef)(null),a=(0,n.useRef)(null),o=d((0,x.default)((function(e){var r=a.current;r||P(!1),r.textContent=e})),[]),l=d((function(e){var r=i.current;r||P(!1),r.textContent=e}),[]);kt((function(){(i.current||a.current)&&P(!1);var n=Ut(r),u=Ut(r);return i.current=n,a.current=u,n.setAttribute(Ot+"-always",e),u.setAttribute(Ot+"-dynamic",e),Wt().appendChild(n),Wt().appendChild(u),l(t.always),o(t.resting),function(){var e=function(e){var r=e.current;r||P(!1),Wt().removeChild(r),e.current=null};e(i),e(a)}}),[r,l,o,t.always,t.resting,e]);var u=d((function(){return o(t.dragging)}),[o,t.dragging]),s=d((function(e){o("DROP"!==e?t.userCancel:t.dropAnimating)}),[o,t.dropAnimating,t.userCancel]),p=d((function(){a.current&&o(t.resting)}),[o,t.resting]);return c((function(){return{dragging:u,dropping:s,resting:p}}),[u,s,p])}(r,u),h=d((function(e){kn(p).dispatch(e)}),[]),y=c((function(){return(0,o.zH)({publishWhileDragging:hr,updateDroppableScroll:Ir,updateDroppableIsEnabled:Dr,updateDroppableIsCombineEnabled:xr,collectionStarting:yr},h)}),[h]),I=function(){var e=c(qt,[]);return(0,n.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),D=c((function(){return lt(I,y)}),[I,y]),A=c((function(){return Pt((0,a.A)({scrollWindow:ct,scrollDroppable:D.scrollDroppable},(0,o.zH)({move:Ar},h)))}),[D.scrollDroppable,h]),E=function(e){var r=(0,n.useRef)({}),t=(0,n.useRef)(null),i=(0,n.useRef)(null),a=(0,n.useRef)(!1),o=d((function(e,t){var n={id:e,focus:t};return r.current[e]=n,function(){var t=r.current;t[e]!==n&&delete t[e]}}),[]),l=d((function(r){var t=Vt(e,r);t&&t!==document.activeElement&&t.focus()}),[e]),u=d((function(e,r){t.current===e&&(t.current=r)}),[]),s=d((function(){i.current||a.current&&(i.current=requestAnimationFrame((function(){i.current=null;var e=t.current;e&&l(e)})))}),[l]),p=d((function(e){t.current=null;var r=document.activeElement;r&&r.getAttribute(Tt.draggableId)===e&&(t.current=e)}),[]);return kt((function(){return a.current=!0,function(){a.current=!1;var e=i.current;e&&cancelAnimationFrame(e)}}),[]),c((function(){return{register:o,tryRecordFocus:p,tryRestoreFocusRecorded:s,tryShiftRecord:u}}),[o,p,s,u])}(r),w=c((function(){return rt({announce:v,autoScroller:A,dimensionMarshal:D,focusMarshal:E,getResponders:g,styleMarshal:b})}),[v,A,D,E,g,b]);p.current=w;var C=d((function(){var e=kn(p);"IDLE"!==e.getState().phase&&e.dispatch(Rr())}),[]),B=d((function(){var e=kn(p).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);t(c((function(){return{isDragging:B,tryAbort:C}}),[B,C]));var R=d((function(e){return ut(kn(p).getState(),e)}),[]),N=d((function(){return Ke(kn(p).getState())}),[]),S=c((function(){return{marshal:D,focus:E,contextId:r,canLift:R,isMovementAllowed:N,dragHandleUsageInstructionsId:m,registry:I}}),[r,D,m,E,R,N,I]);return _n({contextId:r,store:w,registry:I,customSensors:i,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,n.useEffect)((function(){return C}),[C]),n.createElement(Qt.Provider,{value:S},n.createElement(l.Kq,{context:zt,store:w},e.children))}var Un=0;function Hn(e){var r=c((function(){return""+Un++}),[]),t=e.dragHandleUsageInstructions||_.dragHandleUsageInstructions;return n.createElement(O,null,(function(i){return n.createElement(Wn,{nonce:e.nonce,contextId:r,setCallbacks:i,dragHandleUsageInstructions:t,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var jn=function(e){return function(r){return e===r}},Vn=jn("scroll"),qn=jn("auto"),zn=(jn("visible"),function(e,r){return r(e.overflowX)||r(e.overflowY)}),Yn=function(e){var r=window.getComputedStyle(e),t={overflowX:r.overflowX,overflowY:r.overflowY};return zn(t,Vn)||zn(t,qn)},Jn=function e(r){return null==r||r===document.body||r===document.documentElement?null:Yn(r)?r:e(r.parentElement)},Xn=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Kn=function e(r){return!!r&&("fixed"===window.getComputedStyle(r).position||e(r.parentElement))},Zn=function(e){return{closestScrollable:Jn(e),isFixedOnPage:Kn(e)}},$n=function(e){var r=e.ref,t=e.descriptor,n=e.env,i=e.windowScroll,a=e.direction,o=e.isDropDisabled,l=e.isCombine
vendor: 1,201 bytes, line 1
1Enabled,u=e.shouldClipSubject,c=n.closestScrollable,d=function(e,r){var t=D(e);if(!r)return t;if(e!==r)return t;var n=t.paddingBox.top-r.scrollTop,i=t.paddingBox.left-r.scrollLeft,a=n+r.scrollHeight,o=i+r.scrollWidth,l=f({top:n,right:o,bottom:a,left:i},t.border);return m({borderBox:l,margin:t.margin,border:t.border,padding:t.padding})}(r,c),s=y(d,i),p=function(){if(!c)return null;var e=D(c),r={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:y(e,i),scroll:Xn(c),scrollSize:r,shouldClipSubject:u}}(),g=function(e){var r=e.descriptor,t=e.isEnabled,n=e.isCombineEnabled,i=e.isFixedOnPage,a=e.direction,o=e.client,l=e.page,u=e.closest,c=function(){if(!u)return null;var e=u.scrollSize,r=u.client,t=tt({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:r.paddingBox.height,width:r.paddingBox.width});return{pageMarginBox:u.page.marginBox,frameClient:r,scrollSize:e,shouldClipSubject:u.shouldClipSubject,scroll:{initial:u.scroll,current:u.scroll,max:t,diff:{value:F,displacement:F}}}}(),d="vertical"===a?be:he;return{descriptor:r,isCombineEnabled:n,isFixedOnPage:i,axis:d,isEnabled:t,client:o,page:l,frame:c,subject:K({page:l,withPlaceholder:null,axis:d,frame:c})}}
1({descriptor:t,isEnabled:!o,isCombineEnabled:l,isFixedOnPage:n.isFixedOnPage,direction:a,client:d,page:s,closest:p});return g},Qn={passive:!1},ei={passive:!0},ri=function(e){return e.shouldPublishImmediately?Qn:ei};function ti(e){var r=(0,n.useContext)(e);return r||P(!1),r}var ni=function(e){return e&&e.env.closestScrollable||null};function ii(){}var ai={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},oi=function(e){var r=e.isAnimatingOpenOnMount,t=e.placeholder,n=e.animate,i=function(e){var r=e.isAnimatingOpenOnMount,t=e.placeholder,n=e.animate;return r||"close"===n?ai:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin}}({isAnimatingOpenOnMount:r,placeholder:t,animate:n});return{display:t.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==n?Mr.placeholder:null}};var li=n.memo((function(e){var r=(0,n.useRef)(null),t=d((function(){r.current&&(clearTimeout(r.current),r.current=null)}),[]),i=e.animate,a=e.onTransitionEnd,o=e.onClose,l=e.contextId,u=(0,n.useState)("open"===e.animate),c=u[0],s=u[1];(0,n.useEffect)((function(){return c?"open"!==i?(t(),s(!1),ii):r.current?ii:(r.current=setTimeout((function(){r.current=null,s(!1)})),t):ii}),[i,c,t]);var p=d((function(e){"height"===e.propertyName&&(a(),"close"===i&&o())}),[i,o,a]),f=oi({isAnimatingOpenOnMount:c,animate:e.animate,placeholder:e.placeholder});return n.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":l,onTransitionEnd:p,ref:e.innerRef})})),ui=n.createContext(null);var ci=function(e){function r(){for(var r,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(r=e.call.apply(e,[this].concat(n))||this).state={isVisible:Boolean(r.props.on),data:r.props.on,animate:r.props.shouldAnimate&&r.props.on?"open":"none"},r.onClose=function(){"close"===r.state.animate&&r.setState({isVisible:!1})},r}return(0,i.A)(r,e),r.getDerivedStateFromProps=function(e,r){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:r.isVisible?{isVisible:!0,data:r.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},r.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},r}(n.PureComponent),di={dragging:5e3,dropAnimating:4500},si=function(e,r){return r?Mr.drop(r.duration):e?Mr.snap:Mr.fluid},pi=function(e,r){return e?r?Tr.drop:Tr.combining:null},fi=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode};function gi(e){return"DRAGGING"===e.type?function(e){var r=e.dimension.client,t=e.offset,n=e.combineWith,i=e.dropping,a=Boolean(n),o=fi(e),l=Boolean(i),u=l?Fr.drop(t,a):Fr.moveTo(t);return{position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:si(o,i),transform:u,opacity:pi(a,l),zIndex:l?di.dropAnimating:di.dragging,pointerEvents:"none"}}(e):(r=e,{transform:Fr.moveTo(r.offset),transition:r.shouldAnimateDisplacement?null:"none"});var r}function vi(e){var r=$t("draggable"),t=e.descriptor,i=e.registry,a=e.getDraggableRef,o=e.canDragInteractiveElements,l=e.shouldRespectForcePress,u=e.isEnabled,s=c((function(){return{canDragInteractiveElements:o,shouldRespectForcePress:l,isEnabled:u}}),[o,u,l]),p=d((function(e){var r=a();return r||P(!1),function(e,r,t){void 0===t&&(t=F);var n=window.getComputedStyle(r),i=r.getBoundingClientRect(),a=I(i,n),o=y(a,t);return{descriptor:e,placeholder:{client:a,tagName:r.tagName.toLowerCase(),display:n.display},displaceBy:{x:a.marginBox.width,y:a.marginBox.height},client:a,page:o}}(t,r,e)}),[t,a]),f=c((function(){return{uniqueId:r,descriptor:t,options:s,getDimension:p}}),[t,p,s,r]),g=(0,n.useRef)(f),v=(0,n.useRef)(!0);kt((function(){return i.draggable.register(g.current),function(){return i.draggable.unregister(g.current)}}),[i.draggable]),kt((function(){if(v.current)v.current=!1;else{var e=g.current;g.current=f,i.draggable.update(f,e)}}),[f,i.draggable])}function mi(e,r,t){rn()}function bi(e){e.preventDefault()}var hi=function(e,r){return e===r},yi=function(e){var r=e.combine,t=e.destination;return t?t.droppableId:r?r.droppableId:null};function Ii(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,comb
1ineWith:null}}var Di={mapped:{type:"SECONDARY",offset:F,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Ii(null)}};var xi={dropAnimationFinished:Pr},Ai=(0,l.Ng)((function(){var e=function(){var e=(0,x.default)((function(e,r){return{x:e,y:r}})),r=(0,x.default)((function(e,r,t,n,i){return{isDragging:!0,isClone:r,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:t,combineWith:n,combineTargetFor:null}})),t=(0,x.default)((function(e,t,n,i,a,o,l){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:a,combineWith:o,mode:t,offset:e,dimension:n,forceShouldAnimate:l,snapshot:r(t,i,a,o,null)}}}));return function(n,i){if(n.isDragging){if(n.critical.draggable.id!==i.draggableId)return null;var a=n.current.client.offset,o=n.dimensions.draggables[i.draggableId],l=Je(n.impact),u=(d=n.impact).at&&"COMBINE"===d.at.type?d.at.combine.draggableId:null,c=n.forceShouldAnimate;return t(e(a.x,a.y),n.movementMode,o,i.isClone,l,u,c)}var d;if("DROP_ANIMATING"===n.phase){var s=n.completed;if(s.result.draggableId!==i.draggableId)return null;var p=i.isClone,f=n.dimensions.draggables[i.draggableId],g=s.result,v=g.mode,m=yi(g),b=function(e){return e.combine?e.combine.draggableId:null}(g),h={duration:n.dropDuration,curve:Or,moveTo:n.newHomeClientOffset,opacity:b?Tr.drop:null,scale:b?Lr.drop:null};return{mapped:{type:"DRAGGING",offset:n.newHomeClientOffset,dimension:f,dropping:h,draggingOver:m,combineWith:b,mode:v,forceShouldAnimate:null,snapshot:r(v,p,m,b,h)}}}return null}}(),r=function(){var e=(0,x.default)((function(e,r){return{x:e,y:r}})),r=(0,x.default)(Ii),t=(0,x.default)((function(e,t,n){return void 0===t&&(t=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:t,shouldAnimateDisplacement:n,snapshot:r(t)}}})),n=function(e){return e?t(F,e,!0):null},i=function(r,i,a,o){var l=a.displaced.visible[r],u=Boolean(o.inVirtualList&&o.effected[r]),c=ue(a),d=c&&c.draggableId===r?i:null;if(!l){if(!u)return n(d);if(a.displaced.invisible[r])return null;var s=H(o.displacedBy.point),p=e(s.x,s.y);return t(p,d,!0)}if(u)return n(d);var f=a.displacedBy.point,g=e(f.x,f.y);return t(g,d,l.shouldAnimate)};return function(e,r){if(e.isDragging)return e.critical.draggable.id===r.draggableId?null:i(r.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var t=e.completed;return t.result.draggableId===r.draggableId?null:i(r.draggableId,t.result.draggableId,t.impact,t.afterCritical)}return null}}();return function(t,n){return e(t,n)||r(t,n)||Di}}),xi,null,{context:zt,pure:!0,areStatePropsEqual:hi})((function(e){var r=(0,n.useRef)(null),t=d((function(e){r.current=e}),[]),i=d((function(){return r.current}),[]),a=ti(Qt),o=a.contextId,l=a.dragHandleUsageInstructionsId,u=a.registry,s=ti(ui),p=s.type,f=s.droppableId,g=c((function(){return{id:e.draggableId,index:e.index,type:p,droppableId:f}}),[e.draggableId,e.index,p,f]),v=e.children,m=e.draggableId,b=e.isEnabled,h=e.shouldRespectForcePress,y=e.canDragInteractiveElements,I=e.isClone,D=e.mapped,x=e.dropAnimationFinished;mi(),en(),I||vi(c((function(){return{descriptor:g,registry:u,getDraggableRef:i,canDragInteractiveElements:y,shouldRespectForcePress:h,isEnabled:b}}),[g,u,i,y,h,b]));var A=c((function(){return b?{tabIndex:0,role:"button","aria-describedby":l,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":o,draggable:!1,onDragStart:bi}:null}),[o,l,m,b]),E=d((function(e){"DRAGGING"===D.type&&D.dropping&&"transform"===e.propertyName&&x()}),[x,D]),w=c((function(){var e=gi(D),r="DRAGGING"===D.type&&D.dropping?E:null;return{innerRef:t,draggableProps:{"data-rbd-draggable-context-id":o,"data-rbd-draggable-id":m,style:e,onTransitionEnd:r},dragHandleProps:A}}),[o,A,m,D,E,t]),C=c((function(){return{draggableId:g.id,type:g.type,source:{index:g.index,droppableId:g.droppableId}}}),[g.droppableId,g.id,g.index,g.type]);return v(w,D.snapshot,C)}));function Ei(e){return ti(ui).isUsingCloneFor!==e.draggableId||e.isClone?n.createElement(Ai,e):null}function wi(e){var r="boolean"!==typeof e.isDragDisabled||!e.isDragDisabled,t=Boolean(e.disableInteractiveElementBlocking),i=Boolean(e.shouldRespectForcePress);return n.createElement(Ei,(0,a.A)({},e,{isClone:!1,isEnabled:r,canDragInteractiveElements:t,shouldRespectForcePress:i}))}var Ci=function(e,r){return e===r.droppable.type},Bi=function(e,r){return r.draggables[e.draggable.id]},Ri={updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}};var Ni={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombine
1Enabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||P(!1),document.body}},Si=(0,l.Ng)((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},r=(0,a.A)({},e,{shouldAnimatePlaceholder:!1}),t=(0,x.default)((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),n=(0,x.default)((function(n,i,a,o,l,u){var c=l.descriptor.id;if(l.descriptor.droppableId===n){var d=u?{render:u,dragging:t(l.descriptor)}:null,s={isDraggingOver:a,draggingOverWith:a?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!1,snapshot:s,useClone:d}}if(!i)return r;if(!o)return e;var p={isDraggingOver:a,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(t,i){var a=i.droppableId,o=i.type,l=!i.isDropDisabled,u=i.renderClone;if(t.isDragging){var c=t.critical;if(!Ci(o,c))return r;var d=Bi(c,t.dimensions),s=Je(t.impact)===a;return n(a,l,s,s,d,u)}if("DROP_ANIMATING"===t.phase){var p=t.completed;if(!Ci(o,p.critical))return r;var f=Bi(p.critical,t.dimensions);return n(a,l,yi(p.result)===a,Je(p.impact)===a,f,u)}if("IDLE"===t.phase&&t.completed&&!t.shouldFlush){var g=t.completed;if(!Ci(o,g.critical))return r;var v=Je(g.impact)===a,m=Boolean(g.impact.at&&"COMBINE"===g.impact.at.type),b=g.critical.droppable.id===a;return v?m?e:r:b?e:r}return r}}),Ri,null,{context:zt,pure:!0,areStatePropsEqual:hi})((function(e){var r=(0,n.useContext)(Qt);r||P(!1);var t=r.contextId,i=r.isMovementAllowed,a=(0,n.useRef)(null),o=(0,n.useRef)(null),l=e.children,u=e.droppableId,s=e.type,p=e.mode,f=e.direction,g=e.ignoreContainerClipping,v=e.isDropDisabled,m=e.isCombineEnabled,b=e.snapshot,h=e.useClone,y=e.updateViewportMaxScroll,I=e.getContainerForClone,D=d((function(){return a.current}),[]),w=d((function(e){a.current=e}),[]),C=(d((function(){return o.current}),[]),d((function(e){o.current=e}),[]));rn();var B=d((function(){i()&&y({maxScroll:it()})}),[i,y]);!function(e){var r=(0,n.useRef)(null),t=ti(Qt),i=$t("droppable"),a=t.registry,o=t.marshal,l=tn(e),u=c((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),s=(0,n.useRef)(u),p=c((function(){return(0,x.default)((function(e,t){r.current||P(!1);var n={x:e,y:t};o.updateDroppableScroll(u.id,n)}))}),[u.id,o]),f=d((function(){var e=r.current;return e&&e.env.closestScrollable?Xn(e.env.closestScrollable):F}),[]),g=d((function(){var e=f();p(e.x,e.y)}),[f,p]),v=c((function(){return A(g)}),[g]),m=d((function(){var e=r.current,t=ni(e);e&&t||P(!1),e.scrollOptions.shouldPublishImmediately?g():v()}),[v,g]),b=d((function(e,n){r.current&&P(!1);var i=l.current,a=i.getDroppableRef();a||P(!1);var o=Zn(a),c={ref:a,descriptor:u,env:o,scrollOptions:n};r.current=c;var d=$n({ref:a,descriptor:u,env:o,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),s=o.closestScrollable;return s&&(s.setAttribute(Mt.contextId,t.contextId),s.addEventListener("scroll",m,ri(c.scrollOptions))),d}),[t.contextId,u,m,l]),h=d((function(){var e=r.current,t=ni(e);return e&&t||P(!1),Xn(t)}),[]),y=d((function(){var e=r.current;e||P(!1);var t=ni(e);r.current=null,t&&(v.cancel(),t.removeAttribute(Mt.contextId),t.removeEventListener("scroll",m,ri(e.scrollOptions)))}),[m,v]),I=d((function(e){var t=r.current;t||P(!1);var n=ni(t);n||P(!1),n.scrollTop+=e.y,n.scrollLeft+=e.x}),[]),D=c((function(){return{getDimensionAndWatchScroll:b,getScrollWhileDragging:h,dragStopped:y,scroll:I}}),[y,b,h,I]),E=c((function(){return{uniqueId:i,descriptor:u,callbacks:D}}),[D,u,i]);kt((function(){return s.current=E.descriptor,a.droppable.register(E),function(){r.current&&y(),a.droppable.unregister(E)}}),[D,u,y,E,o,a.droppable]),kt((function(){r.current&&o.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)}),[e.isDropDisabled,o]),kt((function(){r.current&&o.updateDroppableIsCombine
vendor: 1,079 bytes, lines 1-2
1Enabled(s.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,o])}({droppableId:u,type:s,mode:p,direction:f,isDropDisabled:v,isCombineEnabled:m,ignoreContainerClipping:g,getDroppableRef:D});var R=n.createElement(ci,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var r=e.onClose,i=e.data,a=e.animate;return n.createElement(li,{placeholder:i,onClose:r,innerRef:C,animate:a,contextId:t,onTransitionEnd:B})})),N=c((function(){return{innerRef:w,placeholder:R,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":t}}}),[t,u,R,w]),S=h?h.dragging.draggableId:null,O=c((function(){return{droppableId:u,type:s,isUsingCloneFor:S}}),[u,S,s]);return n.createElement(ui.Provider,{value:O},l(N,b),function(){if(!h)return null;var e=h.dragging,r=h.render,t=n.createElement(Ei,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(t,n){return r(t,n,e)}));return E.createPortal(t,I())}())}));Si.defaultProps=Ni}}]);
2//# sourceMappingURL=3780.78de4ccc.chunk.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.