PageSourceSearch

https://www.minkou.jp/js/lib/jquery.scrolldepth.min.js?1790235550

js minkou.jp collected 2026-09-24 20:18:01 UTC 3,503 bytes, 1 lines download raw bytes

1function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(y){"use strict";var i,l,a,c,e={minHeight:0,elements:[],percentage:!0,userTiming:!1,pixelDepth:!1,nonInteraction:!0,gaGlobal:!1,gtmOverride:!1},d=y(window),m=[],v=!1,p=0;y.scrollDepth=function(f){function h(e,n,t,o){c?(c({event:"ScrollDistance",eventCategory:"Scroll Depth",eventAction:e,eventLabel:n,eventValue:1,eventNonInteraction:f.nonInteraction}),f.pixelDepth&&2<arguments.length&&p<t&&c({event:"ScrollDistance",eventCategory:"Scroll Depth",eventAction:"Pixel Depth",eventLabel:r(p=t),eventValue:1,eventNonInteraction:f.nonInteraction}),f.userTiming&&3<arguments.length&&c({event:"ScrollTiming",eventCategory:"Scroll Depth",eventAction:e,eventLabel:n,eventTiming:o})):(i&&(window[a]("send","event","Scroll Depth",e,n,1,{nonInteraction:f.nonInteraction}),f.pixelDepth&&2<arguments.length&&p<t&&(p=t,window[a]("send","event","Scroll Depth","Pixel Depth",r(t),1,{nonInteraction:f.nonInteraction})),f.userTiming&&3<arguments.length&&window[a]("send","timing","Scroll Depth",e,o,n)),l&&(_gaq.push(["_trackEvent","Scroll Depth",e,n,1,f.nonInteraction]),f.pixelDepth&&2<arguments.length&&p<t&&(p=t,_gaq.push(["_trackEvent","Scroll Depth","Pixel Depth",r(t),1,f.nonInteraction])),f.userTiming&&3<arguments.length&&_gaq.push(["_trackTiming","Scroll Depth",e,o,n,100])))}function r(e){return(250*Math.floor(e/250)).toString()}function n(){function t(){p=new Date,c=null,a=o.apply(i,l)}var o,r,i,l,a,c,p;v=!0,d.on("scroll.scrollDepth",(o=function(){var e,n,t,o,r,i,l,a=y(document).height(),c=window.innerHeight?window.innerHeight:d.height(),p=d.scrollTop()+c,u=(e=a,{"10%":parseInt(.1*e,10),"20%":parseInt(.2*e,10),"30%":parseInt(.3*e,10),"40%":parseInt(.4*e,10),"60%":parseInt(.6*e,10),"80%":parseInt(.8*e,10),"100%":e-5}),s=new Date-g;return m.length>=11+f.elements.length+(f.percentage?4:0)?(d.off("scroll.scrollDepth"),void(v=!1)):(f.elements&&(r=f.elements,i=p,l=s,y.each(r,function(e,n){-1===y.inArray(n,m)&&y(n).length&&i>=y(n).offset().top&&(h("Elements",n,i,l),m.push(n))})),void(f.percentage&&(n=u,t=p,o=s,y.each(n,function(e,n){-1===y.inArray(e,m)&&n<=t&&(h("Percentage",e,t,o),m.push(e))}))))},r=500,c=null,p=0,function(){var e=new Date,n=r-(e-(p=p||e));return i=this,l=arguments,n<=0?(clearTimeout(c),c=null,p=e,a=o.apply(i,l)):c=c||setTimeout(t,n),a}))}var g=+new Date;f=y.extend({},e,f),y(document).height()<f.minHeight||(f.gaGlobal?(i=!0,a=f.gaGlobal):"function"==typeof ga?(i=!0,a="ga"):"function"==typeof __gaTracker&&(i=!0,a="__gaTracker"),"undefined"!=typeof _gaq&&"function"==typeof _gaq.push&&(l=!0),"function"==typeof f.eventHandler?c=f.eventHandler:"undefined"==typeof dataLayer||"function"!=typeof dataLayer.push||f.gtmOverride||(c=function(e){dataLayer.push(e)}),y.scrollDepth.reset=function(){m=[],p=0,d.off("scroll.scrollDepth"),n()},y.scrollDepth.addElements=function(e){void 0!==e&&y.isArray(e)&&(y.merge(f.elements,e),v||n())},y.scrollDepth.removeElements=function(e){void 0!==e&&y.isArray(e)&&y.each(e,function(e,n){var t=y.inArray(n,f.elements),o=y.inArray(n,m);-1!=t&&f.elements.splice(t,1),-1!=o&&m.splice(o,1)})},n())}});

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.