(function(m,r,j){var t={full:"0.0.1-f770de9",major:"0",minor:"0",dot:"1",codeName:"badger"},i,g={"false":false,"true":true,"":true},d=function(x){if(typeof x==="string"){var w;if(g.hasOwnProperty(x)){return g[x]}else{w=parseInt(x,10);if(w===w){x=w}}}return x};function k(){}function c(){}var o=function(y,w,x){if(Object.defineProperty){Object.defineProperty(y,w,{get:x,set:function(){},configurable:false,enumerable:true})}else{if(y.__defineGetter__){y.__defineGetter__(w,x)}else{y[w]=x()}}},h,b=/^(\s*(\.-?([a-z\u00A0-\u10FFFF]|(\\\d+))([0-9a-z\u00A0-\u10FFFF_-]|(\\\d+))*)\s*)+$/i,n=function(){var z=["matches","matchesSelector","msMatchesSelector","mozMatchesSelector","webkitMatchesSelector","oMatchesSelector"];if(typeof m.Element==="function"&&typeof m.Element.prototype==="object"){for(var x=0,y=z.length;x=F.left&&(B+C)<=F.right&&E>=F.top&&(E+D)<=F.bottom}};var q=["$drop","$parse",function(x,w){return{restrict:"A",compile:function(z,y){return function(C,B,A){var E=w(A.dropAllowed||"undefined")(C);var D=x.droppable(B);if(E){D.allowedSelectors(E)}}}}}];var s=function(){this.$get=["$document","$rootScope",function(y,w){var x={isDroppable:function(z){return !!$drag.droppable(z,false)},droppable:function(A,z){A=angular.element(A);var B=A.data("$droppable");if(B){return B}if(z===false){return j}z=angular.extend({constraints:null,delay:500,distance:1},z||{});B=new c();B.element=A;B.options=z;A.data("$droppable",B);return B},drop:function(z,E){if(!i){return}if(typeof z==="undefined"){z=m.event}if(angular.isObject(z)){if(typeof z.clientX==="number"&&typeof z.clientY==="number"){E=z.clientY;z=z.clientX}else{if(typeof z.left==="number"&&typeof z.top==="number"){E=z.top;z=z.left}}}if(typeof z!=="number"||typeof E!=="number"){return}var C=i,A,B;C.element.css({display:"none"});A=r.elementFromPoint(z,E);if(!A){return D()}if(A.nodeType===3){A=A.parentNode}A=angular.element(A);B=A.inheritedData("$droppable");if(!B||!this.dropAllowed(B,C.element)){return D()}B.drop(C);return true;function D(){C.hanging=true;C.element.css({display:C.cssDisplay});i=j;w.$emit("$badDrop",C)}},dropAllowed:function(B,z){var D=B.allowedSelectors();if(!D||!angular.isArray(D)){return true}for(var A=0;A0){if(typeof z==="string"){z=z.split(",")}if(angular.isArray(z)){this.allowed=z}return this}return this.allowed}};o(x,"version",function(){return t});return x}];o(this,"version",function(){return t})};var l=function(){this.$get=[function(){var w={};o(w,"current",function(){return i});o(w,"version",function(){return t});return w}];o(this,"version",function(){return t})};function f(){angular.module("ui.drop",[],["$provide",function(w){w.provider({$dnd:l,$drag:p,$drop:s})}]).directive({draggable:e,droppable:q})}f()})(window,document);