(()=>{"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,((o,a)=>{var n;"1---"===o?.uspString&&e(t);let i=Array(4).fill(void 0);"string"==typeof o?.uspString&&4===o.uspString.length&&(i=o.uspString.split("")),t.__uspapi={...o,version:null!==(n=i[0])&&void 0!==n?n:o?.version,doNotSellDataOffered:"Y"===i[1],consentsToSellData:"N"===i[2],IABLSPA:"Y"===i[3]},window.pmc_onetrust.initialized.__uspapi=!0,e(t)}))})),o=t=>new Promise((e=>{try{!1===window.pmc_onetrust.initialized.__tcfapi&&__tcfapi("addEventListener",2,((o,a)=>{!a||"useractioncomplete"!==o.eventStatus&&"tcloaded"!==o.eventStatus||("undefined"!=typeof Rollbar&&void 0!==window.pmcGARollbar&&Rollbar.debug("tcfCallbackBefore",window.pmcGARollbar.getParams()),o.purpose.consents[1]&&o.purpose.consents[8]&&o.purpose.consents[10]&&window.triggerGA?window.triggerGA(!0):window.triggerGA(!1),"undefined"!=typeof Rollbar&&void 0!==window.pmcGARollbar&&Rollbar.debug("tcfCallbackAfter",window.pmcGARollbar.getParams()),t.__tcfapi=o,window.pmc_onetrust.initialized.__tcfapi=!0,e(t))}))}catch{}})),a=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 o=!0;for(const t of e)if(a=t,!("EU"!==pmc_fastly_geo_data?.continent||"string"==typeof OnetrustActiveGroups&&OnetrustActiveGroups.includes(a))){o=!1;break}var a;o&&function(t){const e=t.cloneNode(!0);e.setAttribute("type","text/javascript"),t.replaceWith(e)}(t)}(t))),t(n).then(e(n)).then(o(n)).then(a(n))}()},initialized:{__gpp:!1,__uspapi:!1,__tcfapi:!1}}})();