(()=>{"use strict";var o={665:function(o,t,n){var e=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0}),e(n(759)).default.init()},759:function(o,t,n){var e=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentCriteria=void 0;var i,u=e(n(60));!function(o){o.STRICTLY_NECESSARY="C0001",o.PERFORMANCE="C0002",o.FUNCTIONAL="C0003",o.TARGETING="C0004",o.SOCIAL="C0005"}(i||(t.ConsentCriteria=i={}));var a=[i.PERFORMANCE],d=function(){function o(){this.value=void 0}return o.prototype.init=function(){var o,t=this,n=(0,u.default)();(null===(o=null==n?void 0:n.hooks)||void 0===o?void 0:o.add_action)?n.hooks.add_action("pmc_onetrust_consent_data_ready",(function(o){var n,e,i,d,r=o.groupsConsentedTo;if(t.value=void 0,(null==r?void 0:r.length)&&a.every((function(o){return r.includes(o)}))){var l=null!==(i=null===(e=window.pmcFirstPartyCookie)||void 0===e?void 0:e.endpoint)&&void 0!==i?i:null;l?fetch(l,{credentials:"include"}).then((function(o){return o.json()})).then((function(o){(null==o?void 0:o.value)&&(t.value=o.value)})).catch((function(){})).finally((function(){var o;null===(o=(0,u.default)().hooks)||void 0===o||o.do_action("pmc_fpc_data_ready",t)})):null===(d=(0,u.default)().hooks)||void 0===d||d.do_action("pmc_fpc_data_ready",t)}else null===(n=(0,u.default)().hooks)||void 0===n||n.do_action("pmc_fpc_data_ready",t)})):console.log("PMC First Party Cookie: pmc.hooks.add_action is not defined")},o}();window.pmc_fpc=new d,t.default=window.pmc_fpc},60:(o,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=window;n.pmc=n.pmc||{},t.default=function(){return n.pmc}}},t={};!function n(e){var i=t[e];if(void 0!==i)return i.exports;var u=t[e]={exports:{}};return o[e].call(u.exports,u,u.exports,n),u.exports}(665)})();; (()=>{"use strict";var e={665:function(e,t,a){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(a(831)),i=r(a(865)),o=[{tag:"a",handler:n.default},{tag:"button",handler:i.default}];document.addEventListener("DOMContentLoaded",(function(){o.forEach((function(e){Array.from(document.getElementsByTagName(e.tag)).forEach((function(t){t.addEventListener("click",e.handler)}))}))}))},404:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.push1PDEvent=t.blogherads=void 0;var a=window;a.blogherads=a.blogherads||{},a.blogherads.adq=a.blogherads.adq||[],t.blogherads=a.blogherads,t.push1PDEvent=function(e,a){t.blogherads.adq.push((function(){t.blogherads.push1PDEvent(e,a)}))}},865:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formButtonClickHandler=void 0;var r=a(404);t.formButtonClickHandler=function(e){var t=e.currentTarget;if(t instanceof Element&&/(sign up|subscribe|newsletter)/.test(t.innerHTML.toLowerCase())){for(var a={source_id:t.className,source_value:t.innerHTML.trim(),email:""},n=t;n&&"FORM"!==n.tagName;)n=n.parentElement;n&&Array.from(n.children).forEach((function(e){var t,r;if(e instanceof HTMLInputElement||e instanceof HTMLSelectElement){var n=null===(t=e.getAttribute("name"))||void 0===t?void 0:t.toLowerCase(),i=null===(r=e.getAttribute("id"))||void 0===r?void 0:r.toLowerCase(),o=e.value;"source"===n&&(a.source_id=e.id,a.source_value=o),(n&&n.indexOf("email")>=0||i&&i.indexOf("email")>=0)&&(a.email=o)}})),(0,r.push1PDEvent)("newsletter_signup_click",a)}},t.default=t.formButtonClickHandler},831:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.linkClickHandler=void 0;var r=a(404);t.linkClickHandler=function(e){var t,a=e.currentTarget;if(a instanceof Element){var n=a.getAttribute("href"),i=a.getAttribute("data-xid");if(!i&&n){var o=/xid:([^&/])*/gm.exec(n);o&&(i=o[0])}i=(null==i?void 0:i.replace("xid:",""))||"";var d=a.hasAttribute("custom-ga-data")?JSON.parse(a.getAttribute("custom-ga-data")):{},l=!(!d["1pd"]&&!a.getAttribute("data-1pd")),u=d.product||{},c=u.category||a.getAttribute("data-category-name"),s=u.currency||a.getAttribute("data-currency")||"US",v=u.name||a.getAttribute("data-product-name"),f=u.price||a.getAttribute("data-price"),g=d.type||a.getAttribute("data-type"),p=d.partner||a.getAttribute("data-partner");if(!(null==p?void 0:p.length)&&(null==n?void 0:n.length)){var m=null===(t=a.hostname)||void 0===t?void 0:t.split(".");m&&(m.pop(),m.length>1&&m.shift(),p=m.join(),["amazon","amzn"].includes(p)&&(p="Amazon"))}(l||(null==i?void 0:i.length)>0||(null==v?void 0:v.length)>0||(null==g?void 0:g.length)>0)&&(0,r.push1PDEvent)("ecommerce_click",{href:n,xid:i,data_partner:p,data_price:f,data_product_name:v,data_product_category:c,data_product_currency:s,data_type:g})}},t.default=t.linkClickHandler}},t={};!function a(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,a),i.exports}(665)})();; (()=>{"use strict";const t=t=>new Promise((a=>{try{const a=__gpp("getGPPData");-1!==a.applicableSections&&null!==a&&(t.__gpp=a,window.pmc_onetrust.initialized.__gpp=!0)}catch{}a(t)})),a=t=>new Promise((a=>{"function"==typeof __uspapi&&"object"==typeof pmc_fastly_geo_data&&"US"===pmc_fastly_geo_data?.country&&__uspapi("getUSPData",1,((e,o)=>{var _;"1---"===e?.uspString&&a(t);let n=Array(4).fill(void 0);"string"==typeof e?.uspString&&4===e.uspString.length&&(n=e.uspString.split("")),t.__uspapi={...e,version:null!==(_=n[0])&&void 0!==_?_:e?.version,doNotSellDataOffered:"Y"===n[1],consentsToSellData:"N"===n[2],IABLSPA:"Y"===n[3]},window.pmc_onetrust.initialized.__uspapi=!0,a(t)}))})),e=t=>new Promise((a=>{try{!1===window.pmc_onetrust.initialized.__tcfapi&&__tcfapi("addEventListener",2,((e,o)=>{!o||"useractioncomplete"!==e.eventStatus&&"tcloaded"!==e.eventStatus||(e.purpose.consents[1]&&e.purpose.consents[8]&&e.purpose.consents[10]&&window.triggerGA?window.triggerGA(!0):window.triggerGA(!1),t.__tcfapi=e,window.pmc_onetrust.initialized.__tcfapi=!0,a(t))}))}catch{}})),o=t=>new Promise((a=>{Object.keys(t).length&&pmc.hooks.do_action("pmc_onetrust_consent_data_ready",{groupsConsentedTo:window.OptanonActiveGroups.split(",").filter((t=>t)),consentData:t}),a()}));window.pmc_onetrust={init:()=>{!function(){let _={};"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&&"DE"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"IA"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"MT"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"NE"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"NH"!==pmc_fastly_geo_data?.region&&"US"!==pmc_fastly_geo_data?.country&&"NJ"!==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 a=function(t){if(!t)return!1;const a=[...t.matchAll(/optanon-category-([a-zA-Z0-9]+)/g)];return!(!a||0===a.length)&&a.map((t=>t[1]))}(t.className);if(!a||0===a.length)return!1;let e=!0;for(const t of a)if(o=t,!("EU"!==pmc_fastly_geo_data?.continent||"string"==typeof OnetrustActiveGroups&&OnetrustActiveGroups.includes(o))){e=!1;break}var o;e&&function(t){const a=t.cloneNode(!0);a.setAttribute("type","text/javascript"),t.replaceWith(a)}(t)}(t))),t(_).then(a(_)).then(e(_)).then(o(_))}()},initialized:{__gpp:!1,__uspapi:!1,__tcfapi:!1}}})();; (()=>{var e={315:()=>{window.pmc_onetrust_helpers={getActiveConsentGroups:()=>(window.OptanonActiveGroups||"").split(",").filter(Boolean)}}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var p=r[o]={exports:{}};return e[o](p,p.exports,t),p.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{"use strict";t(315)})()})();;