PageSourceSearch

https://www.abortionfinder.org/assets/plausible-Cio_AOtB.js

js abortionfinder.org collected 2026-09-24 15:27:21 UTC 6,131 bytes, 1 lines download raw bytes

1var k,p,c,i={};function j(e){return Object.assign(e,{autoCapturePageviews:e.autoCapturePageviews!==!1,logging:e.logging!==!1,bindToWindow:e.bindToWindow!==!1})}function I(e){if(i.isInitialized)throw Error("plausible.init() can only be called once");if(!e||!e.domain)throw Error("plausible.init(): domain argument is required");e.endpoint||(e.endpoint="https://plausible.io/api/event"),Object.assign(i,e),i.isInitialized=!0}function C(e,n,t){window.fetch&&fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(n)}).then(function(o){t&&t.callback&&t.callback({status:o.status})}).catch(function(o){t&&t.callback&&t.callback({error:o})})}var g=!1,O=location.href,P={},b=-1,d=0,v=0;function A(){g&&(_(),p=y(),c=E())}function $(e){k=!1,O=e.u,P=e.p,b=-1,v=0,d=Date.now(),B()}function q(){k=!0}function _(){var e=z();if(!k&&(b<c||e>=3e3)){b=c;var n={n:"engagement",sd:Math.round(c/p*100),d:i.domain,u:O,p:P,e,v:34};d=0,v=0,i.hashBasedRouting&&(n.h=1),C(i.endpoint,n)}}function w(){document.visibilityState==="visible"&&document.hasFocus()&&d===0?d=Date.now():document.visibilityState!=="hidden"&&document.hasFocus()||(v=z(),d=0,_())}function B(){g||(document.addEventListener("visibilitychange",w),window.addEventListener("blur",w),window.addEventListener("focus",w),g=!0)}function z(){return d?v+(Date.now()-d):v}function y(){var e=document.body||{},n=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,n.scrollHeight||0,n.offsetHeight||0,n.clientHeight||0)}function E(){var e,n;return e=window.innerHeight,n=window.scrollY,p<=e?p:n+e}function W(){p=y(),c=E(),new ResizeObserver(function(){p=y()}).observe(document.documentElement),document.addEventListener("scroll",function(){var e=E();e>c&&(c=e)})}function f(e,n){if(!i.isInitialized)throw Error("plausible.track() can only be called after plausible.init()");var t,o=e==="pageview";if(o&&A(),!i.captureOnLocalhost){if(/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(location.hostname)||location.protocol==="file:")return m(e,n,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return m(e,n)}try{if(window.localStorage.plausible_ignore==="true")return m(e,n,"localStorage flag")}catch{}var a={};a.n=e,a.v=34;var r=n&&(n.u||n.url);if(a.u=r||location.href,a.d=i.domain,a.r=document.referrer||null,n&&n.props&&(a.p=n.props),n&&n.interactive===!1&&(a.i=!1),n&&n.revenue&&(a.$=n.revenue),i.customProperties){var t=i.customProperties;typeof t=="function"&&(t=i.customProperties(e)),typeof t=="object"&&(a.p=Object.assign({},t,a.p))}if(i.hashBasedRouting&&(a.h=1),typeof i.transformRequest=="function"&&!(a=i.transformRequest(a)))return m(e,n,"transformRequest");o&&$(a),C(i.endpoint,a,n)}function m(e,n,t){t&&i.logging&&console.warn("Ignoring Event: "+t),n&&n.callback&&n.callback(),e==="pageview"&&q()}var M=["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"],H=1,R=3,T=M;function Y(e){for(;e&&(e.tagName===void 0||!F(e)||!e.href);)e=e.parentNode;return e}function F(e){return e&&e.tagName&&e.tagName.toLowerCase()==="a"}function D(e){if(e.type!=="auxclick"||e.button===H){var n=Y(e.target),t=n&&typeof n.href=="string"&&n.href.split("?")[0];if(!S(n,0)){if(i.outboundLinks&&J(n))return L(e,n,{name:"Outbound Link: Click",props:{url:n.href}});if(i.fileDownloads&&U(t))return L(e,n,{name:"File Download",props:{url:t}})}}}function L(e,n,t){var o;(o={props:t.props}).revenue=t.revenue,f(t.name,o)}function J(e){return e&&typeof e.href=="string"&&e.host&&e.host!==location.host}function U(e){if(!e)return!1;var n=e.split(".").pop();return T.some(function(t){return t===n})}function x(e){var n=e&&e.classList;if(n){for(var t=0;t<n.length;t++)if(n.item(t).match(/plausible-event-name(=|--)(.+)/))return!0}return!1}function S(e,n){return!!e&&!(n>R)&&(!!x(e)||S(e.parentNode,n+1))}function N(e){var n=x(e)?e:e&&e.parentNode,t={name:null,props:{}};t.revenue={};var o=n&&n.classList;if(!o)return t;for(var a=0;a<o.length;a++){var r,s,u=o.item(a),l=u.match(/plausible-event-(.+)(=|--)(.+)/);l&&(r=l[1],s=l[3].replace(/\+/g," "),r.toLowerCase()=="name"?t.name=s:t.props[r]=s);var h=u.match(/plausible-revenue-(.+)(=|--)(.+)/);h&&(r=h[1],s=h[3],t.revenue[r]=s)}return t}function V(){function e(n){if(n.type!=="auxclick"||n.button===H){for(var t,o,a,r=n.target,s=0;s<=R&&r;s++){if((t=r)&&t.tagName&&t.tagName.toLowerCase()==="form")return;F(r)&&(o=r),x(r)&&(a=r),r=r.parentNode}if(a){var u=N(a);if(o)u.props.url=o.href,L(n,o,u);else{var l={};l.props=u.props,l.revenue=u.revenue,f(u.name,l)}}}}document.addEventListener("click",D),document.addEventListener("auxclick",D),i.fileDownloads&&typeof i.fileDownloads=="object"&&Array.isArray(i.fileDownloads.fileExtensions)&&(T=i.fileDownloads.fileExtensions),i.formSubmissions&&document.addEventListener("submit",function(n){(n.target.hasAttribute("novalidate")||n.target.checkValidity())&&(S(n.target,0)||f("Form: Submission"))},!0),document.addEventListener("submit",function(n){var t,o=N(n.target);o.name&&((t={props:o.props}).revenue=o.revenue,f(o.name,t))}),document.addEventListener("click",e),document.addEventListener("auxclick",e)}function G(e){function n(s){(i.hashBasedRouting||!s||t!==location.pathname)&&(t=location.pathname,e("pageview"))}var t,o=function(){n(!0)};if(i.hashBasedRouting)window.addEventListener("hashchange",o);else{var a=window.history;if(a.pushState){var r=a.pushState;a.pushState=function(){r.apply(this,arguments),o()},window.addEventListener("popstate",o)}}document.visibilityState==="hidden"||document.visibilityState==="prerender"?document.addEventListener("visibilitychange",function(){t||document.visibilityState!=="visible"||n()}):n(),window.addEventListener("pageshow",function(s){s.persisted&&n()})}function K(e){I(j(e||{})),W(),i.autoCapturePageviews&&G(f),V(),i.bindToWindow&&typeof window<"u"&&(window.plausible=f,window.plausible.s="npm",window.plausible.v=34,window.plausible.l=!0)}export{M as DEFAULT_FILE_TYPES,K as init,f as track};

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.