!function(e,t){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e,t){e.fn.resizableSafe||(e.fn.resizableSafe=function t(n){var i={handleSelector:null,resizeWidth:!0,resizeHeight:!0,resizeWidthFrom:"right",resizeHeightFrom:"bottom",onDragStart:null,onDragEnd:null,onDrag:null,touchActionNone:!0,instanceId:null};return"object"==typeof n&&(i=e.extend(i,n)),this.each(function(){var t,o,r,s=e.extend({},i);s.instanceId||(s.instanceId="rsz_"+new Date().getTime());var a=e(this);if("destroy"===n){if(!(s=a.data("resizable")))return;(r=d(s.handleSelector,a)).off("mousedown."+s.instanceId+" touchstart."+s.instanceId),s.touchActionNone&&r.css("touch-action",""),a.removeClass("resizable");return}function c(e){e.stopPropagation(),e.preventDefault()}function u(e){var n,i,o=l(e);n="left"===s.resizeWidthFrom?t.width-o.x+t.x:t.width+o.x-t.x,i="top"===s.resizeHeightFrom?t.height-o.y+t.y:t.height+o.y-t.y,(!s.onDrag||!1!==s.onDrag(e,a,n,i,s))&&(s.resizeHeight&&a.height(i),s.resizeWidth&&a.width(n))}function h(t){return t.stopPropagation(),t.preventDefault(),e(document).off("mousemove."+s.instanceId),e(document).off("mouseup."+s.instanceId),(window.Touch||navigator.maxTouchPoints)&&(e(document).off("touchmove."+s.instanceId),e(document).off("touchend."+s.instanceId)),e(document).off("selectstart."+s.instanceId,c),a.css("transition",o),e("iframe").css("pointer-events","auto"),s.onDragEnd&&s.onDragEnd(t,a,s),!1}function l(e){var t={x:0,y:0,width:0,height:0};if("number"==typeof e.clientX)t.x=e.clientX,t.y=e.clientY;else{if(!e.originalEvent.touches)return null;t.x=e.originalEvent.touches[0].clientX,t.y=e.originalEvent.touches[0].clientY}return t}function d(e,t){return e&&">"===e.trim()[0]?(e=e.trim().replace(/^>\s*/,""),t.find(e)):e?t.parent().find(e):t}a.data("resizable",s),r=d(s.handleSelector,a),s.touchActionNone&&r.css("touch-action","none"),a.addClass("resizable"),r.on("mousedown."+s.instanceId+" touchstart."+s.instanceId,function n(i){i.preventDefault&&i.preventDefault(),(t=l(i)).width=parseInt(a.width(),10),t.height=parseInt(a.height(),10),o=a.css("transition"),a.css("transition","none"),(!s.onDragStart||!1!==s.onDragStart(i,a,s))&&(e(document).on("mousemove."+s.instanceId,u),e(document).on("mouseup."+s.instanceId,h),(window.Touch||navigator.maxTouchPoints)&&(e(document).on("touchmove."+s.instanceId,u),e(document).on("touchend."+s.instanceId,h)),e(document).on("selectstart."+s.instanceId,c),e("iframe").css("pointer-events","none"))})})},e.fn.resizable||(e.fn.resizable=e.fn.resizableSafe))}),$(".resizepanelwhich").resizable({handleSelector:".resizesplitterwhich",resizeHeWigdht:!1});
