var LanguageSelector,truste=window.truste||{};truste.bn||(truste.bn={}),truste.eu||(truste.eu={}),truste.util||(truste.util={}),Object.hasOwn||(Object.hasOwn=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}),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(typeof e=="object"&&e!==null){var n,s,o=!1,t="{";for(s in e)Object.hasOwn(e,s)&&(t+=(o?",":"")+'"'+s+'":'+truste.util.getJSON(e[s]),o=!0);return t+"}"}return e===0[0]?0[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!=0[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,r,c,d,u,h,t=truste.eu.bindMap={version:"v1.7-484",domain:"samsung.com.us",width:parseInt("980"),height:parseInt("700"),baseName:"te-notice-clr1-2072cc94-ae2c-4af7-b364-875aa5995b85",showOverlay:"{ShowLink}",hideOverlay:"{HideLink}",anchName:"te-notice-clr1-2072cc94-ae2c-4af7-b364-875aa5995b85-anch",intDivName:"te-notice-clr1-2072cc94-ae2c-4af7-b364-875aa5995b85-itl",iconSpanId:"te-notice-clr1-2072cc94-ae2c-4af7-b364-875aa5995b85-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.trustarc.com?type=samsung_com_us_usmanager_gdpr&layout=gdpr",text:"true",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("4",10)||3,defaultCategory:"Advertising / Targeting Cookies",noticeJsURL:(parseInt("0")?"https://consent.trustarc.com/":"https://consent.trustarc.com/")+"asset/notice.js/v/v1.7-484",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:"us",consentModel:"opt-out",provisionedFeatures:"",cookiePreferenceIcon:"cookiepref.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",gpcMessageTooltip:"{GPCMessageTooltip}",seedUrl:"",cmId:"",feat:{iabGdprApplies:!1,consentResolution:!0,dropBehaviorCookie:!0,crossDomain:!1,uidEnabled:!0,replaceDelimiter:!1,optoutClose:!1,enableIRM:!1,enableCM:!0,enableBanner:!0,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:!0,gpcMessageEnabled:JSON.parse("{GPCMessageEnabled}".replace(/\{GPCMessageEnabled\}/,!1)),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:!0,gcm:{ads:3,analytics:1,adPersonalization:3,adUserData:3,functionality:2,personalization:2,security:0},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:!0,gtm:1,enableStoredConsent:!1,acsUrl:"https://d1leee6d0c4cew.cloudfront.net/amzn-consent.js",acs:{enabled:"false"=="true",adStorage:"",userData:""},pushEventsToDataLayer:"false"=="true"},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(s in t)Object.hasOwn(t,s)&&t[s]&&t[s].replace&&typeof t[s]=="string"&&(t[s]=t[s].replace(/^(http:)?\/\//,"https://"));/consent-pref/.test(t.prefmgrUrl)&&(u=(t.cdnURL||"").replace(/\/?$/,""),t.prefmgrUrl=t.prefmgrUrl.replace(/^https?:\/\/[^/?#]+\/?/,u+"/")),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=!0,truste.util.createCookie=function(e,t,n,s,o){truste.util.cookie&&!o&&(t=truste.util.cookie.convert(t)),i=truste.eu.bindMap||{},c="; expires=",n?n=="0"?c="":(a=new Date(n),c+=n):(a=new Date,a.setDate(a.getDate()+i.cookieExpiry),c+=a.toGMTString()),!i.feat.cookiePath&&s&&truste.util.createCookieStorage&&truste.util.createCookieStorage(e,t,a),b=i.domain,l=self.location.hostname,m=!!l.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||l=="localhost";let j=l.replace(/^www\./,""),h=m||i.feat.keepWww?l:j;if(p=self.location.protocol=="https:"?" Secure;":"",u=" SameSite="+(i.feat.samesite?i.feat.samesite:"Lax")+";"+p,typeof truste.eu.noticeLP.pcookie!="undefined"){if(document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain="+(m?"":".")+h.replace(/^\./,"")+";"+u,!i.topLevelDomain){for(var i,a,c,l,u,m,f,p,b,g=0,d=h,v=d.split("."),r="_gd"+(new Date).getTime();g<v.length-1&&document.cookie.indexOf(r+"="+r)==-1;)d=v.slice(-1-++g).join("."),document.cookie=r+"="+r+";domain="+d+";"+u+";max-age=1";document.cookie=r+"=;domain="+d+";expires=Thu, 01 Jan 1970 00:00:01 GMT",i.topLevelDomain=d}h=i.topLevelDomain}f="/",i.feat.cookiePath&&(f+=location.pathname.split("/")[1]),self.document.cookie=e+"="+t+c+"; path="+f+";domain="+(m?"":".")+h.replace(/^\./,"")+";"+u},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(typeof t=="object"&&t!==null||(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:0[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={padding:"0px",margin:"20px auto !important"},r=1,$temp_style_outerdiv={position:"fixed !important",overflow:"auto !important"},o="body{display:block !important;position:relative !important;overlow:hidden !important;}#teconsent{position:absolute !important;bottom:5px !important;left:5px !important;}",n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerText=o,document.head.insertBefore(n,document.head.firstChild),$temp_box_overlay={padding:"0px",margin:"20px auto !important"},r=1,$temp_style_outerdiv={position:"fixed !important",overflow:"auto !important"},o="body{display:block !important;position:relative !important;overlow:hidden !important;}#teconsent{position:absolute !important;bottom:5px !important;left:5px !important;}",n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerText=o,document.head.insertBefore(n,document.head.firstChild),$temp_box_overlay={padding:"0px",margin:"20px auto !important"},r=1,$temp_style_outerdiv={position:"fixed !important",overflow:"auto !important"},o="body{display:block !important;position:relative !important;overlow:hidden !important;}#teconsent{position:absolute !important;bottom:5px !important;left:5px !important;}",n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerText=o,document.head.insertBefore(n,document.head.firstChild);try{(function(){const e=document.createElement("script");e.src="https://consent.trustarc.com/asset/integration-builder-v1.1.0.min.js",e.onload=function(){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",l):l()},document.head.appendChild(e)})(),(()=>{const e={cfg:null,attachedTargets:new WeakSet,allowNative:!1,blockDuringManage:!1,shadowHost:null,shadowRoot:null,lastClickedEl:null,inited:!1};function o(n){if(e.shadowHost)return;const s=document.createElement("div");s.style.position="fixed",s.style.inset="0",s.style.zIndex=String(n.zIndex),s.style.display="none",s.setAttribute("data-youtube-shield","true"),document.body.appendChild(s);const o=s.attachShadow({mode:"closed"}),r=document.createElement("style");r.textContent=`
    .backdrop {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: "SamsungSharpSans", arial, sans-serif;
    }

    .dialog {
      max-width: 750px;
      border: none;
      padding: 24px;
      border-radius: 24px;
      background-color: #fff;
      box-sizing: border-box;
    }

    .dialog header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-direction: row-reverse;
      margin-bottom: 16px;
    }

    .dialog h2 {
      font-size: 28px;
      font-family: "SamsungSharpSans", arial, sans-serif;
      margin: 0;
    }

    .dialog p {
      margin: 0;
      line-height: 1.33;
    }
    
    .backdrop .dialog .msg {
	  font-family: "SamsungOne", arial, sans-serif;
	}

    .dialog__actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-top: 24px;
    }

    .dialog__actions form {
      display: contents;
    }

    /* Base button + CTA styles: mirroring Samsung CTAs inside shadow */
    button {
      appearance: none;
      border: none;
      cursor: pointer;
      padding: 12px 24px;
      border-radius: 9999px;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.2;
      box-sizing: border-box;
      transition: background-color 0.15s ease, color 0.15s ease,
                  border-color 0.15s ease, transform 0.1s ease;
    }

    button:focus-visible {
      outline: 2px solid #000;
      outline-offset: 2px;
    }

    .cta {
      text-align: center;
      white-space: nowrap;
    }

    .cta--black {
      /* keep color mapping consistent with Samsung black CTAs */
    }

    .cta--contained.cta--black {
      background-color: #000;
      color: #fff;
      border: 1px solid #000;
    }

    .cta--contained.cta--black:hover {
      border-color: #000 !important;
      color: #000 !important;
      background-color: #fff !important;
    }

    .cta--outlined.cta--black {
      background-color: #fff;
      color: #000;
      border: 1px solid #000;
    }

    .cta--outlined.cta--black:hover {
      background-color: #000;
      color: #fff;
    }

    .dialog__close,
    .dialog__close::before {
      background-size: 100% auto;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: block;
      content: "";
    }

    .dialog__close {
      position: relative;
      background-image: url("https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/images/svg-layer-close.svg");
      border: none;
      padding: 0;
      cursor: pointer;
    }

    .hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }

    /* Mobile */
    @media only screen and (max-width: 767px) {
      .dialog {
        margin: auto 16px;
        width: unset;
        max-width: unset;
      }

      .dialog__close,
      .dialog__close::before {
        width: 3.88888889vw;
        height: 3.88888889vw;
      }

      .dialog h2 {
        font-size: 3.88888889vw;
        max-height: 10.55555556vw;
        line-height: 5.27777778vw;
      }

      .dialog p {
        font-size: 3.33333333vw;
      }
    }

    /* Tablet / Desktop */
    @media only screen and (min-width: 768px) and (max-width: 1440px) {
      .dialog {
        margin: auto;
        max-width: 750px;
      }

      .dialog__close,
      .dialog__close::before {
        margin: 0.20833333vw;
        width: 1.38888889vw;
        height: 1.38888889vw;
      }

      .dialog p {
        font-size: 1.11111111vw;
      }

      .dialog h2 {
        font-size: 1.94444444vw;
        max-height: 5.27777778vw;
        line-height: 2.56944444vw;
      }
    }
  `;const i=document.createElement("div");i.className="backdrop",i.innerHTML=`
    <div class="dialog" role="dialog" aria-modal="true" aria-label="Consent required">
      <header>
        <button
          type="button"
          class="dialog__close"
          aria-label="${n.cancelText||"Close"}"
        >
          <span class="hidden">Close dialog</span>
        </button>
        <h2>YouTube Video Blocked</h2>
      </header>
      <span class="msg"></span>
      <div class="dialog__actions">
        <button class="cancel cta cta--outlined cta--black" type="button"></button>
        <button class="manage cta cta--contained cta--black" type="button"></button>
      </div>
    </div>
  `,o.append(r,i),o.querySelector(".msg").innerHTML=n.message;const c=o.querySelector(".manage"),l=o.querySelector(".cancel"),d=o.querySelector(".dialog__close");c.textContent=n.manageText,l.textContent=n.cancelText;const a=()=>{t(),e.lastClickedEl=null};c.addEventListener("click",()=>{t(),e.blockDuringManage=!0;try{window.truste?.eu?.clickListener?window.truste.eu.clickListener():console.warn("[YouTubeShield] window.truste.eu.clickListener not found.")}catch(e){console.error("[YouTubeShield] Error calling truste.eu.clickListener:",e)}finally{queueMicrotask(()=>{e.blockDuringManage=!1})}e.lastClickedEl=null}),l.addEventListener("click",a),d.addEventListener("click",a);const u=e=>{e.key==="Escape"&&a()};document.addEventListener("keydown",u),e.shadowHost=s,e.shadowRoot=o}function i(){e.shadowHost&&(e.shadowHost.style.display="block")}function t(){e.shadowHost&&(e.shadowHost.style.display="none")}function a(t){return function(s){if(e.allowNative)return;if(e.blockDuringManage){s.preventDefault(),s.stopImmediatePropagation(),s.stopPropagation();return}const o=!!window.consent_granted_for_youtube;if(o)return;s.preventDefault(),s.stopImmediatePropagation(),s.stopPropagation(),e.lastClickedEl=t,i()}}function n(t){if(e.attachedTargets.has(t))return;t.addEventListener("click",a(t),{capture:!0}),e.attachedTargets.add(t)}function s(){Array.isArray(e.cfg.selectors)&&e.cfg.selectors.length>0&&e.cfg.selectors.forEach(e=>{document.querySelectorAll(e).forEach(n),document.querySelectorAll(e).length===0&&console.warn(`[YouTubeShield] Selector found no elements: ${e}`)}),e.cfg.applyToDataYouTubeID&&document.querySelectorAll("[data-video-id], [data-youtube-id]").forEach(n)}function r(t){if(!t||!t.message||!t.manageText||!t.cancelText||!t.zIndex){console.error("[YouTubeShield] Missing required config: {message, manageText, cancelText, zIndex}");return}if(e.inited)return;e.cfg=t,o(e.cfg),s(),e.inited=!0}function c(){e.inited&&s()}function l(){e.shadowHost&&(e.shadowHost.remove(),e.shadowHost=null,e.shadowRoot=null),e.inited=!1}window.YouTubeShield={init:r,rescan:c,destroy:l}})(),window.consent_granted_for_youtube=!1;function l(){if(!window.YouTubeShield||typeof window.YouTubeShield.init!="function")return;if(window.YouTubeShield.__inited)return;window.YouTubeShield.init({selectors:[],applyToDataYouTubeID:!0,message:"You need to accept Advertising / Targeting cookies to be able to view this content.<br />Please click Manage Consent to update your cookie preferences.",manageText:"Manage Consent",cancelText:"Cancel",zIndex:2147483e3}),window.YouTubeShield.__inited=!0,typeof IntegrationBuilder=="function"&&new IntegrationBuilder({consent_config:"consent_model",logging:!0}).TrustArcEventGeneration().YouTube({category:4,auto_thumbnail:!0,border_radius:0,background_opacity:1,background_style:"solid",consent_message:'<div class="rawcode-cookie-youtube"> <p class="rawcode-cookie-youtube__desc">You need to accept Advertising / Targeting cookies to be able to view this content. <br class="rawcode-cookie-youtube--pc-only">Please click here to update your cookie preferences.</p>  <button class="cta cta--contained cta--black" onclick="event.stopPropagation(); truste.eu && truste.eu.clickListener(truste.eu.noticeLP.pn)">Cookie preferences</button></div>',autoblock_placeholder:!0,ask_for_consent:!1}).Vimeo({category:4,auto_thumbnail:!0,border_radius:0,background_opacity:1,background_style:"solid",consent_message:'<div class="rawcode-cookie-youtube"> <p class="rawcode-cookie-youtube__desc">You need to accept Advertising / Targeting cookies to be able to view this content. <br class="rawcode-cookie-youtube--pc-only">Please click here to update your cookie preferences.</p>  <button class="cta cta--contained cta--black" onclick="event.stopPropagation(); truste.eu && truste.eu.clickListener(truste.eu.noticeLP.pn)">Cookie preferences</button></div>',autoblock_placeholder:!0,ask_for_consent:!1}).TrustArcCustomCode({category:4,name:"youtube-iframe",on_grant:(e)=>{console.log("YouTube Granted:",e),window.consent_granted_for_youtube=!0},on_revoke:(e)=>{console.log("YouTube Revoked:",e),window.consent_granted_for_youtube=!1}}).build()}(function(){const t=document.createElement("style");t.id="trustarc-youtube-consent-style",t.type="text/css",t.textContent=`
	.ta-content-youtube-consent-message:not(.hover-only) {
        background-color: #eee;
        box-shadow: none;
        gap: unset !important;
        padding: unset !important;
    }

	.ta-content-youtube-consent-message, .ta-content-youtube-consent-message) {
	    gap: unset !important;
		  padding: unset !important;
	}

    .ta-content-youtube-static-placeholder.has-solid {
        background-color: #eee !important;
    }

    .ta-content-youtube-consent-icon svg {
        display: none;
    }

    .ta-content-youtube-consent-placeholder {
        background-color: #eee;
    }

    .ta-content-youtube-consent-message {
        max-width: 100% !important;
    }
    
    .ta-content-youtube-consent-title {
		  font-weight:bold !important;
    }
    
    .ta-content-youtube-container .ta-content-youtube-consent-placeholder .ta-content-youtube-consent-message { text-shadow: none; }
  
    .ta-content-youtube-trustarc-badge span { text-shadow: none; }

	   .rawcode-cookie-youtube {display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; text-align: center; background-color: #eee !important; z-index: 1}  .rawcode-cookie-youtube__headline {line-height: 1.33; color: #000 !important; font-weight:bold;}  .rawcode-cookie-youtube__desc {margin-block: 8px 16px; line-height: 1.33; color: #000 !important}  @media only screen and (min-width: 768px) and (max-width: 1440px) {    .rawcode-cookie-youtube {padding: 1.666666666666667vw}    .rawcode-cookie-youtube__headline {   .rawcode-cookie-youtube__desc {margin-block: 0.5555555555555556vw 1.111111111111111vw;  }  @media only screen and (max-width: 767px) {    .rawcode-cookie-youtube {padding: 11.11111111111111vw 4.444444444444444vw}    .rawcode-cookie-youtube__headline {}    .rawcode-cookie-youtube__desc {margin-block: 2.5vw 4.444444444444444vw;}    .rawcode-cookie-youtube--pc-only {display: none}    .rawcode-cookie-youtube .cta {padding: 1.388888888888889vw 4.444444444444444vw 1.666666666666667vw 4.444444444444444vw;}  } 
    
  `;const n=document.getElementById("trustarc-youtube-consent-style");n&&n.remove(),document.head.appendChild(t)})()}catch(e){console.error("[YouTubeShield+Integration Studio] Fatal error:",e)}d=setInterval(function(){var e=document.getElementById("truste-gpc-signal"),n=document.getElementById("truste-consent-buttons"),s=document.getElementById("truste-consent-button"),t=document.getElementById("truste-consent-close");if(!e||!window.truste?.eu)return;const o=navigator.globalPrivacyControl===!0,i=navigator.doNotTrack==="1",a=o||i;a&&(e.textContent='Your GPC opt out preferences have been honored. Click the "X" above to close and continue',e.classList.add("truste-active-green"),n.classList.add("hide-button"),s.classList.add("close-gpc-active"),t.classList.remove("gpc-close-disabled"),t.classList.add("gpc-close-active")),e.classList.add("truste-gpc-signal"),clearInterval(d)},300),function(){"use strict";let e={};Object.defineProperty(truste.eu,"icon",{configurable:!1,enumerable:!0,get(){return e},set(t){typeof t=="object"&&t!==null&&(e=t,Object.defineProperty(e,"gpcMessage",{value:function(){let n=truste.eu.bindMap,s=truste.eu.caIcon;if(s&&n.feat.gpc){var e,t=self.document.getElementById("truste-gpc-icon");truste.util.isGPCHonored()?t||(e=self.document.createElement("img"),e.id="truste-gpc-icon",e.src=(n.assetServerUrl??"https://consent.trustarc.com/asset/")+"gpc-check.svg",e.alt="Global Privacy Control opt-out preference honored.",e.title="Global Privacy Control opt-out preference honored.",e.style.cursor="pointer",e.style.marginLeft="5px",e.style.height="12px",e.style.width="12px",s.appendChild(e)):t&&t.remove()}},writable:!1,configurable:!1}))}}),truste.eu.icon={}}(),t.styles=Object.create(null),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 r!="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,t.feat.samesite=typeof $temp_truste_samesite!="undefined"&&$temp_truste_samesite,i=truste.util.readCookieSimple(truste.eu.COOKIE_SESSION),i==null&&(userType=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME)?"EXISTING":"NEW",i=truste.util.getRandomUUID()+"|"+userType,a=new Date,a.setTime(a.getTime()+30*6e4),truste.util.createCookie(truste.eu.COOKIE_SESSION,i,a.toGMTString(),!1)),c=i.split(/[|,]/),truste.eu.session=c[0],truste.eu.userType=c[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;return n&&(s+="&categories="+n),fetch(truste.eu.bindMap.cdnURL+"analytics?"+s,{referrerPolicy:"origin-when-cross-origin",keepalive:!0}).catch(function(){})},truste.eu.newReporting?truste.util.sendAnalytics(0):new Image(1,1).src="https://consent.trustarc.com/log".replace("http:","https:")+"?domain=samsung.com.us&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,o,i=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++)o=s[t],o.id==="trustarc-tcfapi"&&(n=!0,e.feat.iab=!0);n||a(function(){return typeof __tcfapi!="undefined"},function(){i(e.consensuUrl+"asset/tcfapi2.2.js")},10,3e4)}}(truste.eu.bindMap),t.feat.dropBehaviorCookie&&(h=t.feat.replaceDelimiter?"|":",",truste.util.createCookie("notice_behavior",t.behavior+h+t.behaviorManager,"0")),truste.util.deferCallUntil=truste.util.deferCallUntil||function(e,t,n,s){var o,i=function(){o&&t()&&(clearInterval(o),e())};i(),o=setInterval(function(){i()},n||50),setTimeout(function(){clearInterval(o)},s||1e4)},truste.util.fireCustomEvent=function(e,t){if(t){var o=new CustomEvent(e,{detail:t,bubbles:!0}),n=function(){return document.body||document.getElementsByTagName("body")[0]},s=function(){var t=n();t&&t.dispatchEvent(o)};n()?s():truste.util.waitForElem&&truste.util.waitForElem(n,s,100,2e4)}},function(e){var n,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);let s=truste.eu.user&&truste.eu.user.authMac&&truste.eu.user.id&&truste.eu.user.authSecretId;if(e.feat.crossDomain=!!s,e.feat.crossDomain&&s){const t=truste.eu.user.authMac,n=truste.eu.user.id,s=truste.eu.user.authSecretId,o=e.domain;truste.cd=truste.cd||{},truste.cd.markConsentRetrieved=function(){e.feat.isConsentRetrieved||(e.feat.isConsentRetrieved=!0,typeof truste.eu.finishLoad=="function"&&truste.eu.finishLoad())},truste.cd.getConsent=async function(){try{const a=new URLSearchParams({cm:o,u:n,sid:s,mac:t}),i=await fetch(`${e.iconBaseUrl}consents?${a}`,{keepalive:!0});if(!i.ok)return truste.util.fireCustomEvent?.("trustarc-consent-fetch-failed",{status:i.status}),truste.cd.markConsentRetrieved(),null;const r=await i.json();return truste.util.fireCustomEvent?.("trustarc-consent-fetch-success",{}),r}catch(e){return truste.util.fireCustomEvent?.("trustarc-consent-fetch-failed",{error:"network"}),truste.cd.markConsentRetrieved(),null}},truste.cd.handleRepopLogic=function(t,n){if(!e.popTime)return;var s=e.cookieExpiry||395,o=new Date(t.expiry).getTime()-s*24*60*60*1e3;o>e.popTime&&(truste.util.createCookie(truste.eu.COOKIE_REPOP,"","Thu, 01 Jan 1970 00:00:01 GMT",!0),truste.util.createCookie(truste.eu.COOKIE_REPOP,e.popTime,n,!0))},truste.cd.addCrossDomainParams=function(e){return e&&!e.includes("/consent/log")?"":`&u=${encodeURIComponent(n)}&sid=${encodeURIComponent(s)}&mac=${encodeURIComponent(t)}`},truste.eu.COOKIE_CONSENT_SYNC="consent_sync",truste.cd.syncConsent=async function(){if(truste.util.readCookieSimple(truste.eu.COOKIE_CONSENT_SYNC)){truste.cd.markConsentRetrieved();return}if(await new Promise(e=>{truste.util.deferCallUntil(()=>{truste.cma||truste.cd.markConsentRetrieved(),e()},()=>truste.cma,50,1e4)}),!truste.cma)return;let t=await truste.cd.getConsent();if(!t||!t.categories||!t.expiry||isNaN(new Date(t.expiry).getTime())){truste.cd.markConsentRetrieved();return}let n=e.feat.replaceDelimiter?t.categories.replace(/,/g,"|"):t.categories,s=new Date(t.expiry).toGMTString();truste.cd.handleRepopLogic(t,s);const o=function(){let e=new Date;e.setTime(e.getTime()+24*60*60*1e3),truste.util.createCookie(truste.eu.COOKIE_CONSENT_SYNC,"true",e.toUTCString(),!1)};let i=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME),a=i?i.split(":")[0]:null;if(a===n){o(),truste.cd.markConsentRetrieved();return}truste.util.createCookie(truste.eu.COOKIE_GDPR_PREF_NAME,n,s,!0),truste.util.createCookie(truste.eu.COOKIE_PREF_NAME,truste.util.getLowestConsent(n),s,!0),truste.cma.callApi("syncConsentDecision","trustarc.com",{action:"updateDecision",value:n,expiry:s,timestamp:Date.now()},null),e.prefCookie=n,truste.util.dropOptoutDomains(n),o(),truste.cd.markConsentRetrieved()},(async()=>{await truste.cd.syncConsent()})()}}(truste.eu.bindMap),t.params=Object.create(null),t.bnFlags=Object.create(null),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||m()||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 m(){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()}})(),LanguageSelector=function(){var s,o,i,a,e={languageDropdown:"trustarc-lang-select",languageContainer:"trustarc-lang-container",languageSelectorLabel:"trustarc-lang-selector-label"},t=function(e,t){var i,o=truste.eu.bindMap;o.locale=t,truste.util.createCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,t,365),i=o.cdnURL+"bannerconfig?domain="+encodeURIComponent(e)+"&language="+encodeURIComponent(t)+"&country="+encodeURIComponent(o.country),fetch(i).then(function(e){return e.json()}).then(function(t){n(t),s(e,t)}).catch(function(e){console.error("TrustArc Translation Error:",e)})},n=function(e){if(!e)return;if(e.bannerHtml){var n,s,o,i,a,r,f=new DOMParser,t=f.parseFromString(e.bannerHtml,"text/html"),m=t.getElementById("truste-consent-text"),c=t.getElementById("truste-consent-button"),h=t.getElementById("truste-consent-required"),u=t.getElementById("truste-show-consent"),d=t.getElementById("truste-powered-by"),l=t.getElementById("trustarc-lang-selector-label");m&&(n=document.getElementById("truste-consent-text"),n&&(n.innerHTML=m.innerHTML)),c&&(r=document.querySelector("#truste-consent-button span"),r&&(r.textContent=c.textContent.trim())),h&&(a=document.querySelector("#truste-consent-required span"),a&&(a.textContent=h.textContent.trim())),u&&(i=document.querySelector("#truste-show-consent span"),i&&(i.textContent=u.textContent.trim())),l&&(o=document.getElementById("trustarc-lang-selector-label"),o&&(o.innerHTML=l.innerHTML)),d&&(s=document.getElementById("truste-powered-by"),s&&(s.innerHTML=d.innerHTML))}};function r(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}return o=function(t,n){var o,i,a=truste.eu.bindMap,s={};try{s=JSON.parse(n||"{}")}catch(e){return console.error("Error parsing languages:",e),""}return o=Object.keys(s),o.length===0?"":(i=o.map(function(e){var t=s[e],n=e===a.locale?"selected":"";return'<option value="'+e+'" '+n+">"+t+"</option>"}).join(""),'<select id="'+e.languageDropdown+'" style="padding: 8px 32px 8px 12px; border-radius: 6px; border: 1px solid #757575; font-size: 14px; font-weight: 600; color: #334155; background-color: white; cursor: pointer; appearance: none; background-image: url(\'data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%228%22 viewBox=%220 0 12 8%22><path fill=%22%23666%22 d=%22M1.41 0L6 4.58 10.59 0 12 1.42l-6 6-6-6z%22/></svg>\'); background-repeat: no-repeat; background-position: right 12px center; max-width: 100px;">'+i+"</select>")},s=function(n,s){var i,a,r,l=s&&s.languageSelectorLabel||"",d=s&&s.languages||"",c=o(l,d);if(!c)return;i=document.getElementById("trustarc-lang-container"),i&&(a=document.getElementById(e.languageDropdown),a&&a.remove(),i.insertAdjacentHTML("afterbegin",c),function t(){var s,o=document.getElementById("truste-consent-text"),n=document.getElementById(e.languageSelectorLabel);if(!o||!n)return setTimeout(t,50);s=window.getComputedStyle(o),n.style.fontSize=s.fontSize,n.style.color=s.color,n.style.fontFamily=s.fontFamily}(),r=document.getElementById(e.languageDropdown),r&&r.addEventListener("change",function(e){t(n,e.target.value)}))},i=function(e){var i,a,t=truste.eu.bindMap,o=truste.util.readCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,!0);o&&(t.locale=o),i=t.locale,a=t.cdnURL+"bannerconfig?domain="+encodeURIComponent(e)+"&language="+encodeURIComponent(i)+"&country="+encodeURIComponent(t.country),fetch(a).then(function(e){return e.json()}).then(function(t){n(t),s(e,t)}).catch(function(e){console.error("TrustArc Language Init Error:",e)})},a=function(n){var o,s=truste.util.readCookie(truste.eu.COOKIE_NOTICE_LANGUAGE,!0);if(!s)return;o=document.getElementById(e.languageDropdown),o&&(o.value=s),t(n,s)},{init:i,fetchLanguage:t,applyNoticeLanguageFromCookie:a,applyTranslations:n}}(),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,c,h,f,g,w,O,d=4,d=d>0?d:3,v=truste.eu.bindMap,l=function(t){for(var s=[],n=0;n<t;n++)s.push(n);return s.join(",")}(d);v.feat.gpp.gppApplies&&!v.feat.gpp.gppShowCategories&&(l=v.feat.gpp.gppOptInAll);const a="truste-consent-track",y='<style>  @font-face {      font-display: swap;      font-family: "SamsungSharpSansMedium";      font-weight: 500;      src: local("SamsungSharpSansMedium"),          url(https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungSharpSansMd.woff2) format("woff2");  }  @font-face {      font-display: swap;      font-family: "SamsungSharpSansBold";      src: local("SamsungSharpSansBold"),          url(https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungSharpSansBd.woff2) format("woff2");  }  @font-face {      font-family: "SamsungOne";      font-display: swap;      font-weight: 400;      src: local("SamsungOne"),          url(https://www.samsung.com/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/fonts/SamsungOne-400.woff2) format("woff2");  }  .truste-banner {      margin: 0 auto;  }  .trustarc-banner {      position: fixed;      bottom: 0;      z-index: 999999;      background: white;      width: 100%;      -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);  }  .truste-consent-content {      overflow: hidden;      min-width: 300px;      width: 100%;      max-width: 1320px;      display: table;      margin: 0 auto;      height: auto !important;      overflow-y: auto;  }  .truste-text {      font-family: "SamsungSharpSansMedium", Arial, sans-serif;      font-size: 10px;      color: #828282;      line-height: 17px;      width: 65%;      display: inline-block;      vertical-align: middle;      padding: 10px 10px 12px 24px;      text-align: left;  }  .truste-title {      font-size: 14px;      color: #363636;      font-family: "SamsungOne", Arial, sans-serif;      letter-spacing: 0;      line-height: 30px;  }  .truste-messageColumn {      font-family: "SamsungOne", Arial, sans-serif;      font-size: 12px;      color: #fff;      margin: 15px 0px 15px 5px;      float: left;  }  .truste-buttonsColumn {      float: right;      margin: 10px 5px 10px 0px;  }  .trustarc-buttons {      margin: 25px 24px 25px 0px;      float: right;  }  .truste-button1 {      font-family: "SamsungSharpSansMedium", Arial, sans-serif;      background: #1429a0;      color: #fff;      font-size: 14px;      /*height: 30px;**/      cursor: pointer;      border: 0px none;      text-transform: none;      border-radius: 30px;      width: 50%;      padding: 7px 0;  }  .truste-button2 {      font-family: "SamsungSharpSansMedium", Arial, sans-serif;      background: none;      color: #363636;      font-size: 14px;      height: auto;      cursor: pointer;      padding: 0;      border: 0px none;      /*height: 30px;**/      text-transform: capitalize;      text-decoration: underline;  }  .truste-cookie-link {      font-family: "SamsungSharpSansMedium", Arial, sans-serif;      display: inline-block;  }  .truste-privacy-link {      font-family: "SamsungSharpSansMedium", Arial, sans-serif;      cursor: pointer;      color: #1428a0;      text-decoration: underline;      display: inline-block;  }  /*NEW CSS*/  div#truste-consent-track {      top: 0;      bottom: auto;      margin: 0 auto !important;      border-radius: 20px;      text-align: center;      background: 0 0;      height: 100vh;      width: 100%;      max-width: 100%;      margin: 0 auto !important;      -webkit-box-align: center;      -ms-flex-align: center;      align-items: center;  }  div#truste-consent-track:before {      content: "";      background: rgba(0, 0, 0, .42);      display: block;      position: absolute;      left: 0;      top: 0;      height: 100%;      width: 100%;      z-index: 999999;  }  div#truste-consent-track .truste-consent-content {      max-height: initial;      z-index: 999999;      position: relative;      top: 15px;      /*-webkit-transform: translate(-50%,-50%);  -ms-transform: translate(-50%,-50%);  transform: translate(-50%,-50%);*/      display: block;      width: 100%;      min-width: auto;      text-align: center;      float: none;      clear: both;      left: 0;      right: 0;      margin: 0 auto;      max-width: 440px;      padding: 25px;      background: #fff;      -webkit-box-shadow: 0 0 20px rgb(0 0 0 / 30%);      box-shadow: 0 0 20px rgb(0 0 0 / 30%);      border-radius: 20px;      box-sizing: content-box;  }  .truste-custom-samsung-wrap .truste-custom-wrapper {      display: -webkit-box;      display: -ms-flexbox;      display: flex;      -webkit-box-pack: justify;      -ms-flex-pack: justify;      justify-content: space-between;      padding-bottom: 10px;      -webkit-box-align: center;      -ms-flex-align: center;      align-items: center;  }  .truste-custom-img img {      -o-object-fit: cover;      object-fit: cover;      height: 20px;  }  .truste-custom-samsung-link {      font-family: "SamsungSharpSansBold", Arial, sans-serif;      color: #000;      font-size: 14px;      font-weight: 600;      text-decoration: underline;      cursor: pointer;      margin-top: -4px;  }  h2.truste-custom-samsung-title {      font-style: normal;      font-weight: 600;      font-size: 23px;      line-height: 24px;      text-align: left;      color: #000;      margin: 0;      font-family: "SamsungSharpSansBold", Arial, sans-serif;      margin-bottom: 10px;      display: none;  }  p.truste-custom-text-wrapper {      text-align: left;      font-family: "SamsungSharpSansBold", Arial, sans-serif;      font-size: 12px;      color: #000;      margin-top: 0;      line-height: 19px;      margin-bottom: 22px;  }  p.truste-custom-text-wrapper a,  p.truste-custom-text-wrapper+p a {      color: #1428A0;      position: relative;      cursor: pointer;      text-decoration: underline;      font-family: "SamsungSharpSansMedium", Arial, sans-serif;  }  div#truste-consent-text {      display: none;  }  div#truste-consent-buttons {      float: none;      margin-right: 0;      display: -webkit-flex;      display: -ms-flexbox;      display: flex;      -webkit-box-pack: justify;      -ms-flex-pack: justify;      justify-content: space-between;      margin-bottom: 0;      margin-top: 0;      gap: 10px;  }  button.truste-button2 {      border: 1px solid #12299e;      -webkit-box-sizing: border-box;      box-sizing: border-box;      border-radius: 30px;      text-decoration: none;      /*padding: 13px 10px;*/      /*height: 30px;**/      width: 50%;      color: #12299e;      font-weight: 600;      padding: 7px 0;  }  div#truste-consent-button {      font-family: "SamsungSharpSansMedium", Arial, sans-serif;      background: #1429a0;      color: #fff;      font-size: 12px;      height: auto;      cursor: pointer;      margin-left: 5px;      padding: 13px 15px;      border: 0px none;      text-transform: capitalize;      border-radius: 30px;      width: 50%;      font-weight: 600;  }  /* .trustarc-close {  position: absolute;  right: 12px;  top: 12px;  }  .close-btn > img {  height: auto;  width: 20px;  cursor: pointer;  } */  /* GPC */  .truste-gpc-signal {      position: relative;      display: flex;      align-items: center;      justify-content: left;      width: auto;      margin: 0;  }  .truste-gpc-signal:before {      display: none;      content: "";      height: 12px;      width: 12px;      background-color: red;      display: none;      border-radius: 50%;      margin-right: 5px;  }  .truste-gpc-signal.truste-active-red:before {      background-color: red;  }  #truste-gpc-signal.truste-active-green {      margin-top: 16px;      margin-bottom: 16px;  }  .truste-gpc-signal.truste-active-green:before {      display: inline-block;      background-color: green;  }  .truste-gpc-signal::before {      height: 9px;      width: 12px;      margin-bottom: 15px;  }  #truste-gpc-signal {      font-family: "SamsungSharpSansBold", Arial, sans-serif;      font-size: 12px;      margin: 0;  }  /* End GPC */  /* MEDIA QUERIES */  @media screen and (min-width: 1px) and (max-width: 1039px) {      .truste-text {          width: 61%;      }  }  @media screen and (min-width: 1px) and (max-width: 931px) {      .truste-text {          width: 55%;      }  }  @media screen and (min-width: 1px) and (max-width: 900px)  /* and (max-height: 460px) */      {      div#truste-consent-buttons {          margin-bottom: 15px;      }  }  @media screen and (min-width: 1px) and (max-width: 807px) {      .truste-banner {          margin: 0 10px;      }      .truste-text {          width: auto;          display: block;          vertical-align: middle;          text-align: left;          padding: 28px 24px 12px 24px;      }      .truste-messageColumn,      .truste-buttonsColumn {          float: left;          width: 100%;      }      .truste-messageColumn {          margin: 15px 0px 10px 0px;      }      .truste-buttonsColumn {          margin: 10px 0px 10px 0px;      }      .trustarc-buttons {          text-align: center;          padding-bottom: 24px;          margin: 0 auto;          float: none;      }      .truste-button1,      .truste-button2 {          margin-top: 0px;      }  }  @media screen and (min-width: 1px) and (max-width: 550px) {      div#truste-consent-track .truste-consent-content {          max-width: 80%;      }      button.truste-button2 {          width: 100%;      }      .truste-button1,      .truste-button2 {          width: 100%;      }  }  @media screen and (min-width: 1px) and (max-width: 430px) {      p.truste-custom-text-wrapper {          line-height: 15px;      }  }  @media screen and (min-width: 1px) and (max-width: 425px) {      div#truste-consent-buttons {          flex-direction: column;      }      .truste-custom-img img {          height: 18px;      }      .truste-custom-samsung-link {          font-size: 14px;      }      h2.truste-custom-samsung-title {          font-size: 18px;      }      p.truste-custom-text-wrapper {          font-size: 12px;          margin-bottom: 15px;      }      .truste-button1,      .truste-button2 {          font-size: 14px;      }      .truste-button1 {          margin-left: 0;          padding: 7px 0;      }      button.truste-button2 {          padding: 7px 0;      }      div#truste-consent-track .truste-consent-content {          /*max-width: 87%;*/          padding: 20px 15px;          /* height: 505px;*/          overflow-y: auto;      }  }  @media screen and (min-width: 1px) and (max-width: 400px) {      div#truste-consent-buttons button {          width: 100%;          padding: 7px 0;      }      /*button#truste-consent-button {        padding: 7px 0 !important;    }*/      p.truste-custom-text-wrapper {          line-height: 14px;          font-size: 12px;          margin-bottom: 8px;      }      .truste-custom-samsung-link {          font-size: 14px;          font-family: "SamsungSharpSansMedium", Arial, sans-serif;          letter-spacing: -1px;      }  }  @media screen and (min-width: 1px) and (max-width: 360px) {      .custom-img img {          height: 16px;      }      p.truste-custom-text-wrapper {          font-size: 11px;      }      #truste-gpc-signal.truste-active-green {          font-size: 11px;          margin-top: 10px;      }  }  @media screen and (min-width: 1px) and (max-width: 349px) {      p.truste-custom-text-wrapper {          text-align: justify;      }      .truste-banner-close {          right: 7px !important;          top: 2px !important;      }  }  @media screen and (min-width: 1px) and (max-width: 320px) {      div#truste-consent-buttons button {          font-size: 11px;      }      #truste-gpc-signal.truste-active-green {          font-size: 10px;      }      p.truste-custom-text-wrapper {          font-size: 10px;          margin-bottom: 4px;          line-height: 12px;      }      div#truste-consent-buttons {          margin-top: 23px;      }      .truste-custom-samsung-wrap .truste-custom-wrapper {          padding-bottom: 10px;      }      h2.truste-custom-samsung-title {          font-size: 15px;          margin-bottom: 6px;      }      .truste-custom-img img {          height: 19px;      }      .truste-custom-samsung-link {          margin-top: 0;      }      div#truste-consent-track .truste-consent-content {          padding: 20px 10px;      }  }  .truste-banner-close {      position: absolute;      right: 15px;      top: 5px;      cursor: pointer;  }  .truste-banner-close img {      width: 15px;      height: 15px;  }  .gpc-close-disabled,  .close-gpc-active {      display: none;  }  .gpc-close-active {      display: block;  }</style><div id="truste-consent-track" class="trustarc-banner truste-responsive" style="display:block;">    <div class="truste-consent-content">        <div class="truste-custom-samsung-wrap">            <div class="truste-custom-wrapper">                <div class="truste-custom-img">                    <img src="https://consent.trustarc.com/get?name=samsungblack_logo.png">                </div>            </div>            <p class="truste-custom-text-wrapper">Samsung Electronics, and its partners, use cookies, web beacons, pixels and similar technologies through which we and certain third parties (such as our advertising and analytics partners) may collect, record, use and share information about your use of our website. By continuing to use this website, you consent to our use of cookies. To manage your cookie preferences, see&nbsp;<a onclick="document.getElementById(&#39;truste-show-consent&#39;).click()"><strong>Cookie Preference Settings</strong></a>. For more information, see our&nbsp;<a href="https://www.samsung.com/us/privacy/" target="_blank" id="truste-privacy-button" style="cursor:pointer; text-decoration: underline;" class="truste-privacy-link"><strong>Privacy Policy</strong></a>.</p>            <span id="truste-gpc-signal" class=""></span>            <a id="truste-consent-button" class="truste-banner-close"><img src="https://consent.trustarc.com/get?name=close_widex.png" alt="close icon"></a>            <a id="truste-consent-close" class="truste-banner-close gpc-close-disabled"><img src="https://consent.trustarc.com/get?name=close_widex.png" alt="close icon"></a>            <div id="truste-consent-buttons" class="trustarc-buttons" style="display:none;">                <button id="truste-show-consent" type="button" class="truste-button2">Configure</button>                <button id="truste-consent-button" type="button" class="truste-button1">Accept All</button>                <button id="truste-consent-required" type="button" class="truste-button1">Decline All</button>            </div>        </div>    </div></div>';f=/\bandroid (\d+(?:\.\d+)+);/gi.exec(navigator.userAgent),O=f&&f[1]<="4.4",w=document.getElementById(n),c=document.getElementById(s),c.setAttribute("lang",e.locale.replace("_","-")),o=Object.freeze(Object.assign(Object.create(null),{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"})),g=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":if(c){E(),D(),x();let t=y.includes(a);truste.bn.checkPreference()&&t?j():e.bnFlags.consentUnresolved&&t?truste.bn.checkConsentUnresolved(j,A):A()}break;case"done":truste.bn.isConsentTrack=!1,truste.bn.removeEvent(document,"click",M),truste.bn.removeEvent(document,"scroll",F),truste.bn.show(w),truste.bn.hide(document.getElementById(a)),m("hidden");break;case"open":try{if(O){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 D(){if(document.getElementById(a))return;let e=y;e=e.replace("&lt;i&gt;","<i>").replace("&lt;/i&gt;","</i>").replace("&lt;b&gt;","<b>").replace("&lt;/b&gt;","</b>"),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"));var n=document.querySelector("[nonce]");if(n){const t=n.nonce||n.getAttribute("nonce");e=e.replace(/<style(?![^>]*nonce=)/gi,`<style nonce="${t}"`)}if(!e||typeof e!="string")return;c.insertAdjacentHTML?c.insertAdjacentHTML("afterbegin",e):c.innerHTML=e}function b(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 k(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 _(){self.localStorage&&self.localStorage.removeItem(truste.eu.COOKIE_CATEGORY_NAME),truste.eu.ccpa.dropCcpaCookie(!1),r(l),truste.util.dropOptoutDomains?.(l)}function p(){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,o=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,a={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(o(a),"*"),n=truste.eu.bindMap,n&&n.prefmgrUrl&&!n.feat.ccpaApplies&&(s="/consent/log?",truste.util.callCMEndpoint(s,t,function(){},!0,e)),i("selection")}else i("done")}function x(){var n,a,c,d,u,h,s=truste.eu.bindMap;if(s.feat.isReconsentEvent&&Object.hasOwn(s,"popupMsg")&&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?b("process_iab_accept_all"):e.feat.gpp.gppApplies&&k("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):_()}),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?b("process_iab_reject_all"):e.feat.gpp.gppApplies&&k("process_gpp_reject_all"),p()}),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()}),T(),z(),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}p()}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("#",""))}),C(),h=document.querySelectorAll('a[href*="https://tracker-detail-page"]'),h.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)),u=e.domain||window.location.hostname,document.getElementById("trustarc-lang-container")&&(u=e.domain||window.location.hostname,LanguageSelector.init(u)),i("open")}function C(){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 E(){t.oc&&truste.bn.addEvent(document,"click",M),t.px&&truste.bn.addEvent(document,"scroll",F)}function j(){truste.bn.isConsentTrack=!0,truste.bn.show(document.getElementById(a)),m("visible"),truste.bn.msglog("views",e.bannerMsgURL)}function A(){i("done")}function S(e){return e&&truste.bn.isVisible(e)&&!document.getElementById(truste.eu.popdiv2)}function M(e){var t=document.getElementById(a);S(t)&&!t.contains(e.target)&&e.target.id!==truste.eu.popclose&&r(l)}function F(){var n=document.getElementById(a);S(n)&&(document.scrollingElement.scrollTop||document.documentElement.scrollTop)>=t.px&&r(l)}function T(){const i=document.getElementById(a),n=Object.hasOwn(t,"cookieLink")?t.cookieLink:0[0],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,g))};u(r,n,s),c?.forEach(e=>u(e,n,s))}function z(){const s=document.getElementById(a),e=Object.hasOwn(t,"privacypolicylink")?t.privacypolicylink:0[0],i=document.getElementById(o.privacyButton),r=s?.querySelectorAll("[data-privacy-policy-link]"),n=t=>{e&&(t.preventDefault(),window.open(e,g))};u(i,e,n),r?.forEach(t=>u(t,e,n))}function u(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,E(),x(),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(){_()},truste.bn.declineAll=function(){p()},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"):C()}}}