"+A.PCenterVendorListDisclosure+": ",r.insertAdjacentElement("beforeend",e),t.disclosures.forEach(function(e){var t,o=i.cloneNode(!0),n=""+A.PCenterVendorListStorageIdentifier+"
"+(e.name||e.identifier)+"
";e.type&&(n+=""+A.PCenterVendorListStorageType+"
"+e.type+"
"),e.maxAgeSeconds&&(t=S.calculateCookieLifespan(e.maxAgeSeconds),n+=""+A.PCenterVendorListLifespan+"
"+t+"
"),e.domain&&(n+=""+A.PCenterVendorListStorageDomain+"
"+e.domain+"
"),e.purposes&&(n+=""+A.PCenterVendorListStoragePurposes+'
',e.purposes.forEach(function(e){e=null==(e=T.iabGroups.purposes[e])?void 0:e.name;e&&(n+='
'+e+"
")}),n+="
"),o.innerHTML=n,r.insertAdjacentElement("beforeend",o)}),this.updateDomainsUsageInDisclosures(t,i,r))},r.prototype.updateDomainsUsageInDisclosures=function(e,n,r){var t;e.domains&&e.domains.length&&((t=n.cloneNode(!0)).innerHTML=""+A.PCVLSDomainsUsed+":
",r.insertAdjacentElement("beforeend",t),e.domains.forEach(function(e){var t,o=n.cloneNode(!0);e.domain&&(t=""+A.PCenterVendorListStorageDomain+"
"+e.domain+"
"),e.use&&(t+=""+A.PCVLSUse+"
"+e.use+"
"),o.innerHTML=t,r.insertAdjacentElement("beforeend",o)}))},r.prototype.addDescriptionElement=function(e,t){var o=document.createElement("p");o.innerHTML=t||"",e.parentNode.insertBefore(o,e)},r.prototype.setVdrConsentTglOrChbox=function(e,t,o,n,r,i){var s,a,l=I.vendorsSetting[e],t=t.cloneNode(!0);l.consent&&(t.classList.add(b.P_Ven_Ctgl),l=-1!==jt.inArray(e+":true",I.vendors.selectedVendors),s=t.querySelector("input"),m.isV2Template&&(s.classList.add("vendor-checkbox-handler"),a=t.querySelector(this.LABEL_STATUS),A.PCShowConsentLabels?a.innerHTML=l?A.PCActiveText:A.PCInactiveText:S.removeChild(a)),S.setCheckedAttribute("",s,l),S.setHtmlAttributes(s,{id:b.P_Vendor_CheckBx+"-"+i,vendorid:e,"aria-label":o}),t.querySelector("label").setAttribute("for",b.P_Vendor_CheckBx+"-"+i),t.querySelector(b.P_Label_Txt).textContent=o,T.pcName===h?A.PCTemplateUpgrade?n.insertAdjacentElement("beforeend",t):L(n).append(t):n.insertBefore(t,r))},r.prototype.setVndrLegIntTglTxt=function(e,t){e=e.querySelector(this.LABEL_STATUS);A.PCShowConsentLabels?e.innerHTML=t?A.PCActiveText:A.PCInactiveText:S.removeChild(e)},r.prototype.setVdrLegIntTglOrChbx=function(e,t,o,n,r,i,s){var a,l,c=I.vendorsSetting[e],o=o.cloneNode(!0);c.legInt&&!c.specialPurposesOnly&&(a=-1!==jt.inArray(e+":true",I.vendors.selectedLegIntVendors),T.legIntSettings.PShowLegIntBtn?(l=p.generateLegIntButtonElements(a,e,!0),t.querySelector(b.P_Acc_Txt).insertAdjacentHTML("beforeend",l),(l=t.querySelector(".ot-remove-objection-handler"))&&d(l,l.getAttribute("data-style"))):(l=o.querySelector("input"),m.isV2Template&&(l.classList.add("vendor-checkbox-handler"),this.setVndrLegIntTglTxt(o,a)),o.classList.add(b.P_Ven_Ltgl),l.classList.remove("vendor-checkbox-handler"),l.classList.add("vendor-leg-checkbox-handler"),S.setCheckedAttribute("",l,a),S.setHtmlAttributes(l,{id:b.P_Vendor_LegCheckBx+"-"+r,"leg-vendorid":e,"aria-label":n}),o.querySelector("label").setAttribute("for",b.P_Vendor_LegCheckBx+"-"+r),o.querySelector(b.P_Label_Txt).textContent=n,t.querySelector("."+b.P_Ven_Ctgl)&&(i=t.querySelector("."+b.P_Ven_Ctgl)),T.pcName!==h||s.children.length?s.insertBefore(o,i):L(s).append(o),c.consent||T.pcName!==h||o.classList.add(b.P_Ven_Ltgl_Only)))},r.prototype.setVndrSplPurSection=function(e,t){var o=this,n=e.querySelector(".spl-purpose"),e=e.querySelector(".spl-purpose-grp"),r=e.cloneNode(!0);e.parentElement.removeChild(e),T.isIab2orv2Template&&t.specialPurposes.forEach(function(e){L(r.querySelector(o.CONSENT_CATEGORY)).text(e.purposeName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.specialPurposes.length?n.parentElement.removeChild(n):L(n.querySelector("p")).text(A.SpecialPurposesText)},r.prototype.setVndrFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-feature"),e=e.querySelector(".vendor-feature-group"),r=e.cloneNode(!0);e.parentElement.removeChild(e),L(n.querySelector("p")).text(A.FeaturesText),t.features.forEach(function(e){L(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.features.length&&n.parentElement.removeChild(n)},r.prototype.setVndrSplFtSection=function(e,t){var o=this,n=e.querySelector(".vendor-spl-feature"),e=e.querySelector(".vendor-spl-feature-grp"),r=e.cloneNode(!0);n.parentElement.removeChild(e),T.isIab2orv2Template&&t.specialFeatures.forEach(function(e){L(r.querySelector(o.CONSENT_CATEGORY)).text(e.featureName),n.insertAdjacentHTML("afterend",r.outerHTML)}),0===t.specialFeatures.length?n.parentElement.removeChild(n):L(n.querySelector("p")).text(A.SpecialFeaturesText)},r.prototype.setVndrAccTxt=function(e,t){t=t.querySelector(b.P_Acc_Txt);t&&S.setHtmlAttributes(t,{id:"IAB-ACC-TXT"+e,"aria-labelledby":"IAB-ACC-TXT"+e,role:"region"})},r.prototype.setVndrDisclosure=function(e,t,o){t.deviceStorageDisclosureUrl&&(S.setHtmlAttributes(o,{"disc-vid":e}),I.discVendors[e]={isFetched:!1,disclosureUrl:t.deviceStorageDisclosureUrl})},r.prototype.setVndrListSelectAllChkBoxs=function(){var e=L("#onetrust-pc-sdk "+b.P_Sel_All_Vendor_Consent_Handler).el[0],e=(e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,A.PCenterSelectAllVendorsText+" "+A.LegitInterestText),L("#onetrust-pc-sdk "+b.P_Sel_All_Vendor_Leg_Handler).el[0]);e&&e.setAttribute(this.ARIA_LABEL_ATTRIBUTE,A.PCenterSelectAllVendorsText+" "+A.ConsentText)},r.prototype.setVndrConsentPurposes=function(e,t,o){var n=this,r=e.querySelector(".vendor-consent-group"),i=e.querySelector(".vendor-option-purpose"),s=r.cloneNode(!0),a=e.querySelector(".legitimate-interest"),l=!1;return r.parentElement.removeChild(r),t.consent&&(L(i.querySelector("p")).text(A.ConsentPurposesText),o.purposes.forEach(function(e){L(s.querySelector(n.CONSENT_CATEGORY)).text(e.purposeName);e=s.querySelector(".consent-status");e&&s.removeChild(e),a.insertAdjacentHTML("beforebegin",s.outerHTML),l=!0})),t.consent||i.parentElement.removeChild(i),l},r.prototype.getVndrTglCntr=function(e){return m.isV2Template?_.chkboxEl.cloneNode(!0):e.querySelector(".ot-checkbox")},r.prototype.attachVendorsToDOM=function(){for(var p,u,h=this,g=I.vendors.list,C=I.vendors.vendorTemplate.cloneNode(!0),y=(I.discVendors={},m.isV2Template&&(p=C.querySelector(".ot-ven-pur").cloneNode(!0),u=C.querySelector(b.P_Ven_Disc).cloneNode(!0),L(C.querySelector(".ot-ven-dets")).html("")),document.createDocumentFragment()),f=this,e=0;e"+o+" "+A.NewWinTxt+"",n.insertAdjacentHTML("afterend",""),T.isTcfV2Template&&e.legIntClaim?(S.setHtmlAttributes(t,{href:e.legIntClaim,rel:"noopener",target:"_blank"}),t.innerHTML=A.PCIABVendorLegIntClaimText+" "+o+" "+A.NewWinTxt+"",t.insertAdjacentHTML("afterend","")):t.remove()},r.prototype.populateVendorDetailsHtml=function(e,t,o,n){var r,i,s,a,l,c,d,p,e=e.querySelector(".ot-ven-dets"),u=I.vendorsSetting[o.vendorId],n=n.cloneNode(!0);this.attachVendorDisclosure(n,o),e.insertAdjacentElement("beforeEnd",n),T.isTcfV2Template&&null!=(n=o.dataDeclaration)&&n.length&&(n=t.cloneNode(!0),r=""+A.PCVListDataDeclarationText+"
",r+="",o.dataDeclaration.forEach(function(e){r+=""+e.Name+"
"}),r+="
",n.innerHTML=r,e.insertAdjacentElement("beforeEnd",n)),T.isTcfV2Template&&null!==(null==(n=o.dataRetention)?void 0:n.stdRetention)&&void 0!==(null==(n=o.dataRetention)?void 0:n.stdRetention)&&(n=t.cloneNode(!0),c=1===o.dataRetention.stdRetention?A.PCenterVendorListLifespanDay:A.PCenterVendorListLifespanDays,s=""+A.PCVListDataRetentionText+"
",s+=""+A.PCVListStdRetentionText+" ("+o.dataRetention.stdRetention+" "+c+")
",n.innerHTML=s,e.insertAdjacentElement("beforeEnd",n)),u.consent&&(c=t.cloneNode(!0),i=""+A.ConsentPurposesText+"
",i+="",o.purposes.forEach(function(e){var t;i+=""+e.purposeName,T.isTcfV2Template&&null!=(t=o.dataRetention)&&t.purposes&&o.dataRetention.purposes[e.purposeId]&&(e=1===(t=o.dataRetention.purposes[e.purposeId].retention)?A.PCenterVendorListLifespanDay:A.PCenterVendorListLifespanDays,i+=" ("+t+" "+e+")"),i+="
"}),i+="
",c.innerHTML=i,e.insertAdjacentElement("beforeEnd",c)),u.legInt&&o.legIntPurposes.length&&(s=t.cloneNode(!0),a=""+A.LegitimateInterestPurposesText+"
",a+="",o.legIntPurposes.forEach(function(e){a+=""+e.purposeName+"
"}),a+="
",s.innerHTML=a,e.insertAdjacentElement("beforeEnd",s)),T.isIab2orv2Template&&o.specialPurposes.length&&(n=t.cloneNode(!0),l=""+A.SpecialPurposesText+"
",l+="",o.specialPurposes.forEach(function(e){var t;l+=""+e.purposeName,T.isTcfV2Template&&null!=(t=o.dataRetention)&&t.specialPurposes&&o.dataRetention.specialPurposes[e.purposeId]&&(e=1===(t=o.dataRetention.specialPurposes[e.purposeId].retention)?A.PCenterVendorListLifespanDay:A.PCenterVendorListLifespanDays,l+=" ("+t+" "+e+")"),l+="
"}),l+="
",n.innerHTML=l,e.insertAdjacentElement("beforeEnd",n)),o.features.length&&(c=t.cloneNode(!0),d=""+A.FeaturesText+"
",d+="",o.features.forEach(function(e){d+=""+e.featureName+"
"}),d+="
",c.innerHTML=d,e.insertAdjacentElement("beforeEnd",c)),T.isIab2orv2Template&&o.specialFeatures.length&&(u=t.cloneNode(!0),p=""+A.SpecialFeaturesText+"
",p+="",o.specialFeatures.forEach(function(e){p+=""+e.featureName+"
"}),p+="
",u.innerHTML=p,e.insertAdjacentElement("beforeEnd",u))},r.prototype.InitializeVendorList=function(){var e;I.vendors.list=I.iabData?I.iabData.vendors:null,I.vendors.vendorTemplate=L(b.P_Vendor_Container+" li").el[0].cloneNode(!0),L("#onetrust-pc-sdk "+b.P_Vendor_Container).html(""),m.isV2Template||T.pcName!==h||(e=I.vendors.vendorTemplate.querySelectorAll(b.P_Acc_Header),(e=T.legIntSettings.PAllowLI&&T.isIab2orv2Template?e[0]:e[1]).parentElement.removeChild(e))},r.prototype.cancelVendorFilter=function(){for(var e=L("#onetrust-pc-sdk .category-filter-handler").el,t=0;t "+t.cookieMaxAge+"";t.usesNonCookieAccess&&(o+=""+A.PCenterVendorListNonCookieUsage+"
"),e.innerHTML=o},r.prototype.updateVendorFilterList=function(){for(var e=L("#onetrust-pc-sdk .category-filter-handler").el,t=0;t"+A.PCIABVendorsText+""),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",d),c.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",L("#ot-ven-lst").el[0]),L("#ot-lst-cnt .ot-sdk-column").append(c),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,A.PCIABVendorsText),this.iabAccInit=!0,d.cloneNode(!0)),p=(S.removeChild(c.querySelector("#ot-selall-licntr")),c.querySelector(".ot-chkbox").id="ot-selall-adtlvencntr",c.querySelector("input").id="ot-selall-adtlven-handler",c.querySelector("label").setAttribute("for","ot-selall-adtlven-handler"),_.accordionEl.cloneNode(!0)),u=(p.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",l.cloneNode(!0)),p.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd",""+A.PCGoogleVendorsText+"
"),p.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",c),p.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd",""),p.classList.add("ot-adtlv-acc"),p.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,A.PCGoogleVendorsText),I.vendors.vendorTemplate.cloneNode(!0));for(t in u.querySelector("button").classList.remove("ot-ven-box"),u.querySelector("button").classList.add("ot-addtl-venbox"),S.removeChild(u.querySelector(".ot-acc-txt")),e)e[t]&&(o=u.cloneNode(!0),n=e[t].name,o.querySelector(b.P_Ven_Name).innerText=n,r=o.querySelector("button"),S.setHtmlAttributes(r,{id:"Adtl-IAB"+t}),S.setHtmlAttributes(o.querySelector(b.P_Ven_Link),{href:e[t].policyUrl,rel:"noopener",target:"_blank"}),o.querySelector(b.P_Ven_Link).innerHTML=A.PCenterViewPrivacyPolicyText+" "+n+" "+A.NewWinTxt+"",(r=_.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),r.classList.add("ot-ven-adtlctgl"),i=Boolean(I.addtlVendors.vendorSelected[t]),(s=r.querySelector("input")).classList.add("ot-addtlven-chkbox-handler"),a=r.querySelector(this.LABEL_STATUS),A.PCShowConsentLabels?a.innerHTML=i?A.PCActiveText:A.PCInactiveText:S.removeChild(a),S.setCheckedAttribute("",s,i),S.setHtmlAttributes(s,{id:"ot-addtlven-chkbox-"+t,"addtl-vid":t,"aria-label":n}),r.querySelector("label").setAttribute("for","ot-addtlven-chkbox-"+t),r.querySelector(b.P_Label_Txt).textContent=n,a=o.querySelector(b.P_Tgl_Cntr),L(a).append(r),a.insertAdjacentElement("beforeend",_.arrowEl.cloneNode(!0)),A.PCAccordionStyle!==ce.Caret&&o.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_.plusMinusEl.cloneNode(!0)),this.checkIfLegLinkRemove(o),L(p.querySelector("#ot-addtl-venlst")).append(o));L("#ot-lst-cnt .ot-sdk-column").append(p),L("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){S.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader()},r.prototype.populateGeneralVendors=function(){var e,t,o,c,d,p,u=this,n=A.GeneralVendors,r=document.querySelector(".ot-gv-acc"),h=!!r;n.length?(this.hasGenVendors=!0,r&&L(r).show(),e=(A.PCAccordionStyle===ce.Caret?_.arrowEl:_.plusMinusEl).cloneNode(!0),this.iabAccInit||this.addIabAccordion(),(t=document.createElement("div")).setAttribute("class","ot-sel-all-chkbox"),o=_.chkboxEl.cloneNode(!0),o.id="ot-selall-gnvencntr",o.querySelector("input").id="ot-selall-gnven-handler",o.querySelector("label").setAttribute("for","ot-selall-gnven-handler"),L(t).append(o),c=_.accordionEl.cloneNode(!0),c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),c.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd",""+A.PCenterGeneralVendorsText+"
"),A.GenVenOptOut&&c.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",t),c.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeEnd",""),c.classList.add("ot-gv-acc"),c.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,A.PCenterGeneralVendorsText),d=I.vendors.vendorTemplate.cloneNode(!0),d.querySelector("button").classList.remove("ot-ven-box"),d.querySelector("button").classList.add("ot-gv-venbox"),L(d.querySelector(".ot-acc-txt")).html(''),h&&L(""+b.P_Gven_List).html(""),p=!0,n.forEach(function(e){var t,o,n=u.mapGenVendorToHostFormat(e),r=d.cloneNode(!0),i=e.VendorCustomId,s=e.Name,a=r.querySelector(b.P_Ven_Link),l=(r.querySelector(b.P_Ven_Name).innerText=s,r.querySelector("button"));S.setHtmlAttributes(l,{id:"Gn-"+i}),e.PrivacyPolicyUrl?(S.setHtmlAttributes(a,{href:e.PrivacyPolicyUrl,rel:"noopener",target:"_blank"}),a.innerHTML=A.PCGVenPolicyTxt+" "+s+" "+A.NewWinTxt+""):a.classList.add("ot-hide"),u.addDescriptionElement(a,e.Description),A.GenVenOptOut&&((l=_.chkboxEl.cloneNode(!0)).classList.remove("ot-ven-ctgl"),l.classList.add("ot-ven-gvctgl"),a=Boolean(I.genVendorsConsent[i]),(t=l.querySelector("input")).classList.add("ot-gnven-chkbox-handler"),o=l.querySelector(u.LABEL_STATUS),A.PCShowConsentLabels?o.innerHTML=a?A.PCActiveText:A.PCInactiveText:S.removeChild(o),S.setCheckedAttribute("",t,a),S.setHtmlAttributes(t,{id:"ot-gnven-chkbox-"+i,"gn-vid":i,"aria-label":s}),fo.isGenVenPartOfAlwaysActiveGroup(i)?S.setDisabledAttribute(null,t,!0):p=!1,l.querySelector("label").setAttribute("for","ot-gnven-chkbox-"+i),l.querySelector(b.P_Label_Txt).textContent=s,o=r.querySelector(b.P_Tgl_Cntr),L(o).append(l),o.insertAdjacentElement("beforeend",_.arrowEl.cloneNode(!0))),A.PCAccordionStyle!==ce.Caret&&r.querySelector(".ot-ven-hdr").insertAdjacentElement("beforebegin",_.plusMinusEl.cloneNode(!0)),e.Cookies.length||L(r).addClass("ot-hide-acc"),e.Cookies.forEach(function(e){e=u.getCookieElement(e,n);L(r.querySelector(".ot-host-opt")).append(e)}),u.checkIfLegLinkRemove(r),L(h?""+b.P_Gven_List:c.querySelector(""+b.P_Gven_List)).append(r)}),h||L("#ot-lst-cnt .ot-sdk-column").append(c),L("#onetrust-pc-sdk").on("click","#ot-pc-lst .ot-acc-cntr > input",function(e){S.setCheckedAttribute(null,e.target,e.target.checked)}),this.showConsentHeader(),p&&S.setDisabledAttribute("#ot-selall-gnven-handler",null,!0)):(this.hasGenVendors=!1,r&&L(r).hide())},r.prototype.addIabAccordion=function(){var e=(A.PCAccordionStyle===ce.Caret?_.arrowEl:_.plusMinusEl).cloneNode(!0),t=document.querySelector("#onetrust-pc-sdk .ot-sel-all-chkbox"),o=t.cloneNode(!0),t=(S.removeChild(o.querySelector("#ot-selall-hostcntr")),S.removeChild(t.querySelector("#ot-selall-vencntr")),S.removeChild(t.querySelector("#ot-selall-licntr")),_.accordionEl.cloneNode(!0));t.classList.add("ot-iab-acc"),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",e.cloneNode(!0)),t.querySelector(".ot-acc-hdr").insertAdjacentHTML("beforeEnd",""+A.PCIABVendorsText+"
"),t.querySelector(".ot-acc-hdr").insertAdjacentElement("beforeEnd",o),t.querySelector(".ot-acc-txt").insertAdjacentElement("beforeEnd",L("#ot-ven-lst").el[0]),L("#ot-lst-cnt .ot-sdk-column").append(t),t.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,A.PCIABVendorsText),this.iabAccInit=!0},r.prototype.showConsentHeader=function(){var e=T.legIntSettings;L("#onetrust-pc-sdk .ot-sel-all-hdr").show(),e.PAllowLI&&!e.PShowLegIntBtn||L("#onetrust-pc-sdk .ot-li-hdr").hide()},r.prototype.setBackBtnTxt=function(){(m.isV2Template?(L(b.P_Vendor_List+" .back-btn-handler").attr(this.ARIA_LABEL_ATTRIBUTE,A.PCenterBackText),L(b.P_Vendor_List+" .back-btn-handler title")):L(b.P_Vendor_List+" .back-btn-handler .pc-back-button-text")).html(A.PCenterBackText)},r.prototype.getCookieElement=function(e,t){var o=I.hosts.hostCookieTemplate.cloneNode(!0),n=o.querySelector("div").cloneNode(!0),r=(n.classList.remove("cookie-name-container"),L(o).html(""),e.Name),i=(A.AddLinksToCookiepedia&&t.isFirstParty&&(r=y.getCookieLabel(e,A.AddLinksToCookiepedia)),n.cloneNode(!0));return i.classList.add(b.P_c_Name),i.querySelector("div:nth-child(1)").innerHTML=A.pcCListName,i.querySelector("div:nth-child(2)").innerHTML=r,L(o).append(i),A.pcShowCookieHost&&((r=n.cloneNode(!0)).classList.add(b.P_c_Host),r.querySelector("div:nth-child(1)").innerHTML=A.pcCListHost,r.querySelector("div:nth-child(2)").innerHTML=e.Host,L(o).append(r)),A.pcShowCookieDuration&&((i=n.cloneNode(!0)).classList.add(b.P_c_Duration),i.querySelector("div:nth-child(1)").innerHTML=A.pcCListDuration,i.querySelector("div:nth-child(2)").innerHTML=e.IsSession?A.LifespanTypeText:y.getDuration(e),L(o).append(i)),A.pcShowCookieType&&(r=t.Type===Ce.GenVendor?!e.isThirdParty:t.isFirstParty,(i=n.cloneNode(!0)).classList.add(b.P_c_Type),i.querySelector("div:nth-child(1)").innerHTML=A.pcCListType,i.querySelector("div:nth-child(2)").innerHTML=r?A.firstPartyTxt:A.thirdPartyTxt,L(o).append(i)),A.pcShowCookieCategory&&(r=void 0,r=t.Type===Ce.GenVendor?e.category:(t.isFirstParty?e:t).groupName)&&((i=n.cloneNode(!0)).classList.add(b.P_c_Category),i.querySelector("div:nth-child(1)").innerHTML=A.pcCListCategory,i.querySelector("div:nth-child(2)").innerHTML=r,L(o).append(i)),A.pcShowCookieDescription&&e.description&&((t=n.cloneNode(!0)).classList.add(b.P_c_Desc),t.querySelector("div:nth-child(1)").innerHTML=A.pcCListDescription,t.querySelector("div:nth-child(2)").innerHTML=e.description,L(o).append(t)),o},r.prototype.getNoResultsFound=function(e){e=I.showTrackingTech?A.PCTechNotFound:e?A.PCHostNotFound:A.PCVendorNotFound;return" "+e+"."},r.prototype.getAdditionalTechnologiesHtml=function(e){var t=document.createDocumentFragment(),o=A.AdditionalTechnologiesConfig,n=0"+e+""),r.querySelector("button").setAttribute(this.ARIA_LABEL_ATTRIBUTE,t),o&&r.querySelector(".ot-acc-txt").insertAdjacentHTML("beforeend",''),r.cloneNode(!0)},r.prototype.setSessionLocalStorageTemplate=function(e,t,o){var n=I.hosts.hostTemplate.cloneNode(!0),r=(S.removeChild(n.querySelector(".ot-a scc-txt")),e.querySelector(".ot-acc-txt "+b.P_Host_Cntr));r.removeAttribute("style"),r.classList.add("ot-host-opt");for(var i=0,s=t;i div[role="alertdialog"]')).css("height: 100%;"),L(o(bn+' > div[role="alertdialog"]')).attr(this._ariaLabel,A.MainText),A.PCRegionAriaLabel&&(L(o("#onetrust-pc-sdk")).attr(this._ariaLabel,A.PCRegionAriaLabel),L(o("#onetrust-pc-sdk")).attr("role","region")),T.pcName===h&&(L(o(b.P_Privacy_Txt)).html(A.AboutCookiesText),L(o(b.P_Privacy_Hdr)).html(A.AboutCookiesText)),L(o(b.P_Policy_Txt)).html(A.MainInfoText),O.configureLinkFields(o),O.configureSubjectDataFields(o),O.configureButtons(o,e),O.setManagePreferenceText(o),O.initializePreferenceCenterGroups(o,t),O.removeListsWhenAppropriate(o),A.PCTemplateUpgrade)&&O.setOptOutSignalNotification(o),document.createElement("iframe")),o=(e.setAttribute("class","ot-text-resize"),e.setAttribute("sandbox","allow-same-origin"),e.setAttribute("title","onetrust-text-resize"),d(e,"position: absolute; top: -50000px; width: 100em;"),e.setAttribute(this._ariaHidden,"true"),L(t.querySelector("#onetrust-pc-sdk")).append(e),document.getElementById("onetrust-consent-sdk")),e=(L(o).append(t),T.ignoreInjectingHtmlCss||L(document.body).append(o),(A.showCookieList||I.showGeneralVendors)&&hn.InitializeHostList(),b.P_Vendor_List+" "+b.P_Host_Cntr+" li"),o=L(e).el[0];o&&S.removeChild(o)},s.prototype.addClassesPerConfig=function(e){/Chrome|Safari/i.test(navigator.userAgent)&&/Google Inc|Apple Computer/i.test(navigator.vendor)||L(e).addClass("ot-sdk-not-webkit"),A.useRTL&&L(e).attr("dir","rtl"),T.legIntSettings.PAllowLI&&T.isIab2orv2Template&&(L(e).addClass("ot-leg-opt-out"),T.legIntSettings.PShowLegIntBtn)&&L(e).addClass("ot-leg-btn"),A.BannerRelativeFontSizesToggle&&L(e).addClass("otRelFont"),A.PCShowConsentLabels&&L(e).addClass("ot-tgl-with-label"),(A.UseGoogleVendors||I.showGeneralVendors)&&L(e).addClass("ot-addtl-vendors"),"right"===A.PreferenceCenterPosition&&L(e).addClass(A.useRTL?"right-rtl":"right")},s.prototype.manageCloseButtons=function(e,t,o){var n=L(t(b.P_Close_Btn)).el;if(A.ShowPreferenceCenterCloseButton){A.CloseText||(A.CloseText="Close Preference Center");for(var r=0,i=n;r'+A.AboutText+""),A.PCenterImprintLinkText&&(A.AboutText||e(b.P_Policy_Txt).insertAdjacentHTML("beforeend","
"),(t=document.createElement("a")).classList.add("ot-link-btn","ot-imprint-handler"),t.textContent=A.PCenterImprintLinkText,t.setAttribute(this._ariaLabel,A.PCenterImprintLinkScreenReader),t.setAttribute("href",A.PCenterImprintLinkUrl),t.setAttribute("rel","noopener"),t.setAttribute("target","_blank"),e(b.P_Policy_Txt).appendChild(t)),A.PCenterVendorListLinkText&&(t=!A.IsIabEnabled&&I.showGeneralVendors?"ot-gv-list-handler":"onetrust-vendors-list-handler",e(b.P_Policy_Txt).insertAdjacentHTML("beforeend",'"))},s.prototype.configureSubjectDataFields=function(e){var t;A.PCTemplateUpgrade&&A.PCenterUserIdTitleText&&A.IsConsentLoggingEnabled&&(t=v.readCookieParam(k.OPTANON_CONSENT,He),e(b.P_Policy_Txt).insertAdjacentHTML("beforeend",''+A.PCenterUserIdTitleText+": "+t+"
"),A.PCenterUserIdDescriptionText&&e(b.P_Policy_Txt).insertAdjacentHTML("beforeend",''+A.PCenterUserIdDescriptionText+"
"),A.PCenterUserIdTimestampTitleText)&&(t=(t=v.getCookie(k.ALERT_BOX_CLOSED))&&y.getUTCFormattedDate(t)||A.PCenterUserIdNotYetConsentedText,e(b.P_Policy_Txt).insertAdjacentHTML("beforeend",''+A.PCenterUserIdTimestampTitleText+": "+t+"
"))},s.prototype.setManagePreferenceText=function(e){var e=e(b.P_Manage_Cookies_Txt),t=L(e);e&&(t.html(A.ManagePreferenceText),A.ManagePreferenceText||t.attr(this._ariaHidden,!0))},s.prototype.configureButtons=function(e,t){A.ConfirmText.trim()?L(e("#accept-recommended-btn-handler")).html(A.ConfirmText):e("#accept-recommended-btn-handler").parentElement.removeChild(e("#accept-recommended-btn-handler"));for(var o=t(".save-preference-btn-handler"),n=0;nh3");L(r).html(t),L(r).attr("id",o),T.pcName===h&&(e.querySelector(b.P_Category_Header).innerHTML=t,e.querySelector(""+b.P_Desc_Container).setAttribute("id",n),e.querySelector(".category-menu-switch-handler").setAttribute("aria-controls",n))},s.prototype.setLegIntButton=function(e,t,o,n){void 0===o&&(o=!1);var r=!0,r=(-1 '+b.P_Arrw_Cntr)).el.cloneNode(!0),_.subGrpEl=L(e(b.P_Sub_Grp_Cntr)).el.cloneNode(!0),_.vListEl=L(e(b.P_Ven_Lst_Cntr)).el.cloneNode(!0),_.cListEl=L(e(b.P_Host_Lst_cntr)).el.cloneNode(!0),_.chkboxEl=L(e(b.P_CBx_Cntr)).el.cloneNode(!0),_.accordionEl=L(e(".ot-acc-cntr")).el.cloneNode(!0),t.test(T.pcName)&&(_.plusMinusEl=L(e(".ot-plus-minus")).el.cloneNode(!0)),S.removeChild(e(".ot-tgl")),S.removeChild(e('#onetrust-pc-sdk [role="alertdialog"] > '+b.P_Arrw_Cntr)),S.removeChild(e(b.P_Sub_Grp_Cntr)),S.removeChild(e(b.P_Ven_Lst_Cntr)),S.removeChild(e(b.P_Host_Lst_cntr)),S.removeChild(e(b.P_CBx_Cntr)),S.removeChild(e(".ot-acc-cntr")),t.test(T.pcName)&&S.removeChild(e(".ot-plus-minus"))},s.prototype.insertSelectAllEls=function(e){var e=e(b.P_Select_Cntr+" .ot-sel-all-chkbox"),t=I.showVendorService?fn():_.chkboxEl.cloneNode(!0),t=(t.id=b.P_Sel_All_Host_El,t.querySelector("input").id="select-all-hosts-groups-handler",t.querySelector("label").setAttribute("for","select-all-hosts-groups-handler"),L(e).append(t),I.showVendorService?fn():_.chkboxEl.cloneNode(!0)),t=(t.id=b.P_Sel_All_Vendor_Consent_El,t.querySelector("input").id="select-all-vendor-groups-handler",t.querySelector("label").setAttribute("for","select-all-vendor-groups-handler"),L(e).append(t),I.showVendorService?fn():_.chkboxEl.cloneNode(!0));t.id=b.P_Sel_All_Vendor_Leg_El,t.querySelector("input").id="select-all-vendor-leg-handler",t.querySelector("label").setAttribute("for","select-all-vendor-leg-handler"),L(e).append(t)},s.prototype.initializePreferenceCenterGroups=function(e,t){var o,n=T.pcName,r=(m.isV2Template&&(O.cloneOtHtmlEls(e),(r=_.chkboxEl.cloneNode(!0)).querySelector("input").classList.add("category-filter-handler"),L(e(b.P_Fltr_Modal+" "+b.P_Fltr_Option)).append(r),O.insertSelectAllEls(e)),L(e("#onetrust-pc-sdk "+b.P_Category_Grp))),i=(n===yt||n===mt||n===ft?A.PCenterEnableAccordion?S.removeChild(r.el.querySelector(b.P_Category_Item+":not(.ot-accordion-layout)")):S.removeChild(r.el.querySelector(b.P_Category_Item+".ot-accordion-layout")):n===h&&(A.PCenterEnableAccordion=!1),e("#onetrust-pc-sdk "+b.P_Category_Item)),s=m.isV2Template?_.subGrpEl.cloneNode(!0):L(e(b.P_Sub_Grp_Cntr)),a=m.isV2Template?null:L(e(b.P_Acc_Container+" "+b.P_Sub_Grp_Cntr));A.PCTemplateUpgrade&&/otPcTab/.test(n)&&(o=e(".ot-abt-tab").cloneNode(!0),S.removeChild(e(".ot-abt-tab"))),r.el.removeChild(i),O.setVendorListClass(e,i),O.setPCHeader(e,i),O.createHtmlForEachGroup({fm:e,fragment:t,categoryGroupTemplate:i,cookiePreferencesContainer:r,popupSubGrpContainer:a,subGrpContainer:s}),O.setPcTabLayout(e,t,o)},s.prototype.getActiveVendorCount=function(e){var t=parseInt(e.IabGrpId),o=0;return e.Type===P.GroupTypes.Pur?o=T.tcf2ActiveVendors.pur.get(t):e.Type===P.GroupTypes.Ft?o=T.tcf2ActiveVendors.ft.get(t):e.Type===P.GroupTypes.Spl_Pur?o=T.tcf2ActiveVendors.spl_pur.get(t):e.Type===P.GroupTypes.Spl_Ft&&(o=T.tcf2ActiveVendors.spl_ft.get(t)),o||0},s.prototype.getActiveVendorCountForStack=function(e){return T.tcf2ActiveVendors.stack.get(e)||0},s.prototype.getVendorCountEl=function(e){var t="[VENDOR_NUMBER]";return A.PCVendorsCountText&&-1 '+A.PCVendorsCountText.replace(t,e.toString())+" ":""},s.prototype.createHtmlForEachGroup=function(e){var t=e.fm,o=e.fragment,n=e.categoryGroupTemplate,r=e.cookiePreferencesContainer,i=e.popupSubGrpContainer,s=e.subGrpContainer,e=A.Groups.filter(function(e){return e.Order}),a=0===r.el.children.length;A.PCTemplateUpgrade&&(I.showVendorService?E.setHtmlTemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')):E.removeVSUITemplate(t('#onetrust-pc-sdk div[role="alertdialog"]')));for(var l=0,c=e;l"),e.insertAdjacentHTML("afterend"," | "+o.PCVendorFullLegalText+' '+A.NewWinTxt+""))},s.prototype.setHostListBtn=function(e,t,o,n){var r,i=T.pcName,s=!1,a=(A.showCookieList&&(s=-1h4, .cookie-subgroup>h5, .cookie-subgroup>h6, .ot-subgrp>h4, .ot-subgrp>h5, .ot-subgrp>h6"),g=c.querySelector(b.P_Tgl_Cntr),d=(c.setAttribute("data-optanongroupid",d),m.isV2Template?((t=O.getInputEle()).querySelector("input").setAttribute("data-optanongroupid",d),t.querySelector("input").classList.add("cookie-subgroup-handler"),t=t.cloneNode(!0),g.insertAdjacentElement("beforeend",t)):(t=c.querySelector(".ot-toggle")).querySelector("input").setAttribute("data-optanongroupid",d),L(i.querySelector(b.P_Subgp_ul)).html(""),O.addSubgroupName(n,h),O.setDataIfVendorServiceEnabled(h,c,t),t.querySelector("input").setAttribute("id",p),t.querySelector("input").setAttribute(this._ariaLabel,n.GroupName),t.querySelector("label").setAttribute("for",p),O.setSubGroupDescription({json:e,group:o,subgroup:n,subGroupClone:c}),T.isTcfV2Template&&An.addIllustrationsLink(c,n,o.ShowVendorList,!0),q(Bt,wt));o.ShowSubgroupToggle&&-1"+A.AlwaysActiveText+"","ce").el):(n="ot-status-id-"+(n=null==(o=n=(t=e.querySelector(b.P_Category_Header)).id)?void 0:o.split("-")[3]),!m.isV2Template&&A.PCenterEnableAccordion&&(n="ot-status-id-"+(n=null==(o=n=(t=e.querySelector(b.P_Arrw_Cntr)).id)?void 0:o.split("-")[3])),L(t).el.insertAdjacentElement("afterend",L('"+A.AlwaysActiveText+"
","ce").el)),A.PCenterEnableAccordion?(o=e.querySelector(b.P_Acc_Header))&&o.classList.add("ot-always-active-group"):((t=e.querySelector(""+b.P_Desc_Container))&&t.classList.add("ot-always-active-group"),e.classList.add("ot-always-active-group"))},s.prototype.setPcTabLayout=function(e,t,o){var n=e(".ot-tab-desc");"otPcTab"===T.pcName&&(o&&e("#onetrust-pc-sdk "+b.P_Category_Grp).insertAdjacentElement("afterbegin",o),n&&640e.clientHeight&&(this.bodyStyleChanged=!0,e=L("body"))&&e.length&&Bn.addOTCssPropertiesToBody(wn.PC,{overflow:"hidden"})},Wn.prototype.checkIfPcSdkContainerExist=function(){return!L("#onetrust-pc-sdk").length};var zn,Kn=Wn;function Wn(){this.ONETRUST_PC_SDK="#onetrust-pc-sdk",this.ONETRUST_PC_DARK_FILTER=".onetrust-pc-dark-filter",this.bodyStyleChanged=!1}Xn.prototype.init=function(){this.insertHtml(),this.insertCss(),this.showNty(),this.initHandler()},Xn.prototype.getContent=function(){return R(this,void 0,void 0,function(){return M(this,function(e){return[2,Yt.getSyncNtfyContent().then(function(e){I.syncNtfyGrp={name:e.name,html:atob(e.html),css:e.css}})]})})},Xn.prototype.insertHtml=function(){this.removeHtml();function e(e){return t.querySelector(e)}var t=document.createDocumentFragment(),o=document.createElement("div"),o=(L(o).html(I.syncNtfyGrp.html),o.querySelector(this.El)),n=(A.BannerRelativeFontSizesToggle&&L(o).addClass("otRelFont"),A.useRTL&&L(o).attr("dir","rtl"),L(t).append(o),A.NtfyConfig),n=(this.initHtml("Sync",n.Sync,e,t.querySelector(this.El)),n.ShowCS?L(e(".ot-pc-handler")).html(n.CSTxt):(L(o).addClass("ot-hide-csbtn"),e(".ot-sync-btncntr").parentElement.removeChild(e(".ot-sync-btncntr"))),document.createElement("div"));L(n).append(t),L("#onetrust-consent-sdk").append(n.firstChild)},Xn.prototype.initHandler=function(){L(this.El+" .ot-sync-close-handler").on("click",function(){return Jn.close()})},Xn.prototype.showNty=function(){var e=L(this.El);e.css("bottom: -300px;"),e.animate({bottom:"1em;"},1e3),setTimeout(function(){e.css("bottom: 1rem;")},1e3),e.focus()},Xn.prototype.changeState=function(){setTimeout(function(){Jn.refreshState()},1500)},Xn.prototype.refreshState=function(){function e(e){return t.querySelector(e)}var t=L(this.El).el[0],o=(t.classList.add("ot-nty-complete"),t.classList.remove("ot-nty-sync"),A.NtfyConfig);this.initHtml("Complete",o.Complete,e,t),o.ShowCS&&("LINK"===o.CSType&&L(e(".ot-pc-handler")).addClass("ot-pc-link"),L(".ot-sync-btncntr").show("inline-block"),this.alignContent(),L(window).on("resize",function(){return Jn.resizeEvent})),setTimeout(function(){Jn.close()},1e3*A.NtfyConfig.NtfyDuration)},Xn.prototype.insertCss=function(){var e=document.getElementById("onetrust-style");e.innerHTML+=I.syncNtfyGrp.css,e.innerHTML+=this.addCustomStyles()},Xn.prototype.addCustomStyles=function(){var e=A.NtfyConfig,t=e.Sync,o=e.Complete,n=e.CSButton,r=e.CSLink;return"\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync {\n background-color: "+t.BgColor+";\n border: 1px solid "+t.BdrColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy .ot-sync-refresh>g {\n fill: "+t.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync #ot-sync-title {\n text-align: "+t.TitleAlign+";\n color: "+t.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-sync .ot-sync-desc {\n text-align: "+t.DescAlign+";\n color: "+t.DescColor+"; \n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete {\n background-color: "+o.BgColor+";\n border: 1px solid "+o.BdrColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy .ot-sync-check>g {\n fill: "+o.IconBgColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete #ot-sync-title {\n text-align: "+o.TitleAlign+";\n color: "+o.TitleColor+";\n }\n #onetrust-consent-sdk #ot-sync-ntfy.ot-nty-complete .ot-sync-desc {\n text-align: "+o.DescAlign+";\n color: "+o.DescColor+"; \n }\n "+("BUTTON"===e.CSType?"\n #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler {\n background-color: "+n.BgColor+";\n border: 1px solid "+n.BdrColor+";\n color: "+n.Color+";\n text-align: "+n.Align+";\n }":" #onetrust-consent-sdk #ot-sync-ntfy .ot-pc-handler.ot-pc-link {\n color: "+r.Color+";\n text-align: "+r.Align+";\n }")+"\n "},Xn.prototype.initHtml=function(e,t,o,n){var r="Complete"===e?".ot-sync-refresh":".ot-sync-check";t.ShowIcon?(L(o("Sync"===e?".ot-sync-refresh":".ot-sync-check")).show(),L(o(r)).hide(),L(o(".ot-sync-icon")).show("inline-block"),n.classList.remove("ot-hide-icon")):(L(o(".ot-sync-icon")).hide(),n.classList.add("ot-hide-icon")),t.Title?L(o("#ot-sync-title")).html(t.Title):L(o("#ot-sync-title")).hide(),t.Desc?L(o(".ot-sync-desc")).html(t.Desc):L(o(".ot-sync-desc")).hide(),t.ShowClose?(L(o(".ot-sync-close-handler")).show("inline-block"),L(o(".ot-close-icon")).attr("aria-label",t.CloseAria),n.classList.remove("ot-hide-close")):(L(o(".ot-sync-close-handler")).hide(),n.classList.add("ot-hide-close"))},Xn.prototype.close=function(){this.hideSyncNtfy(),y.resetFocusToBody()},Xn.prototype.hideSyncNtfy=function(){A.NtfyConfig.ShowCS&&window.removeEventListener("resize",Jn.resizeEvent),L("#ot-sync-ntfy").fadeOut(400)},Xn.prototype.removeHtml=function(){var e=L(this.El).el;e&&S.removeChild(e)},Xn.prototype.alignContent=function(){L(".ot-sync-btncntr").el[0].clientHeight>L(".ot-sync-titlecntr").el[0].clientHeight&&(L(".ot-sync-titlecntr").addClass("ot-pos-abs"),L(".ot-sync-btncntr").addClass("ot-pos-rel"))},Xn.prototype.resizeEvent=function(){window.innerWidth<=896&&Jn.alignContent()};var Jn,Yn=Xn;function Xn(){this.El="#ot-sync-ntfy"}Zn.prototype.toggleVendorConsent=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:I.oneTrustIABConsent.vendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=L(b.P_Vendor_Container+" ."+b.P_Ven_Ctgl+' [vendorid="'+t+'"]').el[0];t&&S.setCheckedAttribute("",t,"true"===e)});var o,n=L("#onetrust-pc-sdk #select-all-vendor-groups-handler").el[0];n&&(o=S.getActiveIdArray(S.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(Ft.P_Line_Through):n.parentElement.classList.add(Ft.P_Line_Through),S.setCheckedAttribute("",n,t))},Zn.prototype.toggleVendorLi=function(e,t){void 0===t&&(t=null),(e=(e=void 0===e?[]:e).length?e:I.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=L(b.P_Vendor_Container+" ."+b.P_Ven_Ltgl+' [leg-vendorid="'+t+'"]').el[0];t&&S.setCheckedAttribute("",t,"true"===e)});var o,n=L("#onetrust-pc-sdk #select-all-vendor-leg-handler").el[0];n&&(o=S.getActiveIdArray(S.distinctArray(e)),(t=null===t?o.length===e.length:t)||0===o.length?n.parentElement.classList.remove(Ft.P_Line_Through):n.parentElement.classList.add(Ft.P_Line_Through),S.setCheckedAttribute("",n,t))},Zn.prototype.updateVendorLegBtns=function(e){(e=(e=void 0===e?[]:e).length?e:I.oneTrustIABConsent.legIntVendors).forEach(function(e){var e=e.split(":"),t=e[0],e=e[1],t=L(b.P_Vendor_Container+' .ot-leg-btn-container[data-group-id="'+t+'"]').el[0];t&&V.updateLegIntBtnElement(t,"true"===e)})};var Qn,$n=Zn;function Zn(){}or.prototype.setFilterList=function(o){var n=this,r=L("#onetrust-pc-sdk "+b.P_Fltr_Modal+" "+b.P_Fltr_Option).el[0].cloneNode(!0);L("#onetrust-pc-sdk "+b.P_Fltr_Modal+" "+b.P_Fltr_Options).html(""),(m.isV2Template||A.PCLayout.Popup)&&L("#onetrust-pc-sdk #filter-cancel-handler").html(A.PCenterCancelFiltersText||"Cancel"),!m.isV2Template&&A.PCLayout.Popup||(L("#onetrust-pc-sdk "+b.P_Clr_Fltr_Txt).html(A.PCenterClearFiltersText),L("#filter-btn-handler").el[0].setAttribute("aria-label",A.PCenterFilterText)),L("#onetrust-pc-sdk #filter-apply-handler").html(A.PCenterApplyFiltersText),o?T.consentableGrps.forEach(function(e){var t=I.cookieListType===ye.GenVen||I.cookieListType===ye.HostAndGenVen?e.Hosts.length||e.FirstPartyCookies.length||e.GeneralVendorsIds&&e.GeneralVendorsIds.length:e.Hosts.length||e.FirstPartyCookies.length;t&&n.filterGroupOptionSetter(r,e,o)}):T.iabGrps.forEach(function(e){n.filterGroupOptionSetter(r,e,o)})},or.prototype.setFilterListByGroup=function(e,t){var o,n=this;!e||e.length<=0?L("#onetrust-pc-sdk "+b.P_Fltr_Modal+" "+b.P_Fltr_Options).html(""):(o=L("#onetrust-pc-sdk "+b.P_Fltr_Modal+" "+b.P_Fltr_Option).el[0].cloneNode(!0),L("#onetrust-pc-sdk "+b.P_Fltr_Modal+" "+b.P_Fltr_Options).html(""),(m.isV2Template||A.PCLayout.Popup)&&L("#onetrust-pc-sdk #filter-cancel-handler").html(A.PCenterCancelFiltersText||"Cancel"),!m.isV2Template&&A.PCLayout.Popup||(L("#onetrust-pc-sdk "+b.P_Clr_Fltr_Txt).html(A.PCenterClearFiltersText),L("#filter-btn-handler").el[0].setAttribute("aria-label",A.PCenterFilterText)),L("#onetrust-pc-sdk #filter-apply-handler").html(A.PCenterApplyFiltersText),e.forEach(function(e){n.filterGroupOptionSetter(o,e,t)}))},or.prototype.filterGroupOptionSetter=function(e,t,o){var n=t.CustomGroupId,r=n+"-filter",e=e.cloneNode(!0);L(b.P_Fltr_Modal+" "+b.P_Fltr_Options).append(e),L(e.querySelector("input")).attr("id",r),L(e.querySelector("label")).attr("for",r),(m.isV2Template?L(e.querySelector(b.P_Label_Txt)):L(e.querySelector("label span"))).html(t.GroupName),L(e.querySelector("input")).attr(o?"data-optanongroupid":"data-purposeid",n)};var er,tr=or;function or(){this.bodyScrollProp="",this.htmlScrollProp="",this.ONETRUST_PC_SDK="#onetrust-pc-sdk",this.ONETRUST_PC_DARK_FILTER=".onetrust-pc-dark-filter"}cr.prototype.initialiseCssReferences=function(){var e,t="";document.getElementById("onetrust-style")?e=document.getElementById("onetrust-style"):((e=document.createElement("style")).id="onetrust-style",m.moduleInitializer.CookieV2CSPEnabled&&I.nonce&&e.setAttribute("nonce",I.nonce)),f.commonStyles&&(t+=f.commonStyles),f.bannerGroup&&(t+=f.bannerGroup.css,m.fp.CookieV2SSR||(t+=this.addCustomBannerCSS()),A.bannerCustomCSS)&&(t+=A.bannerCustomCSS),f.preferenceCenterGroup&&(t=(t+=f.preferenceCenterGroup.css)+this.addCustomPreferenceCenterCSS()),f.cookieListGroup&&!m.fp.CookieV2TrackingTechnologies&&(t=(t+=f.cookieListGroup.css)+this.addCustomCookieListCSS()),A.cookiePersistentLogo&&!A.cookiePersistentLogo.includes("ot_guard_logo.svg")&&(t+=".ot-floating-button__front{background-image:url('"+y.updateCorrectUrl(A.cookiePersistentLogo)+"')}"),this.processedCSS=t,T.ignoreInjectingHtmlCss||(e.textContent=t,L(document.head).append(e))},cr.prototype.setButonColor=function(){var e,t=A.pcButtonColor,o=A.pcButtonTextColor,n=A.pcLegIntButtonColor,r=A.pcLegIntButtonTextColor,i="";return(t||o)&&(e=T.pcName===ft?"#onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Category_Item+",\n #onetrust-consent-sdk #onetrust-pc-sdk.ot-leg-opt-out "+b.P_Li_Hdr+"{\n border-color: "+t+";\n }":"",i="#onetrust-consent-sdk #onetrust-pc-sdk\n button:not(#clear-filters-handler):not(.ot-close-icon):not(#filter-btn-handler):not(.ot-remove-objection-handler):not(.ot-obj-leg-btn-handler):not([aria-expanded]):not(.ot-link-btn),\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-active-leg-btn {\n "+(t?"background-color: "+t+";border-color: "+t+";":"")+"\n "+(o?"color: "+o+";":"")+"\n }\n #onetrust-consent-sdk #onetrust-pc-sdk ."+b.P_Active_Menu+" {\n "+(t?"border-color: "+t+";":"")+"\n }\n "+e+"\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-remove-objection-handler{\n background-color: transparent;\n border: 1px solid transparent;\n }\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-inactive-leg-btn {\n "+(n?"background-color: "+n+";":"")+"\n "+(r?"color: "+r+"; border-color: "+r+";":"")+"\n }"),i},cr.prototype.setFocusBorderColor=function(){var e="",t=A.PCFocusBorderColor;return t&&(e+='\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-tgl input:focus + .ot-switch, .ot-switch .ot-switch-nob, .ot-switch .ot-switch-nob:before,\n #onetrust-pc-sdk .ot-checkbox input[type="checkbox"]:focus + label::before,\n #onetrust-pc-sdk .ot-chkbox input[type="checkbox"]:focus + label::before {\n outline-color: '+t+";\n outline-width: 1px;\n }\n #onetrust-pc-sdk .ot-host-item > button:focus, #onetrust-pc-sdk .ot-ven-item > button:focus {\n border: 1px solid "+t+";\n }\n #onetrust-consent-sdk #onetrust-pc-sdk *:focus,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vlst-cntr > a:focus {\n outline: 1px solid "+t+";\n }"),e},cr.prototype.setCloseIconColor=function(){var e="";return A.PCCloseButtonType===be.Link&&(e+="#onetrust-pc-sdk.ot-close-btn-link .ot-close-icon {color: "+A.PCContinueColor+"}"),e},cr.prototype.setTabLayoutStyles=function(){var e="",t=A.pcMenuColor,o=A.pcMenuHighLightColor;return T.pcName===h&&(t&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk .category-menu-switch-handler {\n background-color: "+t+"\n }"),o)&&(e+="#onetrust-consent-sdk #onetrust-pc-sdk ."+b.P_Active_Menu+" {\n background-color: "+o+"\n }"),e},cr.prototype.setFocusIfTemplateUpgrade=function(){var e="",t=A.PCFocusBorderColor;return!A.PCTemplateUpgrade&&t&&(e+='\n #onetrust-pc-sdk input[type="checkbox"]:focus + .accordion-header,\n #onetrust-pc-sdk .category-item .ot-switch.ot-toggle input:focus + .ot-switch-label,\n #onetrust-pc-sdk .checkbox input:focus + label::after {\n outline-color: '+t+";\n outline-width: 1px;\n }"),e},cr.prototype.setExtLnkUrl=function(){var e="",t=y.updateCorrectUrl(A.OTExternalLinkLogo);return t&&(e+="#onetrust-pc-sdk .ot-vlst-cntr .ot-ext-lnk, #onetrust-pc-sdk .ot-ven-hdr .ot-ext-lnk{\n background-image: url('"+t+"');\n }\n "),e},cr.prototype.setCustomCss=function(){var e="";return A.pcCustomCSS&&(e+=A.pcCustomCSS),e};var nr,rr,ir,sr,ar,lr=cr;function cr(){this.processedCSS="",this.addCustomBannerCSS=function(){var e=A.backgroundColor,t=A.buttonColor,o=A.textColor,n=A.buttonTextColor,r=A.bannerMPButtonColor,i=A.bannerMPButtonTextColor,s=A.bannerAccordionBackgroundColor,a=A.BSaveBtnColor,l=A.BCategoryContainerColor,c=A.BLineBreakColor,d=A.BCategoryStyleColor,p=A.bannerLinksTextColor,u=A.BFocusBorderColor,o="\n "+(T.bannerName===pt?e?"#onetrust-consent-sdk #onetrust-banner-sdk .ot-sdk-container {\n background-color: "+e+";}":"":e?"#onetrust-consent-sdk #onetrust-banner-sdk {background-color: "+e+";}":"")+"\n "+(o?"#onetrust-consent-sdk #onetrust-policy-title,\n #onetrust-consent-sdk #onetrust-policy-text,\n #onetrust-consent-sdk .ot-b-addl-desc,\n #onetrust-consent-sdk .ot-dpd-desc,\n #onetrust-consent-sdk .ot-dpd-title,\n #onetrust-consent-sdk #onetrust-policy-text *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk .ot-dpd-desc *:not(.onetrust-vendors-list-handler),\n #onetrust-consent-sdk #onetrust-banner-sdk #banner-options *,\n #onetrust-banner-sdk .ot-cat-header,\n #onetrust-banner-sdk .ot-optout-signal\n {\n color: "+o+";\n }":"")+"\n "+(s?"#onetrust-consent-sdk #onetrust-banner-sdk .banner-option-details {\n background-color: "+s+";}":"")+"\n "+(p?" #onetrust-consent-sdk #onetrust-banner-sdk a[href],\n #onetrust-consent-sdk #onetrust-banner-sdk a[href] font,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-link-btn\n {\n color: "+p+";\n }":"");return(t||n)&&(o+="#onetrust-consent-sdk #onetrust-accept-btn-handler,\n #onetrust-banner-sdk #onetrust-reject-all-handler {\n "+(t?"background-color: "+t+";border-color: "+t+";":"")+"\n "+(n?"color: "+n+";":"")+"\n }"),u&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk *:focus,\n #onetrust-consent-sdk #onetrust-banner-sdk:focus {\n outline-color: "+u+";\n outline-width: 1px;\n }"),(i||r)&&(o+="\n #onetrust-consent-sdk #onetrust-pc-btn-handler,\n #onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link {\n "+(i?"color: "+i+"; border-color: "+i+";":"")+"\n background-color:\n "+(r&&!A.BannerSettingsButtonDisplayLink?r:e)+";\n }"),T.bannerName===gt&&(r=i=t=p=s=void 0,d&&(i="background-color: "+d+";",r="border-color: "+d+";"),u&&(o+="\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-tgl input:focus+.ot-switch .ot-switch-nob,\n #onetrust-consent-sdk #onetrust-banner-sdk .ot-chkbox input:focus + label::before {\n outline-color: "+u+";\n outline-width: 1px;\n }"),o+="#onetrust-banner-sdk .ot-bnr-save-handler {"+(s=a?"color: "+n+";border-color: "+n+";background-color: "+a+";":s)+"}#onetrust-banner-sdk .ot-cat-lst {"+(p=l?"background-color: "+l+";":p)+"}#onetrust-banner-sdk .ot-cat-bdr {"+(t=c?"border-color: "+c+";":t)+"}#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob:before,#onetrust-banner-sdk .ot-chkbox input:checked~label::before {"+i+"}#onetrust-banner-sdk .ot-chkbox label::before,#onetrust-banner-sdk .ot-tgl input:checked+.ot-switch .ot-switch-nob {"+r+"}#onetrust-banner-sdk #onetrust-pc-btn-handler.cookie-setting-link {background: inherit}"),A.BCloseButtonType===be.Link&&(o+="#onetrust-banner-sdk.ot-close-btn-link .banner-close-button {color: "+A.BContinueColor+"}"),o},this.addCustomPreferenceCenterCSS=function(){var e=A.pcBackgroundColor,t=A.pcTextColor,o=A.pcLinksTextColor,n=A.PCenterEnableAccordion,r=A.pcAccordionBackgroundColor,e="\n "+(e?(T.pcName===ft?"#onetrust-consent-sdk #onetrust-pc-sdk .group-parent-container,\n #onetrust-consent-sdk #onetrust-pc-sdk .manage-pc-container,\n #onetrust-pc-sdk "+b.P_Vendor_List:"#onetrust-consent-sdk #onetrust-pc-sdk")+",\n #onetrust-consent-sdk "+b.P_Search_Cntr+",\n "+(n&&T.pcName===ft?"#onetrust-consent-sdk #onetrust-pc-sdk .ot-accordion-layout"+b.P_Category_Item:"#onetrust-consent-sdk #onetrust-pc-sdk .ot-switch.ot-toggle")+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Tab_Grp_Hdr+" .checkbox,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Title+":after\n "+(m.isV2Template?",#onetrust-consent-sdk #onetrust-pc-sdk #ot-sel-blk,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-fltr-cnt,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Triangle:"")+" {\n background-color: "+e+";\n }\n ":"")+"\n "+(t?"#onetrust-consent-sdk #onetrust-pc-sdk h3,\n #onetrust-consent-sdk #onetrust-pc-sdk h4,\n #onetrust-consent-sdk #onetrust-pc-sdk h5,\n #onetrust-consent-sdk #onetrust-pc-sdk h6,\n #onetrust-consent-sdk #onetrust-pc-sdk p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Vendor_Container+" "+b.P_Ven_Opts+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Policy_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Li_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Leg_Select_All+" span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Host_Cntr+" "+b.P_Host_Info+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Fltr_Modal+" #modal-header,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-checkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Vendor_List+" "+b.P_Select_Cntr+" p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Vendor_List+" "+b.P_Vendor_Title+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Vendor_List+" .back-btn-handler p,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Vendor_List+" "+b.P_Ven_Name+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Vendor_List+" "+b.P_Vendor_Container+" .consent-category,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-inactive-leg-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-label-status,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-chkbox label span,\n #onetrust-consent-sdk #onetrust-pc-sdk #clear-filters-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-optout-signal\n {\n color: "+t+";\n }":"")+"\n "+(o?" #onetrust-consent-sdk #onetrust-pc-sdk .privacy-notice-link,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-pgph-link,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler + a,\n #onetrust-consent-sdk #onetrust-pc-sdk .category-host-list-handler,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Ven_Link+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Ven_Leg_Claim+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Host_Cntr+" "+b.P_Host_Title+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Host_Cntr+" "+b.P_Acc_Header+" "+b.P_Host_View_Cookies+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Host_Cntr+" "+b.P_Host_Info+" a,\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Content+" "+b.P_Policy_Txt+" .ot-link-btn,\n #onetrust-consent-sdk #onetrust-pc-sdk .ot-vnd-serv .ot-vnd-item .ot-vnd-info a,\n #onetrust-consent-sdk #onetrust-pc-sdk #ot-lst-cnt .ot-vnd-info a\n {\n color: "+o+";\n }":"")+"\n #onetrust-consent-sdk #onetrust-pc-sdk .category-vendors-list-handler:hover { text-decoration: underline;}\n "+(n&&r?"#onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Acc_Container+b.P_Acc_Txt+",\n #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Acc_Txt+" "+b.P_Subgrp_Tgl_Cntr+" .ot-switch.ot-toggle\n {\n background-color: "+r+";\n }":"")+"\n "+(r?" #onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Host_Cntr+" "+b.P_Host_Info+",\n "+(m.isV2Template?"#onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Acc_Txt+" .ot-ven-dets":"#onetrust-consent-sdk #onetrust-pc-sdk "+b.P_Acc_Txt+" "+b.P_Ven_Opts)+"\n {\n background-color: "+r+";\n }":"")+"\n ";return(e+=nr.setButonColor())+nr.setFocusBorderColor()+nr.setCloseIconColor()+nr.setTabLayoutStyles()+nr.setTabLayoutStyles()+nr.setFocusIfTemplateUpgrade()+nr.setExtLnkUrl()+nr.setCustomCss()},this.addCustomCookieListCSS=function(){var e=A.CookiesV2NewCookiePolicy?"-v2.ot-sdk-cookie-policy":"",e="\n "+(A.cookieListPrimaryColor?"\n #ot-sdk-cookie-policy"+e+" h5,\n #ot-sdk-cookie-policy"+e+" h6,\n #ot-sdk-cookie-policy"+e+" li,\n #ot-sdk-cookie-policy"+e+" p,\n #ot-sdk-cookie-policy"+e+" a,\n #ot-sdk-cookie-policy"+e+" span,\n #ot-sdk-cookie-policy"+e+" td,\n #ot-sdk-cookie-policy"+e+" #cookie-policy-description {\n color: "+A.cookieListPrimaryColor+";\n }":"")+"\n "+(A.cookieListTableHeaderColor?"#ot-sdk-cookie-policy"+e+" th {\n color: "+A.cookieListTableHeaderColor+";\n }":"")+"\n "+(A.cookieListGroupNameColor?"#ot-sdk-cookie-policy"+e+" .ot-sdk-cookie-policy-group {\n color: "+A.cookieListGroupNameColor+";\n }":"")+"\n "+(A.cookieListTitleColor?"\n #ot-sdk-cookie-policy"+e+" #cookie-policy-title {\n color: "+A.cookieListTitleColor+";\n }\n ":"")+"\n "+(e&&A.CookieListTableHeaderBackgroundColor?"\n #ot-sdk-cookie-policy"+e+" table th {\n background-color: "+A.CookieListTableHeaderBackgroundColor+";\n }\n ":"")+"\n ";return A.cookieListCustomCss&&(e+=A.cookieListCustomCss),e}}(a=rr=rr||{}).SaleOptOut="SaleOptOutCID",a.SharingOptOut="SharingOptOutCID",a.PersonalDataConsents="PersonalDataCID",(a=ir=ir||{}).SharingOptOutNotice="SharingOptOutCID",a.SaleOptOutNotice="SaleOptOutCID",a.SensitiveDataLimitUseNotice="SensitivePICID || SensitiveSICID || GeolocationCID || RREPInfoCID || CommunicationCID || GeneticCID|| BiometricCID || HealthCID || SexualOrientationCID",(a=sr=sr||{}).KnownChildSensitiveDataConsents1="KnownChildSellPICID",a.KnownChildSensitiveDataConsents2="KnownChildSharePICID",(a=ar=ar||{}).SensitiveDataProcessing1="SensitivePICID",a.SensitiveDataProcessing2="SensitiveSICID",a.SensitiveDataProcessing3="GeolocationCID",a.SensitiveDataProcessing4="RREPInfoCID",a.SensitiveDataProcessing5="CommunicationCID",a.SensitiveDataProcessing6="GeneticCID",a.SensitiveDataProcessing7="BiometricCID",a.SensitiveDataProcessing8="HealthCID",a.SensitiveDataProcessing9="SexualOrientationCID";ur.prototype.initialiseLandingPath=function(){var e=p.needReconsent();Po.isLandingPage()?Po.setLandingPathParam(location.href):e&&!p.awaitingReconsent()?(Po.setLandingPathParam(location.href),v.writeCookieParam(k.OPTANON_CONSENT,Ne,!0)):(e||v.writeCookieParam(k.OPTANON_CONSENT,Ne,!1),Po.setLandingPathParam(qe),T.isSoftOptInMode&&!m.moduleInitializer.MobileSDK&&c.setAlertBoxClosed(!0),A.NextPageCloseBanner&&A.ShowAlertNotice&&G.nextPageCloseBanner())};var dr,pr=ur;function ur(){}Cr.prototype.insertCookiePolicyHtml=function(){if(L(this.ONETRUST_COOKIE_POLICY).length){var e,t,o,n=document.createDocumentFragment(),r=(f.cookieListGroup&&(t=A.CookiesV2NewCookiePolicy?".ot-sdk-cookie-policy":"#ot-sdk-cookie-policy-v2",o=document.createElement("div"),L(o).html(f.cookieListGroup.html),o.removeChild(o.querySelector(t)),e=o.querySelector(".ot-sdk-cookie-policy"),A.useRTL)&&L(e).attr("dir","rtl"),e.querySelector("#cookie-policy-title").innerHTML=A.CookieListTitle||"",e.querySelector("#cookie-policy-description").innerHTML=A.CookieListDescription||"",e.querySelector("section")),i=e.querySelector("section tbody tr"),s=null,a=null;A.CookiesV2NewCookiePolicy||(s=e.querySelector("section.subgroup"),a=e.querySelector("section.subgroup tbody tr"),L(e).el.removeChild(e.querySelector("section.subgroup"))),L(e).el.removeChild(e.querySelector("section")),!L(this.COOKIE_POLICY_SELECTOR).length&&L(this.OPTANON_POLICY_SELECTOR).length?L(this.OPTANON_POLICY_SELECTOR).append(''):(L(this.COOKIE_POLICY_SELECTOR).html(""),L(this.OPTANON_POLICY_SELECTOR).html(""));for(var l=0,c=A.Groups;l\n '+l.Name+"\n "),r.push(a)}h.setDataLabelAttribute(o,c),h.createCookieRowHtmlElement({host:e,subGroupCookie:l,trt:o,json:c,lifespanText:n.join(", "),hostType:r.join(", ")}),h.removeLifeSpanOrHostDescription(c,p,t,o),L(u("tbody")).append(t)}(n[o])},Cr.prototype.insertGroupHTML=function(e){function t(e){return l.querySelector(e)}var o,n=e.json,r=e.group,i=e.sectionTemplate,s=e.tableRowTemplate,a=e.cookieList,e=e.fragment,l=i.cloneNode(!0),i=(L(t("caption")).el.innerHTML=r.GroupName,L(t("tbody")).html(""),L(t("thead tr")),n.IsLifespanEnabled?L(t("th.life-span")).el.innerHTML=n.LifespanText:L(t("thead tr")).el.removeChild(L(t("th.life-span")).el),L(t("th.cookies")).el.innerHTML=n.CookiesText,L(t("th.host")).el.innerHTML=n.CategoriesText,!1);if(r.Hosts.some(function(e){return e.description})?i=!0:L(t("thead tr")).el.removeChild(L(t("th.host-description")).el),L(t(".ot-sdk-cookie-policy-group")).html(r.GroupName),L(t(".ot-sdk-cookie-policy-group-desc")).html(this.groupsClass.safeFormattedGroupDescription(r)),0 "+y.getCookieLabel(o,n.AddLinksToCookiepedia)+" ")}else l.removeChild(t(".cookies-used-header")),l.removeChild(t(".cookies-list"));this.insertHostHtmlV1({json:n,hosts:r.Hosts,tableRowTemplate:s,showHostDescription:i,st:t}),L(a).append(l),L(e).append(a),L(this.COOKIE_POLICY_SELECTOR).append(e)},Cr.prototype.insertHostHtmlV1=function(e){for(var l=e.json,t=e.hosts,c=e.tableRowTemplate,d=e.showHostDescription,p=e.st,o=0,n=t;o'+e.Description+"
"),0),r=0,i=e.Cookies;r "+s.Name+" "+a+" "),l.IsLifespanEnabled&&(a=s.Length?s.Length+" days":"N/A",L(o(".life-span-td ul")).append(""+a+"")),0===n&&(L(o(".host-td")).append(''),L(o(".host-td")).append(''+(e.DisplayName||e.HostName)+"")),n++}d||t.removeChild(o("td.host-description-td")),L(p("tbody")).append(t)}(n[o]);0===t.length&&L(p("table")).el.removeChild(L(p("thead")).el)},Cr.prototype.transformFirstPartyCookies=function(e,t,o){var n=this,r=t.slice(),t=(e.forEach(function(e){n.populateHostGroup(e,r,A.firstPartyTxt)}),o.GeneralVendorsIds),e=(this.populateGenVendor(t,o,r),o.SubGroups||[]);return e.length&&e.forEach(function(e){var t=e.GeneralVendorsIds;n.populateGenVendor(t,e,r)}),r},Cr.prototype.populateGenVendor=function(e,o,n){var r=this;e.length&&e.forEach(function(t){var e=A.GeneralVendors.find(function(e){return e.VendorCustomId===t});e.Cookies.length&&e.Cookies.forEach(function(e){var t;e.category===o.GroupName&&(t=e.isThirdParty?"":A.firstPartyTxt,r.populateHostGroup(e,n,t))})})},Cr.prototype.populateHostGroup=function(t,e,o){e.some(function(e){if(e.HostName===t.Host&&e.Type===o)return e.Cookies.push(t),!0})||e.unshift({HostName:t.Host,DisplayName:t.Host,HostId:"",Description:"",Type:o,Cookies:[t]})},Cr.prototype.insertCookieLineByLine=function(e){for(var t=e.json,o=e.hosts,n=e.tableRowTemplate,r=e.showHostDescription,i=e.st,s=0,a=o;s'+h+"\n "),n.cloneNode(!0)),C=this.queryToHtmlElement(g);this.clearCookieRowElement(C),this.createCookieRowHtmlElement({host:l,subGroupCookie:p,trt:C,json:t,lifespanText:u,hostType:h}),this.removeLifeSpanOrHostDescription(t,r,g,C),L(i("tbody")).append(g)}},Cr.prototype.removeLifeSpanOrHostDescription=function(e,t,o,n){e.IsLifespanEnabled||o.removeChild(n("td.ot-life-span-td")),t||o.removeChild(n("td.ot-host-description-td"))},Cr.prototype.createCookieRowHtmlElement=function(e){var t=e.host,o=e.subGroupCookie,n=e.trt,r=e.json,i=e.lifespanText,e=e.hostType,s=".ot-host-td",r=(this.setDataLabelAttribute(n,r),L(n(".ot-host-description-td")).html(''+o.description+"
"),L(n(s)).append(''),t.DisplayName||t.HostName);L(n(s)).append(t.Type?r:'\n '+r+"\n "),n(".ot-cookies-td .ot-cookies-td-content").insertAdjacentHTML("beforeend",e),n(".ot-life-span-td .ot-life-span-td-content").innerText=i,n(".ot-cookies-type .ot-cookies-type-td-content").innerText=t.Type?A.firstPartyTxt:A.thirdPartyTxt},Cr.prototype.setDataLabelAttribute=function(e,t){var o="data-label";e(".ot-host-td").setAttribute(o,t.CategoriesText),e(".ot-cookies-td").setAttribute(o,t.CookiesText),e(".ot-cookies-type").setAttribute(o,t.CookiesUsedText),e(".ot-life-span-td").setAttribute(o,t.LifespanText)},Cr.prototype.clearCookieRowElement=function(e){L(e(".ot-cookies-td span")).text(""),L(e(".ot-life-span-td span")).text(""),L(e(".ot-cookies-type span")).text(""),L(e(".ot-cookies-td .ot-cookies-td-content")).html(""),L(e(".ot-host-td")).html("")},Cr.prototype.setCookieListHeaderOrder=function(e){var e=e.querySelector("section table thead tr"),t=e.querySelector("th.ot-host"),o=e.querySelector("th.ot-cookies"),n=e.querySelector("th.ot-life-span"),r=e.querySelector("th.ot-cookies-type"),i=e.querySelector("th.ot-host-description");e.innerHTML="",e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},Cr.prototype.setCookieListBodyOrder=function(e){var t=e.querySelector("td.ot-host-td"),o=e.querySelector("td.ot-cookies-td"),n=e.querySelector("td.ot-life-span-td"),r=e.querySelector("td.ot-cookies-type"),i=e.querySelector("td.ot-host-description-td");e.innerHTML="",e.appendChild(o.cloneNode(!0)),e.appendChild(t.cloneNode(!0)),e.appendChild(n.cloneNode(!0)),e.appendChild(r.cloneNode(!0)),e.appendChild(i.cloneNode(!0))},Cr.prototype.queryToHtmlElement=function(t){return function(e){return t.querySelector(e)}};var hr,gr=Cr;function Cr(){this.groupsClass=V,this.COOKIE_POLICY_SELECTOR="#ot-sdk-cookie-policy",this.OPTANON_POLICY_SELECTOR="#optanon-cookie-policy",this.ONETRUST_COOKIE_POLICY="#ot-sdk-cookie-policy, #optanon-cookie-policy"}mr.prototype.IsAlertBoxClosedAndValid=function(){return p.isAlertBoxClosedAndValid()},mr.prototype.LoadBanner=function(){c.loadBanner()},mr.prototype.Init=function(e){void 0===e&&(e=!1),De.insertViewPortTag(),f.ensureHtmlGroupDataInitialised(),Vn.updateGtmMacros(!1),dr.initialiseLandingPath(),e||nr.initialiseCssReferences()},mr.prototype.FetchAndDownloadPC=function(){w.fetchAndSetupPC()},mr.prototype.ToggleInfoDisplay=function(){c.triggerGoogleAnalyticsEvent(Eo,Ho),w.toggleInfoDisplay()},mr.prototype.Close=function(e){w.close(e)},mr.prototype.AllowAll=function(e){G.allowAllEvent(e)},mr.prototype.RejectAll=function(e){G.rejectAllEvent(e)},mr.prototype.setDataSubjectIdV2=function(e,t,o,n){void 0===t&&(t=!1),void 0===o&&(o=""),void 0===n&&(n=!1),e&&e.trim()&&(e=e.replace(/ /g,""),v.writeCookieParam(k.OPTANON_CONSENT,He,e,!0),I.dsParams.isAnonymous=t),null!=(t=null==(e=A)?void 0:e.ConsentIntegration)&&t.IdentifiedReceiptsAllowed&&null!=(e=o)&&e.trim()&&v.writeCookieParam(k.OPTANON_CONSENT,ze,o.trim()),I.isV2Stub||(t=v.readCookieParam(k.OPTANON_CONSENT,"iType"),no.createConsentTxn(!1,he[t],!1,!0,n))},mr.prototype.getDataSubjectId=function(){return v.readCookieParam(k.OPTANON_CONSENT,He,!0)},mr.prototype.synchroniseCookieWithPayload=function(n){var e=v.readCookieParam(k.OPTANON_CONSENT,"groups"),e=S.strToArr(e),r=[];e.forEach(function(e){var e=e.split(":"),t=C.getGroupById(e[0]),o=S.findIndex(n,function(e){return e.Id===t.PurposeId}),o=n[o];o?o.TransactionType===Ke?(r.push(e[0]+":1"),t.Parent?w.toggleSubCategory(null,t.CustomGroupId,!0,t.CustomGroupId):w.toggleV2Category(null,t,!0,t.CustomGroupId)):(r.push(e[0]+":0"),t.Parent?w.toggleSubCategory(null,t.CustomGroupId,!1,t.CustomGroupId):w.toggleV2Category(null,t,!1,t.CustomGroupId)):r.push(e[0]+":"+e[1])}),co.writeGrpParam(k.OPTANON_CONSENT,r)},mr.prototype.getGeolocationData=function(){return I.userLocation},mr.prototype.TriggerGoogleAnalyticsEvent=function(e,t,o,n){c.triggerGoogleAnalyticsEvent(e,t,o,n)},mr.prototype.ReconsentGroups=function(){var n=!1,e=v.readCookieParam(k.OPTANON_CONSENT,"groups"),r=S.strToArr(e),i=S.strToArr(e.replace(/:0|:1/g,"")),s=!1,t=v.readCookieParam(k.OPTANON_CONSENT,"hosts"),a=S.strToArr(t),l=S.strToArr(t.replace(/:0|:1/g,"")),c=["inactive","inactive landingpage","do not track"];e&&(A.Groups.forEach(function(e){q(e.SubGroups,[e]).forEach(function(e){var t=e.CustomGroupId,o=S.indexOf(i,t);-1!==o&&(e=C.getGrpStatus(e).toLowerCase(),-1Ee.ChunkSize?s=Ee.ChunkSize:(s=n.length,o=1===r),o?(t[Ee.Name]=n,n=""):(i=n.slice(0,s),n=n.slice(s,n.length),t[""+Ee.Name+r]=i),r++}return t},si.prototype.writeGppCookies=function(e,t){v.writeCookieParam(k.OPTANON_CONSENT,Ee.ChunkCountParam,e);for(var o=0,n=Object.entries(t);o\n '+A.BannerIABPartnersLink+"\n "),o},ci.prototype.setBannerData=function(e){var t;A.BannerTitle?(L(e("#onetrust-policy-title")).html(A.BannerTitle),L(e('[role="alertdialog"]')).attr(Lt,A.BannerTitle)):(S.removeChild(e("#onetrust-policy-title")),L(e("#onetrust-banner-sdk")).addClass("ot-wo-title"),L(e('[role="alertdialog"]')).attr(Lt,A.AriaPrivacy)),!A.IsIabEnabled&&I.showGeneralVendors&&A.BannerNonIABVendorListText&&((t=document.createElement("div")).setAttribute("id","ot-gv-link-ctnr"),L(t).html('"),L(e("#onetrust-policy")).el.appendChild(t)),L(e(ai.POLICY_TEXT_SELECTOR)).html(A.AlertNoticeText),A.BShowPolicyLink&&A.BShowImprintLink&&L(e(this.cookiePolicyLinkSelector)).length?(L(e(ai.POLICY_TEXT_SELECTOR+" a:first-child")).attr(Lt,A.BCookiePolicyLinkScreenReader),L(e(ai.POLICY_TEXT_SELECTOR+" a:last-child")).attr(Lt,A.BImprintLinkScreenReader)):A.BShowPolicyLink&&L(e(this.cookiePolicyLinkSelector)).length?L(e(this.cookiePolicyLinkSelector)).attr(Lt,A.BCookiePolicyLinkScreenReader):A.BShowImprintLink&&L(e(this.cookiePolicyLinkSelector)).length&&L(e(this.cookiePolicyLinkSelector)).attr(Lt,A.BImprintLinkScreenReader)},ci.prototype.isCmpEnabled=function(){return A.BannerPurposeTitle||A.BannerPurposeDescription||A.BannerFeatureTitle||A.BannerFeatureDescription||A.BannerInformationTitle||A.BannerInformationDescription},ci.prototype.ssrAndNonSSRCommonHtml=function(t){function e(e){return t.querySelector(e)}var o,n=this,r=this.isCmpEnabled(),i=(this.setOptOutSignalNotification(e),"[VENDOR_NUMBER]"),s=L(e(ai.POLICY_TEXT_SELECTOR)).html(),i=(T.isIab2orv2Template&&-1'+T.tcf2ActiveVendors.all.toString()+"",s=s.split(i).join(o),L(e(ai.POLICY_TEXT_SELECTOR)).html(s)),A.BRegionAriaLabel&&(L(e("#onetrust-banner-sdk")).attr("role","region"),L(e("#onetrust-banner-sdk")).attr(Lt,A.BRegionAriaLabel)),T.bannerName===gt&&m.moduleInitializer.IsSuppressPC&&(I.dataGroupState=A.Groups.filter(function(e){return e.Order})),T.bannerName===gt&&(this._fourBtns=A.BannerShowRejectAllButton&&A.showBannerAcceptButton&&A.showBannerCookieSettings&&A.BShowSaveBtn,this._saveBtn=e(".ot-bnr-save-handler"),this._settingsBtn=e("#onetrust-pc-btn-handler"),this._btnsCntr=e(".banner-actions-container"),A.BShowSaveBtn?L(this._saveBtn).html(A.BSaveBtnTxt):(S.removeChild(this._saveBtn),this._saveBtn=null),y.insertFooterLogo(t.querySelectorAll(".ot-bnr-footer-logo a")),this._descriptCntr=e(".ot-cat-lst"),this.setBannerBtn(),window.addEventListener("resize",function(){n.setBannerBtn()}),this._fourBtns&&L(e("#onetrust-banner-sdk")).addClass("has-reject-all-button"),this.insertGrps(e)),document.createElement("div"));L(i).append(t),T.ignoreInjectingHtmlCss||(L("#onetrust-consent-sdk").append(i.firstChild),r&&this.setBannerOptionContent()),this.setBnrBtnGrpAlignment()},ci.prototype.setAriaModalForBanner=function(e){A.ForceConsent&&e.querySelector('[role="alertdialog"]').setAttribute("aria-modal","true")},ci.prototype.setBnrBtnGrpAlignment=function(){var e=L(this._otGrpContainerSelector).el,t=L(this._btnGrpParentSelector).el,e=((e.length&&e[0].clientHeight)<(t.length&&t[0].clientHeight)?L("#onetrust-banner-sdk").removeClass("vertical-align-content"):L("#onetrust-banner-sdk").addClass("vertical-align-content"),document.querySelector("#onetrust-button-group-parent button:first-of-type")),t=document.querySelector("#onetrust-button-group-parent button:last-of-type");t&&e&&1"+A.AlwaysActiveText+"","ce").el)):L(e).attr("disabled",!0)),e.classList.add("category-switch-handler"),V.setInputID(e,i,r,a,s),t.querySelector("h4"));L(l).html(n),L(l).attr("id",s),L(d).append(t)})},ci.prototype.setBannerLogo=function(e,t){var o,n;m.fp.CookieV2BannerLogo&&A.BnrLogo&&(o=t(Sn),n="afterend",T.bannerName===ut&&(o=t("#onetrust-cookie-btn"),n="beforeend"),t=y.updateCorrectUrl(A.BnrLogo),L(e).addClass("ot-bnr-w-logo"),L(o).el.innerHTML="",o.insertAdjacentHTML(n,""))},ci.prototype.setOptOutSignalNotification=function(e){var t=T.gpcEnabled&&T.gpcForAGrpEnabled;A.BShowOptOutSignal&&(t||T.previewMode)&&y.createOptOutSignalElement(e,!1)};var ai,li=ci;function ci(){this.POLICY_TEXT_SELECTOR="#onetrust-policy-text",this.El="#onetrust-banner-sdk",this._saveBtn=null,this._settingsBtn=null,this._acceptBtn=null,this._rejectBtn=null,this._descriptCntr=null,this._btnsCntr=null,this._fourBtns=!1,this._bannerOptionsSelector="#banner-options",this._btnGrpParentSelector="#onetrust-button-group-parent",this._otGrpContainerSelector="#onetrust-group-container",this.cookiePolicyLinkSelector="#onetrust-policy-text a"}pi.prototype.setHeaderConfig=function(){u.setHeader(),u.setSearchInput(),u.setHeaderUIConsent();var e=u.getGroupsForFilter();er.setFilterListByGroup(e,!1)},pi.prototype.filterVendorByString=function(e){u.searchQuery=e,u.filterVendorByGroupOrQuery()},pi.prototype.filterVendorByGroup=function(e){u.filterGroups=e,u.filterVendorByGroupOrQuery()},pi.prototype.showVSList=function(){u.removeListeners(),u.showEmptyResults(!1,""),u.clearUIElementsInMain(),u.addVSList(I.getVendorsInDomain())},pi.prototype.showEmptyResults=function(e,t){e?this.setNoResultsContent(t):(L("#onetrust-pc-sdk "+b.P_Vendor_Content).removeClass("no-results"),(e=L("#onetrust-pc-sdk #no-results")).length&&e.remove())},pi.prototype.setNoResultsContent=function(e){var t,o,n,r,i=L("#onetrust-pc-sdk #no-results").el[0];if(!i)return t=document.createElement("div"),o=document.createElement("p"),n=document.createTextNode(" "+A.PCVendorNotFound+"."),r=document.createElement("span"),t.id="no-results",r.id="user-text",r.innerText=e,o.appendChild(r),o.appendChild(n),t.appendChild(o),L("#onetrust-pc-sdk "+b.P_Vendor_Content).addClass("no-results"),L("#vendor-search-handler").el[0].setAttribute("aria-describedby",t.id),L("#onetrust-pc-sdk "+b.P_Vendor_Content).append(t);i.querySelector("span").innerText=e},pi.prototype.getGroupsFilter=function(){for(var e=[],t=0,o=L("#onetrust-pc-sdk .category-filter-handler").el;t input:first-child,"+b.P_Category_Item+" > button:first-child",w.onCategoryItemToggle.bind(this)),(A.showCookieList||I.showGeneralVendors)&&(L("#onetrust-pc-sdk .category-host-list-handler").on("click",function(e){I.showGeneralVendors&&A.showCookieList?I.cookieListType=ye.HostAndGenVen:I.showGeneralVendors?I.cookieListType=ye.GenVen:I.cookieListType=ye.Host,w.pcLinkSource=e.target,w.loadCookieList(e.target)}),y.isOptOutEnabled()?(L("#onetrust-pc-sdk #select-all-hosts-groups-handler").on("click",w.selectAllHostsGroupsHandler),L("#onetrust-pc-sdk "+b.P_Host_Cntr).on("click",w.selectHostsGroupHandler)):L("#onetrust-pc-sdk "+b.P_Host_Cntr).on("click",w.toggleAccordionStatus)),w.addListenerWhenIabEnabled(),w.addEventListenerWhenIsHostOrVendorsAreEnabled(),w.adddListenerWhenNoBanner(),L("#onetrust-pc-sdk .ot-gv-list-handler").on("click",function(t){return R(e,void 0,void 0,function(){return M(this,function(e){return I.cookieListType=ye.GenVen,w.loadCookieList(t.target),[2]})})}),w.addListenerWhenVendorServices()},B.prototype.addEventListenerWhenIsHostOrVendorsAreEnabled=function(){var e;(A.IsIabEnabled||A.showCookieList||I.showGeneralVendors||I.showVendorService)&&(L(document).on("click",".back-btn-handler",w.backBtnHandler),w.addListenerSearchKeyEvent(),L("#onetrust-pc-sdk #filter-btn-handler").on("click",w.toggleVendorFiltersHandler),L("#onetrust-pc-sdk #filter-apply-handler").on("click",w.applyFilterHandler),L("#onetrust-pc-sdk "+b.P_Fltr_Modal).on("click",w.tglFltrOptionHandler),!m.isV2Template&&T.pcName!==kt||L("#onetrust-pc-sdk #filter-cancel-handler").on("click",w.cancelFilterHandler),!m.isV2Template&&T.pcName===kt||L("#onetrust-pc-sdk #clear-filters-handler").on("click",w.clearFiltersHandler),m.isV2Template?L("#onetrust-pc-sdk #filter-cancel-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),L("#onetrust-pc-sdk #clear-filters-handler").el[0].focus())}):L("#onetrust-pc-sdk #filter-apply-handler").on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||e.shiftKey||(e.preventDefault(),L("#onetrust-pc-sdk .category-filter-handler").el[0].focus())}),e=L("#onetrust-pc-sdk .category-filter-handler").el,L(e[0]).on("keydown",function(e){9!==e.keyCode&&"tab"!==e.code||!e.shiftKey||(e.preventDefault(),L("#onetrust-pc-sdk #filter-apply-handler").el[0].focus())}))},B.prototype.addListenerSearchKeyEvent=function(){L(w.VENDOR_SEARCH_SELECTOR).on("keyup",function(e){e=e.target.value.trim();w.currentSearchInput!==e&&(I.showVendorService?u.filterVendorByString(e):w.isCookieList?(g.searchHostList(e),I.showTrackingTech&&w.addEventAdditionalTechnologies()):(g.loadVendorList(e,[]),A.UseGoogleVendors&&g.searchVendors(g.googleSearchSelectors,I.addtlVendorsList,ke.GoogleVendor,e),I.showGeneralVendors&&A.GeneralVendors.length&&g.searchVendors(g.genVendorSearchSelectors,A.GeneralVendors,ke.GeneralVendor,e)),g.playSearchStatus(w.isCookieList),w.currentSearchInput=e)})},B.prototype.addListenerWhenIabEnabled=function(){A.IsIabEnabled&&(L("#onetrust-pc-sdk .category-vendors-list-handler").on("click",function(e){w.pcLinkSource=e.target,w.showVendorsList(e.target)}),L("#onetrust-pc-sdk .ot-pgph-link").on("click",function(e){w.pcLinkSource=e.target,w.showIllustrations(e.target)}),L("#onetrust-pc-sdk "+b.P_Vendor_Container).on("click",w.selectVendorsGroupHandler),A.UseGoogleVendors||w.bindSelAllHandlers(),w.initialiseLegIntBtnHandlers())},B.prototype.adddListenerWhenNoBanner=function(){A.NoBanner&&(A.OnClickCloseBanner&&document.body.addEventListener("click",G.bodyClickEvent),A.ScrollCloseBanner)&&window.addEventListener("scroll",G.scrollCloseBanner)},B.prototype.addListenerWhenVendorServices=function(){I.showVendorService&&(w.bindSelAllHandlers(),L("#onetrust-pc-sdk .onetrust-vendors-list-handler").on("click",function(){return w.showVendorsList(null,!0)}))},B.prototype.bindSelAllHandlers=function(){L("#onetrust-pc-sdk #select-all-vendor-leg-handler").on("click",w.selectAllVendorsLegIntHandler),L("#onetrust-pc-sdk #select-all-vendor-groups-handler").on("click",w.SelectAllVendorConsentHandler)},B.prototype.hideCookieSettingsHandler=function(e){return void 0===e&&(e=window.event),c.triggerGoogleAnalyticsEvent(Eo,xo),Bn.removeAddedOTCssStyles(wn.PC),zn.hideConsentNoticeV2(),L(document).off("keydown",w.closePCWhenEscPressed),w.getResizeElement().removeEventListener("resize",w.setCenterLayoutFooterHeight),window.removeEventListener("resize",w.setCenterLayoutFooterHeight),!m.isV2Template&&T.pcName!==kt||w.closeFilter(!1),T.pcName===ft&&L("#onetrust-pc-sdk "+b.P_Content).removeClass("ot-hide"),G.hideVendorsList(),f.csBtnGroup&&(L(w.fltgBtnSltr).removeClass("ot-pc-open"),w.floatingCookieSettingCloseBtnClicked(null)),w.confirmPC(e),G.resetConsent(),!1},B.prototype.selectAllHostsGroupsHandler=function(e){var t=e.target.checked,e=L("#onetrust-pc-sdk #"+b.P_Sel_All_Host_El).el[0],o=e.classList.contains("line-through"),n=L("#onetrust-pc-sdk .host-checkbox-handler").el;S.setCheckedAttribute("#select-all-hosts-groups-handler",null,t);for(var r=0;r button",w.toggleAccordionStatus.bind(this)))),I.vendorDomInit||(I.vendorDomInit=!0,w.initialiseLegIntBtnHandlers(),A.UseGoogleVendors&&(w.initialiseAddtlVenHandler(),w.bindSelAllHandlers())),I.showGeneralVendors&&!I.genVendorDomInit&&(I.genVendorDomInit=!0,g.initGenVendors(),w.initializeGenVenHandlers(),A.UseGoogleVendors||(w.bindSelAllHandlers(),L("#onetrust-pc-sdk").on("click",".ot-acc-cntr > button",w.toggleAccordionStatus.bind(this))))},B.prototype.addEventAdditionalTechnologies=function(){var e=document.querySelectorAll("#onetrust-pc-sdk .ot-acc-cntr.ot-add-tech > button");0=e?d(L("#onetrust-pc-sdk").el[0],"height: "+e+"px;",!0):d(L("#onetrust-pc-sdk").el[0],"height: auto;",!0)})},B.prototype.changeSelectedTab=function(e){var t,o=L("#onetrust-pc-sdk .category-menu-switch-handler"),n=0,r=L(o.el[0]);o.each(function(e,t){L(e).el.classList.contains(b.P_Active_Menu)&&(n=t,L(e).el.classList.remove(b.P_Active_Menu),r=L(e))}),e.keyCode===ae.RightArrow?t=n+1>=o.el.length?L(o.el[0]):L(o.el[n+1]):e.keyCode===ae.LeftArrow&&(t=L(n-1<0?o.el[o.el.length-1]:o.el[n-1])),this.tabMenuToggle(t,r)},B.prototype.changeSelectedTabV2=function(e){var t,o=e.target.parentElement,e=(e.keyCode===ae.RightArrow?t=o.nextElementSibling||o.parentElement.firstChild:e.keyCode===ae.LeftArrow&&(t=o.previousElementSibling||o.parentElement.lastChild),t.querySelector(".category-menu-switch-handler"));e.focus(),this.groupTabClick(e)},B.prototype.categoryMenuSwitchHandler=function(){for(var t=this,e=L("#onetrust-pc-sdk .category-menu-switch-handler").el,o=0;o.8*window.innerHeight||0===this.pcBodyHeight?d(e,"height: "+.8*window.innerHeight+"px;",!0):d(e,"height: "+i+"px;",!0):d(e,"height: 100%;",!0)):d(e.querySelector(""+b.P_Content),"height: "+(e.clientHeight-t.clientHeight-o.clientHeight-3)+"px;",!0)},B.prototype.allowAllVisible=function(e){e!==this.allowVisible&&A.PCLayout.Tab&&A.PCTemplateUpgrade&&(this.pc&&this.setMainContentHeight(),this.allowVisible=e)},B.prototype.restorePc=function(){I.pcLayer===se.CookieList?(w.hideCategoryContainer(!0),g.loadHostList("",I.filterByCategories),I.showTrackingTech&&w.addEventAdditionalTechnologies(),L("#onetrust-pc-sdk #filter-count").text(I.filterByCategories.length.toString())):I.pcLayer===se.VendorList&&(w.hideCategoryContainer(!1),w.setVendorContent()),I.isPCVisible=!1,w.toggleInfoDisplay(),I.pcLayer!==se.VendorList&&I.pcLayer!==se.CookieList||(hn.updateFilterSelection(I.pcLayer===se.CookieList),w.setBackButtonFocus(),cn.setPCFocus(cn.getPCElements()))},B.prototype.toggleInfoDisplay=function(){return R(this,void 0,void 0,function(){var t;return M(this,function(e){switch(e.label){case 0:return f.csBtnGroup&&(L(w.fltgBtnSltr).addClass("ot-pc-open"),w.otGuardLogoPromise.then(function(){A.cookiePersistentLogo.includes("ot_guard_logo.svg")&&L(w.fltgBtnFSltr).attr(_t,"true")}),L(w.fltgBtnBSltr).attr(_t,"")),[4,w.fetchAndSetupPC()];case 1:return e.sent(),T.pcName===ft&&this.setPcListContainerHeight(),void 0!==I.pcLayer&&I.pcLayer!==se.Banner||(I.pcLayer=se.PrefCenterHome),t=L("#onetrust-pc-sdk").el[0],L(".onetrust-pc-dark-filter").el[0].removeAttribute("style"),t.removeAttribute("style"),I.isPCVisible||(zn.showConsentNotice(),I.isPCVisible=!0,A.PCTemplateUpgrade&&(this.pc=t,t=t.querySelector("#accept-recommended-btn-handler"),this.allowVisible=t&&0new Date(o))){var g=this.getConsentValue(c.status),i=!0,C=c.lastInteractionDate;if(!t&&this.isCookieGroup(p)){for(var y=p+":"+g,f=-1,h=0;h