!function(t,n){e.exports=n()}(0,function(){"use strict";for(vare="undefined"!=typeofwindow&&"undefined"!=typeofdocument,n=["Edge","Trident","Firefox"],i=0,r=0;r<n.length;r+=1)if(e&&navigator.userAgent.indexOf(n[r])>=0){i=1;break}vars=e&&window.Promise?function(e){vart=!1;returnfunction(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){vart=!1;returnfunction(){t||(t=!0,setTimeout(function(){t=!1,e()},i))}};functiona(e){returne&&"[object Function]"==={}.toString.call(e)}functiono(e,t){if(1!==e.nodeType)return[];varn=e.ownerDocument.defaultView.getComputedStyle(e,null);returnt?n[t]:n}functionl(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}functionu(e){if(!e)returndocument.body;switch(e.nodeName){case"HTML":case"BODY":returne.ownerDocument.body;case"#document":returne.body}vart=o(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:u(l(e))}varc=e&&!(!window.MSInputMethodContext||!document.documentMode),d=e&&/MSIE 10/.test(navigator.userAgent);functionf(e){return11===e?c:10===e?d:c||d}functionh(e){if(!e)returndocument.documentElement;for(vart=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;vari=n&&n.nodeName;returni&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}functionp(e){returnnull!==e.parentNode?p(e.parentNode):e}functionv(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))returndocument.documentElement;varn=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,s=document.createRange();s.setStart(i,0),s.setEnd(r,0);vara=s.commonAncestorContainer;if(e!==a&&t!==a||i.contains(r))returnfunction(e){vart=e.nodeName;return"BODY"!==t&&("HTML"===t||h(e.firstElementChild)===e)}(a)?a:h(a);varo=p(e);returno.host?v(o.host,t):v(e,p(t).host)}functionm(e){vart="top"===(arguments.length>1&&void0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){vari=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}returne[t]}functiong(e,t){varn="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";returnparseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}functionb(e,t,n,i){returnMath.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}functiony(e){vart=e.body,n=e.documentElement,i=f(10)&&getComputedStyle(n);return{height:b("Height",t,n,i),width:b("Width",t,n,i)}}var_=function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")},w=function(){functione(e,t){for(varn=0;n<t.length;n++){vari=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"ini&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}returnfunction(t,n,i){returnn&&e(t.prototype,n),i&&e(t,i),t}}(),x=function(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},C=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(variinn)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}returne};functionS(e){returnC({},e,{right:e.left+e.width,bottom:e.top+e.height})}functionk(e){vart={};try{if(f(10)){t=e.getBoundingClientRect();varn=m(e,"top"),i=m(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}elset=e.getBoundingClientRect()}catch(e){}varr={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===e.nodeName?y(e.ownerDocument):{},a=s.width||e.clientWidth||r.right-r.left,l=s.height||e.clientHeight||r.bottom-r.top,u=e.offsetWidth-a,c=e.offsetHeight-l;if(u||c){vard=o(e);u-=g(d,"x"),c-=g(d,"y"),r.width-=u,r.height-=c}returnS(r)}functionO(e,t){varn=arguments.length>2&&void0!==arguments[2]&&arguments[2],i=f(10),r="HTML"===t.nodeName,s=k(e),a=k(t),l=u(e),c=o(t),d=parseFloat(c.bo