Loading
function(e,t,r){var n=r(321733),i=r(582128);function o(e,t){"function"==typeof e?e(t):e.current=t}r.d(t,{},{i:function(e){var t={};return Object.keys(e).forEach(function(r){var a=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var u=function(){var e,t,r,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,i.isValidElement)(u))return a(u,c),u;if("string"!=typeof u.type){var s=u.type.displayName||u.type.name||"the component";throw Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(s," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}return e=u,t=c?function(e){return a(e,c)}:a,r=e.ref,((0,n.V)("string"!=typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r)?(0,i.cloneElement)(e,{ref:function(e){o(r,e),o(t,e)}}):(0,i.cloneElement)(e,{ref:t})};t[r]=function(){return u}}}),t}})}