System.register([],(function(e){"use strict";return{execute:function(){e({a:i,g:a,i:n});var t=null;function r(){if(t){return t}if(typeof document==="undefined"){t="default";return t}var e=document.createElement("div");e.style.width="100px";e.style.height="100px";e.style.position="absolute";e.style.top="-1000px";e.style.overflow="scroll";e.style.direction="rtl";var r=document.createElement("div");r.style.width="200px";r.style.height="100px";e.appendChild(r);document.body.appendChild(e);if(e.scrollLeft>0){t="reverse"}else{e.scrollLeft=1;t=e.scrollLeft===0?"negative":"default"}document.body.removeChild(e);return t}function n(e){return getComputedStyle(e).direction==="rtl"}function u(e,t,r){switch(r){case"negative":return Math.max(0,-e);case"reverse":return Math.max(0,e);case"default":default:return Math.max(0,t-e)}}function a(e){var t=e.scrollLeft,a=e.scrollWidth,i=e.clientWidth;var c=Math.max(0,a-i);if(c<=0){return 0}var f=n(e);if(!f){return t}return u(t,c,r())}function i(e){return a(e)>0}}}}));
//# sourceMappingURL=p-DVra397g.system.js.map