let burst_track_hit_running=!1,burst_initial_track_hit=!1,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 burst_import_goals=async()=>{(await import(burst_goals_script_url)).default()};if(0new Promise((e,t)=>{i+="=";var o=window.document.cookie.split(";");for(let t=0;t{let o="",r=";secure";var i=new Date,a=burst.cookie_retention_days,a=(i.setTime(i.getTime()+24*a*60*60*1e3),";expires="+i.toGMTString());"https:"!==window.location.protocol&&(r=""),0!(!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.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),e=navigator.userAgent;return t.test(e)},burst_is_do_not_track=()=>!!burst.options.do_not_track&&("1"===navigator.doNotTrack||"yes"===navigator.doNotTrack||"1"===navigator.msDoNotTrack||"1"===window.doNotTrack||1===navigator.globalPrivacyControl),burst_api_request=o=>new Promise((t,e)=>{burst.options.beacon_enabled?(window.navigator.sendBeacon(burst.beacon_url,JSON.stringify(o.data)),t("ok")):(t="token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,7),wp.apiFetch({path:"/burst/v1/track/?"+t,keepalive:!0,method:"POST",data:o.data}).then(t=>{202===t.status&&t.json().then(t=>console.warn(t))},t=>console.log(t)))});async function burst_update_hit(t=!1){var e;burst_is_user_agent()||burst_is_do_not_track()||burst_initial_track_hit&&(e=new CustomEvent("burst_before_update_hit",{detail:burst}),document.dispatchEvent(e),e={fingerprint:!1,uid:!1,url:location.href,time_on_page:await burst_get_time_on_page(),completed_goals:burst_completed_goals},t?(e.uid=await burst_uid(),e.fingerprint=await burst_fingerprint()):burst_use_cookies()?e.uid=await burst_uid():e.fingerprint=await burst_fingerprint(),0{})}async function burst_track_hit(){var t,e;burst_initial_track_hit?burst_update_hit():(burst_initial_track_hit=!0,burst_is_user_agent()||burst_is_do_not_track()||burst_track_hit_running||(burst_track_hit_running=!0,e=new CustomEvent("burst_before_track_hit",{detail:burst}),document.dispatchEvent(e),t={uid:!1,fingerprint:!1,url:location.href,page_id:burst.page_id,referrer_url:document.referrer,user_agent:navigator.userAgent||"unknown",device_resolution:window.screen.width*window.devicePixelRatio+"x"+window.screen.height*window.devicePixelRatio,time_on_page:await burst_get_time_on_page(),completed_goals:burst_completed_goals},burst_use_cookies()?t.uid=await burst_uid():t.fingerprint=await burst_fingerprint(),e=new CustomEvent("burst_track_hit",{detail:t}),document.dispatchEvent(e),e={method:"POST",data:JSON.stringify(t)},burst_api_request(e).catch(t=>{burst_track_hit_running=!1}),burst_track_hit_running=!1))}function burst_init_events(){!burst.options.enable_turbo_mode||"loading"!==document.readyState?burst_track_hit():document.addEventListener("load",burst_track_hit),document.addEventListener("visibilitychange",function(){"hidden"!==document.visibilityState&&"unloaded"!==document.visibilityState||burst_update_hit()}),document.addEventListener("pagehide",burst_update_hit),document.addEventListener("burst_fire_hit",function(){burst_track_hit()}),document.addEventListener("burst_enable_cookies",function(){burst_enable_cookies(),burst_update_hit(!0)})}burst_init_events();