burst.tracking=burst.tracking||{isInitialHit:!0,lastUpdateTimestamp:0},burst.goals&&burst.goals.active&&(burst.goals.active=burst.goals.active.map(t=>({...t,ID:parseInt(t.ID,10)}))),burst.goals&&burst.goals.completed&&(burst.goals.completed=burst.goals.completed.map(t=>parseInt(t,10)));let pageIsRendered=new Promise(t=>{document.prerendering?document.addEventListener("prerenderingchange",t,{once:!0}):t()}),burst_import_goals=async()=>{(await import(burst.goals.scriptUrl)).default()};if(burst.goals.active&&0new Promise((e,t)=>{i+="=";var r=window.document.cookie.split(";");for(let t=0;t{let r="",o=";secure";var i=new Date,a=burst.options.cookie_retention_days,a=(i.setTime(i.getTime()+24*a*60*60*1e3),";expires="+i.toGMTString());"https:"!==window.location.protocol&&(o=""),0{var t;return null!==burst.cache.useCookies?burst.cache.useCookies:(t=navigator.cookieEnabled&&!burst.options.cookieless,burst.cache.useCookies=t)};function burst_enable_cookies(){burst.options.cookieless=!1,burst_use_cookies()&&burst_uid().then(t=>{burst_set_cookie("burst_uid",t.uid)})}let burst_uid=()=>new Promise(e=>{null!==burst.cache.uid?e(burst.cache.uid):burst_get_cookie("burst_uid").then(t=>{burst.cache.uid=t,e(t)}).catch(()=>{var t=burst_generate_uid();burst_set_cookie("burst_uid",t),burst.cache.uid=t,e(t)})}),burst_generate_uid=()=>{let e="";for(let t=0;t<32;t++)e+=Math.floor(16*Math.random()).toString(16);return e},burst_fingerprint=()=>new Promise((e,r)=>{null!==burst.cache.fingerprint?e(burst.cache.fingerprint):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){burst.cache.fingerprint=t,e(t)}).catch(t=>{r(t)})}),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;return null!==burst.cache.isUserAgent?burst.cache.isUserAgent:(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").test(navigator.userAgent),burst.cache.isUserAgent=t)},burst_is_do_not_track=()=>{var t;return null!==burst.cache.isDoNotTrack?burst.cache.isDoNotTrack:burst.options.do_not_track?(t="1"===navigator.doNotTrack||"yes"===navigator.doNotTrack||"1"===navigator.msDoNotTrack||"1"===window.doNotTrack||1===navigator.globalPrivacyControl,burst.cache.isDoNotTrack=t):burst.cache.isDoNotTrack=!1},burst_api_request=o=>new Promise((e,t)=>{var r;burst.options.beacon_enabled?(r={type:"application/json"},r=new Blob([JSON.stringify(o.data)],r),window.navigator.sendBeacon(burst.beacon_url,r)?e({status:200,data:"ok"}):t(new Error("Beacon request failed"))):(r="token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substring(0,7),wp.apiFetch({path:"/burst/v1/track/?"+r,keepalive:!0,method:"POST",data:o.data}).then(t=>{if(!t)throw new Error("No response received from server");var e=t.status||200;if(202===e||200===e)return{status:e,data:t.data||t};throw new Error("Unexpected status: "+e)}).then(t=>{console.log("Burst API request completed successfully:",t),e(t)}).catch(t=>{console.error("Burst API request failed:",t),e({status:200,data:"ok"})}))});async function burst_update_hit(t=!1,e=!1){await pageIsRendered,burst_is_user_agent()||burst_is_do_not_track()||(burst.tracking.isInitialHit?burst_track_hit():!e&&Date.now()-burst.tracking.lastUpdateTimestamp<300||(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.goals.completed},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{}),burst.tracking.lastUpdateTimestamp=Date.now())))}async function burst_track_hit(){var t,e,r;await pageIsRendered,burst.tracking.isInitialHit?burst_is_user_agent()||burst_is_do_not_track()||(burst.tracking.isInitialHit=!1,(t=Date.now())-burst.tracking.lastUpdateTimestamp<300)||(r=new CustomEvent("burst_before_track_hit",{detail:burst}),document.dispatchEvent(r),e={uid:!1,fingerprint:!1,url:location.href,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.goals.completed},burst_use_cookies()?e.uid=await burst_uid():e.fingerprint=await burst_fingerprint(),r=new CustomEvent("burst_track_hit",{detail:e}),document.dispatchEvent(r),r={method:"POST",data:JSON.stringify(e)},await burst_api_request(r).catch(t=>{}),burst.tracking.lastUpdateTimestamp=t):burst_update_hit()}function burst_init_events(){!burst.options.enable_turbo_mode||"loading"!==document.readyState?burst_track_hit():document.addEventListener("load",burst_track_hit);document.addEventListener("visibilitychange",()=>{"hidden"!==document.visibilityState&&"unloaded"!==document.visibilityState||burst_update_hit()}),document.addEventListener("pagehide",burst_update_hit),document.addEventListener("burst_fire_hit",function(){burst_track_hit()});let o=history.pushState,i=history.replaceState,a=()=>{burst.options.track_url_change&&(burst.tracking.isInitialHit=!0,burst_track_hit())};history.pushState=function(t,e,r){o.apply(history,arguments),a()},history.replaceState=function(t,e,r){i.apply(history,arguments),a()},window.addEventListener("popstate",a),document.addEventListener("burst_enable_cookies",function(){burst_enable_cookies(),burst_update_hit(!0)})}document.addEventListener("wp_listen_for_consent_change",function(t){var e,r=t.detail;for(e in r)r.hasOwnProperty(e)&&"statistics"===e&&"allow"===r[e]&&burst_init_events()}),"function"==typeof wp_has_consent&&!wp_has_consent("statistics")||burst_init_events();