-
Notifications
You must be signed in to change notification settings - Fork 1
/
vendors~deposit-withdraw~exchange~explorer.3767d5fd30598e380431.js
2 lines (2 loc) · 21.5 KB
/
vendors~deposit-withdraw~exchange~explorer.3767d5fd30598e380431.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1954:function(t,e,n){"use strict";var o=n(1959),r=n(1986),i=n(2060),l=n(1966),s=n(2061),c=n(2062),a={};function u(t){return t.getAttribute("data-ps-id")}e.add=function(t){var e=c();return function(t,e){t.setAttribute("data-ps-id",e)}(t,e),a[e]=new function(t){var e=this;function n(){r.add(t,"ps-focus")}function c(){r.remove(t,"ps-focus")}e.settings=o.clone(i),e.containerWidth=null,e.containerHeight=null,e.contentWidth=null,e.contentHeight=null,e.isRtl="rtl"===l.css(t,"direction"),e.isNegativeScroll=function(){var e,n=t.scrollLeft;return t.scrollLeft=-1,e=t.scrollLeft<0,t.scrollLeft=n,e}(),e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,e.event=new s,e.ownerDocument=t.ownerDocument||document,e.scrollbarXRail=l.appendTo(l.e("div","ps-scrollbar-x-rail"),t),e.scrollbarX=l.appendTo(l.e("div","ps-scrollbar-x"),e.scrollbarXRail),e.scrollbarX.setAttribute("tabindex",0),e.event.bind(e.scrollbarX,"focus",n),e.event.bind(e.scrollbarX,"blur",c),e.scrollbarXActive=null,e.scrollbarXWidth=null,e.scrollbarXLeft=null,e.scrollbarXBottom=o.toInt(l.css(e.scrollbarXRail,"bottom")),e.isScrollbarXUsingBottom=e.scrollbarXBottom==e.scrollbarXBottom,e.scrollbarXTop=e.isScrollbarXUsingBottom?null:o.toInt(l.css(e.scrollbarXRail,"top")),e.railBorderXWidth=o.toInt(l.css(e.scrollbarXRail,"borderLeftWidth"))+o.toInt(l.css(e.scrollbarXRail,"borderRightWidth")),l.css(e.scrollbarXRail,"display","block"),e.railXMarginWidth=o.toInt(l.css(e.scrollbarXRail,"marginLeft"))+o.toInt(l.css(e.scrollbarXRail,"marginRight")),l.css(e.scrollbarXRail,"display",""),e.railXWidth=null,e.railXRatio=null,e.scrollbarYRail=l.appendTo(l.e("div","ps-scrollbar-y-rail"),t),e.scrollbarY=l.appendTo(l.e("div","ps-scrollbar-y"),e.scrollbarYRail),e.scrollbarY.setAttribute("tabindex",0),e.event.bind(e.scrollbarY,"focus",n),e.event.bind(e.scrollbarY,"blur",c),e.scrollbarYActive=null,e.scrollbarYHeight=null,e.scrollbarYTop=null,e.scrollbarYRight=o.toInt(l.css(e.scrollbarYRail,"right")),e.isScrollbarYUsingRight=e.scrollbarYRight==e.scrollbarYRight,e.scrollbarYLeft=e.isScrollbarYUsingRight?null:o.toInt(l.css(e.scrollbarYRail,"left")),e.scrollbarYOuterWidth=e.isRtl?o.outerWidth(e.scrollbarY):null,e.railBorderYWidth=o.toInt(l.css(e.scrollbarYRail,"borderTopWidth"))+o.toInt(l.css(e.scrollbarYRail,"borderBottomWidth")),l.css(e.scrollbarYRail,"display","block"),e.railYMarginHeight=o.toInt(l.css(e.scrollbarYRail,"marginTop"))+o.toInt(l.css(e.scrollbarYRail,"marginBottom")),l.css(e.scrollbarYRail,"display",""),e.railYHeight=null,e.railYRatio=null}(t),a[e]},e.remove=function(t){delete a[u(t)],function(t){t.removeAttribute("data-ps-id")}(t)},e.get=function(t){return a[u(t)]}},1959:function(t,e,n){"use strict";var o=n(1986),r=n(1966),i=e.toInt=function(t){return parseInt(t,10)||0},l=e.clone=function(t){if(t){if(t.constructor===Array)return t.map(l);if("object"==typeof t){var e={};for(var n in t)e[n]=l(t[n]);return e}return t}return null};e.extend=function(t,e){var n=l(t);for(var o in e)n[o]=l(e[o]);return n},e.isEditable=function(t){return r.matches(t,"input,[contenteditable]")||r.matches(t,"select,[contenteditable]")||r.matches(t,"textarea,[contenteditable]")||r.matches(t,"button,[contenteditable]")},e.removePsClasses=function(t){for(var e=o.list(t),n=0;n<e.length;n++){var r=e[n];0===r.indexOf("ps-")&&o.remove(t,r)}},e.outerWidth=function(t){return i(r.css(t,"width"))+i(r.css(t,"paddingLeft"))+i(r.css(t,"paddingRight"))+i(r.css(t,"borderLeftWidth"))+i(r.css(t,"borderRightWidth"))},e.startScrolling=function(t,e){o.add(t,"ps-in-scrolling"),void 0!==e?o.add(t,"ps-"+e):(o.add(t,"ps-x"),o.add(t,"ps-y"))},e.stopScrolling=function(t,e){o.remove(t,"ps-in-scrolling"),void 0!==e?o.remove(t,"ps-"+e):(o.remove(t,"ps-x"),o.remove(t,"ps-y"))},e.env={isWebKit:"WebkitAppearance"in document.documentElement.style,supportsTouch:"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,supportsIePointer:null!==window.navigator.msMaxTouchPoints}},1960:function(t,e,n){"use strict";var o=n(1959),r=n(1986),i=n(1966),l=n(1954),s=n(1964);function c(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}t.exports=function(t){var e,n=l.get(t);n.containerWidth=t.clientWidth,n.containerHeight=t.clientHeight,n.contentWidth=t.scrollWidth,n.contentHeight=t.scrollHeight,t.contains(n.scrollbarXRail)||((e=i.queryChildren(t,".ps-scrollbar-x-rail")).length>0&&e.forEach(function(t){i.remove(t)}),i.appendTo(n.scrollbarXRail,t)),t.contains(n.scrollbarYRail)||((e=i.queryChildren(t,".ps-scrollbar-y-rail")).length>0&&e.forEach(function(t){i.remove(t)}),i.appendTo(n.scrollbarYRail,t)),!n.settings.suppressScrollX&&n.containerWidth+n.settings.scrollXMarginOffset<n.contentWidth?(n.scrollbarXActive=!0,n.railXWidth=n.containerWidth-n.railXMarginWidth,n.railXRatio=n.containerWidth/n.railXWidth,n.scrollbarXWidth=c(n,o.toInt(n.railXWidth*n.containerWidth/n.contentWidth)),n.scrollbarXLeft=o.toInt((n.negativeScrollAdjustment+t.scrollLeft)*(n.railXWidth-n.scrollbarXWidth)/(n.contentWidth-n.containerWidth))):n.scrollbarXActive=!1,!n.settings.suppressScrollY&&n.containerHeight+n.settings.scrollYMarginOffset<n.contentHeight?(n.scrollbarYActive=!0,n.railYHeight=n.containerHeight-n.railYMarginHeight,n.railYRatio=n.containerHeight/n.railYHeight,n.scrollbarYHeight=c(n,o.toInt(n.railYHeight*n.containerHeight/n.contentHeight)),n.scrollbarYTop=o.toInt(t.scrollTop*(n.railYHeight-n.scrollbarYHeight)/(n.contentHeight-n.containerHeight))):n.scrollbarYActive=!1,n.scrollbarXLeft>=n.railXWidth-n.scrollbarXWidth&&(n.scrollbarXLeft=n.railXWidth-n.scrollbarXWidth),n.scrollbarYTop>=n.railYHeight-n.scrollbarYHeight&&(n.scrollbarYTop=n.railYHeight-n.scrollbarYHeight),function(t,e){var n={width:e.railXWidth};e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft,e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-t.scrollTop:n.top=e.scrollbarXTop+t.scrollTop,i.css(e.scrollbarXRail,n);var o={top:t.scrollTop,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?o.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:o.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?o.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:o.left=e.scrollbarYLeft+t.scrollLeft,i.css(e.scrollbarYRail,o),i.css(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),i.css(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(t,n),n.scrollbarXActive?r.add(t,"ps-active-x"):(r.remove(t,"ps-active-x"),n.scrollbarXWidth=0,n.scrollbarXLeft=0,s(t,"left",0)),n.scrollbarYActive?r.add(t,"ps-active-y"):(r.remove(t,"ps-active-y"),n.scrollbarYHeight=0,n.scrollbarYTop=0,s(t,"top",0))}},1963:function(t,e,n){"use strict";t.exports=n(2058)},1964:function(t,e,n){"use strict";var o,r,i=n(1954),l=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e};t.exports=function(t,e,n){if(void 0===t)throw"You must provide an element to the update-scroll function";if(void 0===e)throw"You must provide an axis to the update-scroll function";if(void 0===n)throw"You must provide a value to the update-scroll function";"top"===e&&n<=0&&(t.scrollTop=n=0,t.dispatchEvent(l("ps-y-reach-start"))),"left"===e&&n<=0&&(t.scrollLeft=n=0,t.dispatchEvent(l("ps-x-reach-start")));var s=i.get(t);"top"===e&&n>=s.contentHeight-s.containerHeight&&((n=s.contentHeight-s.containerHeight)-t.scrollTop<=1?n=t.scrollTop:t.scrollTop=n,t.dispatchEvent(l("ps-y-reach-end"))),"left"===e&&n>=s.contentWidth-s.containerWidth&&((n=s.contentWidth-s.containerWidth)-t.scrollLeft<=1?n=t.scrollLeft:t.scrollLeft=n,t.dispatchEvent(l("ps-x-reach-end"))),o||(o=t.scrollTop),r||(r=t.scrollLeft),"top"===e&&n<o&&t.dispatchEvent(l("ps-scroll-up")),"top"===e&&n>o&&t.dispatchEvent(l("ps-scroll-down")),"left"===e&&n<r&&t.dispatchEvent(l("ps-scroll-left")),"left"===e&&n>r&&t.dispatchEvent(l("ps-scroll-right")),"top"===e&&(t.scrollTop=o=n,t.dispatchEvent(l("ps-scroll-y"))),"left"===e&&(t.scrollLeft=r=n,t.dispatchEvent(l("ps-scroll-x")))}},1966:function(t,e,n){"use strict";var o={};o.e=function(t,e){var n=document.createElement(t);return n.className=e,n},o.appendTo=function(t,e){return e.appendChild(t),t},o.css=function(t,e,n){return"object"==typeof e?function(t,e){for(var n in e){var o=e[n];"number"==typeof o&&(o=o.toString()+"px"),t.style[n]=o}return t}(t,e):void 0===n?function(t,e){return window.getComputedStyle(t)[e]}(t,e):function(t,e,n){return"number"==typeof n&&(n=n.toString()+"px"),t.style[e]=n,t}(t,e,n)},o.matches=function(t,e){return void 0!==t.matches?t.matches(e):void 0!==t.matchesSelector?t.matchesSelector(e):void 0!==t.webkitMatchesSelector?t.webkitMatchesSelector(e):void 0!==t.mozMatchesSelector?t.mozMatchesSelector(e):void 0!==t.msMatchesSelector?t.msMatchesSelector(e):void 0},o.remove=function(t){void 0!==t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)},o.queryChildren=function(t,e){return Array.prototype.filter.call(t.childNodes,function(t){return o.matches(t,e)})},t.exports=o},1986:function(t,e,n){"use strict";e.add=function(t,e){t.classList?t.classList.add(e):function(t,e){var n=t.className.split(" ");n.indexOf(e)<0&&n.push(e),t.className=n.join(" ")}(t,e)},e.remove=function(t,e){t.classList?t.classList.remove(e):function(t,e){var n=t.className.split(" "),o=n.indexOf(e);o>=0&&n.splice(o,1),t.className=n.join(" ")}(t,e)},e.list=function(t){return t.classList?Array.prototype.slice.apply(t.classList):t.className.split(" ")}},2058:function(t,e,n){"use strict";var o=n(2059),r=n(2063),i=n(2071);t.exports={initialize:r,update:i,destroy:o}},2059:function(t,e,n){"use strict";var o=n(1959),r=n(1966),i=n(1954);t.exports=function(t){var e=i.get(t);e&&(e.event.unbindAll(),r.remove(e.scrollbarX),r.remove(e.scrollbarY),r.remove(e.scrollbarXRail),r.remove(e.scrollbarYRail),o.removePsClasses(t),i.remove(t))}},2060:function(t,e,n){"use strict";t.exports={handlers:["click-rail","drag-scrollbar","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1,theme:"default"}},2061:function(t,e,n){"use strict";var o=function(t){this.element=t,this.events={}};o.prototype.bind=function(t,e){void 0===this.events[t]&&(this.events[t]=[]),this.events[t].push(e),this.element.addEventListener(t,e,!1)},o.prototype.unbind=function(t,e){var n=void 0!==e;this.events[t]=this.events[t].filter(function(o){return!(!n||o===e)||(this.element.removeEventListener(t,o,!1),!1)},this)},o.prototype.unbindAll=function(){for(var t in this.events)this.unbind(t)};var r=function(){this.eventElements=[]};r.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return void 0===e&&(e=new o(t),this.eventElements.push(e)),e},r.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},r.prototype.unbind=function(t,e,n){this.eventElement(t).unbind(e,n)},r.prototype.unbindAll=function(){for(var t=0;t<this.eventElements.length;t++)this.eventElements[t].unbindAll()},r.prototype.once=function(t,e,n){var o=this.eventElement(t),r=function(t){o.unbind(e,r),n(t)};o.bind(e,r)},t.exports=r},2062:function(t,e,n){"use strict";t.exports=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}()},2063:function(t,e,n){"use strict";var o=n(1959),r=n(1986),i=n(1954),l=n(1960),s={"click-rail":n(2064),"drag-scrollbar":n(2065),keyboard:n(2066),wheel:n(2067),touch:n(2068),selection:n(2069)},c=n(2070);t.exports=function(t,e){e="object"==typeof e?e:{},r.add(t,"ps-container");var n=i.add(t);n.settings=o.extend(n.settings,e),r.add(t,"ps-theme-"+n.settings.theme),n.settings.handlers.forEach(function(e){s[e](t)}),c(t),l(t)}},2064:function(t,e,n){"use strict";var o=n(1954),r=n(1960),i=n(1964);t.exports=function(t){!function(t,e){function n(t){return t.getBoundingClientRect()}var o=function(t){t.stopPropagation()};e.event.bind(e.scrollbarY,"click",o),e.event.bind(e.scrollbarYRail,"click",function(o){var l=o.pageY-window.pageYOffset-n(e.scrollbarYRail).top>e.scrollbarYTop?1:-1;i(t,"top",t.scrollTop+l*e.containerHeight),r(t),o.stopPropagation()}),e.event.bind(e.scrollbarX,"click",o),e.event.bind(e.scrollbarXRail,"click",function(o){var l=o.pageX-window.pageXOffset-n(e.scrollbarXRail).left>e.scrollbarXLeft?1:-1;i(t,"left",t.scrollLeft+l*e.containerWidth),r(t),o.stopPropagation()})}(t,o.get(t))}},2065:function(t,e,n){"use strict";var o=n(1959),r=n(1966),i=n(1954),l=n(1960),s=n(1964);function c(t,e){var n=null,i=null;var c=function(r){!function(r){var i=n+r*e.railXRatio,l=Math.max(0,e.scrollbarXRail.getBoundingClientRect().left)+e.railXRatio*(e.railXWidth-e.scrollbarXWidth);e.scrollbarXLeft=i<0?0:i>l?l:i;var c=o.toInt(e.scrollbarXLeft*(e.contentWidth-e.containerWidth)/(e.containerWidth-e.railXRatio*e.scrollbarXWidth))-e.negativeScrollAdjustment;s(t,"left",c)}(r.pageX-i),l(t),r.stopPropagation(),r.preventDefault()},a=function(){o.stopScrolling(t,"x"),e.event.unbind(e.ownerDocument,"mousemove",c)};e.event.bind(e.scrollbarX,"mousedown",function(l){i=l.pageX,n=o.toInt(r.css(e.scrollbarX,"left"))*e.railXRatio,o.startScrolling(t,"x"),e.event.bind(e.ownerDocument,"mousemove",c),e.event.once(e.ownerDocument,"mouseup",a),l.stopPropagation(),l.preventDefault()})}function a(t,e){var n=null,i=null;var c=function(r){!function(r){var i=n+r*e.railYRatio,l=Math.max(0,e.scrollbarYRail.getBoundingClientRect().top)+e.railYRatio*(e.railYHeight-e.scrollbarYHeight);e.scrollbarYTop=i<0?0:i>l?l:i;var c=o.toInt(e.scrollbarYTop*(e.contentHeight-e.containerHeight)/(e.containerHeight-e.railYRatio*e.scrollbarYHeight));s(t,"top",c)}(r.pageY-i),l(t),r.stopPropagation(),r.preventDefault()},a=function(){o.stopScrolling(t,"y"),e.event.unbind(e.ownerDocument,"mousemove",c)};e.event.bind(e.scrollbarY,"mousedown",function(l){i=l.pageY,n=o.toInt(r.css(e.scrollbarY,"top"))*e.railYRatio,o.startScrolling(t,"y"),e.event.bind(e.ownerDocument,"mousemove",c),e.event.once(e.ownerDocument,"mouseup",a),l.stopPropagation(),l.preventDefault()})}t.exports=function(t){var e=i.get(t);c(t,e),a(t,e)}},2066:function(t,e,n){"use strict";var o=n(1959),r=n(1966),i=n(1954),l=n(1960),s=n(1964);function c(t,e){var n=!1;e.event.bind(t,"mouseenter",function(){n=!0}),e.event.bind(t,"mouseleave",function(){n=!1});e.event.bind(e.ownerDocument,"keydown",function(i){if(!(i.isDefaultPrevented&&i.isDefaultPrevented()||i.defaultPrevented)){var c=r.matches(e.scrollbarX,":focus")||r.matches(e.scrollbarY,":focus");if(n||c){var a=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(a){if("IFRAME"===a.tagName)a=a.contentDocument.activeElement;else for(;a.shadowRoot;)a=a.shadowRoot.activeElement;if(o.isEditable(a))return}var u=0,d=0;switch(i.which){case 37:u=i.metaKey?-e.contentWidth:i.altKey?-e.containerWidth:-30;break;case 38:d=i.metaKey?e.contentHeight:i.altKey?e.containerHeight:30;break;case 39:u=i.metaKey?e.contentWidth:i.altKey?e.containerWidth:30;break;case 40:d=i.metaKey?-e.contentHeight:i.altKey?-e.containerHeight:-30;break;case 33:d=90;break;case 32:d=i.shiftKey?90:-90;break;case 34:d=-90;break;case 35:d=i.ctrlKey?-e.contentHeight:-e.containerHeight;break;case 36:d=i.ctrlKey?t.scrollTop:e.containerHeight;break;default:return}s(t,"top",t.scrollTop-d),s(t,"left",t.scrollLeft+u),l(t),function(n,o){var r=t.scrollTop;if(0===n){if(!e.scrollbarYActive)return!1;if(0===r&&o>0||r>=e.contentHeight-e.containerHeight&&o<0)return!e.settings.wheelPropagation}var i=t.scrollLeft;if(0===o){if(!e.scrollbarXActive)return!1;if(0===i&&n<0||i>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(u,d)&&i.preventDefault()}}})}t.exports=function(t){c(t,i.get(t))}},2067:function(t,e,n){"use strict";var o=n(1954),r=n(1960),i=n(1964);function l(t,e){var n=!1;function o(o){var l=function(t){var e=t.deltaX,n=-1*t.deltaY;return void 0!==e&&void 0!==n||(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!=e&&n!=n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(o),s=l[0],c=l[1];(function(e,n){var o=t.querySelector("textarea:hover, select[multiple]:hover, .ps-child:hover");if(o){if(o.className.match(/ps-must-propagate/))return!0;if(!window.getComputedStyle(o).overflow.match(/(scroll|auto)/))return!1;var r=o.scrollHeight-o.clientHeight;if(r>0&&!(0===o.scrollTop&&n>0||o.scrollTop===r&&n<0))return!0;var i=o.scrollLeft-o.clientWidth;if(i>0&&!(0===o.scrollLeft&&e<0||o.scrollLeft===i&&e>0))return!0}return!1})(s,c)||(n=!1,e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(i(t,"top",c?t.scrollTop-c*e.settings.wheelSpeed:t.scrollTop+s*e.settings.wheelSpeed),n=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(i(t,"left",s?t.scrollLeft+s*e.settings.wheelSpeed:t.scrollLeft-c*e.settings.wheelSpeed),n=!0):(i(t,"top",t.scrollTop-c*e.settings.wheelSpeed),i(t,"left",t.scrollLeft+s*e.settings.wheelSpeed)),r(t),(n=n||function(n,o){var r=t.scrollTop;if(0===n){if(!e.scrollbarYActive)return!1;if(0===r&&o>0||r>=e.contentHeight-e.containerHeight&&o<0)return!e.settings.wheelPropagation}var i=t.scrollLeft;if(0===o){if(!e.scrollbarXActive)return!1;if(0===i&&n<0||i>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(s,c))&&(o.stopPropagation(),o.preventDefault()))}void 0!==window.onwheel?e.event.bind(t,"wheel",o):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",o)}t.exports=function(t){l(t,o.get(t))}},2068:function(t,e,n){"use strict";var o=n(1959),r=n(1954),i=n(1960),l=n(1964);function s(t,e,n,o){function s(e,n){l(t,"top",t.scrollTop-n),l(t,"left",t.scrollLeft-e),i(t)}var c={},a=0,u={},d=null,p=!1,f=!1;function h(){p=!0}function v(){p=!1}function b(t){return t.targetTouches?t.targetTouches[0]:t}function g(t){return!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE)}function m(t){if(g(t)){f=!0;var e=b(t);c.pageX=e.pageX,c.pageY=e.pageY,a=(new Date).getTime(),null!==d&&clearInterval(d),t.stopPropagation()}}function w(n){if(!f&&e.settings.swipePropagation&&m(n),!p&&f&&g(n)){var o=b(n),r={pageX:o.pageX,pageY:o.pageY},i=r.pageX-c.pageX,l=r.pageY-c.pageY;s(i,l),c=r;var d=(new Date).getTime(),h=d-a;h>0&&(u.x=i/h,u.y=l/h,a=d),function(n,o){var r=t.scrollTop,i=t.scrollLeft,l=Math.abs(n),s=Math.abs(o);if(s>l){if(o<0&&r===e.contentHeight-e.containerHeight||o>0&&0===r)return!e.settings.swipePropagation}else if(l>s&&(n<0&&i===e.contentWidth-e.containerWidth||n>0&&0===i))return!e.settings.swipePropagation;return!0}(i,l)&&(n.stopPropagation(),n.preventDefault())}}function Y(){!p&&f&&(f=!1,clearInterval(d),d=setInterval(function(){r.get(t)&&(u.x||u.y)?Math.abs(u.x)<.01&&Math.abs(u.y)<.01?clearInterval(d):(s(30*u.x,30*u.y),u.x*=.8,u.y*=.8):clearInterval(d)},10))}n?(e.event.bind(window,"touchstart",h),e.event.bind(window,"touchend",v),e.event.bind(t,"touchstart",m),e.event.bind(t,"touchmove",w),e.event.bind(t,"touchend",Y)):o&&(window.PointerEvent?(e.event.bind(window,"pointerdown",h),e.event.bind(window,"pointerup",v),e.event.bind(t,"pointerdown",m),e.event.bind(t,"pointermove",w),e.event.bind(t,"pointerup",Y)):window.MSPointerEvent&&(e.event.bind(window,"MSPointerDown",h),e.event.bind(window,"MSPointerUp",v),e.event.bind(t,"MSPointerDown",m),e.event.bind(t,"MSPointerMove",w),e.event.bind(t,"MSPointerUp",Y)))}t.exports=function(t){(o.env.supportsTouch||o.env.supportsIePointer)&&s(t,r.get(t),o.env.supportsTouch,o.env.supportsIePointer)}},2069:function(t,e,n){"use strict";var o=n(1959),r=n(1954),i=n(1960),l=n(1964);function s(t,e){var n=null,s={top:0,left:0};function c(){n&&(clearInterval(n),n=null),o.stopScrolling(t)}var a=!1;e.event.bind(e.ownerDocument,"selectionchange",function(){t.contains(function(){var t=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"";return 0===t.toString().length?null:t.getRangeAt(0).commonAncestorContainer}())?a=!0:(a=!1,c())}),e.event.bind(window,"mouseup",function(){a&&(a=!1,c())}),e.event.bind(window,"keyup",function(){a&&(a=!1,c())}),e.event.bind(window,"mousemove",function(e){if(a){var u={x:e.pageX,y:e.pageY},d={left:t.offsetLeft,right:t.offsetLeft+t.offsetWidth,top:t.offsetTop,bottom:t.offsetTop+t.offsetHeight};u.x<d.left+3?(s.left=-5,o.startScrolling(t,"x")):u.x>d.right-3?(s.left=5,o.startScrolling(t,"x")):s.left=0,u.y<d.top+3?(s.top=d.top+3-u.y<5?-5:-20,o.startScrolling(t,"y")):u.y>d.bottom-3?(s.top=u.y-d.bottom+3<5?5:20,o.startScrolling(t,"y")):s.top=0,0===s.top&&0===s.left?c():n||(n=setInterval(function(){r.get(t)?(l(t,"top",t.scrollTop+s.top),l(t,"left",t.scrollLeft+s.left),i(t)):clearInterval(n)},50))}})}t.exports=function(t){s(t,r.get(t))}},2070:function(t,e,n){"use strict";var o=n(1954),r=n(1960);t.exports=function(t){!function(t,e){e.event.bind(t,"scroll",function(){r(t)})}(t,o.get(t))}},2071:function(t,e,n){"use strict";var o=n(1959),r=n(1966),i=n(1954),l=n(1960),s=n(1964);t.exports=function(t){var e=i.get(t);e&&(e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,r.css(e.scrollbarXRail,"display","block"),r.css(e.scrollbarYRail,"display","block"),e.railXMarginWidth=o.toInt(r.css(e.scrollbarXRail,"marginLeft"))+o.toInt(r.css(e.scrollbarXRail,"marginRight")),e.railYMarginHeight=o.toInt(r.css(e.scrollbarYRail,"marginTop"))+o.toInt(r.css(e.scrollbarYRail,"marginBottom")),r.css(e.scrollbarXRail,"display","none"),r.css(e.scrollbarYRail,"display","none"),l(t),s(t,"top",t.scrollTop),s(t,"left",t.scrollLeft),r.css(e.scrollbarXRail,"display",""),r.css(e.scrollbarYRail,"display",""))}}}]);
//# sourceMappingURL=vendors~deposit-withdraw~exchange~explorer.js.map