Files

1 line
7.9 KiB
JavaScript
Raw Permalink Normal View History

2025-12-10 12:17:30 -05:00
let burst = {"cookie_retention_days":30,"beacon_url":"https:\/\/atomaste.ca\/wp-content\/plugins\/burst-statistics\/endpoint.php","options":{"beacon_enabled":1,"enable_cookieless_tracking":0,"enable_turbo_mode":0,"do_not_track":0,"track_url_change":0},"goals":[],"goals_script_url":"https:\/\/atomaste.ca\/wp-content\/plugins\/burst-statistics\/\/assets\/js\/build\/burst-goals.js?v=1.7.6.1"};let burst_track_hit_running=!1,burst_initial_track_hit=!1,burst_update_hit_count=0,burst_cookieless_option=burst.options.enable_cookieless_tracking,burst_page_url=(window.burst_enable_cookieless_tracking=burst.options.enable_cookieless_tracking,window.location.href),burst_completed_goals=[],burst_goals_script_url=burst.goals_script_url||"./burst-goals.js";const pageIsRendered=new Promise(t=>{document.prerendering?document.addEventListener("prerenderingchange",t,{once:!0}):t()}),burst_import_goals=async()=>{(await import(burst_goals_script_url)).default()};if(0<burst.goals.length)for(let t=0;t<burst.goals.length;t++)if(""!==burst.goals[t].page_url||burst.goals[t].page_url===burst_page_url){burst_import_goals();break}let burst_get_cookie=i=>new Promise((e,t)=>{i+="=";var o=window.document.cookie.split(";");for(let t=0;t<o.length;t++){var r=o[t].trim();0===r.indexOf(i)&&e(r.substring(i.length,r.length))}t(!1)}),burst_set_cookie=(t,e)=>{let o="",r=";secure";var i=new Date,n=burst.cookie_retention_days,n=(i.setTime(i.getTime()+24*n*60*60*1e3),";expires="+i.toGMTString());"https:"!==window.location.protocol&&(r=""),0<o.length&&(o=";domain="+o),document.cookie=t+"="+e+";SameSite=Strict"+r+n+o+";path=/"},burst_use_cookies=()=>!(!navigator.cookieEnabled||burst_cookieless_option&&window.burst_enable_cookieless_tracking);function burst_enable_cookies(){window.burst_enable_cookieless_tracking=0,burst_use_cookies()&&burst_uid().then(t=>{burst_set_cookie("burst_uid",t.uid)})}const burst_uid=()=>new Promise(e=>{burst_get_cookie("burst_uid").then(t=>{e(t)}).catch(()=>{var t=burst_generate_uid();burst_set_cookie("burst_uid",t),e(t)})});let burst_generate_uid=()=>{let e="";for(let t=0;t<32;t++)e+=Math.floor(16*Math.random()).toString(16);return e};const burst_fingerprint=()=>new Promise((e,o)=>{imprint.test(["availableScreenResolution","canvas","colorDepth","cookies","cpuClass","deviceDpi","doNotTrack","indexedDb","language","localStorage","pixelRatio","platform","plugins","processorCores","screenResolution","sessionStorage","timezoneOffset","touchSupport","userAgent","webGl"]).then(function(t){e(t)}).catch(t=>{o(t)})});let burst_get_time_on_page=()=>new Promise(t=>{"undefined"==typeof TimeMe&&t(0);var e=TimeMe.getTimeOnCurrentPageInMilliseconds();TimeMe.resetAllRecordedPageTimes(),TimeMe.initialize({idleTimeoutInSeconds:30}),t(e)}),burst_is_user_agent=()=>{var t=new RegExp("(googlebot/|bot|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.i