PageSourceSearch

https://docs.hyperwallet.com/app-part-npm.react-dimensions-6e33877859bcf5705968.min.js

js hyperwallet.com collected 2026-09-24 08:29:53 UTC 2,989 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[73],{UpSj:function(e,t,n){"use strict";var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},h=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(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}var l=n("9/5/"),w=n("sbe7"),m=n("iegG");function a(e){return[e.clientWidth,e.clientHeight]}e.exports=function(e){var t=arguments.length<=0||void 0===e?{}:e,n=t.getDimensions,s=void 0===n?a:n,i=t.debounce,c=void 0===i?0:i,r=t.debounceOpts,u=void 0===r?{}:r,o=t.elementResize,p=void 0!==o&&o;return function(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)}(a,w.Component),h(a,[{key:"getWindow",value:function(){return this.refs.container&&this.refs.container.ownerDocument.defaultView||window}},{key:"componentDidMount",value:function(){if(!this.refs.wrapper)throw new Error("Cannot find wrapper div");this._parent=this.refs.wrapper.parentNode,this.updateDimensionsImmediate(),p?m(this._parent,this.updateDimensions):this.getWindow().addEventListener("resize",this.onResize,!1)}},{key:"componentWillUnmount",value:function(){this.getWindow().removeEventListener("resize",this.onResize)}},{key:"getWrappedInstance",value:function(){return this.refs.wrappedInstance}},{key:"render",value:function(){var e=this.state,t=e.containerWidth,n=e.containerHeight;return!this._parent||t||n||console.warn("Wrapper div has no height or width, try overriding style with `containerStyle` option"),w.createElement("div",{style:{overflow:"visible",height:0,width:0},ref:"wrapper"},(t||n)&&w.createElement(i,f({},this.state,this.props,{updateDimensions:this.updateDimensions,ref:"wrappedInstance"})))}}]),a;function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=n=d(this,(e=Object.getPrototypeOf(a)).call.apply(e,[this].concat(r)))).state={},n.updateDimensionsImmediate=function(){var e=s(n._parent);e[0]===n.state.containerWidth&&e[1]===n.state.containerHeight||n.setState({containerWidth:e[0],containerHeight:e[1]})},n.updateDimensions=0===c?n.updateDimensionsImmediate:l(n.updateDimensionsImmediate,c,u),n.onResize=function(){n.rqf||(n.rqf=n.getWindow().requestAnimationFrame(function(){n.rqf=null,n.updateDimensions()}))},d(n,t)}}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.