react-beautiful-dnd
Version:
Beautiful, accessible drag and drop for lists with React.js
1 lines • 134 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t(e.ReactBeautifulDnd={},e.React)}(this,function(e,t){"use strict";var n="default"in t?t.default:t,r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e,t){return e(t={exports:{}},t.exports),t.exports}var a=o(i(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")}})),l=Math.ceil,u=Math.floor,s=function(e){return isNaN(e=+e)?0:(e>0?u:l)(e)},c=Object.freeze({default:s,__moduleExports:s}),d=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},p=Object.freeze({default:d,__moduleExports:d}),f=c&&s||c,g=p&&d||p,h=function(e){return function(t,n){var r,o,i=String(g(t)),a=f(n),l=i.length;return a<0||a>=l?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===l||(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}},v=Object.freeze({default:h,__moduleExports:h}),m=Object.freeze({default:!0,__moduleExports:!0}),b=i(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)}),y=Object.freeze({default:b,__moduleExports:b}),w=i(function(e){var t=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=t)}),x=w.version,S=Object.freeze({default:w,__moduleExports:w,version:x}),O=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},I=Object.freeze({default:O,__moduleExports:O}),D=I&&O||I,_=function(e,t,n){if(D(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)}},E=Object.freeze({default:_,__moduleExports:_}),C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},P=Object.freeze({default:C,__moduleExports:C}),M=P&&C||P,j=function(e){if(!M(e))throw TypeError(e+" is not an object!");return e},A=Object.freeze({default:j,__moduleExports:j}),T=function(e){try{return!!e()}catch(e){return!0}},N=Object.freeze({default:T,__moduleExports:T}),R=N&&T||N,k=!R(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),B=Object.freeze({default:k,__moduleExports:k}),L=y&&b||y,z=L.document,G=M(z)&&M(z.createElement),F=function(e){return G?z.createElement(e):{}},q=Object.freeze({default:F,__moduleExports:F}),W=B&&k||B,U=q&&F||q,V=!W&&!R(function(){return 7!=Object.defineProperty(U("div"),"a",{get:function(){return 7}}).a}),H=Object.freeze({default:V,__moduleExports:V}),K=function(e,t){if(!M(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!M(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!M(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!M(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},J=Object.freeze({default:K,__moduleExports:K}),Y=A&&j||A,X=H&&V||H,Q=J&&K||J,Z=Object.defineProperty,$=W?Object.defineProperty:function(e,t,n){if(Y(e),t=Q(t,!0),Y(n),X)try{return Z(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},ee={f:$},te=Object.freeze({default:ee,__moduleExports:ee,f:$}),ne=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},re=Object.freeze({default:ne,__moduleExports:ne}),oe=te&&ee||te,ie=re&&ne||re,ae=W?function(e,t,n){return oe.f(e,t,ie(1,n))}:function(e,t,n){return e[t]=n,e},le=Object.freeze({default:ae,__moduleExports:ae}),ue={}.hasOwnProperty,se=function(e,t){return ue.call(e,t)},ce=Object.freeze({default:se,__moduleExports:se}),de=S&&w||S,pe=E&&_||E,fe=le&&ae||le,ge=ce&&se||ce,he=function(e,t,n){var r,o,i,a=e&he.F,l=e&he.G,u=e&he.S,s=e&he.P,c=e&he.B,d=e&he.W,p=l?de:de[t]||(de[t]={}),f=p.prototype,g=l?L:u?L[t]:(L[t]||{}).prototype;for(r in l&&(n=t),n)(o=!a&&g&&void 0!==g[r])&&ge(p,r)||(i=o?g[r]:n[r],p[r]=l&&"function"!=typeof g[r]?n[r]:c&&o?pe(i,L):d&&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?pe(Function.call,i):i,s&&((p.virtual||(p.virtual={}))[r]=i,e&he.R&&f&&!f[r]&&fe(f,r,i)))};he.F=1,he.G=2,he.S=4,he.P=8,he.B=16,he.W=32,he.U=64,he.R=128;var ve=he,me=Object.freeze({default:ve,__moduleExports:ve}),be=fe,ye=Object.freeze({default:be,__moduleExports:be}),we={},xe=Object.freeze({default:we,__moduleExports:we}),Se={}.toString,Oe=function(e){return Se.call(e).slice(8,-1)},Ie=Object.freeze({default:Oe,__moduleExports:Oe}),De=Ie&&Oe||Ie,_e=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==De(e)?e.split(""):Object(e)},Ee=Object.freeze({default:_e,__moduleExports:_e}),Ce=Ee&&_e||Ee,Pe=function(e){return Ce(g(e))},Me=Object.freeze({default:Pe,__moduleExports:Pe}),je=Math.min,Ae=function(e){return e>0?je(f(e),9007199254740991):0},Te=Object.freeze({default:Ae,__moduleExports:Ae}),Ne=Math.max,Re=Math.min,ke=function(e,t){return(e=f(e))<0?Ne(e+t,0):Re(e,t)},Be=Object.freeze({default:ke,__moduleExports:ke}),Le=Me&&Pe||Me,ze=Te&&Ae||Te,Ge=Be&&ke||Be,Fe=function(e){return function(t,n,r){var o,i=Le(t),a=ze(i.length),l=Ge(r,a);if(e&&n!=n){for(;a>l;)if((o=i[l++])!=o)return!0}else for(;a>l;l++)if((e||l in i)&&i[l]===n)return e||l||0;return!e&&-1}},qe=Object.freeze({default:Fe,__moduleExports:Fe}),We=L["__core-js_shared__"]||(L["__core-js_shared__"]={}),Ue=function(e){return We[e]||(We[e]={})},Ve=Object.freeze({default:Ue,__moduleExports:Ue}),He=0,Ke=Math.random(),Je=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++He+Ke).toString(36))},Ye=Object.freeze({default:Je,__moduleExports:Je}),Xe=Ve&&Ue||Ve,Qe=Ye&&Je||Ye,Ze=Xe("keys"),$e=function(e){return Ze[e]||(Ze[e]=Qe(e))},et=Object.freeze({default:$e,__moduleExports:$e}),tt=et&&$e||et,nt=(qe&&Fe||qe)(!1),rt=tt("IE_PROTO"),ot=function(e,t){var n,r=Le(e),o=0,i=[];for(n in r)n!=rt&&ge(r,n)&&i.push(n);for(;t.length>o;)ge(r,n=t[o++])&&(~nt(i,n)||i.push(n));return i},it=Object.freeze({default:ot,__moduleExports:ot}),at="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),lt=Object.freeze({default:at,__moduleExports:at}),ut=it&&ot||it,st=lt&&at||lt,ct=Object.keys||function(e){return ut(e,st)},dt=Object.freeze({default:ct,__moduleExports:ct}),pt=dt&&ct||dt,ft=W?Object.defineProperties:function(e,t){Y(e);for(var n,r=pt(t),o=r.length,i=0;o>i;)oe.f(e,n=r[i++],t[n]);return e},gt=Object.freeze({default:ft,__moduleExports:ft}),ht=L.document,vt=ht&&ht.documentElement,mt=Object.freeze({default:vt,__moduleExports:vt}),bt=gt&&ft||gt,yt=mt&&vt||mt,wt=tt("IE_PROTO"),xt=function(){},St=function(){var e,t=U("iframe"),n=st.length;for(t.style.display="none",yt.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),St=e.F;n--;)delete St.prototype[st[n]];return St()},Ot=Object.create||function(e,t){var n;return null!==e?(xt.prototype=Y(e),n=new xt,xt.prototype=null,n[wt]=e):n=St(),void 0===t?n:bt(n,t)},It=Object.freeze({default:Ot,__moduleExports:Ot}),Dt=i(function(e){var t=Xe("wks"),n=L.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:Qe)("Symbol."+e))}).store=t}),_t=Object.freeze({default:Dt,__moduleExports:Dt}),Et=_t&&Dt||_t,Ct=oe.f,Pt=Et("toStringTag"),Mt=function(e,t,n){e&&!ge(e=n?e:e.prototype,Pt)&&Ct(e,Pt,{configurable:!0,value:t})},jt=Object.freeze({default:Mt,__moduleExports:Mt}),At=It&&Ot||It,Tt=jt&&Mt||jt,Nt={};fe(Nt,Et("iterator"),function(){return this});var Rt=function(e,t,n){e.prototype=At(Nt,{next:ie(1,n)}),Tt(e,t+" Iterator")},kt=Object.freeze({default:Rt,__moduleExports:Rt}),Bt=function(e){return Object(g(e))},Lt=Object.freeze({default:Bt,__moduleExports:Bt}),zt=Lt&&Bt||Lt,Gt=tt("IE_PROTO"),Ft=Object.prototype,qt=Object.getPrototypeOf||function(e){return e=zt(e),ge(e,Gt)?e[Gt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Ft:null},Wt=Object.freeze({default:qt,__moduleExports:qt}),Ut=!!m||m,Vt=me&&ve||me,Ht=ye&&be||ye,Kt=xe&&we||xe,Jt=kt&&Rt||kt,Yt=Wt&&qt||Wt,Xt=Et("iterator"),Qt=!([].keys&&"next"in[].keys()),Zt=function(){return this},$t=function(e,t,n,r,o,i,a){Jt(n,t,r);var l,u,s,c=function(e){if(!Qt&&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)}},d=t+" Iterator",p="values"==o,f=!1,g=e.prototype,h=g[Xt]||g["@@iterator"]||o&&g[o],v=h||c(o),m=o?p?c("entries"):v:void 0,b="Array"==t&&g.entries||h;if(b&&(s=Yt(b.call(new e)))!==Object.prototype&&s.next&&(Tt(s,d,!0),Ut||"function"==typeof s[Xt]||fe(s,Xt,Zt)),p&&h&&"values"!==h.name&&(f=!0,v=function(){return h.call(this)}),Ut&&!a||!Qt&&!f&&g[Xt]||fe(g,Xt,v),Kt[t]=v,Kt[d]=Zt,o)if(l={values:p?v:c("values"),keys:i?v:c("keys"),entries:m},a)for(u in l)u in g||Ht(g,u,l[u]);else Vt(Vt.P+Vt.F*(Qt||f),t,l);return l},en=Object.freeze({default:$t,__moduleExports:$t}),tn=en&&$t||en,nn=(v&&h||v)(!0);tn(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=nn(t,n),this._i+=e.length,{value:e,done:!1})});var rn=function(){},on=Object.freeze({default:rn,__moduleExports:rn}),an=function(e,t){return{value:t,done:!!e}},ln=Object.freeze({default:an,__moduleExports:an}),un=on&&rn||on,sn=ln&&an||ln;tn(Array,"Array",function(e,t){this._t=Le(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,sn(1)):sn(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");Kt.Arguments=Kt.Array,un("keys"),un("values"),un("entries");for(var cn=Et("toStringTag"),dn="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(","),pn=0;pn<dn.length;pn++){var fn=dn[pn],gn=L[fn],hn=gn&&gn.prototype;hn&&!hn[cn]&&fe(hn,cn,fn),Kt[fn]=Kt.Array}var vn=Et,mn={f:vn},bn=Object.freeze({default:mn,__moduleExports:mn,f:vn}),yn=bn&&mn||bn,wn=yn.f("iterator"),xn=Object.freeze({default:wn,__moduleExports:wn}),Sn=xn&&wn||xn,On=i(function(e){e.exports={default:Sn,__esModule:!0}}),In=o(On),Dn=Object.freeze({default:In,__moduleExports:On}),_n=i(function(e){var t=Qe("meta"),n=oe.f,r=0,o=Object.isExtensible||function(){return!0},i=!R(function(){return o(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},l=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!M(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!ge(e,t)){if(!o(e))return"F";if(!n)return"E";a(e)}return e[t].i},getWeak:function(e,n){if(!ge(e,t)){if(!o(e))return!0;if(!n)return!1;a(e)}return e[t].w},onFreeze:function(e){return i&&l.NEED&&o(e)&&!ge(e,t)&&a(e),e}}}),En=_n.KEY,Cn=_n.NEED,Pn=_n.fastKey,Mn=_n.getWeak,jn=_n.onFreeze,An=Object.freeze({default:_n,__moduleExports:_n,KEY:En,NEED:Cn,fastKey:Pn,getWeak:Mn,onFreeze:jn}),Tn=oe.f,Nn=function(e){var t=de.Symbol||(de.Symbol=Ut?{}:L.Symbol||{});"_"==e.charAt(0)||e in t||Tn(t,e,{value:yn.f(e)})},Rn=Object.freeze({default:Nn,__moduleExports:Nn}),kn=Object.getOwnPropertySymbols,Bn={f:kn},Ln=Object.freeze({default:Bn,__moduleExports:Bn,f:kn}),zn={}.propertyIsEnumerable,Gn={f:zn},Fn=Object.freeze({default:Gn,__moduleExports:Gn,f:zn}),qn=Ln&&Bn||Ln,Wn=Fn&&Gn||Fn,Un=function(e){var t=pt(e),n=qn.f;if(n)for(var r,o=n(e),i=Wn.f,a=0;o.length>a;)i.call(e,r=o[a++])&&t.push(r);return t},Vn=Object.freeze({default:Un,__moduleExports:Un}),Hn=Array.isArray||function(e){return"Array"==De(e)},Kn=Object.freeze({default:Hn,__moduleExports:Hn}),Jn=st.concat("length","prototype"),Yn=Object.getOwnPropertyNames||function(e){return ut(e,Jn)},Xn={f:Yn},Qn=Object.freeze({default:Xn,__moduleExports:Xn,f:Yn}),Zn=Qn&&Xn||Qn,$n=Zn.f,er={}.toString,tr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],nr=function(e){return tr&&"[object Window]"==er.call(e)?function(e){try{return $n(e)}catch(e){return tr.slice()}}(e):$n(Le(e))},rr={f:nr},or=Object.freeze({default:rr,__moduleExports:rr,f:nr}),ir=Object.getOwnPropertyDescriptor,ar=W?ir:function(e,t){if(e=Le(e),t=Q(t,!0),X)try{return ir(e,t)}catch(e){}if(ge(e,t))return ie(!Wn.f.call(e,t),e[t])},lr={f:ar},ur=Object.freeze({default:lr,__moduleExports:lr,f:ar}),sr=Rn&&Nn||Rn,cr=Vn&&Un||Vn,dr=Kn&&Hn||Kn,pr=or&&rr||or,fr=ur&&lr||ur,gr=(An&&_n||An).KEY,hr=fr.f,vr=oe.f,mr=pr.f,br=L.Symbol,yr=L.JSON,wr=yr&&yr.stringify,xr=Et("_hidden"),Sr=Et("toPrimitive"),Or={}.propertyIsEnumerable,Ir=Xe("symbol-registry"),Dr=Xe("symbols"),_r=Xe("op-symbols"),Er=Object.prototype,Cr="function"==typeof br,Pr=L.QObject,Mr=!Pr||!Pr.prototype||!Pr.prototype.findChild,jr=W&&R(function(){return 7!=At(vr({},"a",{get:function(){return vr(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=hr(Er,t);r&&delete Er[t],vr(e,t,n),r&&e!==Er&&vr(Er,t,r)}:vr,Ar=function(e){var t=Dr[e]=At(br.prototype);return t._k=e,t},Tr=Cr&&"symbol"==typeof br.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof br},Nr=function(e,t,n){return e===Er&&Nr(_r,t,n),Y(e),t=Q(t,!0),Y(n),ge(Dr,t)?(n.enumerable?(ge(e,xr)&&e[xr][t]&&(e[xr][t]=!1),n=At(n,{enumerable:ie(0,!1)})):(ge(e,xr)||vr(e,xr,ie(1,{})),e[xr][t]=!0),jr(e,t,n)):vr(e,t,n)},Rr=function(e,t){Y(e);for(var n,r=cr(t=Le(t)),o=0,i=r.length;i>o;)Nr(e,n=r[o++],t[n]);return e},kr=function(e){var t=Or.call(this,e=Q(e,!0));return!(this===Er&&ge(Dr,e)&&!ge(_r,e))&&(!(t||!ge(this,e)||!ge(Dr,e)||ge(this,xr)&&this[xr][e])||t)},Br=function(e,t){if(e=Le(e),t=Q(t,!0),e!==Er||!ge(Dr,t)||ge(_r,t)){var n=hr(e,t);return!n||!ge(Dr,t)||ge(e,xr)&&e[xr][t]||(n.enumerable=!0),n}},Lr=function(e){for(var t,n=mr(Le(e)),r=[],o=0;n.length>o;)ge(Dr,t=n[o++])||t==xr||t==gr||r.push(t);return r},zr=function(e){for(var t,n=e===Er,r=mr(n?_r:Le(e)),o=[],i=0;r.length>i;)!ge(Dr,t=r[i++])||n&&!ge(Er,t)||o.push(Dr[t]);return o};Cr||(Ht((br=function(){if(this instanceof br)throw TypeError("Symbol is not a constructor!");var e=Qe(arguments.length>0?arguments[0]:void 0),t=function(n){this===Er&&t.call(_r,n),ge(this,xr)&&ge(this[xr],e)&&(this[xr][e]=!1),jr(this,e,ie(1,n))};return W&&Mr&&jr(Er,e,{configurable:!0,set:t}),Ar(e)}).prototype,"toString",function(){return this._k}),fr.f=Br,oe.f=Nr,Zn.f=pr.f=Lr,Wn.f=kr,qn.f=zr,W&&!Ut&&Ht(Er,"propertyIsEnumerable",kr,!0),yn.f=function(e){return Ar(Et(e))}),Vt(Vt.G+Vt.W+Vt.F*!Cr,{Symbol:br});for(var Gr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Fr=0;Gr.length>Fr;)Et(Gr[Fr++]);for(var qr=pt(Et.store),Wr=0;qr.length>Wr;)sr(qr[Wr++]);Vt(Vt.S+Vt.F*!Cr,"Symbol",{for:function(e){return ge(Ir,e+="")?Ir[e]:Ir[e]=br(e)},keyFor:function(e){if(!Tr(e))throw TypeError(e+" is not a symbol!");for(var t in Ir)if(Ir[t]===e)return t},useSetter:function(){Mr=!0},useSimple:function(){Mr=!1}}),Vt(Vt.S+Vt.F*!Cr,"Object",{create:function(e,t){return void 0===t?At(e):Rr(At(e),t)},defineProperty:Nr,defineProperties:Rr,getOwnPropertyDescriptor:Br,getOwnPropertyNames:Lr,getOwnPropertySymbols:zr}),yr&&Vt(Vt.S+Vt.F*(!Cr||R(function(){var e=br();return"[null]"!=wr([e])||"{}"!=wr({a:e})||"{}"!=wr(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(M(t)||void 0!==e)&&!Tr(e))return dr(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Tr(t))return t}),r[1]=t,wr.apply(yr,r)}}),br.prototype[Sr]||fe(br.prototype,Sr,br.prototype.valueOf),Tt(br,"Symbol"),Tt(Math,"Math",!0),Tt(L.JSON,"JSON",!0),sr("asyncIterator"),sr("observable");var Ur=de.Symbol,Vr=Object.freeze({default:Ur,__moduleExports:Ur}),Hr=Vr&&Ur||Vr,Kr=i(function(e){e.exports={default:Hr,__esModule:!0}}),Jr=o(Kr),Yr=Object.freeze({default:Jr,__moduleExports:Kr}),Xr=Dn&&In||Dn,Qr=Yr&&Jr||Yr,Zr=i(function(e,t){t.__esModule=!0;var n=i(Xr),r=i(Qr),o="function"==typeof r.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":typeof e};function i(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof r.default&&"symbol"===o(n.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":void 0===e?"undefined":o(e)}}),$r=o(Zr),eo=o(i(function(e,t){t.__esModule=!0;var n,r=(n=Zr)&&n.__esModule?n:{default:n};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,r.default)(t))&&"function"!=typeof t?e:t}})),to=function(e,t){if(Y(e),!M(t)&&null!==t)throw TypeError(t+": can't set as prototype!")},no={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=pe(Function.call,fr.f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return to(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:to},ro=no.set,oo=no.check,io=Object.freeze({default:no,__moduleExports:no,set:ro,check:oo}),ao=io&&no||io;Vt(Vt.S,"Object",{setPrototypeOf:ao.set});var lo=de.Object.setPrototypeOf,uo=Object.freeze({default:lo,__moduleExports:lo}),so=uo&&lo||uo,co=i(function(e){e.exports={default:so,__esModule:!0}}),po=o(co),fo=Object.freeze({default:po,__moduleExports:co});Vt(Vt.S,"Object",{create:At});var go=de.Object,ho=function(e,t){return go.create(e,t)},vo=Object.freeze({default:ho,__moduleExports:ho}),mo=vo&&ho||vo,bo=i(function(e){e.exports={default:mo,__esModule:!0}}),yo=o(bo),wo=Object.freeze({default:yo,__moduleExports:bo}),xo=fo&&po||fo,So=wo&&yo||wo,Oo=o(i(function(e,t){t.__esModule=!0;var n=i(xo),r=i(So),o=i(Zr);function i(e){return e&&e.__esModule?e:{default:e}}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,o.default)(t)));e.prototype=(0,r.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}}));function Io(e){return function(){return e}}var Do=function(){};Do.thatReturns=Io,Do.thatReturnsFalse=Io(!1),Do.thatReturnsTrue=Io(!0),Do.thatReturnsNull=Io(null),Do.thatReturnsThis=function(){return this},Do.thatReturnsArgument=function(e){return e};var _o=Do,Eo=Object.freeze({default:_o,__moduleExports:_o}),Co=function(e){};var Po=function(e,t,n,r,o,i,a,l){if(Co(t),!e){var u;if(void 0===t)u=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,l],c=0;(u=new Error(t.replace(/%s/g,function(){return s[c++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}},Mo=Object.freeze({default:Po,__moduleExports:Po}),jo="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Ao=Object.freeze({default:jo,__moduleExports:jo}),To=Eo&&_o||Eo,No=Mo&&Po||Mo,Ro=Ao?jo:Ao,ko=function(){function e(e,t,n,r,o,i){i!==Ro&&No(!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=To,n.PropTypes=n,n},Bo=Object.freeze({default:ko,__moduleExports:ko}),Lo=Bo&&ko||Bo,zo=i(function(e){e.exports=Lo()}),Go="object"==typeof global&&global&&global.Object===Object&&global,Fo="object"==typeof self&&self&&self.Object===Object&&self,qo=(Go||Fo||Function("return this")()).Symbol,Wo=Object.prototype,Uo=Wo.hasOwnProperty,Vo=Wo.toString,Ho=qo?qo.toStringTag:void 0;var Ko=Object.prototype.toString;var Jo="[object Null]",Yo="[object Undefined]",Xo=qo?qo.toStringTag:void 0;function Qo(e){return null==e?void 0===e?Yo:Jo:Xo&&Xo in Object(e)?function(e){var t=Uo.call(e,Ho),n=e[Ho];try{e[Ho]=void 0;var r=!0}catch(e){}var o=Vo.call(e);return r&&(t?e[Ho]=n:delete e[Ho]),o}(e):function(e){return Ko.call(e)}(e)}var Zo,$o,ei=(Zo=Object.getPrototypeOf,$o=Object,function(e){return Zo($o(e))});var ti="[object Object]",ni=Function.prototype,ri=Object.prototype,oi=ni.toString,ii=ri.hasOwnProperty,ai=oi.call(Object);var li=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.Symbol;"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable";return t}}),ui=o(li),si=Object.freeze({default:ui,__moduleExports:li}),ci=si&&ui||si,di=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n,o,i=(n=ci)&&n.__esModule?n:{default:n};o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r?r:e;var a=(0,i.default)(o);t.default=a}),pi=o(di),fi=Object.freeze({default:pi,__moduleExports:di}),gi=fi&&pi||fi,hi={INIT:"@@redux/INIT"};function vi(e,t,n){var r;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(vi)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],l=a,u=!1;function s(){l===a&&(l=a.slice())}function c(){return i}function d(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return s(),l.push(e),function(){if(t){t=!1,s();var n=l.indexOf(e);l.splice(n,1)}}}function p(e){if(!function(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||Qo(e)!=ti)return!1;var t=ei(e);if(null===t)return!0;var n=ii.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&oi.call(n)==ai}(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(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,i=o(i,e)}finally{u=!1}for(var t=a=l,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:hi.INIT}),(r={dispatch:p,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,p({type:hi.INIT})}})[gi]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[gi]=function(){return this},e},r}function mi(e,t){return function(){return t(e.apply(void 0,arguments))}}function bi(){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))}})}var yi=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};var wi=o(i(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})),xi=function(e,t){var n=(de.Object||{})[e]||Object[e],r={};r[e]=t(n),Vt(Vt.S+Vt.F*R(function(){n(1)}),"Object",r)},Si=Object.freeze({default:xi,__moduleExports:xi});(Si&&xi||Si)("keys",function(){return function(e){return pt(zt(e))}});var Oi=de.Object.keys,Ii=Object.freeze({default:Oi,__moduleExports:Oi}),Di=Ii&&Oi||Ii,_i=o(i(function(e){e.exports={default:Di,__esModule:!0}})),Ei=Object.assign,Ci=!Ei||R(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Ei({},e)[n]||Object.keys(Ei({},t)).join("")!=r})?function(e,t){for(var n=zt(e),r=arguments.length,o=1,i=qn.f,a=Wn.f;r>o;)for(var l,u=Ce(arguments[o++]),s=i?pt(u).concat(i(u)):pt(u),c=s.length,d=0;c>d;)a.call(u,l=s[d++])&&(n[l]=u[l]);return n}:Ei,Pi=Object.freeze({default:Ci,__moduleExports:Ci}),Mi=Pi&&Ci||Pi;Vt(Vt.S+Vt.F,"Object",{assign:Mi});var ji=de.Object.assign,Ai=Object.freeze({default:ji,__moduleExports:ji}),Ti=Ai&&ji||Ai,Ni=i(function(e){e.exports={default:Ti,__esModule:!0}}),Ri=o(Ni),ki=Object.freeze({default:Ri,__moduleExports:Ni}),Bi=ki&&Ri||ki,Li=o(i(function(e,t){t.__esModule=!0;var n,r=(n=Bi)&&n.__esModule?n:{default:n};t.default=r.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}})),zi=function(e,t){return e===t};function Gi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zi,n=void 0,r=[],o=void 0,i=!1,a=function(e,n){return t(e,r[n])};return function(){for(var t=arguments.length,l=Array(t),u=0;u<t;u++)l[u]=arguments[u];return i&&n===this&&l.length===r.length&&l.every(a)?o:(i=!0,n=this,r=l,o=e.apply(this,l))}}var Fi,qi,Wi,Ui=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Vi=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Hi=function(e,t){return e.x===t.x&&e.y===t.y},Ki=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},Ji=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(n={})[e]=t,n["x"===e?"y":"x"]=r,n},Yi=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Xi=function(e,t){return Math.min.apply(Math,t.map(function(t){return Yi(e,t)}))},Qi=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},Zi={displaced:[],amount:{x:0,y:0},isBeyondStartPosition:!1},$i={movement:Zi,direction:null,destination:null},ea=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}}},ta=Gi(function(e,t){return _i(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})}),na=function(e,t){return function(n){return n<=t&&n>=e}},ra=function(e){var t=na(e.top,e.bottom),n=na(e.left,e.right);return function(e){return t(e.y)&&t(e.y)&&n(e.x)&&n(e.x)}},oa=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},ia=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},aa=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},la=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}]},ua={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},sa={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ca=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=Vi({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},da={x:0,y:0},pa={top:0,right:0,bottom:0,left:0},fa=function(e){var t=e.descriptor,n=e.borderBox,r=e.tagName,o=void 0===r?"div":r,i=e.display,a=void 0===i?"block":i,l=e.margin,u=void 0===l?pa:l,s=e.windowScroll,c=oa(n,void 0===s?da:s);return{descriptor:t,placeholder:{borderBox:n,margin:u,tagName:o,display:a},client:{borderBox:n,marginBox:ea(ia(n,u))},page:{borderBox:ea(c),marginBox:ea(ia(c,u))}}},ga=function(e,t){var n=ea({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},ha=function(e){var t=e.descriptor,n=e.borderBox,r=e.closest,o=e.direction,i=void 0===o?"vertical":o,a=e.margin,l=void 0===a?pa:a,u=e.padding,s=void 0===u?pa:u,c=e.border,d=void 0===c?pa:c,p=e.windowScroll,f=void 0===p?da:p,g=e.isEnabled,h=void 0===g||g,v=ea(ia(n,l)),m=ea(aa(n,d)),b=ea(aa(m,s)),y={borderBox:n,marginBox:v,contentBox:b},w={marginBox:ea(oa(v,f)),borderBox:ea(oa(n,f)),contentBox:ea(oa(b,f))},x=w.marginBox,S=function(){if(!r)return null;var e=ea(oa(r.frameBorderBox,f)),t=ca({scrollHeight:r.scrollHeight,scrollWidth:r.scrollWidth,height:e.height,width:e.width});return{frame:e,shouldClipSubject:r.shouldClipSubject,scroll:{initial:r.scroll,current:r.scroll,max:t,diff:{value:da,displacement:da}}}}(),O=S&&S.shouldClipSubject?ga(S.frame,x):x;return{descriptor:t,isEnabled:h,axis:"vertical"===i?ua:sa,client:y,page:w,viewport:{closestScrollable:S,subject:x,clipped:O}}},va=Gi(function(e,t,n){var r=function(t){var r=e.page.marginBox[n.axis.size];return r<=t?null:Ji(n.axis.line,r-t)},o=ta(n,t);if(!o.length)return r(n.page.marginBox[n.axis.size]);var i=o[o.length-1].page.marginBox[n.axis.end];return r(n.page.marginBox[n.axis.end]-i)}),ma=Gi(function(e,t){return ea((r=t,{top:(n=e).top-r.y,left:n.left-r.x,right:n.right+r.x,bottom:n.bottom+r.y}));var n,r}),ba=function(e){var t=e.target,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousDroppableOverId,a=_i(o).map(function(e){return o[e]}).filter(function(e){return e.isEnabled}).find(function(e){var o=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),l=r.viewport.clipped;if(!l)return l;if(i||!a)return l;var u=va(t,n,r);if(!u)return l;var s=ma(l,u),c=r.viewport.closestScrollable;return c&&c.shouldClipSubject?ga(c.frame,s):s}({draggable:n,draggables:r,droppable:e,previousDroppableOverId:i});return!!o&&ra(o)(t)});return a?a.descriptor.id:null},ya=Gi(function(e){return e.reduce(function(e,t){return e[t.draggableId]=t,e},{})}),wa=function(e){var t=na(e.top,e.bottom),n=na(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,l=r.left<e.left&&r.right>e.right;return!(!a||!l)||(a&&i||l&&o)}},xa=function(e){var t=na(e.top,e.bottom),n=na(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Sa={x:0,y:0},Oa=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.isVisibleThroughFrameFn,i=n.viewport.closestScrollable?n.viewport.closestScrollable.scroll.diff.displacement:Sa,a=oa(t,i);if(!n.viewport.clipped)return!1;var l=o(n.viewport.clipped)(a),u=o(r)(a);return l&&u},Ia=function(e){var t=e.target,n=e.destination,r=e.viewport;return Oa({target:t,destination:n,viewport:r,isVisibleThroughFrameFn:wa})},Da=function(e){var t=e.target,n=e.destination,r=e.viewport;return Oa({target:t,destination:n,viewport:r,isVisibleThroughFrameFn:xa})},_a=function(e){var t=e.draggable,n=e.destination,r=e.previousImpact,o=e.viewport,i=t.descriptor.id,a=ya(r.movement.displaced),l=Ia({target:t.page.marginBox,destination:n,viewport:o}),u=function(){if(!l)return!1;var e=a[i];return!e||e.shouldAnimate}();return{draggableId:i,isVisible:l,shouldAnimate:u}},Ea=function(e,t){var n=e.viewport.closestScrollable;return n?Ui(t,n.scroll.diff.value):t},Ca=function(e){var t=e.pageCenter,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,l=i.destination&&i.destination.droppableId,u=ba({target:t,draggable:n,draggables:r,droppables:o,previousDroppableOverId:l});if(!u)return $i;var s=o[u];if(!s.isEnabled)return $i;var c=o[n.descriptor.droppableId],d=c.descriptor.id===u,p=ta(s,r);return d?function(e){var t,n,r=e.pageCenter,o=e.draggable,i=e.home,a=e.insideHome,l=e.previousImpact,u=e.viewport,s=i.axis,c=o.page.borderBox.center,d=Ea(i,r),p=d[s.line]-c[s.line]>0,f=Ji(s.line,o.client.marginBox[s.size]),g=a.filter(function(e){if(e===o)return!1;var t=e.page.borderBox;return p?!(t.center[s.line]<c[s.line])&&d[s.line]>t[s.start]:!(c[s.line]<t.center[s.line])&&d[s.line]<t[s.end]}).map(function(e){return _a({draggable:e,destination:i,previousImpact:l,viewport:u.subject})}),h=p?g.reverse():g,v=(t=a.indexOf(o),(n=h.length)?p?t+n:t-n:t);return{movement:{amount:f,displaced:h,isBeyondStartPosition:p},direction:s.direction,destination:{droppableId:i.descriptor.id,index:v}}}({pageCenter:t,draggable:n,home:c,insideHome:p,previousImpact:i||$i,viewport:a}):function(e){var t=e.pageCenter,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact,a=e.viewport,l=r.axis,u=Ea(r,t),s=o.filter(function(e){return e.page.borderBox[l.end]>u[l.line]}).map(function(e){return _a({draggable:e,destination:r,previousImpact:i,viewport:a.subject})}),c=o.length-s.length;return{movement:{amount:Ji(l.line,n.page.marginBox[l.size]),displaced:s,isBeyondStartPosition:!1},direction:l.direction,destination:{droppableId:r.descriptor.id,index:c}}}({pageCenter:t,draggable:n,destination:s,insideDestination:p,previousImpact:i||$i,viewport:a})},Pa=function(e,t){var n=e.viewport.closestScrollable;return n?Ui(t,n.scroll.diff.displacement):t},Ma=function(e){var t=e.draggable,n=e.destination,r=e.newPageCenter,o=e.viewport,i=Vi(r,t.page.borderBox.center),a=oa(t.page.borderBox,i);return Da({target:a,destination:n,viewport:o})},ja=function(e){var t,n=e.source,r=e.sourceEdge,o=e.destination,i=e.destinationEdge,a=e.destinationAxis,l=function(e){return Ji(a.line,e[a[i]],e[a.crossAxisStart])},u=l(o),s=(t=Vi(n.center,l(n)),{x:Math.abs(t.x),y:Math.abs(t.y)}),c=Ji(a.line,("end"===r?-1:1)*s[a.line],s[a.crossAxisLine]);return Ui(u,c)},Aa=function(e){var t=e.add,n=e.previousImpact,r=e.droppable,o=e.draggables,i=e.viewport,a={draggableId:t,isVisible:!0,shouldAnimate:!0};return[a].concat(n.movement.displaced).map(function(e){return e===a?e:_a({draggable:o[e.draggableId],destination:r,previousImpact:n,viewport:i.subject})})},Ta=function(e){return e.isVisible?e:{draggableId:e.draggableId,isVisible:!0,shouldAnimate:!1}},Na=function(e){var t=e.dragging,n=e.isVisibleInNewLocation,r=e.previousImpact,o=e.droppable,i=e.draggables,a=r.movement.displaced;if(!a.length)return[];var l=a.slice(1,a.length);if(!l.length)return l;if(n)return l;var u=o.axis,s=i[a[0].draggableId].page.marginBox[u.size]+i[t].page.marginBox[u.size];return l.map(function(e,t){if(0===t)return Ta(e);if(s>0){var n=i[e.draggableId].page.marginBox[u.size];return s-=n,Ta(e)}return{draggableId:e.draggableId,isVisible:!1,shouldAnimate:!1}})},Ra=function(e){var t=e.draggableId,n=e.draggables,r=e.droppable,o=n[t].descriptor.droppableId===r.descriptor.id;return r.isEnabled?o?function(e){var t=e.isMovingForward,n=e.draggableId,r=e.previousPageCenter,o=e.previousImpact,i=e.droppable,a=e.draggables,l=e.viewport,u=o.destination;if(!u)return null;var s=a[n],c=i.axis,d=ta(i,a),p=s.descriptor.index,f=u.index,g=t?f+1:f-1;if(-1===p)return null;if(g>d.length-1)return null;if(g<0)return null;var h=d[g],v=t&&g<=p||!t&&g>=p,m=v?t?"start":"end":t?"end":"start",b=ja({source:s.page.borderBox,sourceEdge:m,destination:h.page.borderBox,destinationEdge:m,destinationAxis:i.axis}),y=Ma({draggable:s,destination:i,newPageCenter:b,viewport:l.subject}),w={movement:{displaced:v?Na({dragging:n,isVisibleInNewLocation:y,previousImpact:o,droppable:i,draggables:a}):Aa({add:h.descriptor.id,previousImpact:o,droppable:i,draggables:a,viewport:l}),amount:Ji(c.line,s.page.marginBox[c.size]),isBeyondStartPosition:g>p},destination:{droppableId:i.descriptor.id,index:g},direction:i.axis.direction};if(y)return{pageCenter:Pa(i,b),impact:w,scrollJumpRequest:null};var x=Vi(b,r);return{pageCenter:r,impact:w,scrollJumpRequest:Pa(i,x)}}(e):function(e){var t=e.isMovingForward,n=e.draggableId,r=e.previousImpact,o=e.previousPageCenter,i=e.droppable,a=e.draggables,l=e.viewport;if(!r.destination)return null;var u=r.destination,s=a[n],c=i.axis,d=ta(i,a),p=u.index,f=t?p+1:p-1,g=d.length-1;if(f>d.length)return null;if(f<0)return null;var h=d[Math.min(f,g)],v=f>g?"end":"start",m=ja({source:s.page.borderBox,sourceEdge:"start",destination:h.page.marginBox,destinationEdge:v,destinationAxis:i.axis}),b=Ma({draggable:s,destination:i,newPageCenter:m,viewport:l.subject}),y={movement:{displaced:t?Na({dragging:n,isVisibleInNewLocation:b,previousImpact:r,droppable:i,draggables:a}):Aa({add:h.descriptor.id,previousImpact:r,droppable:i,draggables:a,viewport:l}),amount:Ji(c.line,s.page.marginBox[c.size]),isBeyondStartPosition:!1},destination:{droppableId:i.descriptor.id,index:f},direction:i.axis.direction};if(b)return{pageCenter:Pa(i,m),impact:y,scrollJumpRequest:null};var w=Vi(m,o);return{pageCenter:o,impact:y,scrollJumpRequest:Pa(i,w)}}(e):null},ka=function(e,t){if(!e)throw new Error("Invariant failed")},Ba=function(e){var t=e.viewport.clipped;return ka(t,"Cannot get clipped area from droppable"),t},La=function(e){var t=e.pageCenter,n=e.destination,r=e.draggable,o=e.target,i=e.home,a=e.insideDestination,l=e.previousImpact,u=e.viewport,s=Ji(n.axis.line,r.client.marginBox[n.axis.size]);return n.descriptor.id===r.descriptor.droppableId?function(e){var t=e.amount,n=e.originalIndex,r=e.target,o=e.insideDroppable,i=e.draggable,a=e.droppable,l=e.previousImpact,u=e.viewport;if(!r)return null;var s=a.axis,c=o.indexOf(r);if(-1===c)return null;if(c===n){var d=i.page.borderBox.center,p={movement:{displaced:[],amount:t,isBeyondStartPosition:!1},direction:a.axis.direction,destination:{droppableId:a.descriptor.id,index:n}};return{pageCenter:Pa(a,d),impact:p}}var f=c>n,g=f?"end":"start",h=ja({source:i.page.borderBox,sourceEdge:g,destination:f?r.page.borderBox:r.page.marginBox,destinationEdge:g,destinationAxis:s}),v={movement:{displaced:function(){if(!f)return o.slice(c,n);var e=n+1,t=c+1;return o.slice(e,t).reverse()}().map(function(e){return _a({draggable:e,destination:a,previousImpact:l,viewport:u.subject})}),amount:t,isBeyondStartPosition:f},direction:s.direction,destination:{droppableId:a.descriptor.id,index:c}};return{pageCenter:Pa(a,h),impact:v}}({amount:s,originalIndex:i.index,target:o,insideDroppable:a,draggable:r,droppable:n,previousImpact:l,viewport:u}):function(e){var t=e.amount,n=e.pageCenter,r=e.target,o=e.insideDroppable,i=e.draggable,a=e.droppable,l=e.previousImpact,u=e.viewport,s=a.axis,c=Boolean(r&&n[a.axis.line]<r.page.marginBox.center[a.axis.line]);if(!r){var d=ja({source:i.page.borderBox,sourceEdge:"start",destination:a.page.contentBox,destinationEdge:"start",destinationAxis:s}),p={movement:{displaced:[],amount:t,isBeyondStartPosition:!1},direction:s.direction,destination:{droppableId:a.descriptor.id,index:0}};return{pageCenter:Pa(a,d),impact:p}}var f=o.indexOf(r),g=c?f:f+1;if(-1===f)return null;var h=ja({source:i.page.borderBox,sourceEdge:"start",destination:r.page.marginBox,destinationEdge:c?"start":"end",destinationAxis:s}),v={movement:{displaced:o.slice(g,o.length).map(function(e){return _a({draggable:e,destination:a,viewport:u.subject,previousImpact:l})}),amount:t,isBeyondStartPosition:!1},direction:s.direction,destination:{droppableId:a.descriptor.id,index:g}};return{pageCenter:Pa(a,h),impact:v}}({amount:s,pageCenter:t,target:o,insideDroppable:a,draggable:r,droppable:n,previousImpact:l,viewport:u})},za=function(e){var t=e.isMovingForward,n=e.pageCenter,r=e.draggableId,o=e.droppableId,i=e.home,a=e.draggables,l=e.droppables,u=e.previousImpact,s=e.viewport,c=a[r],d=function(e){var t=e.isMovingForward,n=e.pageCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.viewport.clipped;if(!a)return null;var l=r.axis,u=na(a[l.start],a[l.end]),s=_i(o).map(function(e){return o[e]}).filter(function(e){return e!==r}).filter(function(e){return e.isEnabled}).filter(function(e){var t=e.viewport.clipped;return!!t&&wa(i.subject)(t)}).filter(function(e){var n=Ba(e);return t?a[l.crossAxisEnd]<=n[l.crossAxisStart]:n[l.crossAxisEnd]<=a[l.crossAxisStart]}).filter(function(e){var t=Ba(e),n=na(t[l.start],t[l.end]);return u(t[l.start])||u(t[l.end])||n(a[l.start])||n(a[l.end])}).sort(function(e,n){var r=Ba(e)[l.crossAxisStart],o=Ba(n)[l.crossAxisStart];return t?r-o:o-r}).filter(function(e,t,n){return Ba(e)[l.crossAxisStart]===Ba(n[0])[l.crossAxisStart]});if(!s.length)return null;if(1===s.length)return s[0];var c=s.filter(function(e){return na(Ba(e)[l.start],Ba(e)[l.end])(n[l.line])});return 1===c.length?c[0]:c.length>1?c.sort(function(e,t){return Ba(e)[l.start]-Ba(t)[l.start]})[0]:s.sort(function(e,t){var r=Xi(n,la(Ba(e))),o=Xi(n,la(Ba(t)));return r!==o?r-o:Ba(e)[l.start]-Ba(t)[l.start]})[0]}({isMovingForward:t,pageCenter:n,source:l[o],droppables:l,viewport:s});if(!d)return null;var p=ta(d,a),f=function(e){var t=e.axis,n=e.viewport,r=e.pageCenter,o=e.destination,i=e.insideDestination;if(!i.length)return null;var a=i.filter(function(e){return Da({target:e.page.marginBox,destination:o,viewport:n.subject})}).sort(function(e,n){var i=Yi(r,Pa(o,e.page.marginBox.center)),a=Yi(r,Pa(o,n.page.marginBox.center));return i<a?-1:a<i?1:e.page.marginBox[t.start]-n.page.marginBox[t.start]});return a.length?a[0]:null}({axis:d.axis,pageCenter:n,destination:d,insideDestination:p,viewport:s});return p.length&&!f?null:La({pageCenter:n,destination:d,draggable:c,target:f,insideDestination:p,home:i,previousImpact:u||$i,viewport:s})},Ga={request:null,draggable:{},droppable:{}},Fa={x:0,y:0},qa=Gi(function(){return{phase:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"IDLE",drag:null,drop:null,dimension:Ga}}),Wa=function(e){return-1===["IDLE","DROP_ANIMATING","DROP_COMPLETE"].indexOf(e)},Ua=function(e){var t=e.state,n=e.clientSelection,r=e.shouldAnimate,o=e.viewport,i=e.impact,a=e.scrollJumpRequest;if("DRAGGING"!==t.phase)return qa();var l=t.drag;if(null==l)return qa();var u,s=l.current,c=l.initial,d=o||s.viewport,p=d.scroll,f={offset:u=Vi(n,c.client.selection),selection:n,center:Ui(u,c.client.center)},g={selection:Ui(f.selection,p),offset:Ui(f.offset,p),center:Ui(f.center,p)},h={client:f,page:g,shouldAnimate:r,viewport:d,hasCompletedFirstBulkPublish:s.hasCompletedFirstBulkPublish},v=i||Ca({pageCenter:g.center,draggable:t.dimension.draggable[c.descriptor.id],draggables:t.dimension.draggable,droppables:t.dimension.droppable,previousImpact:l.impact,viewport:d});return Li({},t,{drag:{initial:c,impact:v,current:h,scrollJumpRequest:a}})},Va=function(e,t){return"COLLECTING_INITIAL_DIMENSIONS"===e.phase?e:"DRAGGING"!==e.phase?e:e.drag?Ua({state:e,clientSelection:e.drag.current.client.selection,shouldAnimate:e.drag.current.shouldAnimate,impact:t}):qa()},Ha=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qa("IDLE"),t=arguments[1];if("CLEAN"===t.type)return qa();if("PREPARE"===t.type)return qa("PREPARING");if("REQUEST_DIMENSIONS"===t.type)return"PREPARING"!==e.phase?qa():{phase:"COLLECTING_INITIAL_DIMENSIONS",drag:null,drop:null,dimension:{request:t.payload,draggable:{},droppable:{}}};if("PUBLISH_DRAGGABLE_DIMENSION"===t.type){var n,r=t.payload;if(!Wa(e.phase))return e;var o=Li({},e,{dimension:{request:e.dimension.request,droppable:e.dimension.droppable,draggable:Li({},e.dimension.draggable,(n={},n[r.descriptor.id]=r,n))}});return Va(o)}if("PUBLISH_DROPPABLE_DIMENSION"===t.type){var i,a=t.payload;if(!Wa(e.phase))return e;var l=Li({},e,{dimension:{request:e.dimension.request,draggable:e.dimension.draggable,droppable:Li({},e.dimension.droppable,(i={},i[a.descriptor.id]=a,i))}});return Va(l)}if("BULK_DIMENSION_PUBLISH"===t.type){var u=t.payload.draggables,s=t.payload.droppables;if(!Wa(e.phase))return e;var c=u.reduce(function(e,t){return e[t.descriptor.id]=t,e},{}),d=s.reduce(function(e,t){return e[t.descriptor.id]=t,e},{}),p=function(){var t=e.drag;return t?t.current.hasCompletedFirstBulkPublish?t:Li({},t,{current:Li({},t.current,{hasCompletedFirstBulkPublish:!0})}):null}(),f=Li({},e,{drag:p,dimension:{request:e.dimension.request,draggable:Li({},e.dimension.draggable,c),droppable:Li({},e.dimension.droppable,d)}});return Va(f)}if("COMPLETE_LIFT"===t.type){if("COLLECTING_INITIAL_DIMENSIONS"!==e.phase)return e;var g=t.payload,h=g.id,v=g.client,m=g.viewport,b=g.autoScrollMode,y={selection:Ui(v.selection,m.scroll),center:Ui(v.center,m.scroll)},w=e.dimension.draggable[h];if(!w)return qa();var x=w.descriptor,S={descriptor:x,autoScrollMode:b,client:v,page:y,viewport:m},O={client:{selection:v.selection,center:v.center,offset:Fa},page:{selection:y.selection,center:y.center,offset:Fa},viewport:m,hasCompletedFirstBulkPublish:!1,shouldAnimate:!1},I=e.dimension.droppable[x.droppableId];if(!I)return qa();var D={index:x.index,droppableId:x.droppableId},_={movement:Zi,direction:I.axis.direction,destination:D};return Li({},e,{phase:"DRAGGING",drag:{initial:S,current:O,impact:_,scrollJumpRequest:null}})}if("UPDATE_DROPPABLE_DIMENSION_SCROLL"===t.type){var E;if("DRAGGING"!==e.phase)return qa();var C=e.drag;if(null==C)return qa();var P=t.payload,M=P.id,j=P.offset,A=e.dimension.droppable[M];if(!A)return e;var T=function(e,t){if(!e.viewport.closestScrollable)return e;var n=e.viewport.closestScrollable,r=n.frame,o=Vi(t,n.scroll.initial),i=Ki(o),a={frame:n.frame,shouldClipSubject:n.shouldClipSubject,scroll:{initial:n.scroll.initial,current:t,diff:{value:o,displacement:i},max:n.scroll.max}},l=oa(e.viewport.subject,i),u=a.shouldClipSubject?ga(r,l):ea(l),s={closestScrollable:a,subject:e.viewport.subject,clipped:u};return Li({},e,{viewport:s})}(A,j),N="JUMP"===C.initial.autoScrollMode?C.impact:null,R=Li({},e,{dimension:{request:e.dimension.request,draggable:e.dimension.draggable,droppable:Li({},e.dimension.droppable,(E={},E[M]=T,E))}});return Va(R,N)}if("UPDATE_DROPPABLE_DIMENSION_IS_ENABLED"===t.type){var k;if(!_i(e.dimension.droppable).length)return e;var B=t.payload,L=B.id,z=B.isEnabled,G=e.dimension.droppable[L];if(!G)return e;if(G.isEnabled===z)return e;var F=Li({},G,{isEnabled:z}),q=Li({},e,{dimension:Li({},e.dimension,{droppable:Li({},e.dimension.droppable,(k={},k[L]=F,k))})});return Va(q)}if("MOVE"===t.type){var W=t.payload,U=W.client,V=W.viewport,H=W.shouldAnimate,K=e.drag;if(!K)return e;var J=K.current.hasCompletedFirstBulkPublish?"JUMP"===K.initial.autoScrollMode?K.impact:null:K.impact;return Ua({state:e,clientSelection:U,viewport:V,shouldAnimate:H,impact:J})}if("MOVE_BY_WINDOW_SCROLL"===t.type){var Y=t.payload.viewport,X=e.drag;if(!X)return qa();if(Hi(Y.scroll,X.current.viewport.scroll))return e;var Q="JUMP"===X.initial.autoScrollMode?X.impact:null;return Ua({state:e,clientSelection:X.current.client.selection,viewport:Y,shouldAnimate:!1,impact:Q})}if("MOVE_FORWARD"===t.type||"MOVE_BACKWARD"===t.type){if("DRAGGING"!==e.phase)return qa();if(!e.drag)return qa();var Z=e.drag,$="MOVE_FORWARD"===t.type;if(!Z.impact.destination)return qa();var ee=e.dimension.droppable[Z.impact.destination.droppableId],te=Ra({isMovingForward:$,draggableId:Z.initial.descriptor.id,droppable:ee,draggables:e.dimension.draggable,previousPageCenter:Z.current.page.center,previousImpact:Z.impact,viewport:Z.current.viewport});if(!te)return e;var ne=te.impact,re=te.pageCenter,oe=Vi(re,Z.current.viewport.scroll);return Ua({state:e,impact:ne,clientSelection:oe,shouldAnimate:!0,scrollJumpRequest:te.scrollJumpRequest})}if("CROSS_AXIS_MOVE_FORWARD"===t.type||"CROSS_AXIS_MOVE_BACKWARD"===t.type){if("DRAGGING"!==e.phase)return qa();if(!e.drag)return qa();if(!e.drag.impact.destination)return qa();var ie=e.drag.current,ae=e.drag.initial.descriptor,le=ae.id,ue=ie.page.center,se=e.drag.impact.destination.droppableId,ce={index:ae.index,droppableId:ae.droppableId},de=za({isMovingForward:"CROSS_AXIS_MOVE_FORWARD"===t.type,pageCenter:ue,draggableId:le,droppableId:se,home:ce,draggables:e.dimension.draggable,droppables:e.dimension.droppable,previousImpact:e.drag.impact,viewport:ie.viewport});if(!de)return e;var pe=de.pageCenter,fe=Vi(pe,ie.viewport.scroll);return Ua({state:e,clientSelection:fe,impact:de.impact,shouldAnimate:!0})}if("DROP_ANIMATE"===t.type){var ge=t.payload,he=ge.newHomeOffset,ve=ge.impact,me=ge.result;return"DRAGGING"!==e.phase?e:e.drag?{phase:"DROP_ANIMATING",drag:null,drop:{pending:{newHomeOffset:he,result:me,impact:ve},result:null},dimension:e.dimension}:qa()}return"DROP_COMPLETE"===t.type?{phase:"DROP_COMPLETE",drag:null,drop:{pending:null,result:t.payload},dimension:Ga}:e},Ka="object"===("undefined"==typeof window?"undefined":$r(window))&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:bi,Ja=function(){return vi(Ha,Ka(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,a=e(n,r,o),l=a.dispatch,u={getState:a.getState,dispatch:function(e){return l(e)}};return i=t.map(function(e){return e(u)}),l=bi.apply(void 0,i)(a.dispatch),yi({},a,{dispatch:l})}}}(wi)))},Ya=function(e){return"\n You have lifted an item in position "+(e.source.index+1)+".\n Use the arrow keys to move, space bar to drop, and escape to cancel.\n"},Xa=function(e){return e.destination?e.source.droppableId===e.destination.droppableId?"You have moved the item to position "+(e.destination.index+1):"\n You have moved the item from list "+e.source.droppableId+" in position "+(e.source.index+1)+"\n to list "+e.destination.droppableId+" in position "+(e.destination.index+1)+"\n ":"You are currently not dragging over a droppable area"},Qa=function(e){return"CANCEL"===e.reason?"\n Movement cancelled.\n The item has returned to its starting position of "+(e.source.index+1)+"\n ":e.destination?e.source.droppableId===e.destination.droppableId?e.source.index===e.destination.index?"\n You have dropped the item.\n It has been dropped on its starting posi