PageSourceSearch

https://enroll.joinamble.com/start-online-visit/js/script.exclusio…loads.local.outbound-links.tagged-events.js

js joinamble.com collected 2026-09-25 20:31:45 UTC 4,847 bytes, 1 lines download raw bytes

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