define(["require","exports","tslib","react"],(function(t,e,n,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=(function(t){function e(e){var n=t.call(this,e)||this;return n.requestId=null,n.updateStyles=function(){n.setState((function(t,e){return n.requestId=null,{style:e.style}}))},n.state={style:e.style},n}return n.__extends(e,t),e.prototype.componentWillUnmount=function(){this.requestId&&cancelAnimationFrame(this.requestId)},e.prototype.componentDidUpdate=function(){this.requestId||(this.requestId=requestAnimationFrame(this.updateStyles))},e.prototype.render=function(){return r.Children.only(this.props.children(this.state.style))},e})((r=n.__importStar(r)).PureComponent);e.RafStyle=s})); //# sourceMappingURL=index.min.js-vflQM_9Un.map