(()=>{"use strict";const t=t=>new Promise((e=>{try{const e=__gpp("getGPPData");-1!==e.applicableSections&&null!==e&&(t.__gpp=e,window.pmc_onetrust.initialized.__gpp=!0)}catch{}e(t)})),e=t=>new Promise((e=>{"function"==typeof __uspapi&&"object"==typeof pmc_fastly_geo_data&&"US"===pmc_fastly_geo_data?.country&&__uspapi("getUSPData",1,((a,o)=>{var n;"1---"===a?.uspString&&e(t);let _=Array(4).fill(void 0);"string"==typeof a?.uspString&&4===a.uspString.length&&(_=a.uspString.split("")),t.__uspapi={...a,version:null!==(n=_[0])&&void 0!==n?n:a?.version,doNotSellDataOffered:"Y"===_[1],consentsToSellData:"N"===_[2],IABLSPA:"Y"===_[3]},window.pmc_onetrust.initialized.__uspapi=!0,e(t)}))})),a=t=>new Promise((e=>{try{!1===window.pmc_onetrust.initialized.__tcfapi&&__tcfapi("addEventListener",2,((a,o)=>{!o||"useractioncomplete"!==a.eventStatus&&"tcloaded"!==a.eventStatus||(a.purpose.consents[1]&&a.purpose.consents[8]&&a.purpose.consents[10]&&window.triggerGA?window.triggerGA(!0):window.triggerGA(!1),t.__tcfapi=a,window.pmc_onetrust.initialized.__tcfapi=!0,e(t))}))}catch{}})),o=t=>new Promise((e=>{Object.keys(t).length&&pmc.hooks.do_action("pmc_onetrust_consent_data_ready",{groupsConsentedTo:window.OptanonActiveGroups.split(",").filter((t=>t)),consentData:t}),e()}));window.pmc_onetrust={init:()=>{!function(){let n={};"object"==typeof pmc_fastly_geo_data&&"EU"!==pmc_fastly_geo_data?.continent&&"CA"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"CO"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"CT"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"MT"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"OR"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"TX"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"UT"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"VA"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&document.querySelectorAll('script[class*="optanon-category"][type="text/plain"]').forEach((t=>function(t){const e=function(t){if(!t)return!1;const e=[...t.matchAll(/optanon-category-([a-zA-Z0-9]+)/g)];return!(!e||0===e.length)&&e.map((t=>t[1]))}(t.className);if(!e||0===e.length)return!1;let a=!0;for(const t of e)if(o=t,!("EU"!==pmc_fastly_geo_data?.continent||"string"==typeof OnetrustActiveGroups&&OnetrustActiveGroups.includes(o))){a=!1;break}var o;a&&function(t){const e=t.cloneNode(!0);e.setAttribute("type","text/javascript"),t.replaceWith(e)}(t)}(t))),t(n).then(e(n)).then(a(n)).then(o(n))}()},initialized:{__gpp:!1,__uspapi:!1,__tcfapi:!1}}})();