PageSourceSearch

https://www.scbaseball.org/js/script.file-downloads.local.outbound-links.tagged-events.js

js scbaseball.org collected 2026-10-02 02:08:42 UTC 4,508 bytes, 1 lines download raw bytes

1!function(){var t,e,n,i,a=document.currentScript,o={};function r(t,e,n){window.fetch&&fetch(t,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(e)}).then(function(t){n&&n.callback&&n.callback({status:t.status})}).catch(function(t){n&&n.callback&&n.callback({error:t})})}var c=!1,u={},s=-1,l=0,d=0;function p(){var a=v();if(!t&&(s<i||a>=3e3)){s=i;var c={n:"engagement",sd:Math.round(i/n*100),d:o.domain,u:e,p:u,e:a,v:36};l=0,d=0,r(o.endpoint,c)}}function f(){"visible"===document.visibilityState&&document.hasFocus()&&0===l?l=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(d=v(),l=0,p())}function v(){return l?d+(Date.now()-l):d}function m(){var t=document.body||{},e=document.documentElement||{};return Math.max(t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0,e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0)}function g(){var t,e;return t=window.innerHeight,e=window.scrollY,n<=t?n:e+t}function w(a,v){var w="pageview"===a;w&&c&&(p(),n=m(),i=g());try{if("true"===window.localStorage.plausible_ignore)return void(o.logging&&console.warn("Ignoring Event: localStorage flag"),v&&v.callback&&v.callback(),"pageview"===a&&(t=!0))}catch(t){}var h={};h.n=a,h.v=36,h.u=location.href,h.d=o.domain,h.r=document.referrer||null,v&&v.meta&&(h.m=JSON.stringify(v.meta)),v&&v.props&&(h.p=v.props),v&&!1===v.interactive&&(h.i=!1),w&&(t=!1,e=h.u,u=h.p,s=-1,d=0,l=Date.now(),c||(document.addEventListener("visibilitychange",f),window.addEventListener("blur",f),window.addEventListener("focus",f),c=!0)),r(o.endpoint,h,v)}var h=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"],b=h;function y(t){return t&&t.tagName&&"a"===t.tagName.toLowerCase()}function L(t){if("auxclick"!==t.type||1===t.button){var e=function(t){for(;t&&(void 0===t.tagName||!y(t)||!t.href);)t=t.parentNode;return t}(t.target),n=e&&"string"==typeof e.href&&e.href.split("?")[0];if(!function t(e,n){return!!e&&!(n>3)&&(!!E(e)||t(e.parentNode,n+1))}(e,0)){if(e&&"string"==typeof e.href&&e.host&&e.host!==location.host)return k(t,e,{name:"Outbound Link: Click",props:{url:e.href}});if(function(t){if(!t)return!1;var e=t.split(".").pop();return b.some(function(t){return t===e})}(n))return k(t,e,{name:"File Download",props:{url:n}})}}}function k(t,e,n){var i;i={props:n.props},w(n.name,i)}function E(t){var e=t&&t.classList;if(e){for(var n=0;n<e.length;n++)if(e.item(n).match(/plausible-event-name(=|--)(.+)/))return!0}return!1}function S(t){var e=E(t)?t:t&&t.parentNode,n={name:null,props:{}},i=e&&e.classList;if(!i)return n;for(var a=0;a<i.length;a++){var o,r,c=i.item(a).match(/plausible-event-(.+)(=|--)(.+)/);c&&(o=c[1],r=c[3].replace(/\+/g," "),"name"==o.toLowerCase()?n.name=r:n.props[o]=r)}return n}!function t(e){o.endpoint=a.getAttribute("data-api")||new URL(a.src).origin+"/api/event",o.domain=a.getAttribute("data-domain"),o.logging=!0,n=m(),i=g(),new ResizeObserver(function(){n=m()}).observe(document.documentElement),document.addEventListener("scroll",function(){var t=g();t>i&&(i=t)}),function(t){function e(e){e&&n===location.pathname||(n=location.pathname,t("pageview"))}var n,i=function(){e(!0)},a=window.history;if(a.pushState){var o=a.pushState;a.pushState=function(){o.apply(this,arguments),i()},window.addEventListener("popstate",i)}"hidden"===document.visibilityState||"prerender"===document.visibilityState?document.addEventListener("visibilitychange",function(){n||"visible"!==document.visibilityState||e()}):e(),window.addEventListener("pageshow",function(t){t.persisted&&e()})}(w),function(){document.addEventListener("click",L),document.addEventListener("auxclick",L);var t=a.getAttribute("file-types"),e=a.getAttribute("add-file-types");function n(t){if("auxclick"!==t.type||1===t.button){for(var e,n,i,a=t.target,o=0;o<=3&&a;o++){if((e=a)&&e.tagName&&"form"===e.tagName.toLowerCase())return;y(a)&&(n=a),E(a)&&(i=a),a=a.parentNode}if(i){var r=S(i);if(n)r.props.url=n.href,k(t,n,r);else{var c={};c.props=r.props,w(r.name,c)}}}}t&&(b=t.split(",")),e&&(b=e.split(",").concat(h)),document.addEventListener("submit",function(t){var e,n=S(t.target);n.name&&(e={props:n.props},w(n.name,e))}),document.addEventListener("click",n),document.addEventListener("auxclick",n)}();for(var r=window.plausible&&window.plausible.q||[],c=0;c<r.length;c++)w.apply(this,r[c]);window.plausible=w,window.plausible.init=t,window.plausible.v=36,window.plausible.l=!0}()}();

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.