!function(t,n){e.exports=n()}(0,function(){"use strict";vare="undefined"!=typeofwindow&&"undefined"!=typeofdocument&&"undefined"!=typeofnavigator,n=function(){for(vart=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(e&&navigator.userAgent.indexOf(t[n])>=0)return1;return0}();vari=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()},n))}};functionr(e){returne&&"[object Function]"==={}.toString.call(e)}functions(e,t){if(1!==e.nodeType)return[];varn=e.ownerDocument.defaultView.getComputedStyle(e,null);returnt?n[t]:n}functiona(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}functiono(e){if(!e)returndocument.body;switch(e.nodeName){case"HTML":case"BODY":returne.ownerDocument.body;case"#document":returne.body}vart=s(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?e:o(a(e))}functionl(e){returne&&e.referenceNode?e.referenceNode:e}varu=e&&!(!window.MSInputMethodContext||!document.documentMode),c=e&&/MSIE 10/.test(navigator.userAgent);functiond(e){return11===e?u:10===e?c:u||c}functionf(e){if(!e)returndocument.documentElement;for(vart=d(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"===s(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}functionh(e){returnnull!==e.parentNode?h(e.parentNode):e}functionp(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||f(e.firstElementChild)===e)}(a)?a:f(a);varo=h(e);returno.host?p(o.host,t):p(e,h(t).host)}functionv(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]}functionm(e,t){varn="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";returnparseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}functiong(e,t,n,i){returnMath.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}functionb(e){vart=e.body,n=e.documentElement,i=d(10)&&getComputedStyle(n);return{height:g("Height",t,n,i),width:g("Width",t,n,i)}}vary=function(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")},_=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}}(),w=function(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},x=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};functionC(e){returnx({},e,{right:e.left+e.width,bottom:e.top+e.height})}functionS(e){vart={};try{if(d(10)){t=e.getBoundingClientRect();varn=v(e,"top"),i=v(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},a="HTML"===e.nodeName?b(e.ownerDocument):{},o=a.width||e.clientWidth||r.width,l=a.height||e.clientHeight||r.height,u=e.offsetWidth-o,c=e.offsetHeight-l;if(u||c){varf=s(e);u-=m(f,"x"),c-=m(f,"y"),r.width-=u,r.height-=c}returnC(r)}functionk(e,t){varn=arguments.length>2&&void0!==arguments