let get_dynamic_var=o=>`__${pixel_key}_${o}`,get_random_id=()=>crypto.randomUUID().replace(/-/g,""),is_do_not_track=()=>!!(window.doNotTrack||navigator.doNotTrack||navigator.msDoNotTrack)&&("1"==window.doNotTrack||"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack),is_optout=()=>{let o=new URL(document.location).searchParams.get("pixel_optout");return null!==o?(o="true"==o,o?(localStorage.setItem(get_dynamic_var("pixel_optout"),"true"),!0):(localStorage.setItem(get_dynamic_var("pixel_optout"),"false"),!1)):"true"==localStorage.getItem(get_dynamic_var("pixel_optout"))},get_device_type=()=>/(?:phone|windows\s+phone|ipod|blackberry|(?:android|bb\d+|meego|silk|googlebot) .+? mobile|palm|windows\s+ce|opera mini|avantgo|mobilesafari|docomo)/gi.test(navigator.userAgent)?"mobile":/(?:ipad|playbook|(?:android|bb\d+|meego|silk)(?! .+? mobile))/gi.test(navigator.userAgent)?"tablet":"desktop",get_current_url_domain_no_www=()=>{let o=window.location.href.replace(window.location.protocol+"//","");return o.startsWith("www.")&&(o=o.replace("www.","")),o};
