PageSourceSearch

https://www.filmtotaal.nl/vitality.js?v=20260529

js filmtotaal.nl collected 2026-10-02 02:45:34 UTC 6,263 bytes, 2 lines download raw bytes

1// Vitality analytics script - RTL Media Lab
2(function(){async function e(e){return await t(e)?await n():null}function t(e){return new Promise(t=>{var n;if((n=window._mega)!=null&&n.consentReady)t(!0);else{let n;e!==void 0&&(n=AbortSignal.timeout(e),n.addEventListener(`abort`,()=>{t(!1)})),window.addEventListener(`mega.consent.ready`,()=>{t(!0)},{once:!0,signal:n})}})}async function n(){return new Promise(e=>{window.__tcfapi(`addEventListener`,2,(t,n)=>{var r,i;n||e(null),window.__tcfapi(`removeEventListener`,2,()=>{},t.listenerId);let a=!1,o=!1,s=(r=(i=t.purpose)==null?void 0:i.consents)==null?{}:r;Object.keys(s).length>0&&(Object.values(s).includes(!0)&&(a=!0),Object.values(s).includes(!1)||(o=!0)),e(a?o?`full`:`partial`:`none`)})})}var r=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))},i=function(){function e(e,t,n){this.name=e,this.version=t,this.os=n,this.type=`browser`}return e}(),a=function(){function e(e){this.version=e,this.type=`node`,this.name=`node`,this.os=process.platform}return e}(),o=function(){function e(e,t,n,r){this.name=e,this.version=t,this.os=n,this.bot=r,this.type=`bot-device`}return e}(),s=function(){function e(){this.type=`bot`,this.bot=!0,this.name=`bot`,this.version=null,this.os=null}return e}(),c=function(){function e(){this.type=`react-native`,this.name=`react-native`,this.version=null,this.os=null}return e}(),l=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,u=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,d=3,f=[[`aol`,/AOLShield\/([0-9\._]+)/],[`edge`,/Edge\/([0-9\._]+)/],[`edge-ios`,/EdgiOS\/([0-9\._]+)/],[`yandexbrowser`,/YaBrowser\/([0-9\._]+)/],[`kakaotalk`,/KAKAOTALK\s([0-9\.]+)/],[`samsung`,/SamsungBrowser\/([0-9\.]+)/],[`silk`,/\bSilk\/([0-9._-]+)\b/],[`miui`,/MiuiBrowser\/([0-9\.]+)$/],[`beaker`,/BeakerBrowser\/([0-9\.]+)/],[`edge-chromium`,/EdgA?\/([0-9\.]+)/],[`chromium-webview`,/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],[`chrome`,/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],[`phantomjs`,/PhantomJS\/([0-9\.]+)(:?\s|$)/],[`crios`,/CriOS\/([0-9\.]+)(:?\s|$)/],[`firefox`,/Firefox\/([0-9\.]+)(?:\s|$)/],[`fxios`,/FxiOS\/([0-9\.]+)/],[`opera-mini`,/Opera Mini.*Version\/([0-9\.]+)/],[`opera`,/Opera\/([0-9\.]+)(?:\s|$)/],[`opera`,/OPR\/([0-9\.]+)(:?\s|$)/],[`pie`,/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],[`pie`,/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],[`netfront`,/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],[`ie`,/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],[`ie`,/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],[`ie`,/MSIE\s(7\.0)/],[`bb10`,/BB10;\sTouch.*Version\/([0-9\.]+)/],[`android`,/Android\s([0-9\.]+)/],[`ios`,/Version\/([0-9\._]+).*Mobile.*Safari.*/],[`safari`,/Version\/([0-9\._]+).*Safari/],[`facebook`,/FB[AS]V\/([0-9\.]+)/],[`instagram`,/Instagram\s([0-9\.]+)/],[`ios-webview`,/AppleWebKit\/([0-9\.]+).*Mobile/],[`ios-webview`,/AppleWebKit\/([0-9\.]+).*Gecko\)$/],[`curl`,/^curl\/([0-9\.]+)$/],[`searchbot`,l]],p=[[`iOS`,/iP(hone|od|ad)/],[`Android OS`,/Android/],[`BlackBerry OS`,/BlackBerry|BB10/],[`Windows Mobile`,/IEMobile/],[`Amazon OS`,/Kindle/],[`Windows 3.11`,/Win16/],[`Windows 95`,/(Windows 95)|(Win95)|(Windows_95)/],[`Windows 98`,/(Windows 98)|(Win98)/],[`Windows 2000`,/(Windows NT 5.0)|(Windows 2000)/],[`Windows XP`,/(Windows NT 5.1)|(Windows XP)/],[`Windows Server 2003`,/(Windows NT 5.2)/],[`Windows Vista`,/(Windows NT 6.0)/],[`Windows 7`,/(Windows NT 6.1)/],[`Windows 8`,/(Windows NT 6.2)/],[`Windows 8.1`,/(Windows NT 6.3)/],[`Windows 10`,/(Windows NT 10.0)/],[`Windows ME`,/Windows ME/],[`Windows CE`,/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],[`Open BSD`,/OpenBSD/],[`Sun OS`,/SunOS/],[`Chrome OS`,/CrOS/],[`Linux`,/(Linux)|(X11)/],[`Mac OS`,/(Mac_PowerPC)|(Macintosh)/],[`QNX`,/QNX/],[`BeOS`,/BeOS/],[`OS/2`,/OS\/2/]];function m(e){return e?g(e):typeof document>`u`&&typeof navigator<`u`&&navigator.product===`ReactNative`?new c:typeof navigator<`u`?g(navigator.userAgent):v()}function h(e){return e!==``&&f.reduce(function(t,n){var r=n[0],i=n[1];if(t)return t;var a=i.exec(e);return!!a&&[r,a]},!1)}function g(e){var t=h(e);if(!t)return null;var n=t[0],a=t[1];if(n===`searchbot`)return new s;var c=a[1]&&a[1].split(`.`).join(`_`).split(`_`).slice(0,3);c?c.length<d&&(c=r(r([],c,!0),y(d-c.length),!0)):c=[];var l=c.join(`.`),f=_(e),p=u.exec(e);return p&&p[1]?new o(n,l,f,p[1]):new i(n,l,f)}function _(e){for(var t=0,n=p.length;t<n;t++){var r=p[t],i=r[0];if(r[1].exec(e))return i}return null}function v(){return typeof process<`u`&&process.version?new a(process.version.slice(1)):null}function y(e){for(var t=[],n=0;n<e;n++)t.push(`0`);return t}function b(){var e,t;let n=m();return n?{os:(e=n.os)==null?`Unknown`:e,type:n.type,browser:{name:n.name,version:(t=n.version)==null?``:t,width:window.innerWidth,height:window.innerHeight},screen:{width:window.screen.width,height:window.screen.height},ua:window.navigator.userAgent}:null}async function x(e){if(!Object.keys(e).length)return;let t=JSON.stringify(e);fetch(`https://nlwywporxabmhnjrrhnc.supabase.co/rest/v1/vitality_pageviews`,{method:`POST`,headers:{"Content-Type":`application/json`,apikey:`sb_publishable_SxVyRONGmOGRDernlMdj_A_2oUIBJib`,Authorization:`Bearer sb_publishable_SxVyRONGmOGRDernlMdj_A_2oUIBJib`,Prefer:`return=minimal`},body:t}).catch(()=>{})}function S(e,t,n=null){var r;let i=b();x({event:e,site_id:window.location.hostname,url:location.origin+location.pathname,referrer:document.referrer||null,client_type:(r=i==null?void 0:i.type)==null?`unknown`:r,os:i==null?void 0:i.os,browser_name:i==null?void 0:i.browser.name,browser_version:i==null?void 0:i.browser.version,browser_width:i==null?void 0:i.browser.width,browser_height:i==null?void 0:i.browser.height,screen_width:i==null?void 0:i.screen.width,screen_height:i==null?void 0:i.screen.height,consent_type:n,session_id:t})}var C=null;(async function(){let t=crypto.randomUUID();window._vitalitySessionId=t,S(`view`,t),e().then(e=>{e!==C&&(C=e,S(`consent`,t,e))})})()})();

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.