var truste=window.truste||{};truste.bn||(truste.bn={}),truste.eu||(truste.eu={}),truste.util||(truste.util={}),truste.util.error=function(e,t,n){n=n||{};var s,i,o=t&&t.toString()||"",a=n.caller||"";if(t&&t.stack&&(o+="\n"+t.stack.match(/(@|at)[^\n\r\t]*/)[0]+"\n"+t.stack.match(/(@|at)[^\n\r\t]*$/)[0]),truste.util.trace(e,o,n),truste.util.debug||!t&&!e)return;i={apigwlambdaUrl:"https://api-js-log.trustarc.com/error",enableJsLog:!1},i.enableJsLog&&(delete n.caller,delete n.mod,delete n.domain,delete n.authority,n.msg=e,s=new XMLHttpRequest,s.open("POST",i.apigwlambdaUrl,!0),s.setRequestHeader("Content-type","application/json"),s.send(truste.util.getJSON({info:truste.util.getJSON(n)||"",error:o,caller:a})))},truste.util.trace=function(){return!!(self.console&&console.log&&(this.debug||this.debug!==!1&&(self.location.hostname.indexOf(".")<0||self.location.hostname.indexOf(".truste-svc.net")>0)))&&(console.log.apply&&console.log.apply(console,arguments),!0)},truste.util.getJSON=function(e){if(self.JSON&&!(self.JSON.org||self.JSON.license||self.JSON.copyright))return self.JSON.stringify(e);if(e instanceof Array){if(t="[",e.length){t+=truste.util.getJSON(e[0]);for(n=1;n<e.length;n++)t+=","+truste.util.getJSON(e[n])}return t+"]"}if(typeof e=="string")return'"'+e+'"';if(e instanceof Object){var n,o,s=!1,t="{";for(o in e)t+=(s?",":"")+'"'+o+'":'+truste.util.getJSON(e[o]),s=!0;return t+"}"}return e===void 0?void 0:e+""},function(){var e=self.onerror;self.onerror=function(n,s,o,i,a){var c=[].slice.call(arguments),r=n+(s?"; "+s:"")+(o?" "+o:"")+(i?":"+i:"");(r+""+(a&&a.stack)).match(/truste|trustarc|notice/)&&truste.util.error("Got Window Error:",a&&a.stack?a:r,{product:"cm",tag:s}),e&&e.apply(self,c)}}(),truste.bn.addScriptElem=function(e,t,n){if(!e&&"string"!=typeof e)return null;var o,i,s=document.createElement("SCRIPT");return s.src=e,s.setAttribute("async","async"),s.setAttribute("crossorigin",""),s.setAttribute("importance","high"),o=document.querySelector("[nonce]"),o&&s.setAttribute("nonce",o.nonce||o.getAttribute("nonce")),i=function(e){var n;e&&e.type=="error"?n=2:(e&&e.type=="load"||s.readyState=="loaded")&&(n=1),n&&(s.onload=s.onreadystatechange=s.onerror=null,t instanceof Function&&t(s,n))},s.onload=s.onreadystatechange=s.onerror=i,(document.getElementById(n)||document.getElementsByTagName("body")[0]||document.getElementsByTagName("head")[0]).appendChild(s),s},truste.bn.msglog=function(e,t){truste.eu&&truste.eu.msg&&truste.eu.msg.log(e,truste.eu.bindMap,t)},truste.bn.checkPreference=function(){if(truste.eu.bindMap){var t,e=truste.eu.bindMap;return e.feat.crossDomain&&!e.feat.isConsentRetrieved||truste.util.isConsentCenter()&&!e.feat.isConsentCenterInitialized?(e.bnFlags.consentUnresolved=!0,!1):(t=shouldRepop(),t&&(e.feat.dropPopCookie=!0),e.feat.isDNTOptoutEvent||e.feat.isGPCOptoutEvent?e.feat.dntShowUI:(e.prefCookie&&(t||shouldResolveConsent())&&(e.feat.isRepopEvent=!0,e.feat.isReconsentEvent=t),!e.prefCookie||e.feat.isRepopEvent))}return!1},truste.bn.checkConsentUnresolved=function(e,t){if(truste.eu.bindMap){var s=truste.eu.bindMap,n=setInterval(function(){(n&&s.feat.isConsentRetrieved&&!truste.util.isConsentCenter()||n&&truste.util.isConsentCenter()&&s.feat.isConsentCenterInitialized!=void 0)&&(s.bnFlags.consentUnresolved=!1,n=clearInterval(n),truste.bn.checkPreference()?e():t())},100);setTimeout(function(){n=clearInterval(n)},5500)}};function shouldRepop(){if(truste.eu.bindMap.popTime){var t=(new Date).getTime(),n=truste.util.readCookie(truste.eu.COOKIE_REPOP,!0),e=truste.eu.bindMap.popTime;return e&&e!=n&&t>=e}return!1}function shouldResolveConsent(){var e,n,t=truste.eu.bindMap;return!!(t.feat.consentResolution&&t.behaviorManager=="eu"&&(e=truste.util.readCookie(truste.eu.COOKIE_GDPR_PREF_NAME,!0),e&&(e=e.split(":"),n=new RegExp(t.behavior+"."+t.behaviorManager),!n.test(e[2])&&/(us|none)/i.test(e[2]))))}(function e(){var n,s,o,i,a,t=truste.eu.bindMap={version:"v1.7-6735",domain:"authy.com",width:parseInt("660"),height:parseInt("460"),baseName:"te-notice-clr1-3670ca4c-0b37-4fdd-8531-d19fa6d0f75d",showOverlay:"{ShowLink}",hideOverlay:"{HideLink}",anchName:"te-notice-clr1-3670ca4c-0b37-4fdd-8531-d19fa6d0f75d-anch",intDivName:"te-notice-clr1-3670ca4c-0b37-4fdd-8531-d19fa6d0f75d-itl",iconSpanId:"te-notice-clr1-3670ca4c-0b37-4fdd-8531-d19fa6d0f75d-icon",containerId:!1||/^_LB.*LB_$/.test("teconsent")?"teconsent":"teconsent",messageBaseUrl:"http://consent.trustarc.com/noticemsg?",originBaseUrl:"https://consent.trustarc.com/",daxSignature:"",privacyUrl:"",prefmgrUrl:"https://consent-pref.trustarc.com?type=authy_gdpr_v2&layout=gdpr",text:"false",icon:"Cookie Preferences",iframeTitle:"TrustArc Cookie Consent Manager",closeBtnAlt:"close button",teconsentChildAriaLabel:"Cookie Preferences, opens a dedicated popup modal window",locale:"en",language:"en",country:"us",state:"",categoryCount:parseInt("3",10)||3,defaultCategory:"",noticeJsURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/notice.js/v/v1.7-6735",assetServerURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/",consensuUrl:"https://consent.trustarc.com/",cdnURL:"https://consent.trustarc.com/".replace(/^(http:)?\/\//,"https://"),iconBaseUrl:"https://consent.trustarc.com/",behavior:"implied",behaviorManager:"eu",consentModel:"none",provisionedFeatures:"",cookiePreferenceIcon:"twilio2.png",cookieExpiry:parseInt("395",10)||395,closeButtonUrl:"//consent.trustarc.com/get?name=noticeclosebtn.png",apiDefaults:'{"reportlevel":16777215, "newReporting": true}',cmTimeout:parseInt("6000",10),popTime:new Date("".replace(" +0000","Z").replace(" ","T")).getTime()||null,popupMsg:"",bannerMsgURL:"https://consent.trustarc.com/bannermsg?",IRMIntegrationURL:"",irmWidth:parseInt(""),irmHeight:parseInt(""),irmContainerId:!0||/^_LB.*LB_$/.test("")?"teconsent":"",irmText:"",lspa:"",ccpaText:"",containerRole:"",iconRole:"",atpIds:"",dntOptedIn:"0",gpcOptedIn:"0",seedUrl:"",cmId:"",feat:{iabGdprApplies:!1,consentResolution:!1,dropBehaviorCookie:!0,crossDomain:!1,uidEnabled:!1,replaceDelimiter:!1,optoutClose:!1,enableIRM:!1,enableCM:!0,enableBanner:!1,enableCCPA:!1,enableCPRA:!1,enableIrmAutoOptOut:!1,ccpaApplies:!1,unprovisionedDropBehavior:!0,unprovisionedIab:!1,unprovisionedCCPA:!1,dnt:!0&&(navigator.doNotTrack=="1"||window.doNotTrack=="1"),dntShowUI:!0,gpc:!0&&(navigator.globalPrivacyControl||window.globalPrivacyControl),gpcOvr:"false"=="true",iabBannerApplies:!1,enableTwoStepVerification:!1,enableContainerRole:!0,enableContainerLabel:!0,enableIconRole:!0,enableIconLabel:!0,enableHasPopUp:"true"=="true",enableReturnFocus:!1,enableShopify:0,enableTcfOptout:!1,enableTcfVendorLegIntOptin:"false"=="true",enableTcfVendorPurposeOptinOverride:"false"=="true",enableTransparentAlt:!0,enableACString:!1,gcm:{ads:-1,analytics:-1,adPersonalization:-1,adUserData:-1,functionality:-1,personalization:-1,security:-1},gpp:{enabled:"false"=="true",mspaEnabled:"false"=="true",mspaMode:parseInt("0")||0,enableStateSpecificString:"false"=="true",gppApplies:"false"=="true",gppShowCategories:"false"=="true",gppOptInAll:"".replace(/\{GPPOptInAll\}/,"0,1,2")},autoblock:!1,gtm:1,enableStoredConsent:!1,enableIab2_2:"false"=="true",acsUrl:"https://d1leee6d0c4cew.cloudfront.net/amzn-consent.js",acs:{enabled:"false"=="true",adStorage:"",userData:""}},autoDisplayCloseButton:!1,hideCloseButtonEnabled:"false"=="true",localization:{modalTitle:"Your choices regarding the use of cookies on this site"},currentScript:self.document.currentScript};if(/layout=gdpr/.test(t.prefmgrUrl)&&(t.isGdprLayout=!0),/layout=iab/.test(t.prefmgrUrl)&&(t.isIabLayout=!0),/layout=gpp/.test(t.prefmgrUrl)&&(t.isGppLayout=!0),self.location.protocol!="http:")for(n in t)t[n]&&t[n].replace&&typeof t[n]=="string"&&(t[n]=t[n].replace(/^(http:)?\/\//,"https://"));truste.eu.USER_CONSENT_CENTER_SERVER="https://user-consent-center.trustarc.com",function(){var e=truste.eu.USER_CONSENT_CENTER_SERVER.match(/^{(UserConsentCenter)}$/);e&&e.length>1&&(truste.eu.USER_CONSENT_CENTER_SERVER="")}(),truste.eu.noticeLP=truste.eu.noticeLP||{},truste.eu.noticeLP.pcookie=void 0,truste.util.createCookie=function(e,t,n,s,o){if(truste.util.cookie&&!o&&(t=truste.util.cookie.convert(t)),i=truste.eu.bindMap||{},h="; expires=",n?n=="0"?h="":(r=new Date(n),h+=n):(r=new Date,r.setDate(r.getDate()+i.cookieExpiry),h+=r.toGMTString()),!i.feat.cookiePath&&s&&truste.util.createCookieStorage&&truste.util.createCookieStorage(e,t,r),y=i.domain,u=self.location.hostname,m=!!u.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||u=="localhost",d=m?u:u.replace(/^www\./,""),v=self.location.protocol=="https:"?" Secure;":"",l=" SameSite=Lax;"+v,typeof truste.eu.noticeLP.pcookie!="undefined"){if(document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain="+(m?"":".")+d.replace(/^\./,"")+";"+l,!i.topLevelDomain){for(var i,r,l,d,u,h,m,f,g,v,y,b=0,c=d,j=c.split("."),p=[],a="_gd"+(new Date).getTime();b<j.length-1&&document.cookie.indexOf(a+"="+a)==-1;)c=j.slice(-1-++b).join("."),document.cookie=a+"="+a+";domain="+c+";"+l,p.push(a);i.topLevelDomain=c;for(f=0;f<p.length;f++)document.cookie=p[f]+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+c+";";document.cookie=a+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+c+";"+l}d=i.topLevelDomain}g="/",i.feat.cookiePath&&(g+=location.pathname.split("/")[1]),self.document.cookie=e+"="+t+h+"; path="+g+";domain="+(m?"":".")+d.replace(/^\./,"")+";"+l},truste.util.getRandomUUID=function(){var e=window.crypto||window.msCrypto;return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(t){return(t^e.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)})},truste.util.getScriptElement=function(e,t,n){if(typeof e=="string"&&(e=new RegExp(e)),typeof n=="string"&&(n=new RegExp(n)),!(e instanceof RegExp))return null;if(typeof n!="undefined"&&!(n instanceof RegExp))return null;for(var s,i,o=self.document.getElementsByTagName("script"),a=o.length;a-- >0&&(s=o[a]);)if(i=!n||n.test(s.src),(t||!s.id)&&e.test(s.src)&&i)return s;return null},truste.util.getUniqueID=function(){return"truste_"+Math.random()},truste.util.initParameterMap=function(e,t){if(t instanceof Object||(t={}),!e||typeof e.src!="string")t._query=t._url="";else{if(n=t._url=e.src,n=(t._query=n.replace(/^[^;?#]*[;?#]/,"")).replace(/[#;?&]+/g,"&"),n)for(n=n.split("&"),s=n.length;s-- >0;){var n,s,o=n[s].split("="),i=o.shift();t[i]||(o.length?t[i]=decodeURIComponent(o.join("=")):t[i]="")}e.id=t.sid=t.sid||truste.util.getUniqueID()}return t},truste.eu.COOKIE_GDPR_PREF_NAME="notice_gdpr_prefs",truste.eu.COOKIE_SESSION="TAsessionID",truste.eu.SCRIPT_REGX=truste.eu.SCRIPT_REGX||/\.(truste|trustarc)\b.*\bnotice(\.0)?(\.exp)?(\.js)?\b.*\bdomain=/,truste.eu.JS_REGX=truste.eu.JS_REGX||(truste.eu.bindMap&&truste.eu.bindMap.domain?"domain="+truste.eu.bindMap.domain:void 0),truste.eu.jsNode1=truste.eu.bindMap.currentScript||truste.util.getScriptElement(truste.eu.SCRIPT_REGX,!0,truste.eu.JS_REGX),truste.eu.noticeLP=truste.util.initParameterMap(truste.eu.jsNode1,truste.eu.noticeLP||{}),truste.eu.noticeLP.cookieName&&(truste.eu.COOKIE_GDPR_PREF_NAME=truste.eu.noticeLP.cookieName+"_gdpr",truste.eu.COOKIE_SESSION=truste.eu.noticeLP.cookieName+"_session"),truste.util.readCookieSimple=function(e){var t=new RegExp("\\s*"+e.replace(".","\\.")+"\\s*=\\s*([^;]*)").exec(self.document.cookie);return t&&t.length>1?t[1]:null},$temp_box_overlay={margin:"20px auto"},$temp_outerdiv=1,$temp_style_outerdiv={position:"fixed !important",overflow:"auto !important"},$temp_externalcss="body { overflow: hidden !important;}",t.styles={},t.externalcss=typeof $temp_externalcss!="undefined"&&$temp_externalcss,t.styles.closebtnlink=typeof $temp_closebtnlink_style!="undefined"&&$temp_closebtnlink_style,t.styles.closebtn=typeof $temp_closebtn_style!="undefined"&&$temp_closebtn_style,t.styles.box_overlay=typeof $temp_box_overlay!="undefined"&&$temp_box_overlay,t.styles.box_overlay_border=typeof $temp_box_overlay_border!="undefined"&&$temp_box_overlay_border,t.styles.overlay=typeof $temp_overlay!="undefined"&&$temp_overlay,t.styles.inner_iframe=typeof $temp_inner_iframe!="undefined"&&$temp_inner_iframe,t.styles.outerdiv=typeof $temp_style_outerdiv!="undefined"&&$temp_style_outerdiv,t.outerdiv=typeof $temp_outerdiv!="undefined",t.feat.target=typeof $temp_target!="undefined"&&$temp_target,t.feat.ccpadefault=typeof $temp_ccpadefault!="undefined"&&$temp_ccpadefault,t.feat.noscrolltop=typeof $temp_noscrolltop!="undefined"&&$temp_noscrolltop,s=truste.util.readCookieSimple(truste.eu.COOKIE_SESSION),s==null&&(userType=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME)?"EXISTING":"NEW",s=truste.util.getRandomUUID()+"|"+userType,o=new Date,o.setTime(o.getTime()+30*6e4),truste.util.createCookie(truste.eu.COOKIE_SESSION,s,o.toGMTString(),!1)),i=s.split(/[|,]/),truste.eu.session=i[0],truste.eu.userType=i[1],truste.eu.newReporting=truste.eu.bindMap.apiDefaults.indexOf("newReporting")!==-1,truste.util.sendAnalytics=function(t,n){var s="action="+t+"&domain="+truste.eu.bindMap.domain+"&implied="+(truste.eu.bindMap.behavior==="implied"?"1":"0")+"&session="+truste.eu.session.replaceAll("-","")+"&new="+(truste.eu.userType==="NEW"?"1":"0")+"&referer="+window.origin;n&&(s+="&categories="+n),fetch(truste.eu.bindMap.cdnURL+"analytics?"+s,{referrerPolicy:"origin-when-cross-origin"})},truste.eu.newReporting?truste.util.sendAnalytics(0):new Image(1,1).src="https://consent.trustarc.com/log".replace("http:","https:")+"?domain=authy.com&country=us&state=&behavior=implied&session="+truste.eu.session+"&userType="+truste.eu.userType+"&c="+((1+Math.random())*65536|0).toString(16).substring(1)+"&referer="+window.origin+"&language=en",function(e){var t,n,s,i,o=function(t){if(e.feat.iab)return;var o,s=self.document,n=s.createElement("script");n.setAttribute("async","async"),n.setAttribute("type","text/javascript"),n.setAttribute("crossorigin",""),n.setAttribute("importance","high"),o=document.querySelector("[nonce]"),o&&n.setAttribute("nonce",o.nonce||o.getAttribute("nonce")),n.src=t,(s.getElementById(e.containerId)||s.getElementsByTagName("body")[0]||s.getElementsByTagName("head")[0]).appendChild(n),e.feat.iab=!0},a=function(e,t,n,s){if(e()){t();return}var i=function(){e()&&(o=clearInterval(o),t())},o=setInterval(i,n);i(),setTimeout(function(){clearInterval(o)},s)};if(e.isIabLayout){for(n=!1,s=document.head.getElementsByTagName("script"),t=0;t<s.length;t++)i=s[t],i.id==="trustarc-tcfapi"&&(n=!0,e.feat.iab=!0);n||a(function(){return typeof __tcfapi!="undefined"},function(){o(e.feat.enableIab2_2?e.consensuUrl+"asset/tcfapi2.2.js":e.consensuUrl+"asset/tcfapi.js/v/2.1")},10,3e4)}}(truste.eu.bindMap),t.feat.dropBehaviorCookie&&(a=t.feat.replaceDelimiter?"|":",",truste.util.createCookie("notice_behavior",t.behavior+a+t.behaviorManager,"0")),function(e){var n,s,o=".ta-display-none { display: none; }",t=document.createElement("style");t.setAttribute("type","text/css"),n=document.querySelector("[nonce]"),n&&t.setAttribute("nonce",n.nonce||n.getAttribute("nonce")),t.innerText=o,document.head.insertBefore(t,document.head.firstChild),e.feat.crossDomain&&(s=function(){if(!window.frames.trustarc_notice)if(document.body){var n=document.body,t=document.createElement("iframe");t.classList.add("ta-display-none"),t.name="trustarc_notice",t.id="trustarcNoticeFrame",t.title="Trustarc Cross-Domain Consent Frame",t.src=e.cdnURL+"get?name=crossdomain.html&domain="+e.domain,n.appendChild(t)}else setTimeout(s,5)},s())}(truste.eu.bindMap),t.params={},t.bnFlags={},truste.bn.addScriptElem(t.noticeJsURL,function(){var o=function(){if(s&&truste.eu.flags&&truste.eu.flags.init){s=clearInterval(s),e.script=truste.eu.bindMap.currentScript||truste.util.getScriptElement(/\/\/([^.]+\.)+(intranet\.)?(truste|trustarc)(-labs|-svc)?\.(com|net|eu)(:\n+)?\/[^?#;]*(notice|banner).*?(js=bb|nj)/,!0),truste.util.initParameterMap(e.script,t.params);var n=function(){var e=document.getElementById(t.params.c||"teconsent");e&&e.style.display==="none"&&(e.style.display="")};if(t.params.b){const e=t.params.b.split(",");for(const o of e){const[n,s]=o.split("-");if(s){if(n===t.country&&s===t.state){t.feat.linkbanner=!0;break}}else if(n===t.country){t.feat.linkbanner=!0;break}}}t.feat.ccpaApplies||r()||t.feat.linkbanner?truste.bn.bannerMain():t.bnFlags.consentUnresolved?truste.bn.checkConsentUnresolved(truste.bn.bannerMain,n):n()}},s=setInterval(o,7);setTimeout(function(){clearInterval(s)},1e4)},t.containerId);function r(){let e=truste.eu.bindMap,t=!e.feat.topwindow||window==top;var n=/ip(hone|od|ad)|iOS/i.test(navigator.userAgent||navigator.vendor||window.opera);return(e.ios!=1||!n)&&t&&truste.bn.checkPreference()}})(),truste.bn.isConsentTrack=!0,truste.bn.round=function(e,t){return Number(Math.round(e+"e"+t)+"e-"+t)},truste.bn.getDefaultStyleProperty=function(e,t){var s,n=document.createElement(t);return document.body.appendChild(n),s=window.getComputedStyle(n,null)[e],n.parentNode.removeChild(n),s},truste.bn.getDisplayProperty=function(e){var t=window.getComputedStyle(e,null).display;return t=="none"?truste.bn.getDefaultStyleProperty("display",e.nodeName):t},truste.bn.applyDisplayClass=function(e,t,n="ta"){const o=`${n}-display-${t}`,i=`${n}-display-style`,a=!!e.id,s=a?`.${o}#${e.id}`:null;try{let r=document.getElementById(i);if(!r){r=document.createElement("style"),r.id=i;const e=document.querySelector("[nonce]");e&&r.setAttribute("nonce",e.nonce||e.getAttribute("nonce")),r.textContent="/* */",document.head.appendChild(r)}const c=r.sheet;if(a&&s){const e=Array.from(c.cssRules).some(e=>e.selectorText===s);e||c.insertRule(`${s} { display: ${t}; }`,c.cssRules.length)}const l=`${n}-display-`;e.classList.forEach(t=>{t.startsWith(l)&&e.classList.remove(t)}),e.classList.add(o)}catch(n){console.warn(`Failed to insert rule for ${s}`,n),e&&(e.style.display=t)}},truste.bn.show=function(e){if(e){e.style.display==="none"&&e.style.removeProperty("display"),e.classList.remove("ta-display-hide"),e.classList.remove("ta-hide"),e.classList.add("ta-show");const t=truste.bn.getDisplayProperty(e);truste.bn.applyDisplayClass(e,t)}},truste.bn.hide=function(e){e&&(e.classList.remove("ta-show"),e.classList.add("ta-hide"),setTimeout(()=>{e.classList.add("ta-display-hide")},300))},truste.bn.isVisible=function(e){var t=window.getComputedStyle(e);return t.display!=="none"&&t.opacity>0&&t.visibility!=="hidden"},truste.bn.removeEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&(e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n))},truste.bn.addEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&e.addEventListener&&e.addEventListener(t,n,!1)},truste.bn.bannerMain=function(){var t,n,s,o,i,e=truste.eu.bindMap;e.bannerMsgURL=e.iconBaseUrl+"bannermsg?",n=e.params,s=n.c||"teconsent",t=n.bb||"consent_blackbar",document.getElementById(t)?a(n,s,t):typeof MutationObserver!="undefined"?(o=new MutationObserver(function(){document.getElementById(t)&&(o.disconnect(),a(n,s,t))}),o.observe(document.body||document.getElementsByTagName("body")[0]||document.documentElement,{attributes:!1,childList:!0,characterData:!1,subtree:!0}),setTimeout(function(){o.disconnect()},6e4)):(i=setInterval(function(){document.getElementById(t)&&(i=clearInterval(i),a(n,s,t))},150),setTimeout(function(){clearInterval(i)},1e4));function a(t,n,s){var o,a,c,h,f,p,_,w,u=3,u=u>0?u:3,g=truste.eu.bindMap,l=function(t){for(var s=[],n=0;n<t;n++)s.push(n);return s.join(",")}(u);g.feat.gpp.gppApplies&&!g.feat.gpp.gppShowCategories&&(l=g.feat.gpp.gppOptInAll),a="truste-consent-track",f=/\bandroid (\d+(?:\.\d+)+);/gi.exec(navigator.userAgent),_=f&&f[1]<="4.4",w=document.getElementById(n),c=document.getElementById(s),c.setAttribute("lang",e.locale.replace("_","-")),o={consentButton:"truste-consent-button",footerCallback:"truste-show-consent",cookieButton:"truste-cookie-button",privacyButton:"truste-privacy-button",bannerHolder:a,closeBanner:"truste-consent-close",repopDiv:"truste-repop-msg",repopClose:"truste-repop-msg-close",requiredButton:"truste-consent-required",ccpaOptoutButton:"truste-ccpa-optout",ccpaOptedIn:"ccpa-opted-in",ccpaOptedOut:"ccpa-opted-out",ccpaNoPreference:"ccpa-no-preference",iabPartnersLink:"iab-partners-link",secondIabPartnersLink:"iab-second-partners-link"},p=truste.eu.bindMap.feat.target||"_blank",h=document.readyState,h&&(h=="complete"||h=="interactive")?i("loaded"):truste.bn.addEvent(document,"DOMContentLoaded",function(){i("loaded")});function i(t){if(i[t])return;switch(i[t]=1,t){case"loaded":c&&(j(),z(),O(),truste.bn.checkPreference()?E():e.bnFlags.consentUnresolved?truste.bn.checkConsentUnresolved(E,k):k());break;case"done":truste.bn.isConsentTrack=!1,truste.bn.removeEvent(document,"click",S),truste.bn.removeEvent(document,"scroll",M),truste.bn.show(w),truste.bn.hide(document.getElementById(a)),m("hidden");break;case"open":try{if(_){var n=document.createEvent("UIEvents");n.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(n)}else window.dispatchEvent(new Event("resize"))}catch(e){console&&console.log("Resize event not supported.")}}}function z(){if(document.getElementById(a))return;var n,e='<style>  @font-face {    font-family: "Whitney-Book"; src:url(https://consent.trustarc.com/get?name=Whitney-Book.otf) format("opentype");}@font-face {    font-family: "Whitney-Light"; src:url(https://consent.trustarc.com/get?name=Whitney-Light.otf) format("opentype");}@font-face {    font-family: "Whitney-Medium"; src:url(https://consent.trustarc.com/get?name=Whitney-Medium.otf) format("opentype");}@font-face {    font-family: "SurveyorSSm-LightItalic-Pro"; src:url(https://consent.trustarc.com/get?name=SurveyorSSm-LightItalic-Pro.otf) format("opentype");    font-weight: bold;}      #consent_blackbar {  position: fixed;  left: 0;  right: 0;  bottom: 0;  z-index: 999999;}          .truste-banner {       margin: 0 auto;       }            .truste-messageColumn {        font-family: "Whitney-Book",Helvetica,sans-serif;        font-size: 14px;        color: #565B73;        margin: 15px 0px 15px 15px;        float: left;    }    .truste-buttonsColumn {        float: right;        margin: 10px 10px 10px 0px;    }    .truste-button1,    .truste-button2  {        font-family: "Whitney-Book",Helvetica,sans-serif;        text-transform: none;        background: #0D122B;        color: #ffffff;      font-size:12px;        min-width: 170px;        height: auto;        cursor: pointer;        margin-left: 5px;            padding:5px 10px;        border: 0px none;    }     .truste-button1:hover,    .truste-button2:hover,     .truste-button1:focus,    .truste-button2:focus  {    }          .truste-cookie {    padding:5px;      text-decoration: none;      cursor:pointer;      color:#0D122B;      font-size: 12px;      font-family: "Whitney-Book";    display:inline-block;  }  .truste-cookie:hover {          color:#94979B;            text-decoration:underline;      }  .truste-banner-links {  color:#565B73;        text-decoration: underline;  cursor: pointer;}.truste-banner-links:hover {        color: #94979B;        text-decoration: none;}    /* MEDIA QUERIES */      @media screen and (max-width: 420px) {        .truste-banner {       margin: 0 10px;      }        .truste-messageColumn, .truste-buttonsColumn {        float: left;        width: 100%;      }            .truste-messageColumn {       margin: 15px 0px 10px 0px;      }                .truste-buttonsColumn {       margin: 10px 0px 10px 0px;      }                      .truste-button1,      .truste-button2 {        margin-top: 5px;        margin-left: 0px;               width: 100%;      }    }            @media screen and (min-width: 421px) and (max-width: 856px) {        .truste-banner {       margin: 0 10px;      }        .truste-messageColumn, .truste-buttonsColumn {        float: left;        width: 100%;      }            .truste-messageColumn {       margin: 15px 0px 10px 0px;      }                .truste-buttonsColumn {       margin: 10px 0px 10px 0px;      }      .truste-button1,    .truste-button2 {        margin-top: 0px;        margin-left: 0px;               width: 49%;        float:left;      }            .truste-button1 {        margin-right:5px;      }    .truste-cookie-link {                  padding: 10px 0px 0px 10px      }            }    </style><div id="truste-consent-track" style="display:; background-color:#E8E8E8;">  <div id="truste-consent-content" class="truste-banner" style="overflow: hidden; max-width: 1200px; max-height:auto;">         <div id="truste-consent-text" class="truste-messageColumn">This website uses cookies and similar technologies to collect information you provide and information about your interactions with our sites to improve your experience, analyze performance and traffic on our website and assist our marketing efforts and customer service. We may share this information with our third-party partners. You can change your <span class="truste-banner-links" onclick="document.getElementById(&#39;truste-show-consent&#39;).click()">cookie preferences here</span>. By continuing to browse, you agree to our use of these tools in accordance with our <a class="truste-banner-links" href="https://www.twilio.com/en-us/legal/privacy" target="_blank">Privacy Notice</a>&nbsp;and you agree to the terms of our <a class="truste-banner-links" href="https://www.twilio.com/en-us/legal/tos" target="_blank">Terms of Service</a>.&nbsp;       </div>      <div id="truste-consent-buttons" class="truste-buttonsColumn">        <button id="truste-consent-button" type="button" class="truste-button1">OK, got it</button>        <button id="truste-show-consent" type="button" class="truste-button2">Adjust preferences</button> <a href="https://www.twilio.com/en-us/legal/privacy#cookies-and-tracking-technologies" target="_blank" id="truste-cookie-button" class="truste-cookie">Read our Cookie Policy</a>      </div>        </div>  </div>',e=e.replace("&lt;i&gt;","<i>").replace("&lt;/i&gt;","</i>").replace("&lt;b&gt;","<b>").replace("&lt;/b&gt;","</b>");if((!e||e.length<15)&&(e='<div id="truste-consent-track" style="display:none; background-color:#000;"><div id="truste-consent-content" style="overflow: hidden; margin: 0 auto; max-width: 1000px"><div id="truste-consent-text" style="float:left; margin:15px 0 10px 10px; width:500px;"><h2 style="color: #fff; font-size: 16px; font-weight:bold; font-family:arial;">Some functionality on this site requires your consent for cookies to work properly.</h2><div id="truste-repop-msg" style="padding: 0px 0px 5px 0px;font-size: 12px;color: #F0C36D; display:none; font-family: arial,sans-serif;"></div></div><div id="truste-consent-buttons" style="float:right; margin:20px 10px 20px 0;"><button id="truste-consent-button" type=button style="padding:5px; margin-right:5px; font-size:12px;">I consent to cookies</button><button id="truste-show-consent" type=button style="padding:5px; margin-right:5px; font-size:12px;">I want more information</button></div></div></div>'),e=`
            <style>
                .ta-hide {
                    visibility: hidden !important;
                    opacity: 0 !important;
                    transition: opacity 300ms ease-in, visibility 0s ease-in 300ms;
                }
                .ta-display-hide {
                    display: none !important;
                }
                .ta-show {
                    visibility: visible !important;
                    opacity: 1 !important;
                }
            </style>
            `+e,t.responsive==="false"&&(e=e.replace(/(class=["'].*?)[\s]?truste-responsive(.*?["'])/g,"$1$2")),n=document.querySelector("[nonce]"),n){const t=n.nonce||n.getAttribute("nonce");e=e.replace(/<style(?![^>]*nonce=)/gi,`<style nonce="${t}"`)}c.insertAdjacentHTML?c.insertAdjacentHTML("afterbegin",e):c.innerHTML=e}function C(e){var t=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,n={source:"preference_manager",message:e,data:{useNonStandardStacks:!1,consentScreen:1}};window.postMessage&&window.postMessage(t(n),"*")}function b(e,t){var n=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,s={source:"preference_manager",message:e,data:t};window.postMessage&&window.postMessage(n(s),"*")}function m(e){truste.eu.gpp&&truste.eu.gpp.updateCmpDisplayStatus(e)}function y(){self.localStorage&&self.localStorage.removeItem(truste.eu.COOKIE_CATEGORY_NAME),truste.eu.ccpa.dropCcpaCookie(!1),r(l),truste.util.dropOptoutDomains?.(l)}function v(){var e=truste.eu.bindMap;truste.eu.ccpa.dropCcpaCookie(!0),e&&e.prefmgrUrl&&(t.gtm||truste.eu.noticeLP.gtm==1)?(truste.bn.hide(document.getElementById(a)),m("hidden"),r("0"),truste.util.dropOptoutDomains?.()):truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(3)}function r(e){if(t=truste.util.getLowestConsent(e),!isNaN(t=parseInt(t))&&truste.eu&&truste.eu.actmessage){truste.eu.resetGpcDnt();var t,n,s=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,o={source:"preference_manager",message:"submit_preferences",data:{value:e}};window.PREF_MGR_API_DEBUG&&PREF_MGR_API_DEBUG.authorities.push(window.location.hostname),window.postMessage&&window.postMessage(s(o),"*"),n=truste.eu.bindMap,n&&n.prefmgrUrl&&!n.feat.ccpaApplies&&truste.util.callCMEndpoint("/defaultconsentmanager/optin?",t,function(){},!0),i("selection")}else i("done")}function O(){var n,a,c,d,u,s=truste.eu.bindMap;if(s.feat.isReconsentEvent&&s.popupMsg.length>0&&(a=document.getElementById(o.repopDiv),a))if(a.innerHTML=s.popupMsg,c=document.getElementsByClassName("tc-repop-msg"),c.length>0){c[0].classList.replace("tc-hide","tc-show-flex");let e=document.getElementById(o.repopClose);e&&(e.onclick=function(){c[0].classList.replace("tc-show-flex","tc-hide")})}else truste.bn.show(a);n=document.getElementById(o.consentButton),n&&(d=new RegExp(("^"+l+"$").replace(/,/g,".")),!t.gtm&&!s.feat.enableCCPA&&s.feat.isRepopEvent&&!d.test(s.prefCookie)?truste.bn.hide(n):n.onclick=function(){truste.bn.msglog("accepts",e.bannerMsgURL),e.feat.iabBannerApplies?C("process_iab_accept_all"):e.feat.gpp.gppApplies&&b("process_gpp_accept_all"),(s.feat.enableCCPA||s.feat.isReconsentEvent)&&s.feat.enableTwoStepVerification&&truste.util.validConsent(s.prefCookie)&&!d.test(s.prefCookie)?truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(6):y()}),n=document.getElementById(o.footerCallback),n&&(n.setAttribute("aria-haspopup","dialog"),n.onclick=function(){truste.bn.msglog("moreinfo",e.bannerMsgURL),truste.eu&&truste.eu.clickListener&&(e.feat.iabBannerApplies?truste.eu.clickListener(4):truste.eu.clickListener(parseInt(t.pn)||0),s.returnFocusTo=o.footerCallback.replace("#",""))}),n=document.getElementById(o.requiredButton),n&&(n.onclick=function(){if(truste.bn.msglog("requiredonly",e.bannerMsgURL),truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline"});return}e.feat.iabBannerApplies?C("process_iab_reject_all"):e.feat.gpp.gppApplies&&b("process_gpp_reject_all"),v()}),n=document.getElementById(o.ccpaOptoutButton),n&&(n.onclick=function(){if(truste.bn.msglog("requiredonly",e.bannerMsgURL),truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline-ccpa"});return}truste.bn.declineCPRA()}),F(),T(),n=document.getElementById(o.closeBanner),n&&(n.onclick=function(){var e=truste.eu.bindMap,t=truste.util.validConsent(e.prefCookie),n=e.feat.optoutClose&&!t;if(n){if(truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline"});return}v()}else i("done")}),n=document.getElementById(o.iabPartnersLink),n&&(n.onclick=function(){truste.eu.clickListener(5),s.returnFocusTo=o.iabPartnersLink.replace("#","")},n.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),s.returnFocusTo=o.iabPartnersLink.replace("#",""))}),n=document.getElementById(o.secondIabPartnersLink),n&&(n.onclick=function(){truste.eu.clickListener(5),s.returnFocusTo=o.secondIabPartnersLink.replace("#","")},n.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),s.returnFocusTo=o.secondIabPartnersLink.replace("#",""))}),x(),u=document.querySelectorAll('a[href*="https://tracker-detail-page"]'),u.forEach(function(n){n.href.includes("locale=")||(n.href=n.href+"&locale="+e.locale)}),parseInt(t.fade)&&setTimeout(function(){r(t.sl)},parseInt(t.fade)),i("open")}function x(){var e,t,n,s,a,i=truste.eu.bindMap;i.feat.ccpaApplies&&(s=truste.eu.ccpa.getOptout(),e=document.getElementById(o.ccpaOptedOut),t=document.getElementById(o.ccpaOptedIn),n=document.getElementById(o.ccpaNoPreference),s&&i.prefCookie?(a=/^[yY]$/,a.test(s)?(e&&truste.bn.show(e),t&&truste.bn.hide(t),n&&truste.bn.hide(n)):(e&&truste.bn.hide(e),t&&truste.bn.show(t),n&&truste.bn.hide(n))):(e&&truste.bn.hide(e),t&&truste.bn.hide(t),n&&truste.bn.show(n)))}function j(){t.oc&&truste.bn.addEvent(document,"click",S),t.px&&truste.bn.addEvent(document,"scroll",M)}function E(){truste.bn.isConsentTrack=!0,truste.bn.show(document.getElementById(a)),m("visible"),truste.bn.msglog("views",e.bannerMsgURL)}function k(){i("done")}function A(e){return e&&truste.bn.isVisible(e)&&!document.getElementById(truste.eu.popdiv2)}function S(e){var t=document.getElementById(a);A(t)&&!t.contains(e.target)&&e.target.id!==truste.eu.popclose&&r(l)}function M(){var n=document.getElementById(a);A(n)&&(document.scrollingElement.scrollTop||document.documentElement.scrollTop)>=t.px&&r(l)}function F(){const i=document.getElementById(a),n=t.cookieLink,r=document.getElementById(o.cookieButton),c=i?.querySelectorAll("[data-cookie-policy-link]"),s=t=>{truste.bn.msglog("cookiepolicy",e.bannerMsgURL),n&&(t.preventDefault(),window.open(n,p))};d(r,n,s),c?.forEach(e=>d(e,n,s))}function T(){const s=document.getElementById(a),e=t.privacypolicylink,i=document.getElementById(o.privacyButton),r=s?.querySelectorAll("[data-privacy-policy-link]"),n=t=>{e&&(t.preventDefault(),window.open(e,p))};d(i,e,n),r?.forEach(t=>d(t,e,n))}function d(e,t,n){if(!e)return;t&&(e.href=t),e.onclick=function(e){n(e)}}truste.bn.reopenBanner=function(){c&&(truste.bn.isConsentTrack=!0,i.done=0,j(),O(),truste.bn.show(document.getElementById(a)),m("visible"))},truste.bn.twoStepConfirmed=function(){truste.eu.ccpa.dropCcpaCookie(!1),r(l),truste.bn.msglog("twostepoptin",e.bannerMsgURL)},truste.bn.twoStepDeclined=function(){i("done")},truste.bn.acceptAll=function(){y()},truste.bn.declineAll=function(){v()},truste.bn.declineCPRA=function(){truste.eu.ccpa.dropCcpaCookie(!0),r("0")},truste.bn.handleBannerDone=function(){var e=truste.eu.bindMap;!truste.eu.isGPCDNTEvent()||!e.feat.dntShowUI?i("done"):x()}}}