PageSourceSearch

https://www.cantref.com/app/brands/default/1878.018a4cf5b9d696e34a9b.js

js cantref.com collected 2026-09-29 02:39:13 UTC 2,943 bytes, 1 lines download raw bytes

1(globalThis.webpackChunkloop_web=globalThis.webpackChunkloop_web||[]).push([[1878],{1878(t,e,n){"use strict";n.r(e),n.d(e,{createFrom:()=>_});var s=n(7819),i=n.n(s);class o{constructor(t){this.el=t,this.dataSrc=this.el.dataset.src;let e=this,n={enter:t=>{t.setAttribute("src",e.dataSrc),t.complete?e.el.classList.add("loaded"):t.onload=()=>{e.el.classList.add("loaded")}}};new(i())(t,n),window.dispatchEvent(new Event("scroll"))}}function _(t){t.forEach(t=>{1===t.nodeType&&new o(t)})}},7819(t){t.exports=function(){var t=function(){},e=100;function n(t,n){var s,i,o;return void 0===n&&(n=e),function(){!0===s?(clearTimeout(i),i=setTimeout(function(){Date.now()-o>=n&&(t.apply(this,arguments),o=Date.now())},n-(Date.now()-o))):(t.apply(this,arguments),o=Date.now(),s=!0)}}var s=function(t,e){for(var n in this.element=t,this.visible=!1,e)Object.hasOwnProperty.call(e,n)&&(this[n]=e[n]);if(void 0!==t.dataset){if(void 0!==t.dataset.huntPersist)try{this.persist=JSON.parse(t.dataset.huntPersist)}catch(t){}if(void 0!==t.dataset.huntOffset)try{this.offset=JSON.parse(t.dataset.huntOffset)}catch(t){}}};s.prototype.offset=0,s.prototype.persist=!1,s.prototype.enter=t,s.prototype.leave=t;var i=function(t,e){if(!(t&&1===t.nodeType||"number"==typeof t.length))throw new TypeError("hunt: observer first argument should be a node or a list of nodes");if("object"!=typeof e)throw new TypeError("hunt: observer second argument should be an object");if(1===t.nodeType)this.__huntedElements__=[new s(t,e)];else{var n=[].slice.call(t);this.__huntedElements__=n.map(function(t){return new s(t,e)})}this.__viewportHeight__=window.innerHeight,this.__connect__(e.throttleInterval)};return i.prototype.__connect__=function(t){this.__throttledHuntElements__=n(this.__huntElements__.bind(this),t),this.__throttledUpdateMetrics__=n(this.__updateMetrics__.bind(this),t),window.addEventListener("scroll",this.__throttledHuntElements__),window.addEventListener("resize",this.__throttledUpdateMetrics__),this.__huntElements__()},i.prototype.__huntElements__=function(){for(var e=this.__huntedElements__.length;e;){var n=this.__huntedElements__[--e],s=n.element.getBoundingClientRect(),i=s.top-n.offset<this.__viewportHeight__&&s.top>=-(s.height+n.offset);!1===n.visible&&!0===i&&(n.enter.call(null,n.element),n.visible=!0,n.leave===t&&!0!==n.persist&&(this.__huntedElements__.splice(e,1),0===this.__huntedElements__.length&&this.disconnect())),!0===n.visible&&!1===i&&(n.leave.call(null,n.element),n.visible=!1,!0!==n.persist&&(this.__huntedElements__.splice(e,1),0===this.__huntedElements__.length&&this.disconnect()))}},i.prototype.__updateMetrics__=function(){this.__viewportHeight__=window.innerHeight,this.__huntElements__()},i.prototype.disconnect=function(){window.removeEventListener("scroll",this.__throttledHuntElements__),window.removeEventListener("resize",this.__throttledUpdateMetrics__)},i.prototype.trigger=function(){this.__huntElements__()},i}()}}]);

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.