var truste=self.truste||{};truste.bn||(truste.bn={}),truste.eu||(truste.eu={}),truste.util||(truste.util={}),function(){(function(){truste.bn.msglog=function(e){truste.eu&&truste.eu.msg&&truste.eu.msg.log(e,truste.eu.bindMap)},truste.bn.checkPreference=function(){if(truste.eu.bindMap){var n,e=truste.eu.bindMap;return e.feat.crossDomain&&!e.flags.isConsentRetrieved||truste.util.isConsentCenter()&&!e.feat.isConsentCenterInitialized?(e.bnFlags.consentUnresolved=!0,!1):(n=truste.bn.shouldRepop(),n&&(e.flags.dropPopCookie=e.feat.dropPopCookie=!0),e.feat.isDNTOptoutEvent||e.feat.isGPCOptoutEvent?e.feat.dntShowUI:(e.prefCookie&&(n||t())&&(e.flags.isRepopEvent=e.feat.isRepopEvent=!0,e.flags.isReconsentEvent=e.feat.isReconsentEvent=n),!e.prefCookie||e.flags.isRepopEvent))}return!1},truste.bn.checkConsentUnresolved=function(e,t){if(truste.eu.bindMap){var s=truste.eu.bindMap,n=setInterval(function(){(n&&s.flags.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 t(){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]))))}})(),truste.util.error=function(e,n,s){s=s||{};var o,i,r,a=n&&n.toString()||"",c=s.caller||"";if(n&&n.stack&&(o=n.stack.match(/(@|at)[^\n\r\t]*/g),o&&(a+="\n"+o[0]+"\n"+o[o.length-1])),truste.util.trace(e,a,s),truste.util.debug||!n&&!e)return;r={apigwlambdaUrl:"https://api-js-log.trustarc.com/error",enableJsLog:t("false","false")},r.enableJsLog&&(delete s.caller,delete s.mod,delete s.domain,delete s.authority,s.msg=e,i=new XMLHttpRequest,i.open("POST",r.apigwlambdaUrl,!0),i.setRequestHeader("Content-type","application/json"),i.send(truste.util.getJSON({info:truste.util.getJSON(s)||"",error:a,caller:c})))},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 t=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}),t&&t.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.loadNoticeJs=function(){if(truste.cma)return;truste.bn.addScriptElem(n.noticeJsURL,function(){truste.bn.onNoticeJsLoad&&truste.bn.onNoticeJsLoad()},n.containerId)},truste.eu.scriptBaseUrl=function(){try{var e=self.document.currentScript;if(e&&e.src)return new URL(e.src).origin.replace(/^http:/,"https:")+"/"}catch(e){}return"https://consent.trustarc.com/"}(),truste.eu.rebaseUrl=function(e){if(typeof e!="string"||!e)return e;var t=(truste.eu.scriptBaseUrl||"").replace(/\/$/,"");return e.replace(/^(https?:)?\/\/[^/?#]+/,t)};function s(e,t){return/^\{[A-Za-z_][A-Za-z0-9_]*\}$/.test(e)?t:e}function o(){for(var t,e=0;e<arguments.length;e++)if(t=s(arguments[e],""),t!=="")return t;return""}function t(e,t){var n=s(e,t);n.trim()===""&&(n=t);try{return n==="undefined"?0[0]:JSON.parse(n)}catch(e){return t==="undefined"?0[0]:JSON.parse(t)}}var n=truste.eu.bindMap={version:"62bb0e7",isPro:!1,domain:s("cargill.com",""),cmId:o("{CmId}",""),locale:"en",language:"en",country:"us",state:"",behavior:"implied",behaviorManager:o("{Region}","eu"),consentModel:"opt-in",iconUrl:o("{IconText}","Manage Cookies"),cookiePreferenceIcon:"cookiepref.png",linkIconUrl:s("{LinkIconUrl}",""),logoUrl:s("{LogoUrl}",""),closeButtonUrl:o("{CloseButtonUrl}","//consent.trustarc.com/get?name=noticeclosebtn.png"),closeBtnAlt:s("close button",""),containerId:/^(_LB.*LB_)?$/.test(s("teconsent",""))?"teconsent":s("teconsent",""),irmContainerId:/^(_LB.*LB_)?$/.test(s("trustarc-irm-placeholder",""))?"teconsent":s("trustarc-irm-placeholder",""),iconRole:s("",""),containerRole:s("",""),teconsentChildAriaLabel:o("{TeconsentChildAriaLabel}","Manage Cookies"),wcag2:/true/.test(s("{WCAG2}","false")),prefmgrUrl:o("{ConsentManagerUrl}","https://consent.trustarc.com?type=cargill_com_gdpr&layout=gdpr"),privacyUrl:o("{PrivacyUrl}",""),assetServerURL:truste.eu.scriptBaseUrl+"asset/",IRMIntegrationURL:s("https://submit-irm.trustarc.com/services/validation/f4804e9e-de71-4883-bc5f-bf53a6beace2",""),seedUrl:s("",""),referer:s("{Referer}",""),apiDefaults:o("{ApiConfig}",'{"reportlevel":16777215, "newReporting": true}'),cmTimeout:parseInt(o("{ConsentManagerTimeout}","6000"),10),cookieExpiry:parseInt(s("395",""),10)||395,popTime:Date.parse(s("","").replace(" +0000","Z").replace(" ","T"))||null,popupMsg:s("",""),daxSignature:s("",""),pageNumber:"",debug:!1,dynamicTracker:t("{DynamicTracker}","false"),languageSelectionEnabled:t("{LanguageSelectorEnabled}","false"),languageSelectorLabel:s("{LanguageSelectorLabel}",""),languages:s("{Languages}",""),width:parseInt(s("660","")),height:parseInt(s("460","")),irmWidth:parseInt(s("800","")),irmHeight:parseInt(s("1280","")),localization:{modalTitle:s("Your choices regarding the use of cookies on this site","")},autoDisplayCloseButton:!1,hideCloseButtonEnabled:s("false","")=="true",text:s("true",""),irmText:s("California - Do Not Sell or Share My Personal Information",""),lspa:s("",""),ccpaText:s("",""),atpIds:s("",""),dntOptedIn:s("",""),gpcOptedIn:s("0",""),gpcMessageTooltip:s("{GPCMessageTooltip}",""),customLinkGpcRecognitionText:s("{CustomLinkGpcRecognitionText}",""),currentScript:self.document.currentScript,styles:{overlay:{backgroundColor:"#000",opacity:"0.4",position:"fixed",_position:"absolute",width:"100%",height:"100%",top:"0px",left:"0px",overflow:"hidden",filter:"Alpha(Opacity: 80)"},outerdiv:{width:"100%",height:"100%",overflow:"scroll",position:"absolute",top:"0",left:"0",WebkitOverflowScrolling:"touch"},box_overlay:{position:"absolute",top:"0px",left:"0px",bottom:"0px",right:"0px",borderRadius:"5px",padding:"10px",boxSizing:"content-box",minWidth:"220px",maxWidth:"650px",width:"auto",maxHeight:"650px"},inner_iframe:{border:"0px",borderRadius:"2px",overflow:"hidden",background:"#fff",display:"block",top:"0px",left:"0px",width:"100%"},closebtn:{position:"absolute",top:"16px",right:"14px"}},bnFlags:{},flags:{isReconsentEvent:!1,dropPopCookie:!1,isRepopEvent:!1,isConsentRetrieved:!1},feat:{consentResolution:t("false","false"),dropBehaviorCookie:t("true","false"),crossDomain:t("false","false"),replaceDelimiter:t("false","false"),optoutClose:t("false","false"),enableIRM:t("true","false"),enableIrmAutoOptOut:t("true","false"),enableCPRA:t("false","false"),enableACString:t("false","false"),enableTwoStepVerification:t("false","false"),autoblock:t("false","false"),pushEventsToDataLayer:t("false","false"),gtm:!0,uidEnabled:t(o("{UidEnabled}","false"),"false"),dnt:t("false","false")&&(navigator.doNotTrack=="1"||window.doNotTrack=="1"),gpc:t("true","false")&&(navigator.globalPrivacyControl||window.globalPrivacyControl),gpcOvr:t("true","false")&&(navigator.globalPrivacyControl||window.globalPrivacyControl),enableIconRole:t("true","true"),enableIconLabel:t("true","false"),enableHasPopUp:t("true","false"),enableContainerRole:t("true","false"),enableContainerLabel:t("true","false"),accessibility:t("{Accessibility}","false"),linkBannerMode:t("{LinkBanner}","false"),declineBtnEnabled:t("{DeclineBtnEnabled}","false"),secondStepOptin:t("{SecondStepOptin}","false"),requiredSwitchEnabled:t("{RequiredSwitchEnabled}","false"),dpdpRejectAllEnabled:t("{DpdpRejectAllEnabled}","false"),appendCmidEnabled:t("{AppendCmidEnabled}","false"),linkGpcRecognitionNoticeEnabled:t("{LinkGpcRecognitionNotice}","false"),text:t("true","false"),irmText:s("{IrmPreferenceText}",""),iabGdprApplies:t("false","false"),enableCM:t("true","false"),enableBanner:t("true","false"),enableCCPA:t("false","false"),ccpaApplies:t("false","false"),unprovisionedDropBehavior:t("true","false"),unprovisionedIab:t("false","false"),unprovisionedCCPA:t("false","false"),dntShowUI:t("true","false"),gpcMessageEnabled:t("{GPCMessageEnabled}","false"),iabBannerApplies:t("false","false"),enableReturnFocus:t("false","false"),enableShopify:t("0","false"),tcfCmp:t("false","false"),enableTcfOptout:t("false","false"),enableTcfVendorLegIntOptin:t("false","false"),enableTcfVendorPurposeOptinOverride:t("false","false"),enableTransparentAlt:t("true","false"),enableStoredConsent:t("false","false"),gcm:{ads:t("-1","-1"),analytics:t("-1","-1"),adPersonalization:t("-1","-1"),adUserData:t("-1","-1"),functionality:t("-1","-1"),personalization:t("-1","-1"),security:t("-1","-1")},gpp:{enabled:t("false","false"),mspaEnabled:t("false","false"),mspaMode:parseInt(s("0",""))||0,enableStateSpecificString:t("false","false"),gppApplies:t("false","false"),gppShowCategories:t("false","false"),gppOptInAll:s("","0,1,2")},acsUrl:s("https://d1leee6d0c4cew.cloudfront.net/amzn-consent.js",""),acs:{enabled:t("false","false"),adStorage:s("",""),userData:s("","")}}};if(n.fullURL=n.referer||n.dynamicTracker?encodeURIComponent(window.location.href):"",n.cdnURL=n.consensuUrl=n.iconBaseUrl=n.originBaseUrl=truste.eu.scriptBaseUrl,n.icon=n.iconUrl,n.assetServerUrl=n.assetServerURL,self.location.protocol!="http:")for(let e in n)Object.hasOwn(n,e)&&n[e]&&typeof n[e]=="string"&&(n[e]=n[e].replace(/^(http:)?\/\//,"https://"));n.prefmgrUrl=truste.eu.rebaseUrl(n.prefmgrUrl),n.closeButtonUrl=truste.eu.rebaseUrl(n.closeButtonUrl),n.logoUrl=truste.eu.rebaseUrl(n.logoUrl),n.linkIconUrl=truste.eu.rebaseUrl(n.linkIconUrl),n.categoryCount=parseInt(s("3",""),10)||3,n.defaultCategory=s("",""),n.noticeJsURL=truste.eu.scriptBaseUrl+"asset/notice.js/v/62bb0e7",/layout=gdpr/.test(n.prefmgrUrl)&&(n.isGdprLayout=!0),/layout=iab/.test(n.prefmgrUrl)&&(n.isIabLayout=!0),/layout=gpp/.test(n.prefmgrUrl)&&(n.isGppLayout=!0),n.languageSelectorBound=t("{LanguageSelectorEnabled}","undefined")!==0[0],truste.eu.USER_CONSENT_CENTER_SERVER="https://user-consent-center.trustarc.com",truste.eu.noticeLP=truste.eu.noticeLP||{},truste.eu.noticeLP.pcookie=t("undefined","undefined"),truste.util=truste.util||{},truste.util.getCmIdentifier=function(e){return e=e||truste.eu.bindMap||{},e.domain||e.cmId},truste.util=truste.util||{},truste.util.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.util.getDisplayProperty=function(e){var t=window.getComputedStyle(e,null).display;return t=="none"?truste.util.getDefaultStyleProperty("display",e.nodeName):t},truste.util=truste.util||{},truste.util.readCookie=function(e,t){var s=truste.eu&&truste.eu.bindMap,n=null;return s&&s.cmId&&(n=truste.util._readCookie(s.cmId+"_"+e,t)),n==null&&(n=truste.util._readCookie(e,t)),n},truste.util._readCookie=function(e,t){var s,o,i,a,r,c,l,d,u,n=null;try{s=new RegExp("(^|\\s)"+e.replace(".","\\.")+"\\s*=\\s*([^;]*)").exec(self.document.cookie),s&&s.length>2&&(n=s[2])}catch(e){truste.util.trace(e.message,e.stack)}return!n&&t&&truste.util._readCookieStorage&&(l=function(){return/MSIE|Trident|Edge/.test(window.navigator.userAgent)}(),l?(o="notice_test",r="nt_"+(new Date).getTime(),truste.util._createCookie(o,r,null,!1),truste.util._readCookie(o,!1)==r?self.localStorage.removeItem(truste.util.COOKIE_NS+e):n=truste.util._readCookieStorage(e),truste.util._createCookie(o,"","Thu, 01 Jan 1970 00:00:01 GMT",!1)):n=truste.util._readCookieStorage(e)),i=truste.util.cookie?truste.util.cookie.convert(n):n,i!==n&&(d=truste.util.COOKIE_NS+e,a=truste.util.getStorage&&truste.util.getStorage(d,!1),a?(c=new Date(a.expires),u=new Date,c>u&&truste.util._createCookie(e,a.value,c.toUTCString(),!0)):truste.util._createCookie(e,i),n=i),n},truste.util.createCookie=function(e,t,n,s,o){var i=truste.eu&&truste.eu.bindMap,a=i&&i.cmId&&i.feat.appendCmidEnabled?i.cmId+"_"+e:e;truste.util._removeCookie(e),truste.util._removeCookie(a),truste.util._createCookie(a,t,n,s,o)},truste.util._createCookie=function(e,t,n,s,o){if(truste.util.cookie&&!o&&(t=truste.util.cookie.convert(t)),i=truste.eu&&truste.eu.bindMap||{},d="; expires=",n?n=="0"?d="":d+=n:(h=new Date,h.setDate(h.getDate()+i.cookieExpiry),d+=h.toUTCString()),s&&truste.util._createCookieStorage&&truste.util._createCookieStorage(e,t,n),c=self.location.hostname,u=!!c.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||c=="localhost",j=c.replace(/^www\./,""),a=u||i.feat&&i.feat.keepWww?c:j,f=self.location.protocol=="https:"?" Secure;":"",p=i.feat&&i.feat.samesite?i.feat.samesite:i.isPro?f?"None":"Lax":"Lax",m=(truste.util.samesite&&!truste.util.samesite(navigator.userAgent)?"":" SameSite="+p+";")+f,v=typeof truste.eu.pcookie!="undefined"&&truste.eu.pcookie!=null||truste.eu.noticeLP&&typeof truste.eu.noticeLP.pcookie!="undefined",v){if(document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain="+(u?"":".")+a.replace(/^\./,"")+";"+m,!i.topLevelDomain){for(var i,a,c,d,u,h,m,f,p,v,j,g=0,r=a,b=r.split("."),l="_gd"+(new Date).getTime();g<b.length-1&&document.cookie.indexOf(l+"="+l)==-1;)r=b.slice(-1-++g).join("."),document.cookie=l+"="+l+";domain="+r+";"+m;document.cookie=l+"=;domain="+r+";expires=Thu, 01 Jan 1970 00:00:01 GMT",i.topLevelDomain=r}a=i.topLevelDomain}self.document.cookie=e+"="+t+d+"; path=/;domain="+(u?"":".")+a.replace(/^\./,"")+";"+m},truste.util._removeCookie=function(e){truste.util._createCookie(e,"","Thu, 01 Jan 1970 00:00:01 GMT",!1),truste.util._removeStorage&&truste.util._removeStorage(truste.util.COOKIE_NS+e)},truste.util=truste.util||{},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},function(){function t(){try{var e=document.getElementsByClassName("gpc-detected");Array.from(e).forEach(function(e){e.classList.remove("gpc-detected")})}catch(e){console.log(e)}}function n(){try{var e=document.getElementsByClassName("no-gpc-detected");if("object"==typeof e&&e.length>0)for(let t=0;t<e.length;t++)e[t]&&e[t].classList&&e[t].classList.add("hide-no-gpc-detected")}catch(e){console.log(e)}}function s(){try{if(truste&&truste.eu){const s=truste.eu.bindMap.country,e=navigator.globalPrivacyControl||window.globalPrivacyControl,o=navigator.doNotTrack=="1"||window.doNotTrack=="1";e&&(t(),n())}}catch(e){console.log(e)}}var e=setInterval(function(){try{truste&&truste.util&&truste.util.readCookie&&(s(),e=clearInterval(e))}catch(e){console.log(e)}},300)}(),n.styles=Object.create(null),n.externalcss=typeof $temp_externalcss!="undefined"&&$temp_externalcss,n.styles.closebtnlink=typeof $temp_closebtnlink_style!="undefined"&&$temp_closebtnlink_style,n.styles.closebtn=typeof $temp_closebtn_style!="undefined"&&$temp_closebtn_style,n.styles.box_overlay=typeof $temp_box_overlay!="undefined"&&$temp_box_overlay,n.styles.box_overlay_border=typeof $temp_box_overlay_border!="undefined"&&$temp_box_overlay_border,n.styles.overlay=typeof $temp_overlay!="undefined"&&$temp_overlay,n.styles.inner_iframe=typeof $temp_inner_iframe!="undefined"&&$temp_inner_iframe,n.styles.outerdiv=typeof $temp_style_outerdiv!="undefined"&&$temp_style_outerdiv,n.outerdiv=typeof $temp_outerdiv!="undefined",n.feat.target=typeof $temp_target!="undefined"&&$temp_target,n.feat.ccpadefault=typeof $temp_ccpadefault!="undefined"&&$temp_ccpadefault,n.feat.noscrolltop=typeof $temp_noscrolltop!="undefined"&&$temp_noscrolltop,n.feat.samesite=typeof $temp_truste_samesite!="undefined"&&$temp_truste_samesite,truste.util=truste.util||{},truste.util.setSession=function(){var t,n,o,s=truste.util.readCookieSimple||truste.util.readCookie,e=s(truste.eu.COOKIE_SESSION);e==null&&(o=s(truste.eu.COOKIE_GDPR_PREF_NAME)?"EXISTING":"NEW",e=truste.util.getRandomUUID()+"|"+o,t=new Date,t.setTime(t.getTime()+30*6e4),truste.util.createCookie(truste.eu.COOKIE_SESSION,e,t.toGMTString(),!1)),n=e.split(/[|,]/),truste.eu.session=n[0],truste.eu.userType=n[1]},truste.util.sendAnalytics=function(t,n){var s="action="+t+"&domain="+truste.util.getCmIdentifier(truste.eu.bindMap)+"&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.util.setSession(),truste.util.sendAnalytics(0),function(t){var n,s,o,a,i=function(){t.feat.tcfLoaded=!0,t.isIabLayout&&(t.feat.iab=!0)},r=function(e){if(t.feat.tcfLoaded)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=e,(s.getElementById(t.containerId)||s.getElementsByTagName("body")[0]||s.getElementsByTagName("head")[0]).appendChild(n),i()},c=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(t.isIabLayout||t.feat.tcfCmp){for(s=!1,o=document.head.getElementsByTagName("script"),n=0;n<o.length;n++)a=o[n],a.id==="trustarc-tcfapi"&&(s=!0,i());s||c(function(){return typeof __tcfapi!="undefined"},function(){r(t.cdnURL+"asset/tcfapi2.2.js")},10,3e4)}}(truste.eu.bindMap),function(t){truste.eu.COOKIE_BEHAVIOR=truste.eu.COOKIE_BEHAVIOR||"notice_behavior";var n=t.feat.replaceDelimiter?"|":",";truste.util.createCookie(truste.eu.COOKIE_BEHAVIOR,t.behavior+n+t.behaviorManager,"0")}(truste.eu.bindMap);try{truste.util=truste.util||{},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.waitForElem=function(e,t,n,s){if(i=e(),i)return t(i);var o,i,a=!1,c=!1,l=function(){a=!0,r&&(r=clearInterval(r)),o&&(o.disconnect(),o=null)},d=function(){if(a)return;var n=e();n&&(l(),t(n))},r=setInterval(d,n||250);typeof MutationObserver!="undefined"&&(o=new MutationObserver(function(){if(a||c)return;c=!0,setTimeout(function(){c=!1,d()},0)}),o.observe(document,{childList:!0,subtree:!0})),setTimeout(l,s||3e4)},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(){var t,e=document.createElement("style");e.setAttribute("type","text/css"),t=document.querySelector("[nonce]"),t&&e.setAttribute("nonce",t.nonce||t.getAttribute("nonce")),e.innerText=".ta-display-none { display: none; }",document.head.insertBefore(e,document.head.firstChild)}(),function(t){truste.cd=truste.cd||{},truste.eu.COOKIE_CONSENT_SYNC=truste.eu.COOKIE_CONSENT_SYNC||"consent_sync";var n=truste.util.readCookieSimple||truste.util.readCookie;function s(){var e=truste.eu.user,n=e&&e.authMac&&e.id&&e.authSecretId;return t.feat.crossDomain=!!n,n?{AUTHMAC:e.authMac,USER_ID:e.id,SECRET_ID:e.authSecretId,DOMAIN:truste.util.getCmIdentifier(t)}:null}truste.cd.markConsentRetrieved=function(){t.flags.isConsentRetrieved||(t.flags.isConsentRetrieved=!0,typeof truste.eu.finishLoad=="function"&&truste.eu.finishLoad())},truste.cd.getConsent=async function(e){if(!e)return{status:null,consent:null};try{const s=new URLSearchParams({cm:e.DOMAIN,u:e.USER_ID,sid:e.SECRET_ID,mac:e.AUTHMAC}),n=await fetch(`${t.cdnURL}consents?${s}`,{keepalive:!0});if(!n.ok)return truste.util.fireCustomEvent?.("trustarc-consent-fetch-failed",{status:n.status}),{status:n.status,consent:null};const o=await n.json();return truste.util.fireCustomEvent?.("trustarc-consent-fetch-success",{}),{status:n.status,consent:o}}catch(e){return truste.util.fireCustomEvent?.("trustarc-consent-fetch-failed",{error:"network"}),{status:null,consent:null}}},truste.cd.handleRepopLogic=function(e,n){if(!t.popTime)return;var s=t.cookieExpiry||395,o=new Date(e.expiry).getTime()-s*24*60*60*1e3;o>t.popTime&&(truste.util.createCookie(truste.eu.COOKIE_REPOP,"","Thu, 01 Jan 1970 00:00:01 GMT",!0),truste.util.createCookie(truste.eu.COOKIE_REPOP,t.popTime,n,!0))},truste.cd.addCrossDomainParams=function(e){var t=s();return t?e&&!e.includes("/consent/log")?"":`&u=${encodeURIComponent(t.USER_ID)}&sid=${encodeURIComponent(t.SECRET_ID)}&mac=${encodeURIComponent(t.AUTHMAC)}`:""},truste.cd.promoteLocalConsentIfEligible=async function(e){var i,o=n(truste.eu.COOKIE_GDPR_PREF_NAME),s=o!=null?o.split(":")[0]:null;if(s==null||!truste.util.validConsent(s))return;i=s===""?0:truste.util.calculateCategoriesInt([...new Set(s.split(/[,|]/).map(function(e){return parseInt(e,10)}))]);try{const s=await fetch(`${t.cdnURL}consents`,{method:"POST",headers:{"Content-Type":"application/json"},keepalive:!0,body:JSON.stringify({u:e.USER_ID,sid:e.SECRET_ID,mac:e.AUTHMAC,cm:e.DOMAIN,categories:i})});if(!s.ok){truste.util.fireCustomEvent?.("trustarc-consent-save-failed",{status:s.status});return}let n=new Date;n.setTime(n.getTime()+24*60*60*1e3),truste.util.createCookie(truste.eu.COOKIE_CONSENT_SYNC,"true",n.toUTCString(),!1),truste.util.fireCustomEvent?.("trustarc-consent-save-success",{})}catch(e){truste.util.fireCustomEvent?.("trustarc-consent-save-failed",{error:"network"})}},truste.cd.syncConsent=async function(){var a=s();if(!a)return;if(n(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{status:l,consent:e}=await truste.cd.getConsent(a);if(!e||!e.categories||!e.expiry||isNaN(new Date(e.expiry).getTime())){l===404&&truste.cd.promoteLocalConsentIfEligible(a),truste.cd.markConsentRetrieved();return}let o=t.feat.replaceDelimiter?e.categories.replace(/,/g,"|"):e.categories,i=new Date(e.expiry).toGMTString();truste.cd.handleRepopLogic(e,i);const r=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 c=n(truste.eu.COOKIE_GDPR_PREF_NAME),d=c?c.split(":")[0]:null;if(d===o){r(),truste.cd.markConsentRetrieved();return}truste.util.createCookie(truste.eu.COOKIE_GDPR_PREF_NAME,o,i,!0),truste.util.createCookie(truste.eu.COOKIE_PREF_NAME,truste.util.getLowestConsent(o),i,!0),truste.cma.callApi("syncConsentDecision","trustarc.com",{action:"updateDecision",value:o,expiry:i,timestamp:Date.now()},null),t.prefCookie=o,truste.util.dropOptoutDomains(o),r(),truste.cd.markConsentRetrieved()},truste.cd.identify=function(e,t,n){return truste.eu.user={id:e,authMac:t,authSecretId:n},truste.cd.syncConsent()},s()&&(async()=>{await truste.cd.syncConsent()})()}(truste.eu.bindMap)}finally{truste.bn.loadNoticeJs()}(function(){n.params=Object.create(null),n.bnFlags=Object.create(null),truste.bn.onNoticeJsLoad=function(){var s=function(){if(t&&truste.eu.flags&&truste.eu.flags.init){t=clearInterval(t);var e,s=truste.eu.bindMap.currentScript||truste.util.getScriptElement(/\/\/([^.]+\.)+(intranet\.)?(truste|trustarc)(-labs|-svc)?\.(com|net|eu)(:\n+)?\/[^?#;]*(notice|banner).*?(js=bb|nj)/,!0);if(truste.util.initParameterMap(s,n.params),e=function(){var e=document.getElementById(n.params.c||"teconsent");e&&e.style.display==="none"&&(e.style.display="")},n.params.b){const e=n.params.b.split(",");for(const o of e){const[t,s]=o.split("-");if(s){if(t===n.country&&s===n.state){n.feat.linkbanner=!0;break}}else if(t===n.country){n.feat.linkbanner=!0;break}}}n.feat.ccpaApplies||r()||n.feat.linkbanner?truste.bn.bannerMain():n.bnFlags.consentUnresolved?truste.bn.checkConsentUnresolved(truste.bn.bannerMain,e):e()}},t=setInterval(s,7);setTimeout(function(){clearInterval(t)},1e4)};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()}var o,i,c=function(){var s,o,i,a,e={languageDropdown:"trustarc-lang-select",languageContainer:"trustarc-lang-container",languageSelectorLabel:"trustarc-lang-selector-label",languageLiveRegion:"trustarc-lang-live-region"},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&&(truste.eu.bindMap.languageSelectionEnabled&&truste.bn.revealRegion(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(s){t(n,s.target.value),truste.bn.announceLanguageChange(s.target,e.languageLiveRegion)}))},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||(truste.bn={}),truste.bn.shouldRepop=function(){var n,s,t=truste.eu&&truste.eu.bindMap,e=t&&t.popTime;return!!e&&(n=(new Date).getTime(),s=truste.util.readCookie(truste.eu.COOKIE_REPOP,!0),e!=s&&n>=e)},truste.bn.injectDisplayStyles=function(){if(document.getElementById("ta-display-style-base"))return;var t,n,e=document.createElement("style");e.id="ta-display-style-base",t=document.querySelector("[nonce]"),t&&(n=t.nonce||t.getAttribute("nonce"),n&&e.setAttribute("nonce",n)),e.textContent=".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}",document.head.appendChild(e)},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-`;Array.from(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.util.getDisplayProperty(e);truste.bn.applyDisplayClass(e,t)}},truste.bn.hide=function(e){if(e){e.classList.remove("ta-show"),e.classList.add("ta-hide");var t=function(){clearTimeout(s),e.removeEventListener("transitionend",n),e.classList.add("ta-display-hide")},n=function(n){n.target===e&&n.propertyName==="opacity"&&t()},s=setTimeout(t,350);e.addEventListener("transitionend",n)}},truste.bn.isVisible=function(e){var t=window.getComputedStyle(e);return t.display!=="none"&&t.opacity>0&&t.visibility!=="hidden"},o="trustarc-info-hide",i="trustarc-info-show";function a(e){if(!e)return null;var t,n,s,a=e.closest&&e.closest(".tc-repop-msg");if(a)return{el:a,hide:"tc-hide",show:"tc-show-flex",styled:!0};for(s=[e,e.parentElement],n=0;n<s.length;n++)if(t=s[n],t&&t.classList&&(t.classList.contains(o)||t.classList.contains(i)))return{el:t,hide:o,show:i,styled:t.classList.length===1};return null}truste.bn.revealRegion=function(e){var t=a(e);if(!t)return truste.bn.show(e);t.el.classList.remove(t.hide),t.styled&&t.el.classList.add(t.show)},truste.bn.hideRegion=function(e){var t=a(e);if(!t)return truste.bn.hide(e);t.el.classList.remove(t.show),t.el.classList.add(t.hide)},truste.bn.initEnterActivation=function(e){(e||[]).forEach(function(e){var t=document.getElementById(e);if(!t)return;t.addEventListener("keydown",function(e){if(e=e||window.event,(e.which||e.keyCode)!==13)return;e.preventDefault?e.preventDefault():e.returnValue=!1,t.click()})})},truste.bn.announceLanguageChange=function(e,t){var n,o,s=document.getElementById(t||"trustarc-lang-live-region");if(!s||!e)return;if(n=e.options[e.selectedIndex],o=n&&(n.text||n.value),!o)return;s.textContent="",setTimeout(function(){s.textContent=o+", selected"},400)},truste.bn.setClickEvent=function(e,t){var n=document.getElementById(e);n&&(n.onclick=function(e){t(e)})},truste.bn.clickMoreInfo=function(e,t){truste.eu&&truste.eu.msg&&truste.eu.msg.log("moreinfo",truste.eu.bindMap),truste.eu&&truste.eu.clickListener&&(truste.eu.clickListener(e),truste.eu.bindMap.returnFocusTo=(t||"").replace("#",""))},truste.bn.interceptForFinProg=function(e){return!!(truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg())&&(truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:e}),!0)},truste.bn.dispatchSelection=function(e){var n,t={source:"preference_manager",message:"submit_preferences",data:{value:e}};truste.eu.actmessage(t),t.data._skipMessage=!0,window.PREF_MGR_API_DEBUG&&window.PREF_MGR_API_DEBUG.authorities.push(window.location.hostname),n=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,window.postMessage&&window.postMessage(n(t),"*")},truste.bn.BANNER_HOLDER_ID="truste-consent-track",truste.bn.recordDecline=function(e,t,n){return!truste.bn.interceptForFinProg("banner-decline")&&(typeof truste.eu.ccpa!="undefined"&&truste.eu.ccpa.dropCcpaCookie(!0),truste.bn.hide(document.getElementById(truste.bn.BANNER_HOLDER_ID)),n&&n("hidden"),t("0"),e(),!0)},truste.bn.focusOnBanner=function(){function t(e){if(!e)return[];var t=e.querySelectorAll('a[href], button:not([disabled]), select:not([disabled]), input:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])');return Array.prototype.filter.call(t,function(e){return e.offsetWidth>0||e.offsetHeight>0||e===document.activeElement})}function n(e){if(e.dataset.trustarcFocusTrapped)return;e.dataset.trustarcFocusTrapped="true",e.addEventListener("keydown",function(n){var s,o,i,a=n.which||n.keyCode;if(a!==9)return;if(truste.eu.popdiv3&&document.getElementById(truste.eu.popdiv3))return;if(s=t(e),!s.length)return;o=s[0],i=s[s.length-1],n.shiftKey&&document.activeElement===o?(n.preventDefault(),i.focus()):!n.shiftKey&&document.activeElement===i&&(n.preventDefault(),o.focus())})}function s(e){var n=t(e);n.length?n[0].focus():(e.tabIndex=-1,e.focus())}function o(e){n(e),s(e)}return function(){truste.util.waitForElem(function(){return document.getElementById(truste.bn.BANNER_HOLDER_ID)},o)}}(),truste.bn.initWrapperScrollBorder=function(){var t,e=document.getElementById("truste-wrapper-content");if(!e)return;t=function(){e.classList.toggle("tc-has-scroll",window.innerWidth<=768&&e.scrollHeight>e.clientHeight)},t(),window.addEventListener("resize",t),e.addEventListener("load",t,!0),new MutationObserver(t).observe(e,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]})},truste.bn.sanitizeLinkUrl=function(e){return!e||/^(javascript|data|vbscript):/i.test(e)?"#":/(https?:)?\/\//.test(e)?e:"//"+e},truste.bn.initFooterLinks=function(e,t){var o,i,a,r,c,d="custom_footer_privacy_policy_label",m="custom_footer_cookie_link_label",u="custom_footer_tdp_label",l=document.getElementById("trustarc-footer-links-container"),s=document.getElementById("truste-privacy-button"),n=t||{},h=truste.eu.bindMap;return!(!l||!e||Object.keys(e).length===0)&&(a=e[d],s&&a&&(!a.enabled||!a.link||a.link.length<1)&&(s.style.display="none"),i=Object.entries(e).filter(function(e){var t=e[1];return t&&t.enabled&&t.link&&t.link.length>0}).sort(function(e,t){return e[1].priority-t[1].priority}),i.length===0||(o=0,r=function(e,t,s){var r,d,a=document.createElement("a");a.id="truste-"+s.replace(/_/g,"-")+"-button",r=e,d=t,s===m&&(n.cookieLink&&(d=n.cookieLink),n.cookieLinkText&&(r=n.cookieLinkText)),a.className="trustarc-banner-left",a.target="_blank",a.rel="noopener",a.innerHTML=r,a.href=truste.bn.sanitizeLinkUrl(d),a.setAttribute("aria-label",r),l.appendChild(a),o++,o<i.length&&c()},c=function(){var a,t=i[o][0],e=i[o][1];if(t===d){s&&(s.href=truste.bn.sanitizeLinkUrl(n.privacyPolicyLink||e.link),n.privacyPolicyLinkText&&(s.innerHTML=n.privacyPolicyLinkText,s.ariaLabel=n.privacyPolicyLinkText),l.appendChild(s)),o++,o<i.length&&c();return}a=function(e){return e.includes("locale=")?e:e+"&locale="+h.locale},t===u&&h.dynamicTracker&&truste.util.getSeedUrl?truste.util.getSeedUrl(function(n){var o=e.link,s=n.responseText;s!=null&&s.length>0&&(o+="&seedUrl="+s),r(e.verbiage,a(o),t)}):t===u?r(e.verbiage,a(e.link),t):r(e.verbiage,e.link,t)},c(),!0))},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 e=truste.eu.bindMap,n=e.params,o=n.c||"teconsent";function i(){return n.bb?document.getElementById(n.bb)?n.bb:null:document.getElementById("consent_blackbar")?"consent_blackbar":document.getElementById("consent-banner")?"consent-banner":null}truste.util.waitForElem(i,function(t){a(n,o,t)},250,6e4);function a(n,o,i){var a,h,v,b,j,_,S,M,p=parseInt(s("3","3"),10),p=p>0?p:3,w=truste.eu.bindMap,u=function(t){for(var s=[],n=0;n<t;n++)s.push(n);return s.join(",")}(p);w.feat.gpp.gppApplies&&!w.feat.gpp.gppShowCategories&&(u=w.feat.gpp.gppOptInAll);const l=truste.bn.BANNER_HOLDER_ID,k='<style>      .trustarc-banner {        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        font-size: 12px;        background-color: #F6F7F8;        color: black;        padding: 0;        border-radius:0px;        margin-bottom:2px;        position: fixed;        left: 0 ; right: 0; bottom: 0;    }      .truste-consent-content {             min-width: 300px;         width: 100%;         max-width: 1320px;        display: flex;        margin: 0 auto;     }    .truste-text {         width: auto;       display:block;      /*  display: table-cell; */        vertical-align: middle;         padding: 10px 10px 12px 15px;         text-align: left;      }      .truste-text {        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        font-size: 15px;        color: black;        letter-spacing: 0;        line-height: 20px;    }      .truste-buttontext, #truste-show-consent {        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        font-size: 15px;        color: #474c55;        border: none;        text-decoration: underline;        cursor: pointer;        letter-spacing: 0px;    }    .truste-close {        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        font-size: 12px;        color: #fff;        background: #474c55;        border: none;        text-decoration: none;        cursor: pointer;        padding: 8px 15px;        border: 0px none;        text-transform: uppercase;        border-radius: 5px;        letter-spacing: .5px;        margin: 5px 5px;        white-space: nowrap;        order:0;    }.truste-reject {        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        font-size: 12px;        color: #fff;        background: #474c55;        border: none;        text-decoration: none;        cursor: pointer;        padding: 8px 15px;        border: 0px none;        text-transform: uppercase;        border-radius: 5px;        letter-spacing: .5px;        margin: 5px 5px;        white-space: nowrap;        order:1;    }    .truste-manage-cookies {        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        font-size: 12px;        padding: 8px 15px;        border: 0px none;        text-transform: uppercase;        letter-spacing: .5px;        float: right;        margin: 5px 5px;        white-space: nowrap;          color: #474c55;        order:2;    }      .truste-close:hover,.truste-reject:hover {        box-shadow: 0 0 0 2px #e4a319 inset;        background: #474c55;        transition: all 0.5s cubic-bezier(0.2, 0, 0.05, 1);    }    .truste-cookie-link {        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        font-size: 12px;        padding: 8px 15px;        border: 0px none;        text-transform: uppercase;        letter-spacing: .5px;        margin: 5px 5px;        white-space: nowrap;          color: #474c55;       }    .truste-title {        color: #333333;        font-weight: bold;        font-size: 15px;        font-family: "HelveticaNowForCargill", Helvetica, Arial, sans-serif !important;        letter-spacing:0;         line-height: 40px;    }.truste-button-container{display:flex; justify-content:space-between;  align-items:center;}.truste-buttons-class{flex-direction:row;  display:flex;}.truste-button-container > span{display:flex;}    @media screen and (max-width:680px) {.truste-buttons-container>span      {        flex-direction:column;justify-content:center;              }    }  @media screen and (max-width:580px) {.truste-button-container      {        flex-direction:column;        flex-wrap:wrap;        justify-content:center;            align-items: unset;      }    .truste-buttons-class {      justify-content: center;    }    /*    .truste-button-container>span{     flex-direction:column;        flex-wrap:wrap;       justify-content:center;    }    */    .truste-consent-content    {          flex-wrap:wrap;          }        }/*GPC Notification*/#truste-gpc-signal{/*font-size: 14px;*/position: relative;align-items: center;justify-content: start;width: auto;}#truste-gpc-signal:before{content: "";height: 12px;width: 12px;background-color: green;display: inline-block;/* position: relative; *//* top: 2px; */border-radius: 50%;/* left: 2px; */margin: 0px 5px;}.gpc-detected {      display: none;}.no-gpc-detected {  }.hide-no-gpc-detected {      display: none;}.trustarc-close {  position: absolute;  right: 20px;  top: 20px;}.close-btn:hover{cursor:pointer;}  </style>  <body><div id="truste-consent-track" class="trustarc-banner truste-responsive">      <div class="truste-consent-content">        <div class="trustarc-close gpc-detected">            <a onclick="document.getElementById(\'truste-consent-required\').click()" class="close-btn">                      <img src="https://consent.trustarc.com/get?name=close_btn.svg" alt="close icon" role="button">        </a>        </div>        <div id="truste-consent-text" class="truste-text">            <span class="truste-title">We value your privacy</span>            <p>            We use technologies such as cookies in order to optimize site functionality, integrate with social media, allow us and third parties to serve relevant advertising when you visit our site and other third party websites, analyze our traffic and site performance and improve and customize your experience on our websites.            <a href="https://www.cargill.com/page/privacy" target="_blank" id="truste-cookie-button" class="truste-cookie-link">Online Privacy Policy</a>              </p>        <div class="truste-button-container">            <div><div  class="gpc-detected"><span id="truste-gpc-signal"> Opt-Out Preference Signal Honored</span></div></div>            <div class="truste-buttons-class">                <button id="truste-consent-button" class="truste-close no-gpc-detected" type="button">AGREE</button>                <button id="truste-consent-required" class="truste-reject no-gpc-detected" type="button">REJECT</button>            <a id="truste-show-consent" class="truste-manage-cookies" type="button">Manage Cookies</a>            </div>        </div>        </div>    </div></div>',P=function(){try{return JSON.parse(s("{FooterLinks}","{}"))||{}}catch(e){return{}}}(),f=t("{FocusOnBanner}","false");b=!1,j=/\bandroid (\d+(?:\.\d+)+);/gi.exec(navigator.userAgent),M=j&&j[1]<="4.4",S=document.getElementById(o),h=document.getElementById(i),h.setAttribute("lang",e.locale.replace("_","-")),a=Object.freeze(Object.assign(Object.create(null),{consentButton:"truste-consent-button",footerCallback:"truste-show-consent",cookieButton:"truste-cookie-button",privacyButton:"truste-privacy-button",bannerHolder:l,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",logo:"truste-banner-logo",logoContainer:"trustarc-banner-logo-container"})),_=truste.eu.bindMap.feat.target||"_blank",v=document.readyState,v&&(v=="complete"||v=="interactive")?r("loaded"):truste.bn.addEvent(document,"DOMContentLoaded",function(){r("loaded")});function r(t){if(r[t])return;switch(r[t]=1,t){case"loaded":if(h){z(),B(),O();let t=k.includes(l);truste.bn.checkPreference()&&t?D():e.bnFlags.consentUnresolved&&t?truste.bn.checkConsentUnresolved(D,N):N()}break;case"done":truste.bn.isConsentTrack=!1,truste.bn.removeEvent(document,"click",T),truste.bn.removeEvent(document,"scroll",F),truste.bn.show(S),truste.bn.hide(document.getElementById(l)),g("hidden"),f&&truste.eu.restoreInvokerFocus&&truste.eu.restoreInvokerFocus();break;case"open":try{if(M){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 B(){if(document.getElementById(l))return;truste.bn.injectDisplayStyles();let e=k;e=e.replace("&lt;i&gt;","<i>").replace("&lt;/i&gt;","</i>").replace("&lt;b&gt;","<b>").replace("&lt;/b&gt;","</b>"),n.responsive==="false"&&(e=e.replace(/(class=["'].*?)[\s]?truste-responsive(.*?["'])/g,"$1$2"));var t=document.querySelector("[nonce]");if(t){const n=t.nonce||t.getAttribute("nonce");e=e.replace(/<style(?![^>]*nonce=)/gi,`<style nonce="${n}"`)}if(!e||typeof e!="string")return;h.insertAdjacentHTML?h.insertAdjacentHTML("afterbegin",e):h.innerHTML=e,truste.bn.initWrapperScrollBorder(),R(),truste.bn.initEnterActivation([a.closeBanner,a.repopClose,a.privacyButton])}function R(){var n,t=document.getElementById(a.logo);if(!t)return;if(e.logoUrl){t.src=e.logoUrl;return}if(t.getAttribute("src"))return;t.parentElement&&(t.parentElement.style.visibility="hidden"),t.style.height="0px",n=document.getElementById(a.logoContainer),n&&(n.style.display="none")}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 E(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 g(e){truste.eu.gpp&&truste.eu.gpp.updateCmpDisplayStatus(e)}function A(){self.localStorage&&self.localStorage.removeItem(truste.eu.COOKIE_CATEGORY_NAME),truste.eu.ccpa.dropCcpaCookie(!1),d(u),truste.util.dropOptoutDomains?.(u)}function y(){var e=truste.eu.bindMap;return e&&e.prefmgrUrl?truste.bn.recordDecline(function(){truste.util.dropOptoutDomains?.()},d,g):(truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(3),!1)}function d(e){var t,s,n=truste.util.getLowestConsent(e);!isNaN(n=parseInt(n))&&truste.eu&&truste.eu.actmessage?(truste.eu.resetGpcDnt(),truste.bn.dispatchSelection(e),t=truste.eu.bindMap,t&&t.prefmgrUrl&&!t.feat.ccpaApplies&&(s="/consent/log?",truste.util.callCMEndpoint(s,n,function(){},!0,e)),r("selection")):r("done")}function O(){var s,o,i,l,h,m,f,p,t=truste.eu.bindMap;t.flags.isReconsentEvent&&Object.hasOwn(t,"popupMsg")&&t.popupMsg.length>0&&(o=document.getElementById(a.repopDiv),o&&(o.innerHTML=t.popupMsg,truste.bn.revealRegion(o),truste.bn.setClickEvent(a.repopClose,function(){truste.bn.hideRegion(o)}))),l=document.getElementById(a.consentButton),l&&(h=new RegExp(("^"+u+"$").replace(/,/g,".")),truste.bn.setClickEvent(a.consentButton,function(){e.feat.iabBannerApplies?C("process_iab_accept_all"):e.feat.gpp.gppApplies&&E("process_gpp_accept_all"),(t.feat.enableCCPA||t.flags.isReconsentEvent)&&t.feat.enableTwoStepVerification&&truste.util.validConsent(t.prefCookie)&&!h.test(t.prefCookie)?truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(6):(truste.bn.msglog("accepts"),A())})),i=document.getElementById(a.footerCallback),i&&i.setAttribute("aria-haspopup","dialog"),truste.bn.setClickEvent(a.footerCallback,function(){var t=e.feat.iabBannerApplies?4:parseInt(n.pn)||0;truste.bn.clickMoreInfo(t,a.footerCallback)}),e.feat.declineBtnEnabled&&truste.bn.show(document.getElementById(a.requiredButton)),truste.bn.setClickEvent(a.requiredButton,function(){if(truste.bn.interceptForFinProg("banner-decline"))return;e.feat.iabBannerApplies?C("process_iab_reject_all"):e.feat.gpp.gppApplies&&E("process_gpp_reject_all"),y()&&truste.bn.msglog("requiredonly")}),truste.bn.setClickEvent(a.ccpaOptoutButton,function(){if(truste.bn.interceptForFinProg("banner-decline-ccpa"))return;truste.bn.declineCPRA(),truste.bn.msglog("requiredonly")}),H(),I(),b||(b=!0,truste.bn.initFooterLinks(P,{cookieLink:n.cookieLink,privacyPolicyLink:n.privacypolicylink})),truste.bn.setClickEvent(a.closeBanner,function(){var e=truste.eu.bindMap,t=truste.util.validConsent(e.prefCookie),n=e.feat.optoutClose&&!t;n?y():r("done")}),s=document.getElementById(a.iabPartnersLink),s&&(s.onclick=function(){truste.eu.clickListener(5),t.returnFocusTo=a.iabPartnersLink.replace("#","")},s.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),t.returnFocusTo=a.iabPartnersLink.replace("#",""))}),s=document.getElementById(a.secondIabPartnersLink),s&&(s.onclick=function(){truste.eu.clickListener(5),t.returnFocusTo=a.secondIabPartnersLink.replace("#","")},s.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),t.returnFocusTo=a.secondIabPartnersLink.replace("#",""))}),x(),m=document.querySelectorAll('a[href*="https://tracker-detail-page"]'),m.forEach(function(n){n.href.includes("locale=")||(n.href=n.href+"&locale="+e.locale)}),parseInt(n.fade)&&setTimeout(function(){d(n.sl)},parseInt(n.fade)),f=e.domain||window.location.hostname,p=e.languageSelectorBound?e.languageSelectionEnabled:!!document.getElementById("trustarc-lang-container"),p&&c.init(f),r("open")}function x(){var e,t,n,s,i,o=truste.eu.bindMap;o.feat.ccpaApplies&&(s=truste.eu.ccpa.getOptout(),e=document.getElementById(a.ccpaOptedOut),t=document.getElementById(a.ccpaOptedIn),n=document.getElementById(a.ccpaNoPreference),s&&o.prefCookie?(i=/^[yY]$/,i.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 z(){n.oc&&truste.bn.addEvent(document,"click",T),n.px&&truste.bn.addEvent(document,"scroll",F)}function D(){truste.bn.isConsentTrack=!0,truste.bn.show(document.getElementById(l)),g("visible"),f&&truste.bn.focusOnBanner(),truste.bn.msglog("views")}function N(){r("done")}function L(e){return e&&truste.bn.isVisible(e)&&!document.getElementById(truste.eu.popdiv2)}function T(e){var t=document.getElementById(l);L(t)&&!t.contains(e.target)&&e.target.id!==truste.eu.popclose&&d(u)}function F(){var t=document.getElementById(l);L(t)&&(document.scrollingElement.scrollTop||document.documentElement.scrollTop)>=n.px&&d(u)}function H(){const s=document.getElementById(l),e=Object.hasOwn(n,"cookieLink")?n.cookieLink:0[0],o=document.getElementById(a.cookieButton),i=s?.querySelectorAll("[data-cookie-policy-link]"),t=t=>{truste.bn.msglog("cookiepolicy"),e&&(t.preventDefault(),window.open(e,_))};m(o,e,t),i?.forEach(n=>m(n,e,t))}function I(){const s=document.getElementById(l),e=Object.hasOwn(n,"privacypolicylink")?n.privacypolicylink:0[0],o=document.getElementById(a.privacyButton),i=s?.querySelectorAll("[data-privacy-policy-link]"),t=t=>{e&&(t.preventDefault(),window.open(e,_))};m(o,e,t),i?.forEach(n=>m(n,e,t))}function m(e,t,n){if(!e)return;t&&(e.href=t),e.onclick=function(e){n(e)}}truste.bn.reopenBanner=function(){h&&(truste.bn.isConsentTrack=!0,r.done=0,z(),O(),f&&truste.eu.storeInvoker&&truste.eu.storeInvoker(),truste.bn.show(document.getElementById(l)),g("visible"),f&&truste.bn.focusOnBanner())},truste.bn.twoStepConfirmed=function(){truste.eu.ccpa.dropCcpaCookie(!1),d(u),truste.bn.msglog("accepts"),truste.bn.msglog("twostepoptin")},truste.bn.twoStepDeclined=function(){r("done")},truste.bn.acceptAll=function(){A()},truste.bn.declineAll=function(){y()},truste.bn.declineCPRA=function(){truste.eu.ccpa.dropCcpaCookie(!0),d("0")},truste.bn.handleBannerDone=function(){var e=truste.eu.bindMap;!truste.eu.isGPCDNTEvent()||!e.feat.dntShowUI?r("done"):x()}}}})()}()