UNPKG

react-beautiful-dnd

Version:

Beautiful, accessible drag and drop for lists with React.js

1 lines 141 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):e.ReactBeautifulDnd=t(e.React)}(this,function(e){"use strict";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(e){return function(){return e}}function o(e){return null==e?void 0===e?On:Sn:Mn&&Mn in Object(e)?function(e){var t=bn.call(e,wn),n=e[wn];try{e[wn]=void 0;var r=!0}catch(e){}var o=mn.call(e);return r&&(t?e[wn]=n:delete e[wn]),o}(e):function(e){return _n.call(e)}(e)}function i(e,t,n){function r(){p===f&&(p=f.slice())}function a(){return c}function u(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),p.push(e),function(){if(t){t=!1,r();var n=p.indexOf(e);p.splice(n,1)}}}function l(e){if(!function(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||o(e)!=In)return!1;var t=Dn(e);if(null===t)return!0;var n=xn.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Cn.call(n)==An}(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(g)throw new Error("Reducers may not dispatch actions.");try{g=!0,c=d(c,e)}finally{g=!1}for(var t=f=p,n=0;n<t.length;n++){(0,t[n])()}return e}var s;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(i)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var d=e,c=t,f=[],p=f,g=!1;return l({type:Rn.INIT}),s={dispatch:l,subscribe:u,getState:a,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");d=e,l({type:Rn.INIT})}},s[kn]=function(){var e,t=u;return e={subscribe:function(e){function n(){e.next&&e.next(a())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");return n(),{unsubscribe:t(n)}}},e[kn]=function(){return this},e},s}function a(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e,t){return function(){return t(e.apply(void 0,arguments))}}function l(e,t){if("function"==typeof e)return u(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),r={},o=0;o<n.length;o++){var i=n[o],a=e[i];"function"==typeof a&&(r[i]=u(a,t))}return r}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function d(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",r=arguments[1]||n+"Subscription",o=function(t){function o(e,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.call(this,e,r));return i[n]=e.store,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,t),o.prototype.getChildContext=function(){var e;return e={},e[n]=this[n],e[r]=null,e},o.prototype.render=function(){return e.Children.only(this.props.children)},o}(e.Component);return o.propTypes={store:Yr.isRequired,children:pn.element.isRequired},o.childContextTypes=(t={},t[n]=Yr.isRequired,t[r]=Xr,t),o}function c(){}function f(t){var n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=o.methodName,l=void 0===u?"connectAdvanced":u,s=o.renderCountProp,d=void 0===s?void 0:s,f=o.shouldHandleStateChanges,p=void 0===f||f,g=o.storeKey,v=void 0===g?"store":g,h=o.withRef,y=void 0!==h&&h,b=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=v+"Subscription",w=co++,_=(n={},n[v]=Yr,n[m]=Xr,n),S=(r={},r[m]=Xr,r);return function(n){io("function"==typeof n,"You must pass a component to the function returned by connect. Instead received "+JSON.stringify(n));var r=n.displayName||n.name||"Component",o=a(r),i=so({},b,{getDisplayName:a,methodName:l,renderCountProp:d,shouldHandleStateChanges:p,storeKey:v,withRef:y,displayName:o,wrappedComponentName:r,WrappedComponent:n}),u=function(r){function a(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.call(this,e,t));return n.version=w,n.state={},n.renderCount=0,n.store=e[v]||t[v],n.propsMode=Boolean(e[v]),n.setWrappedInstance=n.setWrappedInstance.bind(n),io(n.store,'Could not find "'+v+'" in either the context or props of "'+o+'". Either wrap the root component in a <Provider>, or explicitly pass "'+v+'" as a prop to "'+o+'".'),n.initSelector(),n.initSubscription(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r),a.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[m]=t||this.context[m],e},a.prototype.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},a.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=c,this.store=null,this.selector.run=c,this.selector.shouldComponentUpdate=!1},a.prototype.getWrappedInstance=function(){return io(y,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+l+"() call."),this.wrappedInstance},a.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},a.prototype.initSelector=function(){var e=t(this.store.dispatch,i);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(e,this.store),this.selector.run(this.props)},a.prototype.initSubscription=function(){if(p){var e=(this.propsMode?this.props:this.context)[m];this.subscription=new lo(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(fo)):this.notifyNestedSubs()},a.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.prototype.addExtraProps=function(e){if(!(y||d||this.propsMode&&this.subscription))return e;var t=so({},e);return y&&(t.ref=this.setWrappedInstance),d&&(t[d]=this.renderCount++),this.propsMode&&this.subscription&&(t[m]=this.subscription),t},a.prototype.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return e.createElement(n,this.addExtraProps(t.props))},a}(e.Component);return u.WrappedComponent=n,u.displayName=o,u.childContextTypes=S,u.contextTypes=_,u.propTypes=_,oo(u,n)}}function p(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function g(e,t){if(p(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!po.call(t,n[o])||!p(e[n[o]],t[n[o]]))return!1;return!0}function v(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function h(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function y(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=h(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=h(o),o=r(t,n)),o},r}}function b(e,t,n){return ho({},n,e,t)}function m(e,t,n,r,o){function i(o,i){var s=!u(i,c),v=!a(o,d);return d=o,c=i,s&&v?(f=e(d,c),t.dependsOnOwnProps&&(p=t(r,c)),g=n(f,p,c)):s?(e.dependsOnOwnProps&&(f=e(d,c)),t.dependsOnOwnProps&&(p=t(r,c)),g=n(f,p,c)):v?function(){var t=e(d,c),r=!l(t,f);return f=t,r&&(g=n(f,p,c)),g}():g}var a=o.areStatesEqual,u=o.areOwnPropsEqual,l=o.areStatePropsEqual,s=!1,d=void 0,c=void 0,f=void 0,p=void 0,g=void 0;return function(o,a){return s?i(o,a):function(o,i){return d=o,c=i,f=e(d,c),p=t(r,c),g=n(f,p,c),s=!0,g}(o,a)}}function w(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),u=r(e,i),l=o(e,i);return(i.pure?m:function(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}})(a,u,l,e,i)}function _(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}var S="default"in e?e.default:e,O="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},M=n(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),D=n(function(e){var t=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=t)}),I=(D.version,function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!")}(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}),P=function(e){return"object"==typeof e?null!==e:"function"==typeof e},E=function(e){if(!P(e))throw TypeError(e+" is not an object!");return e},C=function(e){try{return!!e()}catch(e){return!0}},x=!C(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),A=M.document,j=P(A)&&P(A.createElement),T=function(e){return j?A.createElement(e):{}},k=!x&&!C(function(){return 7!=Object.defineProperty(T("div"),"a",{get:function(){return 7}}).a}),R=function(e,t){if(!P(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!P(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!P(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!P(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},N=Object.defineProperty,L={f:x?Object.defineProperty:function(e,t,n){if(E(e),t=R(t,!0),E(n),k)try{return N(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},G=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},F=x?function(e,t,n){return L.f(e,t,G(1,n))}:function(e,t,n){return e[t]=n,e},q=function(e,t,n){var r,o,i,a=e&q.F,u=e&q.G,l=e&q.S,s=e&q.P,d=e&q.B,c=e&q.W,f=u?D:D[t]||(D[t]={}),p=f.prototype,g=u?M:l?M[t]:(M[t]||{}).prototype;u&&(n=t);for(r in n)(o=!a&&g&&void 0!==g[r])&&r in f||(i=o?g[r]:n[r],f[r]=u&&"function"!=typeof g[r]?n[r]:d&&o?I(i,M):c&&g[r]==i?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(i):s&&"function"==typeof i?I(Function.call,i):i,s&&((f.virtual||(f.virtual={}))[r]=i,e&q.R&&p&&!p[r]&&F(p,r,i)))};q.F=1,q.G=2,q.S=4,q.P=8,q.B=16,q.W=32,q.U=64,q.R=128;var B=q;B(B.S+B.F*!x,"Object",{defineProperty:L.f});var W=D.Object,K=function(e,t,n){return W.defineProperty(e,t,n)},V=n(function(e){e.exports={default:K,__esModule:!0}});t(V);var U=n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(V);t.default=function(e,t,r){return t in e?(0,n.default)(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}});t(U);var z=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},H=function(e){return Object(z(e))},X={}.hasOwnProperty,Y=function(e,t){return X.call(e,t)},J=M["__core-js_shared__"]||(M["__core-js_shared__"]={}),Q=function(e){return J[e]||(J[e]={})},Z=0,$=Math.random(),ee=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Z+$).toString(36))},te=Q("keys"),ne=function(e){return te[e]||(te[e]=ee(e))},re=ne("IE_PROTO"),oe=Object.prototype,ie=Object.getPrototypeOf||function(e){return e=H(e),Y(e,re)?e[re]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?oe:null},ae=function(e,t){var n=(D.Object||{})[e]||Object[e],r={};r[e]=t(n),B(B.S+B.F*C(function(){n(1)}),"Object",r)};ae("getPrototypeOf",function(){return function(e){return ie(H(e))}});var ue=D.Object.getPrototypeOf,le=n(function(e){e.exports={default:ue,__esModule:!0}});t(le);var se=n(function(e,t){t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}});t(se);var de=n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(V);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,n.default)(e,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()});t(de);var ce=Math.ceil,fe=Math.floor,pe=function(e){return isNaN(e=+e)?0:(e>0?fe:ce)(e)},ge=F,ve={},he={}.toString,ye=function(e){return he.call(e).slice(8,-1)},be=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==ye(e)?e.split(""):Object(e)},me=function(e){return be(z(e))},we=Math.min,_e=function(e){return e>0?we(pe(e),9007199254740991):0},Se=Math.max,Oe=Math.min,Me=function(e){return function(t,n,r){var o,i=me(t),a=_e(i.length),u=function(e,t){return(e=pe(e))<0?Se(e+t,0):Oe(e,t)}(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}}(!1),De=ne("IE_PROTO"),Ie=function(e,t){var n,r=me(e),o=0,i=[];for(n in r)n!=De&&Y(r,n)&&i.push(n);for(;t.length>o;)Y(r,n=t[o++])&&(~Me(i,n)||i.push(n));return i},Pe="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ee=Object.keys||function(e){return Ie(e,Pe)},Ce=x?Object.defineProperties:function(e,t){E(e);for(var n,r=Ee(t),o=r.length,i=0;o>i;)L.f(e,n=r[i++],t[n]);return e},xe=M.document,Ae=xe&&xe.documentElement,je=ne("IE_PROTO"),Te=function(){},ke=function(){var e,t=T("iframe"),n=Pe.length;for(t.style.display="none",Ae.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),ke=e.F;n--;)delete ke.prototype[Pe[n]];return ke()},Re=Object.create||function(e,t){var n;return null!==e?(Te.prototype=E(e),n=new Te,Te.prototype=null,n[je]=e):n=ke(),void 0===t?n:Ce(n,t)},Ne=n(function(e){var t=Q("wks"),n=M.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:ee)("Symbol."+e))}).store=t}),Le=L.f,Ge=Ne("toStringTag"),Fe=function(e,t,n){e&&!Y(e=n?e:e.prototype,Ge)&&Le(e,Ge,{configurable:!0,value:t})},qe={};F(qe,Ne("iterator"),function(){return this});var Be=function(e,t,n){e.prototype=Re(qe,{next:G(1,n)}),Fe(e,t+" Iterator")},We=Ne("iterator"),Ke=!([].keys&&"next"in[].keys()),Ve=function(){return this},Ue=function(e,t,n,r,o,i,a){Be(n,t,r);var u,l,s,d=function(e){if(!Ke&&e in g)return g[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},c=t+" Iterator",f="values"==o,p=!1,g=e.prototype,v=g[We]||g["@@iterator"]||o&&g[o],h=v||d(o),y=o?f?d("entries"):h:void 0,b="Array"==t?g.entries||v:v;if(b&&(s=ie(b.call(new e)))!==Object.prototype&&s.next&&Fe(s,c,!0),f&&v&&"values"!==v.name&&(p=!0,h=function(){return v.call(this)}),a&&(Ke||p||!g[We])&&F(g,We,h),ve[t]=h,ve[c]=Ve,o)if(u={values:f?h:d("values"),keys:i?h:d("keys"),entries:y},a)for(l in u)l in g||ge(g,l,u[l]);else B(B.P+B.F*(Ke||p),t,u);return u},ze=function(e){return function(t,n){var r,o,i=String(z(t)),a=pe(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}}(!0);Ue(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=ze(t,n),this._i+=e.length,{value:e,done:!1})});var He=function(e,t){return{value:t,done:!!e}};Ue(Array,"Array",function(e,t){this._t=me(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,He(1)):"keys"==t?He(0,n):"values"==t?He(0,e[n]):He(0,[n,e[n]])},"values");ve.Arguments=ve.Array;for(var Xe=Ne("toStringTag"),Ye="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),Je=0;Je<Ye.length;Je++){var Qe=Ye[Je],Ze=M[Qe],$e=Ze&&Ze.prototype;$e&&!$e[Xe]&&F($e,Xe,Qe),ve[Qe]=ve.Array}var et={f:Ne},tt=et.f("iterator"),nt=n(function(e){e.exports={default:tt,__esModule:!0}});t(nt);var rt=n(function(e){var t=ee("meta"),n=L.f,r=0,o=Object.isExtensible||function(){return!0},i=!C(function(){return o(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},u=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!P(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Y(e,t)){if(!o(e))return"F";if(!n)return"E";a(e)}return e[t].i},getWeak:function(e,n){if(!Y(e,t)){if(!o(e))return!0;if(!n)return!1;a(e)}return e[t].w},onFreeze:function(e){return i&&u.NEED&&o(e)&&!Y(e,t)&&a(e),e}}}),ot=(rt.KEY,rt.NEED,rt.fastKey,rt.getWeak,rt.onFreeze,L.f),it=function(e){var t=D.Symbol||(D.Symbol={});"_"==e.charAt(0)||e in t||ot(t,e,{value:et.f(e)})},at={f:Object.getOwnPropertySymbols},ut={f:{}.propertyIsEnumerable},lt=Array.isArray||function(e){return"Array"==ye(e)},st=Pe.concat("length","prototype"),dt={f:Object.getOwnPropertyNames||function(e){return Ie(e,st)}},ct=dt.f,ft={}.toString,pt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],gt={f:function(e){return pt&&"[object Window]"==ft.call(e)?function(e){try{return ct(e)}catch(e){return pt.slice()}}(e):ct(me(e))}},vt=Object.getOwnPropertyDescriptor,ht={f:x?vt:function(e,t){if(e=me(e),t=R(t,!0),k)try{return vt(e,t)}catch(e){}if(Y(e,t))return G(!ut.f.call(e,t),e[t])}},yt=rt.KEY,bt=ht.f,mt=L.f,wt=gt.f,_t=M.Symbol,St=M.JSON,Ot=St&&St.stringify,Mt=Ne("_hidden"),Dt=Ne("toPrimitive"),It={}.propertyIsEnumerable,Pt=Q("symbol-registry"),Et=Q("symbols"),Ct=Q("op-symbols"),xt=Object.prototype,At="function"==typeof _t,jt=M.QObject,Tt=!jt||!jt.prototype||!jt.prototype.findChild,kt=x&&C(function(){return 7!=Re(mt({},"a",{get:function(){return mt(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=bt(xt,t);r&&delete xt[t],mt(e,t,n),r&&e!==xt&&mt(xt,t,r)}:mt,Rt=function(e){var t=Et[e]=Re(_t.prototype);return t._k=e,t},Nt=At&&"symbol"==typeof _t.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof _t},Lt=function(e,t,n){return e===xt&&Lt(Ct,t,n),E(e),t=R(t,!0),E(n),Y(Et,t)?(n.enumerable?(Y(e,Mt)&&e[Mt][t]&&(e[Mt][t]=!1),n=Re(n,{enumerable:G(0,!1)})):(Y(e,Mt)||mt(e,Mt,G(1,{})),e[Mt][t]=!0),kt(e,t,n)):mt(e,t,n)},Gt=function(e,t){E(e);for(var n,r=function(e){var t=Ee(e),n=at.f;if(n)for(var r,o=n(e),i=ut.f,a=0;o.length>a;)i.call(e,r=o[a++])&&t.push(r);return t}(t=me(t)),o=0,i=r.length;i>o;)Lt(e,n=r[o++],t[n]);return e},Ft=function(e){var t=It.call(this,e=R(e,!0));return!(this===xt&&Y(Et,e)&&!Y(Ct,e))&&(!(t||!Y(this,e)||!Y(Et,e)||Y(this,Mt)&&this[Mt][e])||t)},qt=function(e,t){if(e=me(e),t=R(t,!0),e!==xt||!Y(Et,t)||Y(Ct,t)){var n=bt(e,t);return!n||!Y(Et,t)||Y(e,Mt)&&e[Mt][t]||(n.enumerable=!0),n}},Bt=function(e){for(var t,n=wt(me(e)),r=[],o=0;n.length>o;)Y(Et,t=n[o++])||t==Mt||t==yt||r.push(t);return r},Wt=function(e){for(var t,n=e===xt,r=wt(n?Ct:me(e)),o=[],i=0;r.length>i;)!Y(Et,t=r[i++])||n&&!Y(xt,t)||o.push(Et[t]);return o};At||(ge((_t=function(){if(this instanceof _t)throw TypeError("Symbol is not a constructor!");var e=ee(arguments.length>0?arguments[0]:void 0),t=function(n){this===xt&&t.call(Ct,n),Y(this,Mt)&&Y(this[Mt],e)&&(this[Mt][e]=!1),kt(this,e,G(1,n))};return x&&Tt&&kt(xt,e,{configurable:!0,set:t}),Rt(e)}).prototype,"toString",function(){return this._k}),ht.f=qt,L.f=Lt,dt.f=gt.f=Bt,ut.f=Ft,at.f=Wt,et.f=function(e){return Rt(Ne(e))}),B(B.G+B.W+B.F*!At,{Symbol:_t});for(var Kt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Vt=0;Kt.length>Vt;)Ne(Kt[Vt++]);for(var Ut=Ee(Ne.store),zt=0;Ut.length>zt;)it(Ut[zt++]);B(B.S+B.F*!At,"Symbol",{for:function(e){return Y(Pt,e+="")?Pt[e]:Pt[e]=_t(e)},keyFor:function(e){if(Nt(e))return function(e,t){for(var n,r=me(e),o=Ee(r),i=o.length,a=0;i>a;)if(r[n=o[a++]]===t)return n}(Pt,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){Tt=!0},useSimple:function(){Tt=!1}}),B(B.S+B.F*!At,"Object",{create:function(e,t){return void 0===t?Re(e):Gt(Re(e),t)},defineProperty:Lt,defineProperties:Gt,getOwnPropertyDescriptor:qt,getOwnPropertyNames:Bt,getOwnPropertySymbols:Wt}),St&&B(B.S+B.F*(!At||C(function(){var e=_t();return"[null]"!=Ot([e])||"{}"!=Ot({a:e})||"{}"!=Ot(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Nt(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(t=r[1])&&(n=t),!n&&lt(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Nt(t))return t}),r[1]=t,Ot.apply(St,r)}}}),_t.prototype[Dt]||F(_t.prototype,Dt,_t.prototype.valueOf),Fe(_t,"Symbol"),Fe(Math,"Math",!0),Fe(M.JSON,"JSON",!0),it("asyncIterator"),it("observable");var Ht=D.Symbol,Xt=n(function(e){e.exports={default:Ht,__esModule:!0}});t(Xt);var Yt=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(nt),o=n(Xt),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}});t(Yt);var Jt=n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(Yt);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,n.default)(t))&&"function"!=typeof t?e:t}});t(Jt);var Qt=function(e,t){if(E(e),!P(t)&&null!==t)throw TypeError(t+": can't set as prototype!")},Zt={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=I(Function.call,ht.f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return Qt(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:Qt};B(B.S,"Object",{setPrototypeOf:Zt.set});var $t=D.Object.setPrototypeOf,en=n(function(e){e.exports={default:$t,__esModule:!0}});t(en),B(B.S,"Object",{create:Re});var tn=D.Object,nn=function(e,t){return tn.create(e,t)},rn=n(function(e){e.exports={default:nn,__esModule:!0}});t(rn);var on=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(en),o=n(rn),i=n(Yt);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}});t(on);var an=function(){};an.thatReturns=r,an.thatReturnsFalse=r(!1),an.thatReturnsTrue=r(!0),an.thatReturnsNull=r(null),an.thatReturnsThis=function(){return this},an.thatReturnsArgument=function(e){return e};var un=an,ln=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],d=0;(l=new Error(t.replace(/%s/g,function(){return s[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}},sn=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,cn=Object.prototype.propertyIsEnumerable,fn=(function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()&&Object.assign,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"),pn=n(function(e){e.exports=function(){function e(e,t,n,r,o,i){i!==fn&&ln(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=un,n.PropTypes=n,n}()}),gn="object"==typeof global&&global&&global.Object===Object&&global,vn="object"==typeof self&&self&&self.Object===Object&&self,hn=(gn||vn||Function("return this")()).Symbol,yn=Object.prototype,bn=yn.hasOwnProperty,mn=yn.toString,wn=hn?hn.toStringTag:void 0,_n=Object.prototype.toString,Sn="[object Null]",On="[object Undefined]",Mn=hn?hn.toStringTag:void 0,Dn=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object),In="[object Object]",Pn=Function.prototype,En=Object.prototype,Cn=Pn.toString,xn=En.hasOwnProperty,An=Cn.call(Object),jn=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}});t(jn);var Tn=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,r=function(e){return e&&e.__esModule?e:{default:e}}(jn);n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==O?O:e;var o=(0,r.default)(n);t.default=o});t(Tn);var kn=Tn,Rn={INIT:"@@redux/INIT"},Nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ln=Object.freeze({createStore:i,combineReducers:function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];"function"==typeof e[o]&&(n[o]=e[o])}var i=Object.keys(n),u=void 0;try{!function(e){Object.keys(e).forEach(function(t){var n=e[t];if(void 0===n(void 0,{type:Rn.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+Rn.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(e){u=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(u)throw u;for(var r=!1,o={},l=0;l<i.length;l++){var s=i[l],d=n[s],c=e[s],f=d(c,t);if(void 0===f){var p=a(s,t);throw new Error(p)}o[s]=f,r=r||f!==c}return r?o:e}},bindActionCreators:l,applyMiddleware:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var i=e(n,r,o),a=i.dispatch,u=[],l={getState:i.getState,dispatch:function(e){return a(e)}};return u=t.map(function(e){return e(l)}),a=s.apply(void 0,u)(i.dispatch),Nn({},i,{dispatch:a})}}},compose:s}),Gn=n(function(e,t){function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}t.__esModule=!0;var r=n();r.withExtraArgument=n,t.default=r});t(Gn),ae("keys",function(){return function(e){return Ee(H(e))}});var Fn=D.Object.keys,qn=n(function(e){e.exports={default:Fn,__esModule:!0}});t(qn);var Bn=Object.assign,Wn=!Bn||C(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Bn({},e)[n]||Object.keys(Bn({},t)).join("")!=r})?function(e,t){for(var n=H(e),r=arguments.length,o=1,i=at.f,a=ut.f;r>o;)for(var u,l=be(arguments[o++]),s=i?Ee(l).concat(i(l)):Ee(l),d=s.length,c=0;d>c;)a.call(l,u=s[c++])&&(n[u]=l[u]);return n}:Bn;B(B.S+B.F,"Object",{assign:Wn});var Kn=D.Object.assign,Vn=n(function(e){e.exports={default:Kn,__esModule:!0}});t(Vn);var Un=n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(Vn);t.default=n.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}});t(Un);var zn=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=void 0,o=[],i=void 0,a=!1,u=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,n=Array(t),l=0;l<t;l++)n[l]=arguments[l];return a&&r===this&&n.length===o.length&&n.every(u)?i:(a=!0,r=this,o=n,i=e.apply(this,n))}};var n=function(e,t){return e===t}});t(zn);var Hn=function(e,t,n,r){try{return r?t(E(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&E(o.call(e)),t}},Xn=Ne("iterator"),Yn=Array.prototype,Jn=function(e,t,n){t in e?L.f(e,t,G(0,n)):e[t]=n},Qn=Ne("toStringTag"),Zn="Arguments"==ye(function(){return arguments}()),$n=Ne("iterator"),er=D.getIteratorMethod=function(e){if(void 0!=e)return e[$n]||e["@@iterator"]||ve[function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Qn))?n:Zn?ye(t):"Object"==(r=ye(t))&&"function"==typeof t.callee?"Arguments":r}(e)]},tr=Ne("iterator"),nr=!1;try{[7][tr]().return=function(){nr=!0}}catch(e){}B(B.S+B.F*!function(e,t){if(!t&&!nr)return!1;var n=!1;try{var r=[7],o=r[tr]();o.next=function(){return{done:n=!0}},r[tr]=function(){return o},e(r)}catch(e){}return n}(function(e){}),"Array",{from:function(e){var t,n,r,o,i=H(e),a="function"==typeof this?this:Array,u=arguments.length,l=u>1?arguments[1]:void 0,s=void 0!==l,d=0,c=er(i);if(s&&(l=I(l,u>2?arguments[2]:void 0,2)),void 0==c||a==Array&&function(e){return void 0!==e&&(ve.Array===e||Yn[Xn]===e)}(c))for(n=new a(t=_e(i.length));t>d;d++)Jn(n,d,s?l(i[d],d):i[d]);else for(o=c.call(i),n=new a;!(r=o.next()).done;d++)Jn(n,d,s?Hn(o,l,[r.value,d],!0):r.value);return n.length=d,n}});var rr=D.Array.from,or=n(function(e){e.exports={default:rr,__esModule:!0}});t(or);var ir=n(function(e,t){t.__esModule=!0;var n=function(e){return e&&e.__esModule?e:{default:e}}(or);t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,n.default)(e)}});t(ir);var ar=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.closest=t.distance=t.patch=t.absolute=t.negate=t.isEqual=t.subtract=t.add=void 0;var r=n(ir),o=n(U),i=(t.add=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},t.subtract=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},t.isEqual=function(e,t){return e.x===t.x&&e.y===t.y},t.negate=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},t.absolute=function(e){return{x:Math.abs(e.x),y:Math.abs(e.y)}},t.patch=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return n={},(0,o.default)(n,e,t),(0,o.default)(n,"x"===e?"y":"x",r),n},t.distance=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))});t.closest=function(e,t){return Math.min.apply(Math,(0,r.default)(t.map(function(t){return i(e,t)})))}});t(ar);ar.closest,ar.distance,ar.patch,ar.absolute,ar.negate,ar.isEqual,ar.subtract,ar.add;var ur=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n={movement:t.noMovement={displaced:[],amount:{x:0,y:0},isBeyondStartPosition:!1},direction:null,destination:null};t.default=n});t(ur);ur.noMovement;var lr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,center:{x:(n+o)/2,y:(r+t)/2}}}});t(lr);var sr=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(qn),o=n(zn);t.default=(0,o.default)(function(e,t){return(0,r.default)(t).map(function(e){return t[e]}).filter(function(t){return e.descriptor.id===t.descriptor.droppableId}).sort(function(e,t){return e.descriptor.index-t.descriptor.index})})});t(sr);var dr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n){return n<=t&&n>=e}}});t(dr);var cr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(dr);t.default=function(e){var t=(0,n.default)(e.top,e.bottom),r=(0,n.default)(e.left,e.right);return function(e){return t(e.y)&&t(e.y)&&r(e.x)&&r(e.x)}}});t(cr);var fr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getCorners=t.offset=t.isEqual=t.addPosition=t.add=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(Un);t.add=function(e,t){return{top:e.top+t.top,left:e.left+t.left,right:e.right+t.right,bottom:e.bottom+t.bottom}},t.addPosition=function(e,t){return(0,n.default)({},e,{right:e.right+t.x,bottom:e.bottom+t.y})},t.isEqual=function(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left},t.offset=function(e,t){return{top:e.top+t.y,right:e.right+t.x,bottom:e.bottom+t.y,left:e.left+t.x}},t.getCorners=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}]}});t(fr);fr.getCorners,fr.offset,fr.isEqual,fr.addPosition,fr.add;var pr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.vertical={direction:"vertical",line:"y",crossLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},t.horizontal={direction:"horizontal",line:"x",crossLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"}});t(pr);pr.vertical,pr.horizontal;var gr=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getDroppableDimension=t.scrollDroppable=t.clip=t.getDraggableDimension=t.noSpacing=void 0;var r=n(Un),o=n(lr),i={x:0,y:0},a=t.noSpacing={top:0,right:0,bottom:0,left:0},u=function(e,t){var n=e.top,r=e.right,i=e.bottom,a=e.left;return(0,o.default)({top:n+t.y,left:a+t.x,bottom:i+t.y,right:r+t.x})},l=function(e,t){var n=e.top,r=e.right,i=e.bottom,a=e.left;return(0,o.default)({top:n-t.top,left:a-t.left,bottom:i+t.bottom,right:r+t.right})},s=(t.getDraggableDimension=function(e){var t=e.descriptor,n=e.client,r=e.margin,s=void 0===r?a:r,d=e.windowScroll,c=u(n,void 0===d?i:d);return{descriptor:t,placeholder:{margin:s,withoutMargin:{width:n.width,height:n.height}},client:{withoutMargin:(0,o.default)(n),withMargin:(0,o.default)(l(n,s))},page:{withoutMargin:(0,o.default)(c),withMargin:(0,o.default)(l(c,s))}}},t.clip=function(e,t){var n=(0,o.default)({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<0||n.height<0?null:n});t.scrollDroppable=function(e,t){var n=e.viewport,o=(0,ar.subtract)(t,n.frameScroll.initial),i=(0,ar.negate)(o),a=(0,fr.offset)(n.subject,i),u={frame:n.frame,subject:n.subject,frameScroll:{initial:n.frameScroll.initial,current:t,diff:{value:o,displacement:i}},clipped:s(n.frame,a)};return(0,r.default)({},e,{viewport:u})},t.getDroppableDimension=function(e){var t=e.descriptor,n=e.client,r=e.frameClient,d=e.frameScroll,c=void 0===d?i:d,f=e.direction,p=void 0===f?"vertical":f,g=e.margin,v=void 0===g?a:g,h=e.padding,y=void 0===h?a:h,b=e.windowScroll,m=void 0===b?i:b,w=e.isEnabled,_=void 0===w||w,S=l(n,v),O=u(n,m),M=l(O,v),D=r?u(r,m):M,I={frame:D,frameScroll:{initial:c,current:c,diff:{value:i,displacement:i}},subject:M,clipped:s(D,M)};return{descriptor:t,isEnabled:_,axis:"vertical"===p?pr.vertical:pr.horizontal,client:{withoutMargin:(0,o.default)(n),withMargin:(0,o.default)(S),withMarginAndPadding:(0,o.default)(l(S,y))},page:{withoutMargin:(0,o.default)(O),withMargin:M,withMarginAndPadding:(0,o.default)(l(O,(0,fr.add)(v,y)))},viewport:I}}});t(gr);gr.getDroppableDimension,gr.scrollDroppable,gr.clip,gr.getDraggableDimension,gr.noSpacing;var vr=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(qn),o=n(zn),i=n(lr),a=n(sr),u=n(cr),l=(0,o.default)(function(e,t,n){var r=(0,a.default)(n,t);if(!r.length)return null;var o=r[r.length-1].page.withMargin[n.axis.end],i=n.page.withMargin[n.axis.end]-o,u=e.page.withMargin[n.axis.size];if(u<=i)return null;return(0,ar.patch)(n.axis.line,u-i)}),s=(0,o.default)(function(e,t){return(0,i.default)((0,fr.addPosition)(e,t))});t.default=function(e){var t=e.target,n=e.draggable,o=e.draggables,i=e.droppables,a=e.previousDroppableOverId,d=(0,r.default)(i).map(function(e){return i[e]}).filter(function(e){return e.isEnabled}).find(function(e){var r=function(e){var t=e.draggable,n=e.draggables,r=e.droppable,o=e.previousDroppableOverId,i=t.descriptor.droppableId===r.descriptor.id,a=Boolean(o&&o===r.descriptor.id),u=r.viewport.subject,d=r.viewport.frame,c=r.viewport.clipped;if(!c)return c;if(i||!a)return c;var f=l(t,n,r);if(!f)return c;var p=u[r.axis.size]!==d[r.axis.size],g=s(u,f);return p?(0,gr.clip)(d,g):g}({draggable:n,draggables:o,droppable:e,previousDroppableOverId:a});return!!r&&(0,u.default)(r)(t)});return d?d.descriptor.id:null}});t(vr);var hr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(zn);t.default=(0,n.default)(function(e){return e.reduce(function(e,t){return e[t.draggableId]=t,e},{})})});t(hr);var yr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(dr);t.default=function(e){var t=(0,n.default)(e.top,e.bottom),r=(0,n.default)(e.left,e.right);return function(n){if(t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right))return!0;var o=t(n.top)||t(n.bottom),i=r(n.left)||r(n.right);if(o&&i)return!0;var a=n.top<e.top&&n.bottom>e.bottom,u=n.left<e.left&&n.right>e.right;if(a&&u)return!0;return a&&i||u&&o}}});t(yr);var br=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(yr);t.default=function(e){var t=e.target,r=e.destination,o=e.viewport,i=r.viewport.frameScroll.diff.displacement,a=(0,fr.offset)(t,i);if(!r.viewport.clipped)return!1;var u=(0,n.default)(r.viewport.clipped)(a),l=(0,n.default)(o)(a);return u&&l}});t(br);var mr=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(hr),o=n(br);t.default=function(e){var t=e.draggable,n=e.destination,i=e.previousImpact,a=e.viewport,u=t.descriptor.id,l=(0,r.default)(i.movement.displaced),s=(0,o.default)({target:t.page.withMargin,destination:n,viewport:a}),d=function(){if(!s)return!1;var e=l[u];return!e||e.shouldAnimate}();return{draggableId:u,isVisible:s,shouldAnimate:d}}});t(mr);var wr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(lr);t.default=function(){var e=window.pageYOffset,t=window.pageXOffset,r=t+window.innerWidth,o=e+window.innerHeight;return(0,n.default)({top:e,left:t,right:r,bottom:o})}});t(wr);var _r=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(mr),o=n(wr);t.default=function(e){var t=e.pageCenter,n=e.draggable,i=e.home,a=e.insideHome,u=e.previousImpact,l=(0,o.default)(),s=i.axis,d=n.page.withoutMargin.center,c=i.viewport.frameScroll.diff.value,f=(0,ar.add)(t,c),p=f[s.line]-d[s.line]>0,g=(0,ar.patch)(s.line,n.client.withMargin[s.size]),v=a.filter(function(e){if(e===n)return!1;var t=e.page.withoutMargin;return p?!(t.center[s.line]<d[s.line])&&f[s.line]>t[s.start]:!(d[s.line]<t.center[s.line])&&f[s.line]<t[s.end]}).map(function(e){return(0,r.default)({draggable:e,destination:i,previousImpact:u,viewport:l})}),h=p?v.reverse():v,y=function(){var e=a.indexOf(n),t=h.length;return t?p?e+t:e-t:e}();return{movement:{amount:g,displaced:h,isBeyondStartPosition:p},direction:s.direction,destination:{droppableId:i.descriptor.id,index:y}}}});t(_r);var Sr=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(mr),o=n(wr);t.default=function(e){var t=e.pageCenter,n=e.draggable,i=e.destination,a=e.insideDestination,u=e.previousImpact,l=i.axis,s=(0,o.default)(),d=i.viewport.frameScroll.diff.value,c=(0,ar.add)(t,d),f=a.filter(function(e){return e.page.withoutMargin[l.end]>c[l.line]}).map(function(e){return(0,r.default)({draggable:e,destination:i,previousImpact:u,viewport:s})}),p=a.length-f.length;return{movement:{amount:(0,ar.patch)(l.line,n.page.withMargin[l.size]),displaced:f,isBeyondStartPosition:!1},direction:l.direction,destination:{droppableId:i.descriptor.id,index:p}}}});t(Sr);var Or=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(vr),o=n(sr),i=n(ur),a=n(_r),u=n(Sr);t.default=function(e){var t=e.pageCenter,n=e.draggable,l=e.draggables,s=e.droppables,d=e.previousImpact,c=d.destination&&d.destination.droppableId,f=(0,r.default)({target:t,draggable:n,draggables:l,droppables:s,previousDroppableOverId:c});if(!f)return i.default;var p=s[f];if(!p.isEnabled)return i.default;var g=s[n.descriptor.droppableId],v=g.descriptor.id===f,h=(0,o.default)(p,l);return v?(0,a.default)({pageCenter:t,draggable:n,home:g,insideHome:h,previousImpact:d||i.default}):(0,u.default)({pageCenter:t,draggable:n,destination:p,insideDestination:h,previousImpact:d||i.default})}});t(Or);var Mr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e&&e.__esModule?e:{default:e}}(br);t.default=function(e){var t=e.draggable,r=e.destination,o=e.newCenter,i=e.viewport,a=(0,ar.subtract)(o,t.page.withMargin.center),u=(0,fr.offset)(t.page.withMargin,a);return(0,n.default)({target:u,destination:r,viewport:i})}});t(Mr);var Dr=n(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.source,n=e.sourceEdge,r=e.destination,o=e.destinationEdge,i=e.destinationAxis,a=function(e){return(0,ar.patch)(i.line,e[i[o]],e[i.crossAxisStart])},u=a(r),l=(0,ar.absolute)((0,ar.subtract)(t.center,a(t))),s=(0,ar.patch)(i.line,("end"===n?-1:1)*l[i.line],l[i.crossLine]);return(0,ar.add)(u,s)}});t(Dr);var Ir=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(ir),o=n(zn),i=n(sr),a=n(Mr),u=n(wr),l=n(Dr),s=n(mr),d=(0,o.default)(function(e,t){return e.indexOf(t)});t.default=function(e){var t=e.isMovingForward,n=e.draggableId,o=e.previousImpact,c=e.droppable,f=e.draggables,p=o.destination;if(!p)return console.error("cannot move to next index when there is not previous destination"),null;var g=f[n],v=c.axis,h=(0,i.default)(c,f),y=d(h,g),b=p.index,m=t?b+1:b-1;if(-1===y)return console.error("could not find draggable inside current droppable"),null;if(m>h.length-1)return null;if(m<0)return null;var w=h[m],_=t&&m<=y||!t&&m>=y,S=_?t?"start":"end":t?"end":"start",O=(0,l.default)({source:g.page.withoutMargin,sourceEdge:S,destination:w.page.withoutMargin,destinationEdge:S,destinationAxis:c.axis}),M=(0,u.default)();if(!(0,a.default)({draggable:g,destination:c,newCenter:O,viewport:M}))return null;var D={draggableId:w.descriptor.id,isVisible:!0,shouldAnimate:!0};return{pageCenter:O,impact:{movement:{displaced:(_?o.movement.displaced.slice(1,o.movement.displaced.length):[D].concat((0,r.default)(o.movement.displaced))).map(function(e){var t=f[e.draggableId];return(0,s.default)({draggable:t,destination:c,previousImpact:o,viewport:M})}),amount:(0,ar.patch)(v.line,g.page.withMargin[v.size]),isBeyondStartPosition:m>y},destination:{droppableId:c.descriptor.id,index:m},direction:c.axis.direction}}}});t(Ir);var Pr=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(ir),o=n(sr),i=n(Dr),a=n(mr),u=n(wr),l=n(Mr);t.default=function(e){var t=e.isMovingForward,n=e.draggableId,s=e.previousImpact,d=e.droppable,c=e.draggables;if(!s.destination)return console.error("cannot move to next index when there is not previous destination"),null;var f=s.destination,p=c[n],g=d.axis,v=(0,o.default)(d,c),h=f.index,y=t?h+1:h-1,b=v.length-1;if(y>v.length)return null;if(y<0)return null;var m=v[Math.min(y,b)],w=y>b,_=w?"end":"start",S=(0,u.default)(),O=(0,i.default)({source:p.page.withoutMargin,sourceEdge:"start",destination:m.page.withMargin,destinationEdge:_,destinationAxis:d.axis});if(!(!!w||(0,l.default)({draggable:p,destination:d,newCenter:O,viewport:S})))return null;var M={draggableId:m.descriptor.id,isVisible:!0,shouldAnimate:!0},D={movement:{displaced:(t?s.movement.displaced.slice(1,s.movement.displaced.length):[M].concat((0,r.default)(s.movement.displaced))).map(function(e){if(e===M)return e;var t=c[e.draggableId];return(0,a.default)({draggable:t,destination:d,viewport:S,previousImpact:s})}),amount:(0,ar.patch)(g.line,p.page.withMargin[g.size]),isBeyondStartPosition:!1},destination:{droppableId:d.descriptor.id,index:y},direction:d.axis.direction};return{pageCenter:O,impact:D}}});t(Pr);var Er=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(Ir),o=n(Pr);t.default=function(e){var t=e.draggableId,n=e.draggables,i=e.droppable,a=n[t].descriptor.droppableId===i.descriptor.id;return i.isEnabled?a?(0,r.default)(e):(0,o.default)(e):null}});t(Er);var Cr=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(qn),o=n(dr),i=n(wr),a=n(yr),u=function(e){var t=e.viewport.clipped;if(!t)throw new Error("cannot get clipped area from droppable");return t};t.default=function(e){var t=e.isMovingForward,n=e.pageCenter,l=e.source,s=e.droppables,d=l.viewport.clipped;if(!d)return null;var c=l.axis,f=(0,o.default)(d[c.start],d[c.end]),p=(0,i.default)(),g=(0,r.default)(s).map(function(e){return s[e]}).filter(function(e){return e!==l}).filter(function(e){return e.isEnabled}).filter(function(e){return Boolean(e.viewport.clipped)}).filter(function(e){return(0,a.default)(p)(e.viewport.frame)}).filter(function(e){var n=u(e);return t?d[c.crossAxisEnd]<=n[c.crossAxisStart]:n[c.crossAxisEnd]<=d[c.crossAxisStart]}).filter(function(e){var t=u(e),n=(0,o.default