text: !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core")):"function"==typeof define&&define.amd?define(["@angular/core"],t):"object"==typeof exports?exports["ng2-dragula.umd.min"]=t(require("@angular/core")):e["ng2-dragula.umd.min"]=t(e["@angular/core"])}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=18)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);t.dragula=r.default||r},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(3),a=function(){function e(){this.cancel=new i.EventEmitter,this.cloned=new i.EventEmitter,this.drag=new i.EventEmitter,this.dragend=new i.EventEmitter,this.drop=new i.EventEmitter,this.out=new i.EventEmitter,this.over=new i.EventEmitter,this.remove=new i.EventEmitter,this.shadow=new i.EventEmitter,this.dropModel=new i.EventEmitter,this.removeModel=new i.EventEmitter,this.events=["cancel","cloned","drag","dragend","drop","out","over","remove","shadow","dropModel","removeModel"],this.bags=[]}return e.prototype.add=function(e,t){var n=this.find(e);if(n)throw new Error('Bag named: "'+e+'" already exists.');return n={name:e,drake:t},this.bags.push(n),t.models&&this.handleModels(e,t),n.initEvents||this.setupEvents(n),n},e.prototype.find=function(e){for(var t=0,n=this.bags;t<n.length;t++){var r=n[t];if(r.name===e)return r}},e.prototype.destroy=function(e){var t=this.find(e),n=this.bags.indexOf(t);this.bags.splice(n,1),t.drake.destroy()},e.prototype.setOptions=function(e,t){var n=this.add(e,o.dragula(t));this.handleModels(e,n.drake)},e.prototype.handleModels=function(e,t){var n,r,o,i,a=this;t.on("remove",function(n,o){t.models&&(i=t.models[t.containers.indexOf(o)],i.splice(r,1),a.removeModel.emit([e,n,o]))}),t.on("drag",function(e,t){n=e,r=a.domIndexOf(e,t)}),t.on("drop",function(c,u,l){if(t.models&&u){if(o=a.domIndexOf(c,u),i=t.models[t.containers.indexOf(l)],u===l)i.splice(o,0,i.splice(r,1)[0]);else{var s=n===c,f=t.models[t.containers.indexOf(u)],d=s?i[r]:JSON.parse(JSON.stringify(i[r]));s&&i.splice(r,1),f.splice(o,0,d),u.removeChild(c)}a.dropModel.emit([e,c,u,l])}})},e.prototype.setupEvents=function(e){e.initEvents=!0;var t=this,n=function(n){function r(){var r=Array.prototype.slice.call(arguments);t[n].emit([e.name].concat(r))}e.drake.on(n,r)};this.events.forEach(n)},e.prototype.domIndexOf=function(e,t){return Array.prototype.indexOf.call(t.children,e)},e}();a=r([i.Injectable()],a),t.DragulaService=a},function(t,n){t.exports=e},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),a=n(2),c=n(1),u=function(){function e(e,t){this.el=e,this.dragulaService=t,this.container=e.nativeElement}return e.prototype.ngOnInit=function(){var e=this,t=this.dragulaService.find(this.dragula),n=function(){e.dragulaModel&&(e.drake.models?e.drake.models.push(e.dragulaModel):e.drake.models=[e.dragulaModel])};t?(this.drake=t.drake,n(),this.drake.containers.push(this.container)):(this.drake=c.dragula([this.container],Object.assign({},this.dragulaOptions)),n(),this.dragulaService.add(this.dragula,this.drake))},e.prototype.ngOnChanges=function(e){if(e&&e.dragulaModel&&this.drake)if(this.drake.models){var t=this.drake.models.indexOf(e.dragulaModel.previousValue);this.drake.models.splice(t,1,e.dragulaModel.currentValue)}else this.drake.models=[e.dragulaModel.currentValue]},e}();r([i.Input(),o("design:type",String)],u.prototype,"dragula",void 0),r([i.Input(),o("design:type",Object)],u.prototype,"dragulaModel",void 0),r([i.Input(),o("design:type",Object)],u.prototype,"dragulaOptions",void 0),u=r([i.Directive({selector:"[dragula]"}),o("design:paramtypes",[i.ElementRef,a.DragulaService])],u),t.DragulaDirective=u},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),i=n(4),a=n(2),c=function(){function e(){}return e}();c=r([o.NgModule({exports:[i.DragulaDirective],declarations:[i.DragulaDirective],providers:[a.DragulaService]})],c),t.DragulaModule=c},function(e,t){e.exports=function(e,t){return Array.prototype.slice.call(e,t)}},function(e,t,n){"use strict";var r=n(16);e.exports=function(e,t,n){e&&r(function(){e.apply(n||null,t||[])})}},function(e,t,n){"use strict";var r=n(6),o=n(7);e.exports=function(e,t){var n=t||{},i={};return void 0===e&&(e={}),e.on=function(t,n){return i[t]?i[t].push(n):i[t]=[n],e},e.once=function(t,n){return n._once=!0,e.on(t,n),e},e.off=function(t,n){var r=arguments.length;if(1===r)delete i[t];else if(0===r)i={};else{var o=i[t];if(!o)return e;o.splice(o.indexOf(n),1)}return e},e.emit=function(){var t=r(arguments);return e.emitterSnapshot(t.shift()).apply(this,t)},e.emitterSnapshot=function(t){var a=(i[t]||[]).slice(0);return function(){var i=r(arguments),c=this||e;if("error"===t&&!1!==n.throws&&!a.length)throw 1===i.length?i[0]:i;return a.forEach(function(r){n.async?o(r,i,c):r.apply(c,i),r._once&&e.off(t,r)}),e}},e}},function(e,t,n){"use strict";(function(t){function r(e,t,n,r){return e.addEventListener(t,n,r)}function o(e,t,n){return e.attachEvent("on"+t,l(e,t,n))}function i(e,t,n,r){return e.removeEventListener(t,n,r)}function a(e,t,n){var r=s(e,t,n);if(r)return e.detachEvent("on"+t,r)}function c(e,t,n){function r(){var e;return p.createEvent?(e=p.createEvent("Event"),e.initEvent(t,!0,!0)):p.createEventObject&&(e=p.createEventObject()),e}function o(){return new d(t,{detail:n})}var i=-1===v.indexOf(t)?o():r();e.dispatchEvent?e.dispatchEvent(i):e.fireEvent("on"+t,i)}function u(e,n,r){return function(n){var o=n||t.event;o.target=o.target||o.srcElement,o.preventDefault=o.preventDefault||function(){o.returnValue=!1},o.stopPropagation=o.stopPropagation||function(){o.cancelBubble=!0},o.which=o.which||o.keyCode,r.call(e,o)}}function l(e,t,n){var r=s(e,t,n)||u(e,t,n);return g.push({wrapper:r,element:e,type:t,fn:n}),r}function s(e,t,n){var r=f(e,t,n);if(r){var o=g[r].wrapper;return g.splice(r,1),o}}function f(e,t,n){var r,o;for(r=0;r<g.length;r++)if(o=g[r],o.element===e&&o.type===t&&o.fn===n)return r}var d=n(11),v=n(10),p=t.document,m=r,h=i,g=[];t.addEventListener||(m=o,h=a),e.exports={add:m,remove:h,fabricate:c}}).call(t,n(0))},function(e,t,n){"use strict";(function(t){var n=[],r="",o=/^on/;for(r in t)o.test(r)&&n.push(r.slice(2));e.exports=n}).call(t,n(0))},function(e,t,n){(function(t){function n(){try{var e=new r("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(e){}return!1}var r=t.CustomEvent;e.exports=n()?r:"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("CustomEvent");return t?n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):n.initCustomEvent(e,!1,!1,void 0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.bubbles=Boolean(t.bubbles),n.cancelable=Boolean(t.cancelable),n.detail=t.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n}}).call(t,n(0))},function(e,t,n){"use strict";function r(e){var t=a[e];return t?t.lastIndex=0:a[e]=t=new RegExp(c+e+u,"g"),t}function o(e,t){var n=e.className;n.length?r(t).test(n)||(e.className+=" "+t):e.className=t}function i(e,t){e.className=e.className.replace(r(t)," ").trim()}var a={},c="(?:^|\\s)",u="(?:\\s|$)";e.exports={add:o,rm:i}},function(e,t,n){"use strict";(function(t){function r(e,t){function n(e){return-1!==le.containers.indexOf(e)||ue.isContainer(e)}function r(e){var t=e?"remove":"add";o(T,t,"mousedown",S),o(T,t,"mouseup",N)}function c(e){o(T,e?"remove":"add","mousemove",M)}function m(e){var t=e?"remove":"add";E[t](T,"selectstart",x),E[t](T,"click",x)}function g(){r(!0),N({})}function x(e){ae&&e.preventDefault()}function S(e){if(ee=e.clientX,te=e.clientY,!(1!==i(e)||e.metaKey||e.ctrlKey)){var t=e.target,n=_(t);n&&(ae=n,c(),"mousedown"===e.type&&(p(t)?t.focus():e.preventDefault()))}}function M(e){if(ae){if(0===i(e))return void N({});if(void 0===e.clientX||e.clientX!==ee||void 0===e.clientY||e.clientY!==te){if(ue.ignoreInputTextSelection){var t=y("clientX",e),n=y("clientY",e);if(p(O.elementFromPoint(t,n)))return}var r=ae;c(!0),m(),D(),C(r);var o=a(Q);W=y("pageX",e)-o.left,Z=y("pageY",e)-o.top,w.add(oe||Q,"gu-transit"),q(),F(e)}}}function _(e){if(!(le.dragging&&H||n(e))){for(var t=e;v(e)&&!1===n(v(e));){if(ue.invalid(e,t))return;if(!(e=v(e)))return}var r=v(e);if(r&&!ue.invalid(e,t)){if(ue.moves(e,r,t,h(e)))return{item:e,source:r}}}}function I(e){return!!_(e)}function j(e){var t=_(e);t&&C(t)}function C(e){z(e.item,e.source)&&(oe=e.item.cloneNode(!0),le.emit("cloned",oe,e.item,"copy")),G=e.source,Q=e.item,ne=re=h(e.item),le.dragging=!0,le.emit("drag",Q,G)}function k(){return!1}function D(){if(le.dragging){var e=oe||Q;R(e,v(e))}}function P(){ae=!1,c(!0),m(!0)}function N(e){if(P(),le.dragging){var t=oe||Q,n=y("clientX",e),r=y("clientY",e),o=u(H,n,r),i=Y(o,n,r);i&&(oe&&ue.copySortSource||!oe||i!==G)?R(t,i):ue.removeOnSpill?L():A()}}function R(e,t){var n=v(e);oe&&ue.copySortSource&&t===G&&n.removeChild(Q),B(t)?le.emit("cancel",e,G,G):le.emit("drop",e,t,G,re),X()}function L(){if(le.dragging){var e=oe||Q,t=v(e);t&&t.removeChild(e),le.emit(oe?"cancel":"remove",e,t,G),X()}}function A(e){if(le.dragging){var t=arguments.length>0?e:ue.revertOnSpill,n=oe||Q,r=v(n),o=B(r);!1===o&&t&&(oe?r&&r.removeChild(oe):G.insertBefore(n,ne)),o||t?le.emit("cancel",n,G,G):le.emit("drop",n,r,G,re),X()}}function X(){var e=oe||Q;P(),J(),e&&w.rm(e,"gu-transit"),ie&&clearTimeout(ie),le.dragging=!1,ce&&le.emit("out",e,ce,G),le.emit("dragend",e),G=Q=oe=ne=re=ie=ce=null}function B(e,t){var n;return n=void 0!==t?t:H?re:h(oe||Q),e===G&&n===ne}function Y(e,t,r){function o(){if(!1===n(i))return!1;var o=K(i,e),a=U(i,o,t,r);return!!B(i,a)||ue.accepts(Q,i,G,a)}for(var i=e;i&&!o();)i=v(i);return i}function F(e){function t(e){le.emit(e,l,ce,G)}function n(){d&&t("over")}function r(){ce&&t("out")}if(H){e.preventDefault();var o=y("clientX",e),i=y("clientY",e),a=o-W,c=i-Z;H.style.left=a+"px",H.style.top=c+"px";var l=oe||Q,s=u(H,o,i),f=Y(s,o,i),d=null!==f&&f!==ce;(d||null===f)&&(r(),ce=f,n());var p=v(l);if(f===G&&oe&&!ue.copySortSource)return void(p&&p.removeChild(l));var m,g=K(f,s);if(null!==g)m=U(f,g,o,i);else{if(!0!==ue.revertOnSpill||oe)return void(oe&&p&&p.removeChild(l));m=ne,f=G}(null===m&&d||m!==l&&m!==h(l))&&(re=m,f.insertBefore(l,m),le.emit("shadow",l,f,G))}}function V(e){w.rm(e,"gu-hide")}function $(e){le.dragging&&w.add(e,"gu-hide")}function q(){if(!H){var e=Q.getBoundingClientRect();H=Q.cloneNode(!0),H.style.width=f(e)+"px",H.style.height=d(e)+"px",w.rm(H,"gu-transit"),w.add(H,"gu-mirror"),ue.mirrorContainer.appendChild(H),o(T,"add","mousemove",F),w.add(ue.mirrorContainer,"gu-unselectable"),le.emit("cloned",H,Q,"mirror")}}function J(){H&&(w.rm(ue.mirrorContainer,"gu-unselectable"),o(T,"remove","mousemove",F),v(H).removeChild(H),H=null)}function K(e,t){for(var n=t;n!==e&&v(n)!==e;)n=v(n);return n===T?null:n}function U(e,t,n,r){function o(){var t,o,i,a=e.children.length;for(t=0;t<a;t++){if(o=e.children[t],i=o.getBoundingClientRect(),c&&i.left+i.width/2>n)return o;if(!u&&!c&&i.top+i.height/2>r)return o;if(u&&i.left+i.width>n&&i.top+i.height>r)return o}return null}function i(){var e=t.getBoundingClientRect();if(u){var o=r-e.top,i=n-e.left,l=e.bottom-r,s=e.right-n,v=Math.min(i,s,o,l);return a(i===v||o===v)}return a(c?n>e.left+f(e)/2:r>e.top+d(e)/2)}function a(e){return e?h(t):t}var c="horizontal"===ue.direction,u="mixed"===ue.direction;return t!==e?i():o()}function z(e,t){return"boolean"==typeof ue.copy?ue.copy:ue.copy(e,t)}1===arguments.length&&!1===Array.isArray(e)&&(t=e,e=[]);var H,G,Q,W,Z,ee,te,ne,re,oe,ie,ae,ce=null,ue=t||{};void 0===ue.moves&&(ue.moves=s),void 0===ue.accepts&&(ue.accepts=s),void 0===ue.invalid&&(ue.invalid=k),void 0===ue.containers&&(ue.containers=e||[]),void 0===ue.isContainer&&(ue.isContainer=l),void 0===ue.copy&&(ue.copy=!1),void 0===ue.copySortSource&&(ue.copySortSource=!1),void 0===ue.revertOnSpill&&(ue.revertOnSpill=!1),void 0===ue.removeOnSpill&&(ue.removeOnSpill=!1),void 0===ue.direction&&(ue.direction="vertical"),void 0===ue.ignoreInputTextSelection&&(ue.ignoreInputTextSelection=!0),void 0===ue.mirrorContainer&&(ue.mirrorContainer=O.body);var le=b({containers:ue.containers,start:j,end:D,cancel:A,remove:L,destroy:g,canMove:I,dragging:!1});return!0===ue.removeOnSpill&&le.on("over",V).on("out",$),r(),le}function o(e,n,r,o){var i={mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"},a={mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"},c={mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"};t.navigator.pointerEnabled?E[n](e,a[r],o):t.navigator.msPointerEnabled?E[n](e,c[r],o):(E[n](e,i[r],o),E[n](e,r,o))}function i(e){if(void 0!==e.touches)return e.touches.length;if(void 0!==e.which&&0!==e.which)return e.which;if(void 0!==e.buttons)return e.buttons;var t=e.button;return void 0!==t?1&t?1:2&t?3:4&t?2:0:void 0}function a(e){var t=e.getBoundingClientRect();return{left:t.left+c("scrollLeft","pageXOffset"),top:t.top+c("scrollTop","pageYOffset")}}function c(e,n){return void 0!==t[n]?t[n]:T.clientHeight?T[e]:O.body[e]}function u(e,t,n){var r,o=e||{},i=o.className;return o.className+=" gu-hide",r=O.elementFromPoint(t,n),o.className=i,r}function l(){return!1}function s(){return!0}function f(e){return e.width||e.right-e.left}function d(e){return e.height||e.bottom-e.top}function v(e){return e.parentNode===O?null:e.parentNode}function p(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||m(e)}function m(e){return!!e&&("false"!==e.contentEditable&&("true"===e.contentEditable||m(v(e))))}function h(e){function t(){var t=e;do{t=t.nextSibling}while(t&&1!==t.nodeType);return t}return e.nextElementSibling||t()}function g(e){return e.targetTouches&&e.targetTouches.length?e.targetTouches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e}function y(e,t){var n=g(t),r={pageX:"clientX",pageY:"clientY"};return e in r&&!(e in n)&&r[e]in n&&(e=r[e]),n[e]}var b=n(8),E=n(9),w=n(12),O=document,T=O.documentElement;e.exports=r}).call(t,n(0))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&v&&(m=!1,v.length?p=v.concat(p):h=-1,p.length&&c())}function c(){if(!m){var e=o(a);m=!0;for(var t=p.length;t;){for(v=p,p=[];++h<t;)v&&v[h].run();h=-1,t=p.length}v=null,m=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var s,f,d=e.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:n}catch(e){s=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var v,p=[],m=!1,h=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new u(e,t)),1!==p.length||m||o(c)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return m[p]=r,v(p),p++}function o(e){delete m[e]}function i(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(h)setTimeout(a,0,e);else{var t=m[e];if(t){h=!0;try{i(t)}finally{o(e),h=!1}}}}function c(){v=function(e){t.nextTick(function(){a(e)})}}function u(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}function l(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),v=function(n){e.postMessage(t+n,"*")}}function s(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},v=function(t){e.port2.postMessage(t)}}function f(){var e=g.documentElement;v=function(t){var n=g.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}function d(){v=function(e){setTimeout(a,0,e)}}if(!e.setImmediate){var v,p=1,m={},h=!1,g=e.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(e);y=y&&y.setTimeout?y:e,"[object process]"==={}.toString.call(e.process)?c():u()?l():e.MessageChannel?s():g&&"onreadystatechange"in g.createElement("script")?f():d(),y.setImmediate=r,y.clearImmediate=o}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(0),n(14))},function(e,t,n){(function(t){var n,r="function"==typeof t;n=r?function(e){t(e)}:function(e){setTimeout(e,0)},e.exports=n}).call(t,n(17).setImmediate)},function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(15),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(0))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.dragula=r.dragula;var o=n(4);t.DragulaDirective=o.DragulaDirective;var i=n(2);t.DragulaService=i.DragulaService;var a=n(5);t.DragulaModule=a.DragulaModule}])});