react-dnd-html5-backend
Advanced tools
Comparing version 4.0.4 to 4.0.5
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ReactDnDHTML5Backend=e():t.ReactDnDHTML5Backend=e()}(window,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=105)}([function(t,e,r){var n=r(27),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e,r){var n=r(52);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){var n=r(9);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(6)(Object,"create");t.exports=n},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(95),o=r(88);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FILE="__NATIVE_FILE__",e.URL="__NATIVE_URL__",e.TEXT="__NATIVE_TEXT__"},function(t,e,r){var n=r(28),o=r(26);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(0).Symbol;t.exports=n},function(t,e,r){var n=r(10),o=r(93),i=r(92),a="[object Null]",u="[object Undefined]",s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:s&&s in Object(t)?o(t):i(t)}},function(t,e,r){var n=r(29),o=r(101),i=r(99);t.exports=function(t,e){return i(o(t,e,n),t+"")}},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(36));e.isFirefox=o.default(function(){return/firefox/i.test(navigator.userAgent)}),e.isSafari=o.default(function(){return Boolean(window.safari)})},function(t,e,r){var n=r(8),o=r(4);t.exports=function(t){return o(t)&&n(t)}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e){t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},function(t,e,r){var n=r(46);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},function(t,e,r){var n=r(67),o=r(53),i=r(51),a=r(50),u=r(49);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(19),o=r(48),i=r(47);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(82),o=r(4),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,e){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=typeof t;return!!(e=null==e?r:e)&&("number"==o||"symbol"!=o&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){var r=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(94))},function(t,e,r){var n=r(11),o=r(5),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=n(t);return e==a||e==u||e==i||e==s}},function(t,e){t.exports=function(t){return t}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return n||((n=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n}},function(t,e){t.exports=function(t,e,r,n){var o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(e),s=0;s<i.length;s++){var c=i[s];if(!u(c))return!1;var f=t[c],p=e[c];if(!1===(o=r?r.call(n,f,p,c):void 0)||void 0===o&&f!==p)return!1}return!0}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function o(t,e,r){var o=r.value;if("function"!=typeof o)throw new Error("@autobind decorator can only be applied to methods not: "+(void 0===o?"undefined":n(o)));var i=!1;return{configurable:!0,get:function(){if(i||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof o)return o;var r=o.bind(this);return i=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){o=t,delete this[e]}}),i=!1,r},set:function(t){o=t}}}e.default=function(){return 1===arguments.length?function(t){var e=void 0;"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype))));return e.forEach(function(e){if("constructor"!==e){var r=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof r.value&&Object.defineProperty(t.prototype,e,o(t,e,r))}}),t}.apply(void 0,arguments):o.apply(void 0,arguments)}},function(t,e,r){"use strict";var n,o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var i=o(r(7));function a(t,e,r){var n=e.reduce(function(e,r){return e||t.getData(r)},null);return null!=n?n:r}var u=((n={})[i.FILE]={exposeProperty:"files",matchesTypes:["Files"],getData:function(t){return Array.prototype.slice.call(t.files)}},n[i.URL]={exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(t,e){return a(t,e,"").split("\n")}},n[i.TEXT]={exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(t,e){return a(t,e,"")}},n);e.createNativeDragSource=function(t){var e=u[t],r=e.exposeProperty,n=e.matchesTypes,o=e.getData;return function(){function t(){var t;this.item=(t={},Object.defineProperty(t,r,{get:function(){return console.warn("Browser doesn't allow reading \""+r+'" until the drop event.'),null},enumerable:!0,configurable:!0}),t)}return t.prototype.mutateItemByReadingDataTransfer=function(t){delete this.item[r],this.item[r]=o(t,n)},t.prototype.canDrag=function(){return!0},t.prototype.beginDrag=function(){return this.item},t.prototype.isDragging=function(t,e){return e===t.getSourceId()},t.prototype.endDrag=function(){},t}()},e.matchNativeItemType=function(t){var e=Array.prototype.slice.call(t.types||[]);return Object.keys(u).filter(function(t){return u[t].matchesTypes.some(function(t){return e.indexOf(t)>-1})})[0]||null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=t.length,n=[],o=0;o<r;o++)n.push(o);n.sort(function(e,r){return t[e]<t[r]?-1:1});var i,a,u=[],s=[],c=[];for(o=0;o<r-1;o++)i=t[o+1]-t[o],a=e[o+1]-e[o],s.push(i),u.push(a),c.push(a/i);var f=[c[0]];for(o=0;o<s.length-1;o++){var p=c[o],d=c[o+1];if(p*d<=0)f.push(0);else{i=s[o];var l=s[o+1],h=i+l;f.push(3*h/((h+l)/p+(h+i)/d))}}f.push(c[c.length-1]);var v,g=[],y=[];for(o=0;o<f.length-1;o++){v=c[o];var m=f[o],D=1/s[o];h=m+f[o+1]-v-v;g.push((v-m-h)*D),y.push(h*D*D)}this.xs=t,this.ys=e,this.c1s=f,this.c2s=g,this.c3s=y}return t.prototype.interpolate=function(t){var e=this,r=e.xs,n=e.ys,o=e.c1s,i=e.c2s,a=e.c3s,u=r.length-1;if(t===r[u])return n[u];for(var s,c=0,f=a.length-1;c<=f;){var p=r[s=Math.floor(.5*(c+f))];if(p<t)c=s+1;else{if(!(p>t))return n[s];f=s-1}}var d=t-r[u=Math.max(0,f)],l=d*d;return n[u]+o[u]*d+i[u]*l+a[u]*d*l},t}();e.default=n},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(13),i=n(r(34)),a=1;function u(t){var e=t.nodeType===a?t:t.parentElement;if(!e)return null;var r=e.getBoundingClientRect(),n=r.top;return{x:r.left,y:n}}e.getNodeClientOffset=u,e.getEventClientOffset=function(t){return{x:t.clientX,y:t.clientY}},e.getDragPreviewOffset=function(t,e,r,n,a){var s,c,f="IMG"===(s=e).nodeName&&(o.isFirefox()||!document.documentElement.contains(s)),p=u(f?t:e),d={x:r.x-p.x,y:r.y-p.y},l=t.offsetWidth,h=t.offsetHeight,v=n.anchorX,g=n.anchorY,y=function(t,e,r,n){var i=t?e.width:r,a=t?e.height:n;return o.isSafari()&&t&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(f,e,l,h),m=y.dragPreviewWidth,D=y.dragPreviewHeight,_=a.offsetX,b=a.offsetY,O=0===b||b;return{x:0===_||_?_:new i.default([0,.5,1],[d.x,d.x/l*m,d.x+m-l]).interpolate(v),y:O?b:(c=new i.default([0,.5,1],[d.y,d.y/h*D,d.y+D-h]).interpolate(g),o.isSafari()&&f&&(c+=(window.devicePixelRatio-1)*D),c)}}},function(t,e,r){var n=r(19),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},function(t,e,r){var n=r(20),o=r(18),i=r(17),a=r(37),u=r(21),s=r(16),c=200;t.exports=function(t,e,r,f){var p=-1,d=o,l=!0,h=t.length,v=[],g=e.length;if(!h)return v;r&&(e=a(e,u(r))),f?(d=i,l=!1):e.length>=c&&(d=s,l=!1,e=new n(e));t:for(;++p<h;){var y=t[p],m=null==r?y:r(y);if(y=f||0!==y?y:0,l&&m==m){for(var D=g;D--;)if(e[D]===m)continue t;v.push(y)}else d(e,m,f)||v.push(y)}return v}},function(t,e,r){var n=r(38),o=r(12),i=r(14),a=o(function(t,e){return i(t)?n(t,e):[]});t.exports=a},function(t,e){t.exports=function(){}},function(t,e,r){var n=r(6)(r(0),"Set");t.exports=n},function(t,e,r){var n=r(41),o=r(40),i=r(15),a=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=a},function(t,e){t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},function(t,e,r){var n=r(45),o=r(44),i=r(43);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e){var r="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,r),this}},function(t,e,r){var n=r(1);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},function(t,e,r){var n=r(1);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(1);t.exports=function(t){return n(this,t).get(t)}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(1);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e,r){var n=r(6)(r(0),"Map");t.exports=n},function(t,e,r){var n=r(2);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(2);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(2);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(2),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(59),o=r(58),i=r(57),a=r(56),u=r(55);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(3),o="__lodash_hash_undefined__";t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?o:e,this}},function(t,e,r){var n=r(3),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},function(t,e,r){var n=r(3),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return r===o?void 0:r}return i.call(e,t)?e[t]:void 0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(3);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e,r){var n=r(65),o=r(64),i=r(63),a=r(62),u=r(61);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(66),o=r(60),i=r(54);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(20),o=r(18),i=r(17),a=r(16),u=r(42),s=r(15),c=200;t.exports=function(t,e,r){var f=-1,p=o,d=t.length,l=!0,h=[],v=h;if(r)l=!1,p=i;else if(d>=c){var g=e?null:u(t);if(g)return s(g);l=!1,p=a,v=new n}else v=e?[]:h;t:for(;++f<d;){var y=t[f],m=e?e(y):y;if(y=r||0!==y?y:0,l&&m==m){for(var D=v.length;D--;)if(v[D]===m)continue t;e&&v.push(m),h.push(y)}else p(v,m,r)||(v!==h&&v.push(m),h.push(y))}return h}},function(t,e,r){var n=r(10),o=r(24),i=r(23),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},function(t,e,r){var n=r(70),o=r(69);t.exports=function t(e,r,i,a,u){var s=-1,c=e.length;for(i||(i=o),u||(u=[]);++s<c;){var f=e[s];r>0&&i(f)?r>1?t(f,r-1,i,a,u):n(u,f):a||(u[u.length]=f)}return u}},function(t,e,r){var n=r(71),o=r(12),i=r(68),a=r(14),u=o(function(t){return i(n(t,1,a,!0))});t.exports=u},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(72)),i=n(r(39)),a=function(){function t(){this.entered=[]}return t.prototype.enter=function(t){var e=this.entered.length;return this.entered=o.default(this.entered.filter(function(e){return document.documentElement.contains(e)&&(!e.contains||e.contains(t))}),[t]),0===e&&this.entered.length>0},t.prototype.leave=function(t){var e=this.entered.length;return this.entered=i.default(this.entered.filter(function(t){return document.documentElement.contains(t)}),t),e>0&&0===this.entered.length},t.prototype.reset=function(){this.entered=[]},t}();e.default=a},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){var n=r(5),o=r(75),i=r(74),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var u in t)("constructor"!=u||!e&&a.call(t,u))&&r.push(u);return r}},function(t,e,r){(function(t){var n=r(27),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,r(22)(t))},function(t,e,r){var n=r(11),o=r(26),i=r(4),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},function(t,e,r){var n=r(78),o=r(21),i=r(77),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},function(t,e){t.exports=function(){return!1}},function(t,e,r){(function(t){var n=r(0),o=r(80),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;t.exports=s}).call(this,r(22)(t))},function(t,e,r){var n=r(11),o=r(4),i="[object Arguments]";t.exports=function(t){return o(t)&&n(t)==i}},function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e,r){var n=r(83),o=r(24),i=r(23),a=r(81),u=r(25),s=r(79),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),f=!r&&o(t),p=!r&&!f&&a(t),d=!r&&!f&&!p&&s(t),l=r||f||p||d,h=l?n(t.length,String):[],v=h.length;for(var g in t)!e&&!c.call(t,g)||l&&("length"==g||p&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||u(g,v))||h.push(g);return h}},function(t,e,r){var n=r(84),o=r(76),i=r(8);t.exports=function(t){return i(t)?n(t,!0):o(t)}},function(t,e,r){var n=r(9),o=r(8),i=r(25),a=r(5);t.exports=function(t,e,r){if(!a(r))return!1;var u=typeof e;return!!("number"==u?o(r)&&i(e,r.length):"string"==u&&e in r)&&n(r[e],t)}},function(t,e){var r=800,n=16,o=Date.now;t.exports=function(t){var e=0,i=0;return function(){var a=o(),u=n-(a-i);if(i=a,u>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(0)["__core-js_shared__"];t.exports=n},function(t,e,r){var n,o=r(90),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n=r(10),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(28),o=r(91),i=r(5),a=r(89),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,f=s.toString,p=c.hasOwnProperty,d=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?d:u).test(a(t))}},function(t,e,r){var n=r(6),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,r){var n=r(97),o=r(96),i=r(29),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},function(t,e,r){var n=r(98),o=r(87)(n);t.exports=o},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(100),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),s=Array(u);++a<u;)s[a]=i[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=i[a];return c[e]=r(s),n(t,this,c)}}},function(t,e,r){var n=r(12),o=r(9),i=r(86),a=r(85),u=Object.prototype,s=u.hasOwnProperty,c=n(function(t,e){t=Object(t);var r=-1,n=e.length,c=n>2?e[2]:void 0;for(c&&i(e[0],e[1],c)&&(n=1);++r<n;)for(var f=e[r],p=a(f),d=-1,l=p.length;++d<l;){var h=p[d],v=t[h];(void 0===v||o(v,u[h])&&!s.call(t,h))&&(t[h]=f[h])}return t});t.exports=c},function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0});var a=o(r(102)),u=o(r(73)),s=r(13),c=r(35),f=r(33),p=i(r(7)),d=o(r(32)),l=o(r(31)),h=function(){function t(t){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.enterLeaveCounter=new u.default,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext()}return Object.defineProperty(t.prototype,"window",{get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0},enumerable:!0,configurable:!0}),t.prototype.setup=function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}},t.prototype.teardown=function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))},t.prototype.connectDragPreview=function(t,e,r){var n=this;return this.sourcePreviewNodeOptions.set(t,r),this.sourcePreviewNodes.set(t,e),function(){n.sourcePreviewNodes.delete(t),n.sourcePreviewNodeOptions.delete(t)}},t.prototype.connectDragSource=function(t,e,r){var n=this;this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,r);var o=function(e){return n.handleDragStart(e,t)},i=function(t){return n.handleSelectStart(t)};return e.setAttribute("draggable",!0),e.addEventListener("dragstart",o),e.addEventListener("selectstart",i),function(){n.sourceNodes.delete(t),n.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",o),e.removeEventListener("selectstart",i),e.setAttribute("draggable",!1)}},t.prototype.connectDropTarget=function(t,e){var r=this,n=function(e){return r.handleDragEnter(e,t)},o=function(e){return r.handleDragOver(e,t)},i=function(e){return r.handleDrop(e,t)};return e.addEventListener("dragenter",n),e.addEventListener("dragover",o),e.addEventListener("drop",i),function(){e.removeEventListener("dragenter",n),e.removeEventListener("dragover",o),e.removeEventListener("drop",i)}},t.prototype.addEventListeners=function(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))},t.prototype.removeEventListeners=function(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))},t.prototype.getCurrentSourceNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return a.default(e||{},{dropEffect:this.altKeyPressed?"copy":"move"})},t.prototype.getCurrentDropEffect=function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect},t.prototype.getCurrentSourcePreviewNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourcePreviewNodeOptions.get(t);return a.default(e||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})},t.prototype.getSourceClientOffset=function(t){return c.getNodeClientOffset(this.sourceNodes.get(t))},t.prototype.isDraggingNativeItem=function(){var t=this.monitor.getItemType();return Object.keys(p).some(function(e){return p[e]===t})},t.prototype.beginDragNativeItem=function(t){this.clearCurrentDragSourceNode();var e=f.createNativeDragSource(t);this.currentNativeSource=new e,this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])},t.prototype.asyncEndDragNativeItem=function(){this.window&&(this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem))},t.prototype.endDragNativeItem=function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},t.prototype.isNodeInDocument=function(t){return!!document&&document.body.contains(t)||!!this.window&&this.window.document.body.contains(t)},t.prototype.endDragIfSourceWasRemovedFromDOM=function(){var t=this.currentDragSourceNode;this.isNodeInDocument(t)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.setCurrentDragSourceNode=function(t){var e=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.currentDragSourceNodeOffset=c.getNodeClientOffset(t),this.currentDragSourceNodeOffsetChanged=!1;this.mouseMoveTimeoutTimer=setTimeout(function(){return e.mouseMoveTimeoutId=null,e.window&&e.window.addEventListener("mousemove",e.endDragIfSourceWasRemovedFromDOM,!0)},1e3)},t.prototype.clearCurrentDragSourceNode=function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)},t.prototype.checkIfCurrentDragSourceRectChanged=function(){var t=this.currentDragSourceNode;return!!t&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!l.default(c.getNodeClientOffset(t),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))},t.prototype.handleTopDragStartCapture=function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},t.prototype.handleDragStart=function(t,e){this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e)},t.prototype.handleTopDragStart=function(t){var e=this,r=this.dragStartSourceIds;this.dragStartSourceIds=null;var n=c.getEventClientOffset(t);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(r||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});var o=t.dataTransfer,i=f.matchNativeItemType(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),u=this.sourceNodes.get(a),s=this.sourcePreviewNodes.get(a)||u,p=this.getCurrentSourcePreviewNodeOptions(),d={anchorX:p.anchorX,anchorY:p.anchorY},l={offsetX:p.offsetX,offsetY:p.offsetY},h=c.getDragPreviewOffset(u,s,n,d,l);o.setDragImage(s,h.x,h.y)}try{o.setData("application/json",{})}catch(t){}this.setCurrentDragSourceNode(t.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout(function(){return e.actions.publishDragSource()},0)}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||t.target.hasAttribute&&t.target.hasAttribute("draggable")))return;t.preventDefault()}},t.prototype.handleTopDragEndCapture=function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.handleTopDragEnterCapture=function(t){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(t.target)&&!this.monitor.isDragging()){var e=t.dataTransfer,r=f.matchNativeItemType(e);r&&this.beginDragNativeItem(r)}},t.prototype.handleDragEnter=function(t,e){this.dragEnterTargetIds.unshift(e)},t.prototype.handleTopDragEnter=function(t){var e=this,r=this.dragEnterTargetIds;(this.dragEnterTargetIds=[],this.monitor.isDragging())&&(this.altKeyPressed=t.altKey,s.isFirefox()||this.actions.hover(r,{clientOffset:c.getEventClientOffset(t)}),r.some(function(t){return e.monitor.canDropOnTarget(t)})&&(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect()))},t.prototype.handleTopDragOverCapture=function(){this.dragOverTargetIds=[]},t.prototype.handleDragOver=function(t,e){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)},t.prototype.handleTopDragOver=function(t){var e=this,r=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer.dropEffect="none");this.altKeyPressed=t.altKey,this.actions.hover(r||[],{clientOffset:c.getEventClientOffset(t)}),(r||[]).some(function(t){return e.monitor.canDropOnTarget(t)})?(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(t.preventDefault(),t.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(t.preventDefault(),t.dataTransfer.dropEffect="move")},t.prototype.handleTopDragLeaveCapture=function(t){this.isDraggingNativeItem()&&t.preventDefault(),this.enterLeaveCounter.leave(t.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()},t.prototype.handleTopDropCapture=function(t){this.dropTargetIds=[],t.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(t.dataTransfer),this.enterLeaveCounter.reset()},t.prototype.handleDrop=function(t,e){this.dropTargetIds.unshift(e)},t.prototype.handleTopDrop=function(t){var e=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(e,{clientOffset:c.getEventClientOffset(t)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()},t.prototype.handleSelectStart=function(t){var e=t.target;"function"==typeof e.dragDrop&&("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable||(t.preventDefault(),e.dragDrop()))},n([d.default],t.prototype,"getSourceClientOffset",null),n([d.default],t.prototype,"asyncEndDragNativeItem",null),n([d.default],t.prototype,"endDragNativeItem",null),n([d.default],t.prototype,"isNodeInDocument",null),n([d.default],t.prototype,"endDragIfSourceWasRemovedFromDOM",null),n([d.default],t.prototype,"handleTopDragStartCapture",null),n([d.default],t.prototype,"handleTopDragStart",null),n([d.default],t.prototype,"handleTopDragEndCapture",null),n([d.default],t.prototype,"handleTopDragEnterCapture",null),n([d.default],t.prototype,"handleTopDragEnter",null),n([d.default],t.prototype,"handleTopDragOverCapture",null),n([d.default],t.prototype,"handleTopDragOver",null),n([d.default],t.prototype,"handleTopDragLeaveCapture",null),n([d.default],t.prototype,"handleTopDropCapture",null),n([d.default],t.prototype,"handleTopDrop",null),n([d.default],t.prototype,"handleSelectStart",null),t}();e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e};Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r(104));var i=n(r(103)),a=n(r(30));e.getEmptyImage=a.default;var u=o(r(7));e.NativeTypes=u,e.default=function(t){return new i.default(t)}}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ReactDnDHTML5Backend=e():t.ReactDnDHTML5Backend=e()}(window,function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=105)}([function(t,e,r){var n=r(29),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e,r){var n=r(65);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){var n=r(9);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(5)(Object,"create");t.exports=n},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(87),o=r(83);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FILE="__NATIVE_FILE__",e.URL="__NATIVE_URL__",e.TEXT="__NATIVE_TEXT__"},function(t,e,r){var n=r(25),o=r(17);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(26),o=r(93),i=r(91);t.exports=function(t,e){return i(o(t,e,n),t+"")}},function(t,e,r){var n=r(12),o=r(95),i=r(94),a="[object Null]",u="[object Undefined]",s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:s&&s in Object(t)?o(t):i(t)}},function(t,e,r){var n=r(0).Symbol;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=typeof t;return!!(e=null==e?r:e)&&("number"==o||"symbol"!=o&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(49);e.isFirefox=n(function(){return/firefox/i.test(navigator.userAgent)}),e.isSafari=n(function(){return Boolean(window.safari)})},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e){var r=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}},function(t,e,r){var n=r(8),o=r(6);t.exports=function(t){return o(t)&&n(t)}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e){t.exports=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}},function(t,e,r){var n=r(59);t.exports=function(t,e){return!(null==t||!t.length)&&n(t,e,0)>-1}},function(t,e,r){var n=r(80),o=r(66),i=r(64),a=r(63),u=r(62);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(23),o=r(61),i=r(60);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},function(t,e,r){var n=r(11),o=r(4),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=n(t);return e==a||e==u||e==i||e==s}},function(t,e){t.exports=function(t){return t}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(96),o=r(6),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(97))},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return n||((n=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n}},function(t,e){t.exports=function(t,e,r,n){var o=r?r.call(n,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!=typeof t||!t||"object"!=typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(e),s=0;s<i.length;s++){var c=i[s];if(!u(c))return!1;var f=t[c],p=e[c];if(!1===(o=r?r.call(n,f,p,c):void 0)||void 0===o&&f!==p)return!1}return!0}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){var n=r(4),o=r(33),i=r(32),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var u in t)("constructor"!=u||!e&&a.call(t,u))&&r.push(u);return r}},function(t,e,r){(function(t){var n=r(29),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,r(13)(t))},function(t,e,r){var n=r(11),o=r(17),i=r(6),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},function(t,e,r){var n=r(36),o=r(16),i=r(35),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},function(t,e){t.exports=function(){return!1}},function(t,e,r){(function(t){var n=r(0),o=r(38),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;t.exports=s}).call(this,r(13)(t))},function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e,r){var n=r(40),o=r(28),i=r(27),a=r(39),u=r(14),s=r(37),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),f=!r&&o(t),p=!r&&!f&&a(t),d=!r&&!f&&!p&&s(t),l=r||f||p||d,h=l?n(t.length,String):[],v=h.length;for(var g in t)!e&&!c.call(t,g)||l&&("length"==g||p&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||u(g,v))||h.push(g);return h}},function(t,e,r){var n=r(41),o=r(34),i=r(8);t.exports=function(t){return i(t)?n(t,!0):o(t)}},function(t,e,r){var n=r(9),o=r(8),i=r(14),a=r(4);t.exports=function(t,e,r){if(!a(r))return!1;var u=typeof e;return!!("number"==u?o(r)&&i(e,r.length):"string"==u&&e in r)&&n(r[e],t)}},function(t,e,r){var n=r(10),o=r(9),i=r(43),a=r(42),u=Object.prototype,s=u.hasOwnProperty,c=n(function(t,e){t=Object(t);var r=-1,n=e.length,c=n>2?e[2]:void 0;for(c&&i(e[0],e[1],c)&&(n=1);++r<n;)for(var f=e[r],p=a(f),d=-1,l=p.length;++d<l;){var h=p[d],v=t[h];(void 0===v||o(v,u[h])&&!s.call(t,h))&&(t[h]=f[h])}return t});t.exports=c},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function o(t,e,r){var o=r.value;if("function"!=typeof o)throw new Error("@autobind decorator can only be applied to methods not: "+(void 0===o?"undefined":n(o)));var i=!1;return{configurable:!0,get:function(){if(i||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof o)return o;var r=o.bind(this);return i=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return r},set:function(t){o=t,delete this[e]}}),i=!1,r},set:function(t){o=t}}}e.default=function(){return 1===arguments.length?function(t){var e=void 0;"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype))));return e.forEach(function(e){if("constructor"!==e){var r=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof r.value&&Object.defineProperty(t.prototype,e,o(t,e,r))}}),t}.apply(void 0,arguments):o.apply(void 0,arguments)}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var o=r(7);function i(t,e,r){var n=e.reduce(function(e,r){return e||t.getData(r)},null);return null!=n?n:r}var a=((n={})[o.FILE]={exposeProperty:"files",matchesTypes:["Files"],getData:function(t){return Array.prototype.slice.call(t.files)}},n[o.URL]={exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(t,e){return i(t,e,"").split("\n")}},n[o.TEXT]={exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(t,e){return i(t,e,"")}},n);e.createNativeDragSource=function(t){var e=a[t],r=e.exposeProperty,n=e.matchesTypes,o=e.getData;return function(){function t(){var t;this.item=(t={},Object.defineProperty(t,r,{get:function(){return console.warn("Browser doesn't allow reading \""+r+'" until the drop event.'),null},enumerable:!0,configurable:!0}),t)}return t.prototype.mutateItemByReadingDataTransfer=function(t){delete this.item[r],this.item[r]=o(t,n)},t.prototype.canDrag=function(){return!0},t.prototype.beginDrag=function(){return this.item},t.prototype.isDragging=function(t,e){return e===t.getSourceId()},t.prototype.endDrag=function(){},t}()},e.matchNativeItemType=function(t){var e=Array.prototype.slice.call(t.types||[]);return Object.keys(a).filter(function(t){return a[t].matchesTypes.some(function(t){return e.indexOf(t)>-1})})[0]||null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=t.length,n=[],o=0;o<r;o++)n.push(o);n.sort(function(e,r){return t[e]<t[r]?-1:1});var i,a,u=[],s=[],c=[];for(o=0;o<r-1;o++)i=t[o+1]-t[o],a=e[o+1]-e[o],s.push(i),u.push(a),c.push(a/i);var f=[c[0]];for(o=0;o<s.length-1;o++){var p=c[o],d=c[o+1];if(p*d<=0)f.push(0);else{i=s[o];var l=s[o+1],h=i+l;f.push(3*h/((h+l)/p+(h+i)/d))}}f.push(c[c.length-1]);var v,g=[],y=[];for(o=0;o<f.length-1;o++){v=c[o];var m=f[o],D=1/s[o];h=m+f[o+1]-v-v;g.push((v-m-h)*D),y.push(h*D*D)}this.xs=t,this.ys=e,this.c1s=f,this.c2s=g,this.c3s=y}return t.prototype.interpolate=function(t){var e=this,r=e.xs,n=e.ys,o=e.c1s,i=e.c2s,a=e.c3s,u=r.length-1;if(t===r[u])return n[u];for(var s,c=0,f=a.length-1;c<=f;){var p=r[s=Math.floor(.5*(c+f))];if(p<t)c=s+1;else{if(!(p>t))return n[s];f=s-1}}var d=t-r[u=Math.max(0,f)],l=d*d;return n[u]+o[u]*d+i[u]*l+a[u]*d*l},t}();e.default=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(15),o=r(47),i=1;function a(t){var e=t.nodeType===i?t:t.parentElement;if(!e)return null;var r=e.getBoundingClientRect(),n=r.top;return{x:r.left,y:n}}e.getNodeClientOffset=a,e.getEventClientOffset=function(t){return{x:t.clientX,y:t.clientY}},e.getDragPreviewOffset=function(t,e,r,i,u){var s,c,f="IMG"===(s=e).nodeName&&(n.isFirefox()||!document.documentElement.contains(s)),p=a(f?t:e),d={x:r.x-p.x,y:r.y-p.y},l=t.offsetWidth,h=t.offsetHeight,v=i.anchorX,g=i.anchorY,y=function(t,e,r,o){var i=t?e.width:r,a=t?e.height:o;return n.isSafari()&&t&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(f,e,l,h),m=y.dragPreviewWidth,D=y.dragPreviewHeight,b=u.offsetX,x=u.offsetY,O=0===x||x;return{x:0===b||b?b:new o.default([0,.5,1],[d.x,d.x/l*m,d.x+m-l]).interpolate(v),y:O?x:(c=new o.default([0,.5,1],[d.y,d.y/h*D,d.y+D-h]).interpolate(g),n.isSafari()&&f&&(c+=(window.devicePixelRatio-1)*D),c)}}},function(t,e,r){var n=r(23),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},function(t,e,r){var n=r(24),o=r(22),i=r(21),a=r(50),u=r(16),s=r(20),c=200;t.exports=function(t,e,r,f){var p=-1,d=o,l=!0,h=t.length,v=[],g=e.length;if(!h)return v;r&&(e=a(e,u(r))),f?(d=i,l=!1):e.length>=c&&(d=s,l=!1,e=new n(e));t:for(;++p<h;){var y=t[p],m=null==r?y:r(y);if(y=f||0!==y?y:0,l&&m==m){for(var D=g;D--;)if(e[D]===m)continue t;v.push(y)}else d(e,m,f)||v.push(y)}return v}},function(t,e,r){var n=r(51),o=r(10),i=r(18),a=o(function(t,e){return i(t)?n(t,e):[]});t.exports=a},function(t,e){t.exports=function(){}},function(t,e,r){var n=r(5)(r(0),"Set");t.exports=n},function(t,e,r){var n=r(54),o=r(53),i=r(19),a=n&&1/i(new n([,-0]))[1]==1/0?function(t){return new n(t)}:o;t.exports=a},function(t,e){t.exports=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},function(t,e,r){var n=r(58),o=r(57),i=r(56);t.exports=function(t,e,r){return e==e?i(t,e,r):n(t,o,r)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e){var r="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,r),this}},function(t,e,r){var n=r(1);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},function(t,e,r){var n=r(1);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(1);t.exports=function(t){return n(this,t).get(t)}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(1);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e,r){var n=r(5)(r(0),"Map");t.exports=n},function(t,e,r){var n=r(2);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(2);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(2);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(2),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():o.call(e,r,1),--this.size,0))}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(72),o=r(71),i=r(70),a=r(69),u=r(68);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(3),o="__lodash_hash_undefined__";t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?o:e,this}},function(t,e,r){var n=r(3),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},function(t,e,r){var n=r(3),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return r===o?void 0:r}return i.call(e,t)?e[t]:void 0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(3);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e,r){var n=r(78),o=r(77),i=r(76),a=r(75),u=r(74);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(79),o=r(73),i=r(67);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(24),o=r(22),i=r(21),a=r(20),u=r(55),s=r(19),c=200;t.exports=function(t,e,r){var f=-1,p=o,d=t.length,l=!0,h=[],v=h;if(r)l=!1,p=i;else if(d>=c){var g=e?null:u(t);if(g)return s(g);l=!1,p=a,v=new n}else v=e?[]:h;t:for(;++f<d;){var y=t[f],m=e?e(y):y;if(y=r||0!==y?y:0,l&&m==m){for(var D=v.length;D--;)if(v[D]===m)continue t;e&&v.push(m),h.push(y)}else p(v,m,r)||(v!==h&&v.push(m),h.push(y))}return h}},function(t,e){var r=800,n=16,o=Date.now;t.exports=function(t){var e=0,i=0;return function(){var a=o(),u=n-(a-i);if(i=a,u>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(0)["__core-js_shared__"];t.exports=n},function(t,e,r){var n,o=r(85),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(25),o=r(86),i=r(4),a=r(84),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,f=s.toString,p=c.hasOwnProperty,d=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?d:u).test(a(t))}},function(t,e,r){var n=r(5),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,r){var n=r(89),o=r(88),i=r(26),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},function(t,e,r){var n=r(90),o=r(82)(n);t.exports=o},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(92),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,u=o(i.length-e,0),s=Array(u);++a<u;)s[a]=i[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=i[a];return c[e]=r(s),n(t,this,c)}}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n=r(12),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},function(t,e,r){var n=r(11),o=r(6),i="[object Arguments]";t.exports=function(t){return o(t)&&n(t)==i}},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(12),o=r(28),i=r(27),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},function(t,e,r){var n=r(99),o=r(98);t.exports=function t(e,r,i,a,u){var s=-1,c=e.length;for(i||(i=o),u||(u=[]);++s<c;){var f=e[s];r>0&&i(f)?r>1?t(f,r-1,i,a,u):n(u,f):a||(u[u.length]=f)}return u}},function(t,e,r){var n=r(100),o=r(10),i=r(81),a=r(18),u=o(function(t){return i(n(t,1,a,!0))});t.exports=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(101),o=r(52),i=function(){function t(){this.entered=[]}return t.prototype.enter=function(t){var e=this.entered.length;return this.entered=n(this.entered.filter(function(e){return document.documentElement.contains(e)&&(!e.contains||e.contains(t))}),[t]),0===e&&this.entered.length>0},t.prototype.leave=function(t){var e=this.entered.length;return this.entered=o(this.entered.filter(function(t){return document.documentElement.contains(t)}),t),e>0&&0===this.entered.length},t.prototype.reset=function(){this.entered=[]},t}();e.default=i},function(t,e,r){"use strict";var n=this&&this.__decorate||function(t,e,r,n){var o,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};Object.defineProperty(e,"__esModule",{value:!0});var o=r(102),i=r(15),a=r(48),u=r(46),s=r(7),c=r(45),f=r(44),p=r(31),d=function(){function t(t){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.enterLeaveCounter=new o.default,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext()}return Object.defineProperty(t.prototype,"window",{get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0},enumerable:!0,configurable:!0}),t.prototype.setup=function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}},t.prototype.teardown=function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))},t.prototype.connectDragPreview=function(t,e,r){var n=this;return this.sourcePreviewNodeOptions.set(t,r),this.sourcePreviewNodes.set(t,e),function(){n.sourcePreviewNodes.delete(t),n.sourcePreviewNodeOptions.delete(t)}},t.prototype.connectDragSource=function(t,e,r){var n=this;this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,r);var o=function(e){return n.handleDragStart(e,t)},i=function(t){return n.handleSelectStart(t)};return e.setAttribute("draggable",!0),e.addEventListener("dragstart",o),e.addEventListener("selectstart",i),function(){n.sourceNodes.delete(t),n.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",o),e.removeEventListener("selectstart",i),e.setAttribute("draggable",!1)}},t.prototype.connectDropTarget=function(t,e){var r=this,n=function(e){return r.handleDragEnter(e,t)},o=function(e){return r.handleDragOver(e,t)},i=function(e){return r.handleDrop(e,t)};return e.addEventListener("dragenter",n),e.addEventListener("dragover",o),e.addEventListener("drop",i),function(){e.removeEventListener("dragenter",n),e.removeEventListener("dragover",o),e.removeEventListener("drop",i)}},t.prototype.addEventListeners=function(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))},t.prototype.removeEventListeners=function(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))},t.prototype.getCurrentSourceNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return f(e||{},{dropEffect:this.altKeyPressed?"copy":"move"})},t.prototype.getCurrentDropEffect=function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect},t.prototype.getCurrentSourcePreviewNodeOptions=function(){var t=this.monitor.getSourceId(),e=this.sourcePreviewNodeOptions.get(t);return f(e||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})},t.prototype.getSourceClientOffset=function(t){return a.getNodeClientOffset(this.sourceNodes.get(t))},t.prototype.isDraggingNativeItem=function(){var t=this.monitor.getItemType();return Object.keys(s).some(function(e){return s[e]===t})},t.prototype.beginDragNativeItem=function(t){this.clearCurrentDragSourceNode();var e=u.createNativeDragSource(t);this.currentNativeSource=new e,this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])},t.prototype.endDragNativeItem=function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},t.prototype.isNodeInDocument=function(t){return!!document&&document.body.contains(t)||!!this.window&&this.window.document.body.contains(t)},t.prototype.endDragIfSourceWasRemovedFromDOM=function(){var t=this.currentDragSourceNode;this.isNodeInDocument(t)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.setCurrentDragSourceNode=function(t){var e=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.currentDragSourceNodeOffset=a.getNodeClientOffset(t),this.currentDragSourceNodeOffsetChanged=!1;this.mouseMoveTimeoutTimer=setTimeout(function(){return e.window&&e.window.addEventListener("mousemove",e.endDragIfSourceWasRemovedFromDOM,!0)},1e3)},t.prototype.clearCurrentDragSourceNode=function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window&&(this.window.clearTimeout(this.mouseMoveTimeoutTimer),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0)},t.prototype.checkIfCurrentDragSourceRectChanged=function(){var t=this.currentDragSourceNode;return!!t&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!p(a.getNodeClientOffset(t),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))},t.prototype.handleTopDragStartCapture=function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},t.prototype.handleDragStart=function(t,e){this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e)},t.prototype.handleTopDragStart=function(t){var e=this,r=this.dragStartSourceIds;this.dragStartSourceIds=null;var n=a.getEventClientOffset(t);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(r||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});var o=t.dataTransfer,i=u.matchNativeItemType(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var s=this.monitor.getSourceId(),c=this.sourceNodes.get(s),f=this.sourcePreviewNodes.get(s)||c,p=this.getCurrentSourcePreviewNodeOptions(),d={anchorX:p.anchorX,anchorY:p.anchorY},l={offsetX:p.offsetX,offsetY:p.offsetY},h=a.getDragPreviewOffset(c,f,n,d,l);o.setDragImage(f,h.x,h.y)}try{o.setData("application/json",{})}catch(t){}this.setCurrentDragSourceNode(t.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout(function(){return e.actions.publishDragSource()},0)}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||t.target.hasAttribute&&t.target.hasAttribute("draggable")))return;t.preventDefault()}},t.prototype.handleTopDragEndCapture=function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()},t.prototype.handleTopDragEnterCapture=function(t){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(t.target)&&!this.monitor.isDragging()){var e=t.dataTransfer,r=u.matchNativeItemType(e);r&&this.beginDragNativeItem(r)}},t.prototype.handleDragEnter=function(t,e){this.dragEnterTargetIds.unshift(e)},t.prototype.handleTopDragEnter=function(t){var e=this,r=this.dragEnterTargetIds;(this.dragEnterTargetIds=[],this.monitor.isDragging())&&(this.altKeyPressed=t.altKey,i.isFirefox()||this.actions.hover(r,{clientOffset:a.getEventClientOffset(t)}),r.some(function(t){return e.monitor.canDropOnTarget(t)})&&(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect()))},t.prototype.handleTopDragOverCapture=function(){this.dragOverTargetIds=[]},t.prototype.handleDragOver=function(t,e){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)},t.prototype.handleTopDragOver=function(t){var e=this,r=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return t.preventDefault(),void(t.dataTransfer.dropEffect="none");this.altKeyPressed=t.altKey,this.actions.hover(r||[],{clientOffset:a.getEventClientOffset(t)}),(r||[]).some(function(t){return e.monitor.canDropOnTarget(t)})?(t.preventDefault(),t.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(t.preventDefault(),t.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(t.preventDefault(),t.dataTransfer.dropEffect="move")},t.prototype.handleTopDragLeaveCapture=function(t){this.isDraggingNativeItem()&&t.preventDefault(),this.enterLeaveCounter.leave(t.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()},t.prototype.handleTopDropCapture=function(t){this.dropTargetIds=[],t.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(t.dataTransfer),this.enterLeaveCounter.reset()},t.prototype.handleDrop=function(t,e){this.dropTargetIds.unshift(e)},t.prototype.handleTopDrop=function(t){var e=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(e,{clientOffset:a.getEventClientOffset(t)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()},t.prototype.handleSelectStart=function(t){var e=t.target;"function"==typeof e.dragDrop&&("INPUT"===e.tagName||"SELECT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable||(t.preventDefault(),e.dragDrop()))},n([c.default],t.prototype,"getSourceClientOffset",null),n([c.default],t.prototype,"endDragNativeItem",null),n([c.default],t.prototype,"isNodeInDocument",null),n([c.default],t.prototype,"endDragIfSourceWasRemovedFromDOM",null),n([c.default],t.prototype,"handleTopDragStartCapture",null),n([c.default],t.prototype,"handleTopDragStart",null),n([c.default],t.prototype,"handleTopDragEndCapture",null),n([c.default],t.prototype,"handleTopDragEnterCapture",null),n([c.default],t.prototype,"handleTopDragEnter",null),n([c.default],t.prototype,"handleTopDragOverCapture",null),n([c.default],t.prototype,"handleTopDragOver",null),n([c.default],t.prototype,"handleTopDragLeaveCapture",null),n([c.default],t.prototype,"handleTopDropCapture",null),n([c.default],t.prototype,"handleTopDrop",null),n([c.default],t.prototype,"handleSelectStart",null),t}();e.default=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r(104));var n=r(103),o=r(30);e.getEmptyImage=o.default;var i=r(7);e.NativeTypes=i,e.default=function(t){return new n.default(t)}}])}); |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var memoize_1 = __importDefault(require("lodash/memoize")); | ||
exports.isFirefox = memoize_1.default(function () { | ||
var memoize = require('lodash/memoize'); | ||
exports.isFirefox = memoize(function () { | ||
return /firefox/i.test(navigator.userAgent); | ||
}); | ||
exports.isSafari = memoize_1.default(function () { return Boolean(window.safari); }); | ||
exports.isSafari = memoize(function () { return Boolean(window.safari); }); |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var union_1 = __importDefault(require("lodash/union")); | ||
var without_1 = __importDefault(require("lodash/without")); | ||
var union = require('lodash/union'); | ||
var without = require('lodash/without'); | ||
var EnterLeaveCounter = /** @class */ (function () { | ||
@@ -18,3 +15,3 @@ function EnterLeaveCounter() { | ||
}; | ||
this.entered = union_1.default(this.entered.filter(isNodeEntered), [enteringNode]); | ||
this.entered = union(this.entered.filter(isNodeEntered), [enteringNode]); | ||
return previousLength === 0 && this.entered.length > 0; | ||
@@ -24,3 +21,3 @@ }; | ||
var previousLength = this.entered.length; | ||
this.entered = without_1.default(this.entered.filter(function (node) { return document.documentElement.contains(node); }), leavingNode); | ||
this.entered = without(this.entered.filter(function (node) { return document.documentElement.contains(node); }), leavingNode); | ||
return previousLength > 0 && this.entered.length === 0; | ||
@@ -27,0 +24,0 @@ }; |
@@ -29,3 +29,2 @@ import { Backend, DragDropManager } from 'dnd-core'; | ||
private dragOverTargetIds; | ||
private mouseMoveTimeoutId; | ||
constructor(manager: DragDropManager<any>); | ||
@@ -46,3 +45,2 @@ readonly window: Window | undefined; | ||
private beginDragNativeItem; | ||
private asyncEndDragNativeItem; | ||
private endDragNativeItem; | ||
@@ -49,0 +47,0 @@ private isNodeInDocument; |
@@ -8,21 +8,11 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var defaults_1 = __importDefault(require("lodash/defaults")); | ||
var EnterLeaveCounter_1 = __importDefault(require("./EnterLeaveCounter")); | ||
var EnterLeaveCounter_1 = require("./EnterLeaveCounter"); | ||
var BrowserDetector_1 = require("./BrowserDetector"); | ||
var OffsetUtils_1 = require("./OffsetUtils"); | ||
var NativeDragSources_1 = require("./NativeDragSources"); | ||
var NativeTypes = __importStar(require("./NativeTypes")); | ||
var autobind_decorator_1 = __importDefault(require("autobind-decorator")); | ||
var shallowequal_1 = __importDefault(require("shallowequal")); | ||
var NativeTypes = require("./NativeTypes"); | ||
var autobind_decorator_1 = require("autobind-decorator"); | ||
var defaults = require('lodash/defaults'); | ||
var shallowEqual = require('shallowequal'); | ||
var HTML5Backend = /** @class */ (function () { | ||
@@ -162,3 +152,3 @@ function HTML5Backend(manager) { | ||
var sourceNodeOptions = this.sourceNodeOptions.get(sourceId); | ||
return defaults_1.default(sourceNodeOptions || {}, { | ||
return defaults(sourceNodeOptions || {}, { | ||
dropEffect: this.altKeyPressed ? 'copy' : 'move', | ||
@@ -177,3 +167,3 @@ }); | ||
var sourcePreviewNodeOptions = this.sourcePreviewNodeOptions.get(sourceId); | ||
return defaults_1.default(sourcePreviewNodeOptions || {}, { | ||
return defaults(sourcePreviewNodeOptions || {}, { | ||
anchorX: 0.5, | ||
@@ -198,7 +188,2 @@ anchorY: 0.5, | ||
}; | ||
HTML5Backend.prototype.asyncEndDragNativeItem = function () { | ||
if (this.window) { | ||
this.asyncEndDragFrameId = this.window.requestAnimationFrame(this.endDragNativeItem); | ||
} | ||
}; | ||
HTML5Backend.prototype.endDragNativeItem = function () { | ||
@@ -251,3 +236,2 @@ if (!this.isDraggingNativeItem()) { | ||
this.mouseMoveTimeoutTimer = setTimeout(function () { | ||
_this.mouseMoveTimeoutId = null; | ||
return (_this.window && | ||
@@ -279,3 +263,3 @@ _this.window.addEventListener('mousemove', _this.endDragIfSourceWasRemovedFromDOM, true)); | ||
} | ||
this.currentDragSourceNodeOffsetChanged = !shallowequal_1.default(OffsetUtils_1.getNodeClientOffset(node), this.currentDragSourceNodeOffset); | ||
this.currentDragSourceNodeOffsetChanged = !shallowEqual(OffsetUtils_1.getNodeClientOffset(node), this.currentDragSourceNodeOffset); | ||
return this.currentDragSourceNodeOffsetChanged; | ||
@@ -531,5 +515,2 @@ }; | ||
autobind_decorator_1.default | ||
], HTML5Backend.prototype, "asyncEndDragNativeItem", null); | ||
__decorate([ | ||
autobind_decorator_1.default | ||
], HTML5Backend.prototype, "endDragNativeItem", null); | ||
@@ -536,0 +517,0 @@ __decorate([ |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var HTML5Backend_1 = __importDefault(require("./HTML5Backend")); | ||
var getEmptyImage_1 = __importDefault(require("./getEmptyImage")); | ||
var HTML5Backend_1 = require("./HTML5Backend"); | ||
var getEmptyImage_1 = require("./getEmptyImage"); | ||
exports.getEmptyImage = getEmptyImage_1.default; | ||
var NativeTypes = __importStar(require("./NativeTypes")); | ||
var NativeTypes = require("./NativeTypes"); | ||
exports.NativeTypes = NativeTypes; | ||
@@ -18,0 +8,0 @@ function createHTML5Backend(manager) { |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var _a; | ||
var NativeTypes = __importStar(require("./NativeTypes")); | ||
var NativeTypes = require("./NativeTypes"); | ||
function getDataFromDataTransfer(dataTransfer, typesToTry, defaultValue) { | ||
@@ -13,0 +6,0 @@ var result = typesToTry.reduce(function (resultSoFar, typeToTry) { return resultSoFar || dataTransfer.getData(typeToTry); }, null); |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var BrowserDetector_1 = require("./BrowserDetector"); | ||
var MonotonicInterpolant_1 = __importDefault(require("./MonotonicInterpolant")); | ||
var MonotonicInterpolant_1 = require("./MonotonicInterpolant"); | ||
var ELEMENT_NODE = 1; | ||
@@ -9,0 +6,0 @@ function getNodeClientOffset(node) { |
{ | ||
"name": "react-dnd-html5-backend", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "HTML5 backend for React DnD", | ||
@@ -23,7 +23,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@types/lodash": "^4.14.109", | ||
"@types/react": "^16.3.16", | ||
"@types/shallowequal": "^0.2.2", | ||
"autobind-decorator": "^2.1.0", | ||
"dnd-core": "^4.0.4", | ||
"dnd-core": "^4.0.5", | ||
"lodash": "^4.17.10", | ||
@@ -33,7 +30,9 @@ "shallowequal": "^1.0.2" | ||
"devDependencies": { | ||
"@types/node": "^10.3.0", | ||
"@types/node": "10.3.2", | ||
"@types/react": "^16.3.16", | ||
"@types/shallowequal": "^0.2.2", | ||
"npm-run-all": "^4.1.2", | ||
"react": "^16.4.0", | ||
"react-dnd": "^4.0.4", | ||
"react-dnd-test-backend": "^4.0.4", | ||
"react-dnd": "^4.0.5", | ||
"react-dnd-test-backend": "^4.0.5", | ||
"rimraf": "^2.6.2", | ||
@@ -40,0 +39,0 @@ "ts-loader": "^4.2.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
240575
11
25
2308
- Removed@types/lodash@^4.14.109
- Removed@types/react@^16.3.16
- Removed@types/shallowequal@^0.2.2
- Removed@types/lodash@4.17.14(transitive)
- Removed@types/prop-types@15.7.14(transitive)
- Removed@types/react@16.14.62(transitive)
- Removed@types/scheduler@0.16.8(transitive)
- Removed@types/shallowequal@0.2.7(transitive)
- Removedcsstype@3.1.3(transitive)
Updateddnd-core@^4.0.5