var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,d){a!=Array.prototype&&a!=Object.prototype&&(a[b]=d.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};
$jscomp.SymbolClass=function(a,b){this.$jscomp$symbol$id_=a;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:b})};$jscomp.SymbolClass.prototype.toString=function(){return this.$jscomp$symbol$id_};$jscomp.Symbol=function(){function a(d){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new $jscomp.SymbolClass($jscomp.SYMBOL_PREFIX+(d||"")+"_"+b++,d)}var b=0;return a}();
$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.iterator;a||(a=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&$jscomp.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}});$jscomp.initSymbolIterator=function(){}};
$jscomp.initSymbolAsyncIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.asyncIterator;a||(a=$jscomp.global.Symbol.asyncIterator=$jscomp.global.Symbol("Symbol.asyncIterator"));$jscomp.initSymbolAsyncIterator=function(){}};$jscomp.iteratorPrototype=function(a){$jscomp.initSymbolIterator();a={next:a};a[$jscomp.global.Symbol.iterator]=function(){return this};return a};
$jscomp.iteratorFromArray=function(a,b){$jscomp.initSymbolIterator();a instanceof String&&(a+="");var d=0,c={next:function(){if(d<a.length){var g=d++;return{value:b(g,a[g]),done:!1}}c.next=function(){return{done:!0,value:void 0}};return c.next()}};c[Symbol.iterator]=function(){return c};return c};
$jscomp.polyfill=function(a,b,d,c){if(b){d=$jscomp.global;a=a.split(".");for(c=0;c<a.length-1;c++){var g=a[c];g in d||(d[g]={});d=d[g]}a=a[a.length-1];c=d[a];b=b(c);b!=c&&null!=b&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:b})}};$jscomp.polyfill("Array.prototype.keys",function(a){return a?a:function(){return $jscomp.iteratorFromArray(this,function(a){return a})}},"es6","es3");
(function(a,b){"function"===typeof define&&define.amd?define(b):"object"===typeof exports?module.exports=b():a.ResizeSensor=b()})("undefined"!==typeof window?window:this,function(){function a(a,b){var f=Object.prototype.toString.call(a),e=0,d=a.length;if("[object Array]"===f||"[object NodeList]"===f||"[object HTMLCollection]"===f||"[object Object]"===f||"undefined"!==typeof jQuery&&a instanceof jQuery||"undefined"!==typeof Elements&&a instanceof Elements)for(;e<d;e++)b(a[e]);else b(a)}function b(a){if(!a.getBoundingClientRect)return{width:a.offsetWidth,
height:a.offsetHeight};a=a.getBoundingClientRect();return{width:Math.round(a.width),height:Math.round(a.height)}}function d(a,b){Object.keys(b).forEach(function(f){a.style[f]=b[f]})}if("undefined"===typeof window)return null;var c="undefined"!=typeof window&&Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),g=c.requestAnimationFrame||c.mozRequestAnimationFrame||c.webkitRequestAnimationFrame||function(a){return c.setTimeout(a,20)},m=function(c,h){function f(){var a=
[];this.add=function(b){a.push(b)};var b,f;this.call=function(l){b=0;for(f=a.length;b<f;b++)a[b].call(this,l)};this.remove=function(l){var d=[];b=0;for(f=a.length;b<f;b++)a[b]!==l&&d.push(a[b]);a=d};this.length=function(){return a.length}}function e(a,c){if(a)if(a.resizedAttached)a.resizedAttached.add(c);else{a.resizedAttached=new f;a.resizedAttached.add(c);a.resizeSensor=document.createElement("div");a.resizeSensor.dir="ltr";a.resizeSensor.className="resize-sensor";var e={pointerEvents:"none",position:"absolute",
left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"};c={position:"absolute",left:"0px",top:"0px",transition:"0s"};d(a.resizeSensor,e);var h=document.createElement("div");h.className="resize-sensor-expand";d(h,e);var l=document.createElement("div");d(l,c);h.appendChild(l);var n=document.createElement("div");n.className="resize-sensor-shrink";d(n,e);e=document.createElement("div");d(e,c);d(e,{width:"200%",height:"200%"});n.appendChild(e);a.resizeSensor.appendChild(h);
a.resizeSensor.appendChild(n);a.appendChild(a.resizeSensor);c=(c=window.getComputedStyle(a))?c.getPropertyValue("position"):null;"absolute"!==c&&"relative"!==c&&"fixed"!==c&&"sticky"!==c&&(a.style.position="relative");var m,r,p=b(a),u=0,v=0,w=!0;k=0;var t=function(){var b=a.offsetWidth,c=a.offsetHeight;l.style.width=b+10+"px";l.style.height=c+10+"px";h.scrollLeft=b+10;h.scrollTop=c+10;n.scrollLeft=b+10;n.scrollTop=c+10},q=function(){if(w){if(0===a.offsetWidth&&0===a.offsetHeight){k||(k=g(function(){k=
0;q()}));return}w=!1}t()};a.resizeSensor.resetSensor=q;var x=function(){r=0;m&&(u=p.width,v=p.height,a.resizedAttached&&a.resizedAttached.call(p))};c=function(){p=b(a);(m=p.width!==u||p.height!==v)&&!r&&(r=g(x));q()};e=function(a,b,c){a.attachEvent?a.attachEvent("on"+b,c):a.addEventListener(b,c)};e(h,"scroll",c);e(n,"scroll",c);k=g(q)}}var k=0;a(c,function(a){e(a,h)});this.detach=function(a){k||(window.cancelAnimationFrame(k),k=0);m.detach(c,a)};this.reset=function(){c.resizeSensor.resetSensor()}};
m.reset=function(b){a(b,function(a){a.resizeSensor.resetSensor()})};m.detach=function(b,c){a(b,function(a){if(a){if(a.resizedAttached&&"function"===typeof c&&(a.resizedAttached.remove(c),a.resizedAttached.length()))return;a.resizeSensor&&(a.contains(a.resizeSensor)&&a.removeChild(a.resizeSensor),delete a.resizeSensor,delete a.resizedAttached)}})};if("undefined"!==typeof MutationObserver){var t=new MutationObserver(function(a){for(var b in a)if(a.hasOwnProperty(b))for(var c=a[b].addedNodes,d=0;d<c.length;d++)c[d].resizeSensor&&
m.reset(c[d])});document.addEventListener("DOMContentLoaded",function(a){t.observe(document.body,{childList:!0,subtree:!0})})}return m});
