(()=>{"use strict";const t=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;function e(){const t=window.location.host,e=t.split(".");return e.length<=2?"."+t:"."+e.slice(-2).join(".")}function n(t,e,n,a){const o=new Date;o.setTime(o.getTime()+24*a*60*60*1e3);const i="; expires="+o.toUTCString();document.cookie=t+"="+e+i+"; domain="+n+"; path=/; SameSite=Lax"}function a(){return Math.floor(Date.now()/1e3)}function o(t){try{const e=JSON.parse(t);if(e&&"object"==typeof e&&1===e.v)return e}catch(t){}return null}function i(t){const e=function(t){const e=document.cookie;if(!e)return"";const n=e.indexOf(t+"=");if(-1===n)return"";const a=e.indexOf(";",n);return e.substring(n+t.length+1,a<0?e.length:a)}(t);if(!e)return null;let n="";try{n=decodeURIComponent(e)}catch(t){}return o(n)}function s(t){try{return o(window.localStorage.getItem(t)||"")}catch(t){return null}}function c(t){return i(t)||s(t)}function r(t,a){let o=a;if(a.updated&&a.updated.services){const t={};for(const e in a.updated)"services"!==e&&(t[e]=a.updated[e]);o={v:a.v,scenario:a.scenario,default:a.default,updated:t}}n(t,encodeURIComponent(JSON.stringify(o)),e(),365);try{window.localStorage.setItem(t,JSON.stringify(a))}catch(t){}try{window.dispatchEvent(new CustomEvent("cmp:consent-state-changed",{detail:{name:t}}))}catch(t){}}const u=window,d="gtag",l="granted",f="dataLayer",g="__otbt_consentState";let p="https://cmp.outbyte.com/api/v1/cmp-js/main";const x=function(a){const o=function(t){const e=document.cookie;if(!e)return"";const n=e.indexOf(t+"=");if(-1===n)return"";const a=e.indexOf(";",n);return e.substring(n+t.length+1,a<0?e.length:a)}(a);if("string"==typeof(i=o)&&t.test(i))return o;var i;const s="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)});return n(a,s,e(),365),s}("__otbt_uuid"),m="_proxy",y=new URLSearchParams(document.location.search),h=y.get("_ip"),w=y.get(m);p+=p.includes("?")?"&":"?",p+=`host=${window.location.host}${x?`&uuid=${x}`:""}`,h&&(p+=`&_ip=${h}`),w&&(p+=`&${m}=${w}`),u[d]||(u[f]=u[f]||[],u[d]=function(){u[f].push(arguments)}),u[d]("set","js",new Date);const _={ad_personalization:l,ad_storage:l,ad_user_data:l,analytics_storage:l,functionality_storage:l,personalization_storage:l,security_storage:l},v=c(g),S=v&&v.updated&&v.updated.signals||null,$=S?Object.assign({},_,S):_;var b;u[d]("consent","default",Object.assign({},$,{wait_for_update:2e3})),b={action:"onInitialPageLoad",type:"implicit",label:"default",analytics:$.analytics_storage===l,advertising:$.ad_storage===l,functional:$.functionality_storage===l,essential:!0,services:{}},u[f]=u[f]||[],u[f].push({action:b.action,event:"consent_status",type:b.type,label:b.label,ucCategory:{analytics:b.analytics,advertising:b.advertising,functional:b.functional,essential:b.essential},ucServices:b.services}),u.uetq=u.uetq||[],u.uetq.push("consent","default",{ad_storage:$.ad_storage}),function(t,e,n){const o=function(t){const e=i(t),n=s(t),a=e&&e.updated||null,o=n&&n.updated||null;return a&&o?(a.ts||0)>(o.ts||0)?a:o:a||o}(t),c={v:1,scenario:n,default:{signals:e,ts:a()}};o&&(c.updated=o),r(t,c)}(g,_,"us");const O=document.createElement("script");if(O.src=p,O.async=!0,document.head.appendChild(O),u.cmpTimerStart){((Date.now()-u.cmpTimerStart)/1e3).toFixed(2)}})();//US