text: (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{860:function(e,t,i){"use strict";(function(e){var n=i(180);function r(t){var i;i="undefined"!==typeof window?window:"undefined"!==typeof self?self:e;var n="undefined"!==typeof document&&document.attachEvent;if(!n){var r=function(){var e=i.requestAnimationFrame||i.mozRequestAnimationFrame||i.webkitRequestAnimationFrame||function(e){return i.setTimeout(e,20)};return function(t){return e(t)}}(),s=function(){var e=i.cancelAnimationFrame||i.mozCancelAnimationFrame||i.webkitCancelAnimationFrame||i.clearTimeout;return function(t){return e(t)}}(),o=function(e){var t=e.__resizeTriggers__,i=t.firstElementChild,n=t.lastElementChild,r=i.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,r.style.width=i.offsetWidth+1+"px",r.style.height=i.offsetHeight+1+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight},a=function(e){if(!(e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;o(this),this.__resizeRAF__&&s(this.__resizeRAF__),this.__resizeRAF__=r((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(i){i.call(t,e)})))}))}},_=!1,l="",c="animationstart",d="Webkit Moz O ms".split(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f=document.createElement("fakeelement");if(void 0!==f.style.animationName&&(_=!0),!1===_)for(var u=0;u<d.length;u++)if(void 0!==f.style[d[u]+"AnimationName"]){l="-"+d[u].toLowerCase()+"-",c=h[u],_=!0;break}var p="resizeanim",g="@"+l+"keyframes "+p+" { from { opacity: 0; } to { opacity: 0; } } ",m=l+"animation: 1ms "+p+"; "}return{addResizeListener:function(e,r){if(n)e.attachEvent("onresize",r);else{if(!e.__resizeTriggers__){var s=e.ownerDocument,_=i.getComputedStyle(e);_&&"static"==_.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var i=(g||"")+".resize-triggers { "+(m||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=e.head||e.getElementsByTagName("head")[0],r=e.createElement("style");r.id="detectElementResize",r.type="text/css",null!=t&&r.setAttribute("nonce",t),r.styleSheet?r.styleSheet.cssText=i:r.appendChild(e.createTextNode(i)),n.appendChild(r)}}(s),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=s.createElement("div")).className="resize-triggers",e.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',e.appendChild(e.__resizeTriggers__),o(e),e.addEventListener("scroll",a,!0),c&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==p&&o(e)},e.__resizeTriggers__.addEventListener(c,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(r)}},removeResizeListener:function(e,t){if(n)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",a,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(c,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}var s=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},_=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},l=function(e){function t(){var e,i,n;s(this,t);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return i=n=_(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.state={height:n.props.defaultHeight||0,width:n.props.defaultWidth||0},n._onResize=function(){var e=n.props,t=e.disableHeight,i=e.disableWidth,r=e.onResize;if(n._parentNode){var s=n._parentNode.offsetHeight||0,o=n._parentNode.offsetWidth||0,a=window.getComputedStyle(n._parentNode)||{},_=parseInt(a.paddingLeft,10)||0,l=parseInt(a.paddingRight,10)||0,c=parseInt(a.paddingTop,10)||0,d=parseInt(a.paddingBottom,10)||0,h=s-c-d,f=o-_-l;(!t&&n.state.height!==h||!i&&n.state.width!==f)&&(n.setState({height:s-c-d,width:o-_-l}),r({height:s,width:o}))}},n._setRef=function(e){n._autoSizer=e},_(n,i)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=r(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,i=e.className,r=e.disableHeight,s=e.disableWidth,o=e.style,_=this.state,l=_.height,c=_.width,d={overflow:"visible"},h={},f=!1;return r||(0===l&&(f=!0),d.height=0,h.height=l),s||(0===c&&(f=!0),d.width=0,h.width=c),Object(n.createElement)("div",{className:i,ref:this._setRef,style:a({},d,o)},!f&&t(h))}}]),t}(n.PureComponent);l.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}},t.a=l}).call(this,i(31))}}]);
  //# sourceMappingURL=https://miro.com/app/static/vendorReact~AgeMod~BoaUI.des~BreRooMod~ShaAndInv~TemPic~Wel~pag.com.dea.use~pag.com.inv~pag.com.sec~~4b7131c8.78c16a7721730e0c3f92.js.map