PageSourceSearch

https://mindthegraph.com/_next/static/chunks/1216-6f418f9eedc961b1.js

js mindthegraph.com collected 2026-10-02 02:49:05 UTC 7,968 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1216],{92703:function(e,t,n){"use strict";var o=n(50414);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,u){if(u!==o){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1216:function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n(67294),i=c(r),u=c(n(45697)),l=n(54081),a=c(n(38315)),s=c(n(38282)),f=c(n(40821));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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}function v(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)}var h=0,m=0,y=0,b=0,w="data-lazyload-listened",g=[],E=[],_=!1;try{var O=Object.defineProperty({},"passive",{get:function(){_=!0}});window.addEventListener("test",null,O)}catch(A){}var T=!!_&&{capture:!1,passive:!0},P=function(e){var t=e.ref;if(t instanceof HTMLElement){var n=(0,a.default)(t),o=e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?function(e,t){var n=e.ref,o=void 0,r=void 0,i=void 0,u=void 0;try{var l=t.getBoundingClientRect();o=l.top,r=l.left,i=l.height,u=l.width}catch(A){o=h,r=m,i=b,u=y}var a=window.innerHeight||document.documentElement.clientHeight,s=window.innerWidth||document.documentElement.clientWidth,f=Math.max(o,0),c=Math.max(r,0),d=Math.min(a,o+i)-f,p=Math.min(s,r+u)-c,v=void 0,w=void 0,g=void 0,E=void 0;try{var _=n.getBoundingClientRect();v=_.top,w=_.left,g=_.height,E=_.width}catch(A){v=h,w=m,g=b,E=y}var O=v-f,T=w-c,P=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return O-P[0]<=d&&O+g+P[1]>=0&&T-P[0]<=p&&T+E+P[1]>=0}(e,n):function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,o=void 0;try{var r=t.getBoundingClientRect();n=r.top,o=r.height}catch(A){n=h,o=b}var i=window.innerHeight||document.documentElement.clientHeight,u=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-u[0]<=i&&n+o+u[1]>=0}(e);o?e.visible||(e.props.once&&E.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},C=function(){E.forEach((function(e){var t=g.indexOf(e);-1!==t&&g.splice(t,1)})),E=[]},j=function(){for(var e=0;e<g.length;++e){var t=g[e];P(t)}C()},N=void 0,k=null,R=function(e){function t(e){d(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.visible=!1,n.setRef=n.setRef.bind(n),n}
1return v(t,e),o(t,[{key:"componentDidMount",value:function(){var e=window,t=this.props.scrollContainer;t&&"string"===typeof t&&(e=e.document.querySelector(t));var n=void 0!==this.props.debounce&&"throttle"===N||"debounce"===N&&void 0===this.props.debounce;if(n&&((0,l.off)(e,"scroll",k,T),(0,l.off)(window,"resize",k,T),k=null),k||(void 0!==this.props.debounce?(k=(0,s.default)(j,"number"===typeof this.props.debounce?this.props.debounce:300),N="debounce"):void 0!==this.props.throttle?(k=(0,f.default)(j,"number"===typeof this.props.throttle?this.props.throttle:300),N="throttle"):k=j),this.props.overflow){var o=(0,a.default)(this.ref);if(o&&"function"===typeof o.getAttribute){var r=+o.getAttribute(w)+1;1===r&&o.addEventListener("scroll",k,T),o.setAttribute(w,r)}}else if(0===g.length||n){var i=this.props,u=i.scroll,c=i.resize;u&&(0,l.on)(e,"scroll",k,T),c&&(0,l.on)(window,"resize",k,T)}g.push(this),P(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var e=(0,a.default)(this.ref);if(e&&"function"===typeof e.getAttribute){var t=+e.getAttribute(w)-1;0===t?(e.removeEventListener("scroll",k,T),e.removeAttribute(w)):e.setAttribute(w,t)}}var n=g.indexOf(this);-1!==n&&g.splice(n,1),0===g.length&&"undefined"!==typeof window&&((0,l.off)(window,"resize",k,T),(0,l.off)(window,"scroll",k,T))}},{key:"setRef",value:function(e){e&&(this.ref=e)}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.children,o=e.placeholder,r=e.className,u=e.classNamePrefix,l=e.style;return i.default.createElement("div",{className:u+"-wrapper "+r,ref:this.setRef,style:l},this.visible?n:o||i.default.createElement("div",{style:{height:t},className:u+"-placeholder"}))}}]),t}(r.Component);R.propTypes={className:u.default.string,classNamePrefix:u.default.string,once:u.default.bool,height:u.default.oneOfType([u.default.number,u.default.string]),offset:u.default.oneOfType([u.default.number,u.default.arrayOf(u.default.number)]),overflow:u.default.bool,resize:u.default.bool,scroll:u.default.bool,children:u.default.node,throttle:u.default.oneOfType([u.default.number,u.default.bool]),debounce:u.default.oneOfType([u.default.number,u.default.bool]),placeholder:u.default.node,scrollContainer:u.default.oneOfType([u.default.string,u.default.object]),unmountIfInvisible:u.default.bool,style:u.default.object},R.defaultProps={className:"",classNamePrefix:"lazyload",once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1};var x=function(e){return e.displayName||e.name||"Component"};t.ZP=R},38282:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=void 0,r=void 0,i=void 0,u=void 0,l=void 0,a=function a(){var s=+new Date-u;s<t&&s>=0?o=setTimeout(a,t-s):(o=null,n||(l=e.apply(i,r),o||(i=null,r=null)))};return function(){i=this,r=arguments,u=+new Date;var s=n&&!o;return o||(o=setTimeout(a,t)),s&&(l=e.apply(i,r),i=null,r=null),l}}},54081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,n,o){o=o||!1,e.addEventListener?e.addEventListener(t,n,o):e.attachEvent&&e.attachEvent("on"+t,(function(t){n.call(e,t||window.event)}))},t.off=function(e,t,n,o){o=o||!1,e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent&&e.detachEvent("on"+t,n)}},38315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,o=e;o;){if(!o.parentNode)return e.ownerDocument||document.documentElement;var r=window.getComputedStyle(o),i=r.position,u=r.overflow,l=r["overflow-x"],a=r["overflow-y"];if("static"===i&&t)o=o.parentNode;else{if(n.test(u)&&n.test(l)&&n.test(a))return o;o=o.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},40821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o,r;return t||(t=250),function(){var i=n||this,u=+new Date,l=arguments;o&&u<o+t?(clearTimeout(r),r=setTimeout((function(){o=u,e.apply(i,l)}),t)):(o=u,e.apply(i,l))}}}}]);
2//# sourceMappingURL=1216-6f418f9eedc961b1.js.map

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.