PageSourceSearch

https://upod.eu/js/script.exclusions.hash.local.manual.revenue.tagged-events.js

js upod.eu collected 2026-10-02 01:03:41 UTC 3,981 bytes, 1 lines download raw bytes

1!function(){var e,t,n,a,i=document.currentScript,r={};function o(e,t,n){window.fetch&&fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(e){n&&n.callback&&n.callback({status:e.status})}).catch(function(e){n&&n.callback&&n.callback({error:e})})}var u=!1,c={},l=-1,s=0,d=0;function p(){var i=f();if(!e&&(l<a||i>=3e3)){l=a;var u={n:"engagement",sd:Math.round(a/n*100),d:r.domain,u:t,p:c,e:i,v:36};s=0,d=0,u.h=1,o(r.endpoint,u)}}function v(){"visible"===document.visibilityState&&document.hasFocus()&&0===s?s=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(d=f(),s=0,p())}function f(){return s?d+(Date.now()-s):d}function m(){var e=document.body||{},t=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function g(){var e,t;return e=window.innerHeight,t=window.scrollY,n<=e?n:t+e}function h(f,h){var b="pageview"===f;b&&u&&(p(),n=m(),a=g());try{if("true"===window.localStorage.plausible_ignore)return w(f,h,"localStorage flag")}catch(e){}var L=i&&i.getAttribute("data-include"),k=i&&i.getAttribute("data-exclude");function y(e){var t=location.pathname;return(t+=location.hash).match(RegExp("^"+e.trim().replace(/\*\*/g,".*").replace(/([^\.])\*/g,"$1[^\\s/]*")+"/?$"))}if(b){var E=!L||L&&L.split(",").some(y),N=k&&k.split(",").some(y);if(!E||N)return w(f,h,"exclusion rule")}var x={};x.n=f,x.v=36,x.u=h&&(h.u||h.url)||location.href,x.d=r.domain,x.r=document.referrer||null,h&&h.meta&&(x.m=JSON.stringify(h.meta)),h&&h.props&&(x.p=h.props),h&&!1===h.interactive&&(x.i=!1),h&&h.revenue&&(x.$=h.revenue),x.h=1,b&&(e=!1,t=x.u,c=x.p,l=-1,d=0,s=Date.now(),u||(document.addEventListener("visibilitychange",v),window.addEventListener("blur",v),window.addEventListener("focus",v),u=!0)),o(r.endpoint,x,h)}function w(t,n,a){a&&r.logging&&console.warn("Ignoring Event: "+a),n&&n.callback&&n.callback(),"pageview"===t&&(e=!0)}function b(e){return e&&e.tagName&&"a"===e.tagName.toLowerCase()}function L(e){if("auxclick"!==e.type||1===e.button){var t=function(e){for(;e&&(void 0===e.tagName||!b(e)||!e.href);)e=e.parentNode;return e}(e.target);t&&"string"==typeof t.href&&t.href.split("?")[0],function e(t,n){return!!t&&!(n>3)&&(!!k(t)||e(t.parentNode,n+1))}(t,0)}}function k(e){var t=e&&e.classList;if(t){for(var n=0;n<t.length;n++)if(t.item(n).match(/plausible-event-name(=|--)(.+)/))return!0}return!1}function y(e){var t=k(e)?e:e&&e.parentNode,n={name:null,props:{}};n.revenue={};var a=t&&t.classList;if(!a)return n;for(var i=0;i<a.length;i++){var r,o,u=a.item(i),c=u.match(/plausible-event-(.+)(=|--)(.+)/);c&&(r=c[1],o=c[3].replace(/\+/g," "),"name"==r.toLowerCase()?n.name=o:n.props[r]=o);var l=u.match(/plausible-revenue-(.+)(=|--)(.+)/);l&&(r=l[1],o=l[3],n.revenue[r]=o)}return n}!function e(t){r.endpoint=i.getAttribute("data-api")||new URL(i.src).origin+"/api/event",r.domain=i.getAttribute("data-domain"),r.logging=!0,n=m(),a=g(),new ResizeObserver(function(){n=m()}).observe(document.documentElement),document.addEventListener("scroll",function(){var e=g();e>a&&(a=e)}),function(){function e(e){if("auxclick"!==e.type||1===e.button){for(var t,n,a=e.target,i=0;i<=3&&a;i++){if((r=a)&&r.tagName&&"form"===r.tagName.toLowerCase())return;b(a)&&(t=a),k(a)&&(n=a),a=a.parentNode}if(n){var r,o,u=y(n);if(t)u.props.url=t.href,(o={props:u.props}).revenue=u.revenue,h(u.name,o);else{var c={};c.props=u.props,c.revenue=u.revenue,h(u.name,c)}}}}document.addEventListener("click",L),document.addEventListener("auxclick",L),document.addEventListener("submit",function(e){var t,n=y(e.target);n.name&&((t={props:n.props}).revenue=n.revenue,h(n.name,t))}),document.addEventListener("click",e),document.addEventListener("auxclick",e)}();for(var o=window.plausible&&window.plausible.q||[],u=0;u<o.length;u++)h.apply(this,o[u]);window.plausible=h,window.plausible.init=e,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.