js.hs-banner.com Open in urlscan Pro
2606:4700::6812:18c4  Public Scan

URL: http://js.hs-banner.com/20528341.js
Submission: On July 26 via manual from BR — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

var _hsp = window['_hsp'] = window['_hsp'] || [];
_hsp.push(['setCookiePolicy', [{"portalId":20528341,"id":4879862,"domain":null,"path":"/hubspot-analytics-default-policy","label":null,"enabled":true,"privacyPolicy":1,"privacyHideDecline":false,"privacyDefault":true,"privacyPolicyWording":"Este website armazena cookies no seu computador. Esses cookies são usados ​​para melhorar sua experiência no site e fornecer serviços personalizados para você, tanto no website, quanto em outras mídias. Para saber mais sobre os cookies que usamos, consulte nossa Política de Privacidade.","privacyAcceptWording":"Aceitar","privacyDismissWording":"Recusar","privacyDisclaimerWording":"Não rastrearemos suas informações quando você visitar nosso site, porém, para cumprir suas preferências, precisaremos usar apenas um pequeno cookie, para que você não seja solicitado a tomar essa decisão novamente.","privacyBannerAccentColor":"#fe0060","privacyBannerType":"BOTTOM","cookiesByCategory":null,"targetedCountries":[],"showCloseButton":false}]]);
_hsp.push(['addCookieDomain', '.hsforms.com']);
_hsp.push(['addCookieDomain', '.hs-sites.com']);
_hsp.push(['addCookieDomain', '.hubspot.com']);
_hsp.push(['addCookieDomain', '.usezapay.com.br']);
_hsp.push(['addCookieDomain', '.hubspotpagebuilder.com']);
_hsp.push(['addCookieDomain', '.ecommerce-landings-b2c-develop.vercel.app']);
_hsp.push(['setPortalId', 20528341]);
_hsp.push(['setBusinessUnitId', 0]);
_hsp.push(['setApiBaseUrl', 'https://js.hs-banner.com/cookie-banner-public/v1']);
/**
 * HubSpot Cookie Banner Code Copyright 2023 HubSpot, Inc.  http://www.hubspot.com
 */
!function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};t[n].call(o.exports,o,o.exports,i);o.l=!0;return o.exports}i.m=t;i.c=e;i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})};i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});Object.defineProperty(t,"__esModule",{value:!0})};i.t=function(t,e){1&e&&(t=i(t));if(8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);i.r(n);Object.defineProperty(n,"default",{enumerable:!0,value:t});if(2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n};i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};i.d(e,"a",e);return e};i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};i.p="//static.hsappstatic.net/cookie-banner/static-1.15183/";i(i.s=3)}([function(t,e){t.exports="div#hs-eu-cookie-confirmation{background:#fff;height:auto;left:0;position:absolute;top:0;width:100%;z-index:100000000!important;border-bottom:1px solid #cbd6e2;border-top:1px solid #cbd6e2;box-shadow:0 1px 5px #eaf0f6;color:#33475b;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important;font-size:12px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:18px}div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom{position:fixed;border-bottom:0;bottom:0;top:auto;box-shadow:0 -1px 3px #eaf0f6}div#hs-eu-cookie-confirmation *{box-sizing:border-box!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{background:#fff;margin:0 auto;max-width:1000px;padding:20px}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a{text-decoration:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a:hover{background:none!important;border:none!important;box-shadow:none!important;color:#0091ae;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a:hover{text-decoration:underline!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-policy-wording{margin-bottom:12px}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-cookie-confirmation-button-group{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area{margin-right:72px;justify-content:flex-end;align-items:center}@media (max-width:800px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area{justify-content:center;margin-right:0}}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-eu-cookie-confirmation-button-group{justify-content:center}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-cookie-settings-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button{margin:6px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button{border-radius:3px;display:inline-block;padding:10px 16px!important;text-decoration:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{background-color:#425b76!important;border:1px solid #425b76!important;color:#fff;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button{border:1px solid #425b76!important;color:#425b76;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-cookie-settings-button{color:#425b76!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{margin:0 72px 12px;color:#33475b;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important}@media (max-width:800px){div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{margin:0 20px 12px}}#hs-eu-close-button-container{display:flex;justify-content:end;margin-top:8px;margin-right:8px}#hs-eu-close-button-container a#hs-eu-close-button[role=button]{float:right;width:1.5rem;font-size:40px!important;text-align:center!important;cursor:pointer;color:#8b8589!important}#hs-eu-close-button-container a#hs-eu-close-button[role=button]:hover{background:none!important;border:none!important;box-shadow:none!important;color:#0091ae;font-family:inherit;font-size:inherit;font-weight:400!important;line-height:inherit;text-align:left;text-shadow:none!important;text-decoration:none!important}@media (max-width:800px){#hs-eu-close-button-container a#hs-eu-close-button[role=button]{margin-right:10px;font-size:30px;line-height:50px}}@media (min-width:800px){#hs-eu-close-button-container a#hs-eu-close-button[role=button]{margin-bottom:10px}}@media print{div#hs-eu-cookie-confirmation{display:none!important}}@media screen and (max-width:480px){div#hs-eu-cookie-confirmation{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{padding:8px 14px 14px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{font-size:12px!important;margin-bottom:12px!important;line-height:15px!important}}@media only screen and (min-width:960px){div#hs-eu-cookie-confirmation{position:fixed}}"},function(t,e){t.exports="div#hs-eu-cookie-confirmation{position:absolute;left:0;top:0;width:100%;height:auto;background-color:#2d2d2d;border-bottom:1px solid gray;border-bottom:1px solid rgba(0,0,0,.5);-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2);font-size:14px!important;line-height:18px!important;font-family:helvetica neue,helvetica,arial,sans!important;color:#fff!important;text-shadow:0 1px 0 rgba(0,0,0,.7)!important;text-align:left!important;z-index:100000000!important}div#hs-eu-cookie-confirmation.can-use-gradients{background-color:transparent;background-image:-owg-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:-moz-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:-o-linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:linear-gradient(top,rgba(0,0,0,.9),rgba(0,0,0,.75));background-image:linear-gradient(180deg,rgba(0,0,0,.9),rgba(0,0,0,.75))}div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom{position:fixed;border-bottom:0;bottom:0;top:auto;box-shadow:0 -1px 3px #eaf0f6}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{padding:12px 18px 18px}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a{font-family:helvetica neue,helvetica,arial,sans!important;color:#add8e6!important;font-size:14px!important;text-decoration:none!important;background:none!important;border:none!important;font-weight:400!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a:hover{text-decoration:underline!important;background:none!important;border:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner div#hs-en-cookie-confirmation-buttons-area{text-align:center!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner input#hs-eu-active-consent-checkbox{display:inline-block!important;cursor:pointer!important;font-size:xx-large!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{font-family:helvetica neue,helvetica,arial,sans!important;font-size:14px!important;font-weight:400!important;margin-right:16px!important;padding:4px 12px!important;background-color:green!important;display:inline-block!important;border:1px solid gray!important;border:1px solid rgba(0,0,0,.5)!important;background-image:-owg-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:-webkit-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:-moz-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:-o-linear-gradient(top,transparent,rgba(0,0,0,.2));background-image:linear-gradient(top,transparent,rgba(0,0,0,.2));-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.5);-moz-box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.5);box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 hsla(0,0%,100%,.5);line-height:14px!important;color:#fff!important;text-shadow:0 1px 0 rgba(0,0,0,.5)!important;text-decoration:none!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button:hover{background-image:-owg-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:-webkit-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:-moz-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:-o-linear-gradient(top,transparent,rgba(0,0,0,.3));background-image:linear-gradient(top,transparent,rgba(0,0,0,.3))}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button:active{background-image:-owg-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:-moz-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:-o-linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));background-image:linear-gradient(top,rgba(0,0,0,.3),rgba(0,0,0,.3));-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.2);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.2);box-shadow:inset 0 1px 2px rgba(0,0,0,.2)}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{line-height:18px!important;font-family:helvetica neue,helvetica,arial,sans!important;font-weight:400!important;font-size:14px!important;margin:0 0 16px!important;padding:0!important;color:#fff!important;text-align:left!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p#hs-eu-cookie-disclaimer{margin:16px 0!important}@media print{div#hs-eu-cookie-confirmation{display:none!important}}@media screen and (max-width:480px){div#hs-eu-cookie-confirmation{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner{padding:8px 14px 14px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a,div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button{font-size:12px!important}div#hs-eu-cookie-confirmation div#hs-eu-cookie-confirmation-inner p{font-size:12px!important;margin-bottom:12px!important;line-height:15px!important}}"},function(t,e){t.exports='body .hs-hidden{display:none!important}body #hs-modal{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);z-index:100000001!important}@media print{body #hs-modal{display:none!important}}body #hs-modal .hs-sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}body #hs-modal #hs-modal-content{display:table;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;max-width:750px;border-radius:5px;box-sizing:border-box;font-size:12px!important;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;line-height:18px}@media (min-width:800px){body #hs-modal #hs-modal-content{width:750px;padding:1rem 1.5rem}}@media (max-width:800px){body #hs-modal #hs-modal-content{min-width:350px;max-width:500px;height:100%;max-height:600px}}body #hs-modal #hs-modal-content a{text-decoration:none!important}body #hs-modal #hs-modal-content a,body #hs-modal #hs-modal-content a:hover{background:none!important;border:none!important;box-shadow:none!important;color:#0091ae!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important}body #hs-modal #hs-modal-content a:hover{text-decoration:underline!important}body #hs-modal #hs-modal-content #hs-modal-header{display:table-row;height:10%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-header{height:5%}}body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-header-container{height:100%;width:100%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-header-container{border-bottom:1px solid #c0bebe}}body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-close-button{float:right;width:1.5rem;font-size:40px;text-align:center;cursor:pointer;color:#8b8589}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-close-button{margin-right:10px;font-size:30px;line-height:50px}}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-header #hs-modal-close-button{margin-bottom:20px}}body #hs-modal #hs-modal-content #hs-modal-body{display:table-row;height:70%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body{height:85%}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container{height:100%;width:100%;position:relative}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container{overflow:auto}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-row{width:100%}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-row{height:100%;overflow:hidden}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label{padding:16px;background:#f1f1f1;color:#353535;cursor:pointer;transition:all .3s;border:1px solid #c0bebe;height:50px;box-sizing:border-box}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label span{color:#353535!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;text-align:left;text-shadow:none!important;font-size:14px!important;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;font-weight:400!important}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label{float:left;width:28%}}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label{width:100%}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label:hover{background:#cbcbcb;position:relative;z-index:5}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-label.hs-active{background:#fff;border-right:none;border-left:5px solid #33475b}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-fill{box-sizing:border-box;width:28%;height:50px;border-right:1px solid #c0bebe}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-fill{display:none}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description{box-sizing:border-box;padding:16px;height:100%;overflow:auto}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description p{margin-bottom:12px!important;color:#33475b!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description h3{color:#33475b!important;font-family:inherit!important;font-size:22px!important;font-weight:500!important;line-height:normal!important;margin-top:0;letter-spacing:normal!important;font-style:normal!important;text-decoration:none!important}@media (min-width:800px){body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description{position:absolute;width:72%;left:28%;top:0;border:1px solid #c0bebe;border-left:0}}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-description .hs-category-description-text{margin-top:20px}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-always-active-label{float:right;margin-right:10px;color:#425b76!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important;line-height:27px!important}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle{width:60px;height:34px;float:right;position:relative}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle label{position:relative;text-align:center}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input{opacity:0;width:0;height:0}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle .slider{position:absolute;cursor:pointer;border-radius:34px;top:-5px;left:0;right:0;bottom:5px;background-color:#ccc;-webkit-transition:.4s;transition:.4s}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle .slider:before{position:absolute;content:"";border-radius:50%;height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:checked+.slider{background-color:#425b76}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:focus+.slider{box-shadow:0 0 8px #2196f3}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:checked+.slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-category-toggle input:disabled+.slider{opacity:.5;pointer-events:none}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-checkmark,body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-cross{text-align:center;float:right}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-checkmark{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+Y2hlY2s8L3RpdGxlPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTE4LjAzMDM4NDYsMi44NDU4OTMxNyBMNy4zMDgwNzY5MiwxMy44MTYwOTc3IEwxLjk2OTYxNTM4LDguMzU0OTk5NCBDMS41MTg4NDYxNSw3Ljg5MzgwODUxIDAuNzg4ODQ2MTU0LDcuODkzODA4NTEgMC4zMzgwNzY5MjMsOC4zNTQ5OTk0IEMtMC4xMTI2OTIzMDgsOC44MTYxOTAyOSAtMC4xMTI2OTIzMDgsOS41NjMwNjc2OSAwLjMzODA3NjkyMywxMC4wMjQyNTg2IEw2LjQ5MTkyMzA4LDE2LjMyMDM4IEM2LjcxNzMwNzY5LDE2LjU1MDk3NTQgNy4wMTI2OTIzMSwxNi42NjY2NjY3IDcuMzA4MDc2OTIsMTYuNjY2NjY2NyBDNy42MDI2OTIzMSwxNi42NjY2NjY3IDcuODk4MDc2OTIsMTYuNTUwOTc1NCA4LjEyMzQ2MTU0LDE2LjMyMDM4IEwxOS42NjE5MjMxLDQuNTE1MTUyMzYgQzIwLjExMjY5MjMsNC4wNTM5NjE0NiAyMC4xMTI2OTIzLDMuMzA3MDg0MDYgMTkuNjYxOTIzMSwyLjg0NTg5MzE3IEMxOS4yMTExNTM4LDIuMzg0NzAyMjggMTguNDgxMTUzOCwyLjM4NDcwMjI4IDE4LjAzMDM4NDYsMi44NDU4OTMxNyIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9ImNoZWNrIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iSWNvbnMvR2VuZXJhbC9DaGVjayI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iSWNvbnMvVXRpbGl0aWVzL1N1Y2Nlc3MiIGZpbGw9IiMwMEJEQTUiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+");width:20px!important;height:20px!important}body #hs-modal #hs-modal-content #hs-modal-body #hs-modal-body-container .hs-modal-cross{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTVweCIgaGVpZ2h0PSIxNXB4IiB2aWV3Qm94PSIwIDAgMTUgMTUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aSBzd2VhciB0aGlzIGlzIGFuIHg8L3RpdGxlPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTEzLjU3NzQxMSwwLjI0NDA3NzY4MiBDMTMuOTAyODQ3OSwtMC4wODEzNTkyMjc0IDE0LjQzMDQ4NTQsLTAuMDgxMzU5MjI3NCAxNC43NTU5MjIzLDAuMjQ0MDc3NjgyIEMxNS4wODEzNTkyLDAuNTY5NTE0NTkyIDE1LjA4MTM1OTIsMS4wOTcxNTIwNyAxNC43NTU5MjIzLDEuNDIyNTg4OTggTDE0Ljc1NTkyMjMsMS40MjI1ODg5OCBMOC42NzgsNy41IEwxNC43NTU5MjIzLDEzLjU3NzQxMSBDMTUuMDgxMzU5MiwxMy45MDI4NDc5IDE1LjA4MTM1OTIsMTQuNDMwNDg1NCAxNC43NTU5MjIzLDE0Ljc1NTkyMjMgQzE0LjQzMDQ4NTQsMTUuMDgxMzU5MiAxMy45MDI4NDc5LDE1LjA4MTM1OTIgMTMuNTc3NDExLDE0Ljc1NTkyMjMgTDcuNSw4LjY3OCBMMS40MjI1ODg5OCwxNC43NTU5MjIzIEMxLjEyNDI3MTgyLDE1LjA1NDIzOTUgMC42NTYwNTAwMDIsMTUuMDc5MDk5MiAwLjMyOTQxNTM5MywxNC44MzA1MDE2IEwwLjI0NDA3NzY4MiwxNC43NTU5MjIzIEMtMC4wODEzNTkyMjc0LDE0LjQzMDQ4NTQgLTAuMDgxMzU5MjI3NCwxMy45MDI4NDc5IDAuMjQ0MDc3NjgyLDEzLjU3NzQxMSBMMC4yNDQwNzc2ODIsMTMuNTc3NDExIEw2LjMyMiw3LjUgTDAuMjQ0MDc3NjgyLDEuNDIyNTg4OTggQy0wLjA4MTM1OTIyNzQsMS4wOTcxNTIwNyAtMC4wODEzNTkyMjc0LDAuNTY5NTE0NTkyIDAuMjQ0MDc3NjgyLDAuMjQ0MDc3NjgyIEMwLjU2OTUxNDU5MiwtMC4wODEzNTkyMjc0IDEuMDk3MTUyMDcsLTAuMDgxMzU5MjI3NCAxLjQyMjU4ODk4LDAuMjQ0MDc3NjgyIEw3LjUsNi4zMjIgWiIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9Imktc3dlYXItdGhpcy1pcy1hbi14IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iSWNvbnMvQWN0aW9ucy9DbG9zZSI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iTWFzayIgZmlsbD0iI0YyNTQ1QiIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=");width:15px!important;height:15px!important}body #hs-modal #hs-modal-content #hs-modal-footer{display:table-row;height:20%}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-footer{height:10%}}body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container{text-align:right}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-footer-container{text-align:center;border-top:1px solid #c0bebe}}body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-accept-all,body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-save-settings{border-radius:3px;display:inline-block;padding:10px 16px!important;text-decoration:none!important;background-color:#425b76!important;border:1px solid #425b76!important;color:#fff!important;font-family:inherit!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;text-align:left;text-shadow:none!important;margin-top:20px}@media (max-width:800px){body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-accept-all,body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-save-settings{margin-bottom:20px}}body #hs-modal #hs-modal-content #hs-modal-footer #hs-modal-accept-all{margin-left:12px}'},function(t,e,i){"use strict";i.r(e);class n{constructor(t,e,i,n,o,a,s){this.doc=t||document;this.nav=e||navigator;this.scr=i||screen;this.win=n||window;this.loc=o||this.win.location;this.top=a;this.parent=s}getDocument(){return this.doc}getNavigator(){return this.nav}getScreen(){return this.scr}getWindow(){return this.win}getLocation(){return this.loc}getHostName(){try{return this.loc.hostname}catch(t){return this.doc.domain}}getPathName(){return this.loc.pathname}getTop(){return this.top}getParent(){return this.parent}getReferrer(){let t="";try{t=this.top.document.referrer}catch(e){if(this.parent)try{t=this.parent.document.referrer}catch(e){t=""}}""===t&&(t=this.doc.referrer);return t}getCharacterSet(){return this.doc.characterSet?this.doc.characterSet:this.doc.charset?this.doc.charset:""}getLanguage(){return this.nav.language?this.nav.language:this.nav.browserLanguage?this.nav.browserLanguage:""}getOrigin(){const t=this.loc.origin;if(t)return t;const e=this.loc.port?":"+this.loc.port:"";return`${this.loc.protocol}//${this.getHostName()}${e}`}getCurrentHref(t){return t?this.getOrigin().toLowerCase()+t:this.loc.href.toLowerCase()}}const o="_hspb_loaded",a="_hspb_ran",s="_hsp",r="_hsq",c="_hsPrivacyTest",d="_hsGeoTargetingTest",l=2e3,h="_hsScanningMode",g=(t,e,i,n)=>{t.addEventListener?t.addEventListener(e,i,n):t.attachEvent?t.attachEvent("on"+e,i):t["on"+e]=i},p=(t,e)=>{for(let i=0;i<t.length;i++){const n=t[i];if(Array.isArray(n)&&(n.length>0&&n[0]===e)){t.splice(i--,1);return n[1]?n[1]:null}}return null},m=(t,e)=>{for(let i=0;i<t.length;i++){const n=t[i];if(Array.isArray(n)&&(n.length>0&&n[0]===e)){t.splice(i--,1);return!0}}return!1},y=()=>document.location.hash.indexOf("#hsdbg")>-1||document.location.search.indexOf("hsdbg")>-1,u=t=>{y()&&t&&window.console.error(t)},b=t=>{y()&&window.console.debug(t)},f=(t,e,i)=>{if(Array.isArray(t))for(let n=0;n<t.length;n++){const o=t[n];if(!Array.isArray(o)||0===o.length)continue;const a=o[0];if(e.indexOf(a)>-1){i(o);t.splice(n--,1)}}},v=function(t,e){return null!=e&&t.substr(0,e.length)===e},x=function(t,e){const i=t.length-e.length;return i>=0&&t.lastIndexOf(e)===i},k=(t,e)=>{t.classList.add(e)},w=(t,e)=>{t.classList.remove(e)},C=t=>{const e=document.createDocumentFragment(),i=document.createElement("div");i.innerHTML=t;for(;i.firstChild;)e.appendChild(i.firstChild);return e},I=(t,e)=>{for(let i=0;i<t.length;i++)if(t[i]===e)return!0;return!1},M=t=>{const e=new RegExp(d+"=([a-zA-Z]{2})(&|$)"),i=t.match(e);return i&&3===i.length?i[1]:null},D="COOKIES_WITHOUT_BANNER",T="OPT_IN",A="NO_COOKIES",N="COOKIES_BY_CATEGORY",S="NOTIFY",E={0:D,1:T,2:A,3:N},B=t=>t.mode===T&&t.hideDecline?S:t.mode;var z=i(0),L=i.n(z),j=i(1),$=i.n(j);const P="TOP",O="BOTTOM",U="__hs_initial_opt_in",G="__hs_opt_out",H="__hssc",W="__hssrc",R="__hstc",Z="hubspotutk",Q="__hs_cookie_cat_pref",_=180,Y=180,F=7,V="_fbp";var X=[Q,U,G,H,W,"__hs_do_not_track",R,Z,"messagesUtk"],J=i(2),q=i.n(J);const K=1,tt=2,et=3,it={[K]:"analytics",[tt]:"advertisement",[et]:"functionality"};class nt{constructor(t,e,i){this.allowed=t;this.previousCategories=i||{necessary:!0,analytics:!1,advertisement:!1,functionality:!1};this.categories=e||{necessary:!0,analytics:t,advertisement:t,functionality:t}}allCategoriesSelected(){return this.categories.necessary&&this.categories.analytics&&this.categories.advertisement&&this.categories.functionality}getSafeCopy(){return new nt(this.allowed,{necessary:this.categories.necessary,analytics:this.categories.analytics,advertisement:this.categories.advertisement,functionality:this.categories.functionality},{necessary:this.previousCategories.necessary,analytics:this.previousCategories.analytics,advertisement:this.previousCategories.advertisement,functionality:this.previousCategories.functionality})}toCookieString(){return`${K}:${this.categories.analytics},${tt}:${this.categories.advertisement},${et}:${this.categories.functionality}`}static buildFromCookieString(t){const e=t.split(","),i={necessary:!0,analytics:!1,advertisement:!1,functionality:!1};e.forEach(t=>{const e=t.split(":");if(2!==e.length)return;const n=e[0],o=it[n];o&&(i[o]="true"===e[1])});const n=i.necessary&&i.advertisement&&i.analytics&&i.functionality;return new nt(n,i)}static buildInitialConsent(){return new nt(!1,{necessary:!0,analytics:!1,advertisement:!1,functionality:!1})}}const ot="hs-modal-accept-all",at="hs-modal-save-settings",st="hs-modal",rt="hs-modal-close-button",ct="hs-modal-introduction",dt="hs-category-necessary",lt="hs-category-analytics",ht="hs-category-toggle-analytics",gt="hs-category-advertisement",pt="hs-category-toggle-advertisement",mt="hs-category-functionality",yt="hs-category-toggle-functionality",ut=(t,e)=>{const{acceptAllLabel:i,categories:n,introduction:o,saveSettingsLabel:a}=t,s=e.categories.analytics,r=e.categories.advertisement,c=e.categories.functionality;return`\n<div id="hs-modal" role="dialog"  aria-modal="true" data-nosnippet>\n  <span id="hs-a11y-live" class="hs-sr-only" aria-live="polite"></span>\n  <div id="hs-modal-content">\n\n    <div id="hs-modal-header" aria-hidden="true">\n      <div id="hs-modal-header-container">\n        <span id="${rt}">&times;</span>\n      </div>\n    </div>\n\n    <div id="hs-modal-body">\n      <div id="hs-modal-body-container" role="tablist">\n          <div class="hs-category-row" role="tab" aria-selected="true" aria-controls="${ct}-description">\n            <div id="${ct}" class="hs-category-label hs-active" aria-label="${o.label}" tabindex="0">\n              <span>${o.label}</span>\n            </div>\n            <div id="${ct}-description" class="hs-category-description hs-active" aria-labelledby="${ct}" role="tabpanel">\n              <div class="hs-category-description-header">\n                <h3 aria-hidden="true">${o.label}</h3>\n              </div>\n              <div class="hs-category-description-text">\n                ${o.description}\n              </div>\n            </div>\n          </div>\n          <div class="hs-category-row" role="tab" aria-selected="false" aria-controls="${dt}-description">\n            <div id="${dt}" class="hs-category-label" aria-label="${n.necessary.label}" tabindex="0">\n              <span>${n.necessary.label}</span>\n              <span id="hs-category-necessary-checked" class="hs-modal-checkmark"></span>\n            </div>\n            <div id="${dt}-description" class="hs-category-description hs-hidden" role="tabpanel">\n              <div class="hs-category-description-header">\n                <label class="hs-category-toggle">\n                  <input type="checkbox" role="switch" aria-checked="true" aria-label="${n.necessary.label}" checked disabled>\n                  <span class="slider"></span>\n                </label>\n                <span class="hs-always-active-label" aria-hidden="true">${n.necessary.toggleLabel||""}</span>\n                <h3 aria-hidden="true">${n.necessary.label}</h3>\n              </div>\n              <div class="hs-category-description-text">\n               ${n.necessary.description}\n              </div>\n            </div>\n          </div>\n          <div class="hs-category-row" role="tab" aria-selected="false" aria-controls="${lt}-description">\n            <div id="${lt}" class="hs-category-label" aria-label="${n.analytics.label}" tabindex="0">\n              <span>${n.analytics.label}</span>\n              <span id="${lt}-checked" class="hs-modal-checkmark ${!s&&"hs-hidden"}"></span>\n              <span id="${lt}-unchecked" class="hs-modal-cross ${s&&"hs-hidden"}"></span>\n            </div>\n            <div id="${lt}-description" class="hs-category-description hs-hidden" role="tabpanel">\n              <div class="hs-category-description-header">\n                <label class="hs-category-toggle">\n                  <input id="${ht}" type="checkbox" ${s&&"checked"}  aria-label="${n.analytics.label}" role="switch" tabindex="0">\n                  <span class="slider"></span>\n                </label>\n                <h3 aria-hidden="true">${n.analytics.label}</h3>\n              </div>\n              <div class="hs-category-description-text">\n                ${n.analytics.description}\n              </div>\n            </div>\n          </div>\n          <div class="hs-category-row" role="tab" aria-selected="false" aria-controls="${gt}-description">\n            <div id="${gt}" class="hs-category-label" aria-label="${n.advertisement.label}" tabindex="0">\n              <span>${n.advertisement.label}</span>\n              <span id="${gt}-checked" class="hs-modal-checkmark ${!r&&"hs-hidden"}"></span>\n              <span id="${gt}-unchecked" class="hs-modal-cross ${r&&"hs-hidden"}"></span>\n            </div>\n            <div id="${gt}-description" class="hs-category-description hs-hidden" role="tabpanel">\n              <div class="hs-category-description-header">\n                <label class="hs-category-toggle">\n                  <input id="${pt}" type="checkbox" ${r&&"checked"} aria-label="${n.advertisement.label}" role="switch" tabindex="0">\n                  <span class="slider"></span>\n                </label>\n                <h3 aria-hidden="true">${n.advertisement.label}</h3>\n              </div>\n              <div class="hs-category-description-text">\n                ${n.advertisement.description}\n              </div>\n            </div>\n          </div>\n          <div class="hs-category-row" role="tab" aria-selected="false" aria-controls="${mt}-description">\n            <div id="${mt}" class="hs-category-label" aria-label="${n.functionality.label}" tabindex="0">\n              <span>${n.functionality.label}</span>\n              <span id="${mt}-checked" class="hs-modal-checkmark ${!c&&"hs-hidden"}"></span>\n              <span id="${mt}-unchecked" class="hs-modal-cross ${c&&"hs-hidden"}"></span>\n            </div>\n            <div id="${mt}-description" class="hs-category-description hs-hidden" role="tabpanel" role="tabpanel">\n              <div class="hs-category-description-header">\n                <label class="hs-category-toggle">\n                  <input id="${yt}" type="checkbox" ${c&&"checked"}  role="switch" aria-label="${n.functionality.label}" tabindex="0">\n                  <span class="slider"></span>\n                </label>\n                <h3 aria-hidden="true">${n.functionality.label}</h3>\n              </div>\n              <div class="hs-category-description-text">\n                ${n.functionality.description}\n             </div>\n            </div>\n          </div>\n        <div class="hs-category-fill"></div>\n        </div>\n      </div>\n\n      <div id="hs-modal-footer">\n        <div id="hs-modal-footer-container">\n          <a href="javascript:void(0);" id="hs-modal-save-settings" role="button">${a}</a>\n          <a href="javascript:void(0);" id="hs-modal-accept-all" role="button">${i}</a>\n        </div>\n      </div>\n  </div>\n</div>\n  `},bt={DELETE:46,DOWN:40,END:35,ENTER:13,ESC:27,HOME:36,LEFT:37,RIGHT:39,SPACE:32,TAB:9,UP:38},ft={[bt.LEFT]:-1,[bt.UP]:-1,[bt.DOWN]:1,[bt.RIGHT]:1},vt="hs-hidden";function xt(t){const e=t.getElementById(ct);e.click();e.focus()}function kt(t){const e=t.getElementById(st);k(e,vt)}function wt(t){const e=t.getElementById(st);w(e,vt);xt(t)}function Ct(t){return-1===t.getElementById(st).className.indexOf(vt,0)}function It(t,e){const i=e.getElementById(ot);t.stagedAnalytics&&t.stagedAdvertisement&&t.stagedFunctionality?k(i,vt):w(i,vt)}function Mt(t,e){e.getElementById("hs-a11y-live").textContent=`Here is your current cookie selection,\n  necessary cookies: always allowed,\n  analytics cookies: ${t.stagedAnalytics?"allowed":"not allowed"},\n  advertisement cookies: ${t.stagedAdvertisement?"allowed":"not allowed"},\n  functionality cookies: ${t.stagedFunctionality?"allowed":"not allowed"}`}function Dt(t){const e=t.privacyConsent;if(t.privacySettings.testing){b("Testing mode - the following cookies were not written");b(`cookie: "${Q}" value: "${e.toCookieString()}"`)}else{t.cookie.set(Q,e.toCookieString(),{daysToExpire:_,path:"/"});e.categories.analytics?t.trackAction("trackApproveCookieConsent"):t.trackAction("trackDeclineCookieConsent")}}function Tt(t,e,i,n){const o=t.getElementById(at);g(o,"click",o=>{o.preventDefault();kt(t);n();const a=i.stagedAnalytics,s=i.stagedAdvertisement,r=i.stagedFunctionality,c=a&&s&&r;e.setPrivacyConsent(new nt(c,{necessary:!0,analytics:a,advertisement:s,functionality:r}),{reporting:!0});Dt(e)})}function At(t,e,i){const n=t.getElementById(ot);g(n,"click",n=>{n.preventDefault();kt(t);i();e.setPrivacyConsent(!0,{reporting:!0});Dt(e)});g(n,"keydown",e=>{if(e.keyCode===bt.TAB){t.getElementById(ct).focus();e.preventDefault()}})}function Nt(t,e,i){const n=i.querySelectorAll(".hs-category-label"),o=i.querySelectorAll(".hs-category-description"),a={};o.forEach(t=>{const e=t.id.replace("-description","");a[e]=t});const s=[];for(let t=0;t<n.length;t++)s.push(n[t].id);let r=i.getElementById(ct),c=i.getElementById(ct+"-description");const d="hs-active";function l(t){const e=t.currentTarget;if(e.classList.contains(d))return;w(r,d);r.parentElement.setAttribute("aria-selected",!1);k(e,d);e.parentElement.setAttribute("aria-selected",!0);k(c,vt);c.setAttribute("aria-hidden",!0);const i=a[e.id];w(i,vt);i.setAttribute("aria-hidden",!1);r=e;c=i;e.focus()}function h(t,e,n){1===n&&t===e-1?i.getElementById(s[0]).click():-1===n&&0===t?i.getElementById(s[e-1]).click():i.getElementById(s[t+n]).click()}function p(t){const e=t.keyCode,i=t.currentTarget.id,o=s.indexOf(i),a=s.length;switch(e){case bt.END:t.preventDefault();n[a-1].click();break;case bt.HOME:t.preventDefault();n[0].click();break;case bt.ENTER:case bt.SPACE:t.currentTarget.click();break;case bt.LEFT:case bt.RIGHT:h(o,a,ft[e]);break;case bt.UP:case bt.DOWN:t.preventDefault();h(o,a,ft[e])}}n.forEach(t=>{g(t,"click",l);g(t,"keydown",p)});t.context.getWindow().handleHsCategoryToggle=t=>{const n=i.getElementById(t+"-checked"),o=i.getElementById(t+"-unchecked");return function(a){if(a.checked){w(n,vt);k(o,vt)}else{w(o,vt);k(n,vt)}switch(t){case lt:e.stagedAnalytics=a.checked;break;case gt:e.stagedAdvertisement=a.checked;break;case mt:e.stagedFunctionality=a.checked;break;case dt:break;default:return}It(e,i);Mt(e,i)}}}function St(t){g(t,"keydown",e=>{e.keyCode===bt.ESC&&Ct(t)&&kt(t)})}function Et(t,e){const i=e.getElementById(ht),n=e.getElementById(pt),o=e.getElementById(yt);g(i,"click",()=>{t.context.getWindow().handleHsCategoryToggle(lt)(i)});g(n,"click",()=>{t.context.getWindow().handleHsCategoryToggle(gt)(n)});g(o,"click",()=>{t.context.getWindow().handleHsCategoryToggle(mt)(o)})}function Bt(t,e,i,n){const o=t.getElementById(rt);g(o,"click",()=>kt(t));Nt(e,i,t);Tt(t,e,i,n);At(t,e,n);Et(e,t);St(t)}function zt(t,e,i,n){const o=n.getElementById(e),a=n.getElementById(i+"-checked"),s=n.getElementById(i+"-unchecked");if(t!==o.checked){o.checked=!o.checked;if(o.checked){w(a,vt);k(s,vt)}else{w(s,vt);k(a,vt)}}}function Lt(t,e){zt(t.categories.analytics,ht,lt,e);zt(t.categories.advertisement,pt,gt,e);zt(t.categories.functionality,yt,mt,e)}class jt{constructor(t){this.banner=t;this.stagedCategories={stagedAnalytics:!1,stagedAdvertisement:!1,stagedFunctionality:!1};if(t.privacyConsent)this.setStagedCategories(t.privacyConsent);else{const t=nt.buildInitialConsent();this.setStagedCategories(t)}}hasRendered(){const{context:t}=this.banner;return null!==t.getDocument().getElementById(st)}setStagedCategories(t){if(t&&t.categories){this.stagedCategories.stagedAnalytics=t.categories.analytics;this.stagedCategories.stagedAdvertisement=t.categories.advertisement;this.stagedCategories.stagedFunctionality=t.categories.functionality}}displayModal(){const{context:t}=this.banner,e=t.getDocument(),i=this.banner.privacyConsent?this.banner.privacyConsent:nt.buildInitialConsent();this.setStagedCategories(i);It(this.stagedCategories,e);Lt(i,e);wt(e)}render(t,e,i){const{context:n}=this.banner,{accentColor:o,cookiesByCategory:a}=e;window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);const s=n.getDocument();if(this.hasRendered())return;const r=this.banner.privacyConsent?this.banner.privacyConsent:nt.buildInitialConsent();this.setStagedCategories(r);const c=ut(a,r),d=o?q.a.replace(/#425b76/g,o):q.a,l=s.createElement("style");l.setAttribute("type","text/css");if(l.styleSheet)l.styleSheet.cssText=d;else{const t=s.createTextNode(d);l.appendChild(t)}const h=t.childNodes[0];t.insertBefore(l,h);t.insertBefore(C(c),h);if(s.getElementById(st)){xt(s);Bt(s,this.banner,this.stagedCategories,i);It(this.stagedCategories,s)}}}const $t="hs-eu-cookie-confirmation",Pt="hs-cookie-banner-testing",Ot="hs-eu-cookie-confirmation-button-group",Ut="hs-eu-confirmation-button",Gt="hs-eu-decline-button",Ht="hs-eu-cookie-settings-button",Wt="hs-eu-close-button",Rt=(t,e,i,n)=>{const{hideDecline:o}=t,a=i.context.getDocument().getElementById(Ut);a?g(a,"click",e=>{e.preventDefault();if("isDisabled"!==a.className){n();o||i.setPrivacyConsent(!0,{reporting:!0});if(!t.testing){if(t.mode===N)i.cookie.set(Q,i.privacyConsent.toCookieString(),{daysToExpire:_,path:"/"});else{i.cookie.set(G,"no",{daysToExpire:Y,path:"/"});i.cookie.set(U,"true",{daysToExpire:F,path:"/"})}i.trackAction("trackApproveCookieConsent")}}}):e.style.display="none"},Zt=(t,e,i,n)=>{const o=i.context.getDocument();if(t.hideDecline)return;const a=o.getElementById(Gt);a?g(a,"click",e=>{e.preventDefault();n();i.setPrivacyConsent(!1,{reporting:!0});if(!t.testing){if(t.mode===N)i.cookie.set(Q,i.privacyConsent.toCookieString(),{daysToExpire:_,path:"/"});else{i.cookie.set(G,"yes",{daysToExpire:Y,path:"/"});i.cookie.remove(U)}i.trackAction("trackDeclineCookieConsent")}}):e.style.display="none"},Qt=(t,e,i,n,o)=>{if(e.mode!==N)return;const a=t.context.getDocument().getElementById(Ht);a&&g(a,"click",t=>{t.preventDefault();n.hasRendered()?n.displayModal():n.render(i,e,o)})},_t=t=>{let e=!1;const i=t.getWindow().disabledHsPopups;if(!Array.isArray(i))return e;for(let t=0;t<i.length;t++)if("PRIVACY"===i[t]){e=!0;break}return e},Yt=(t,e)=>{const{acceptWording:i,cancelWording:n,disclaimerWording:o,hideDecline:a,policyWording:s,cookiesByCategory:r,mode:c,showCloseButton:d}=t,l=c===N&&r&&r.cookieSettingsLabel,h=o&&!a?`<p id="hs-eu-cookie-disclaimer">${o}</p>`:"",g=`<a href="javascript:void(0);" id="${Ut}" role="button">\n    ${i||"Accept"}\n  </a>`,p=a?"":`<a href="javascript:void(0);" id="${Gt}" role="button">${n||"Don't ask me again"}</a>`,m=l?`<a href="javascript:void(0);" id="${Ht}" role="button">${r.cookieSettingsLabel}</a>`:"";return`<div id="${$t}" class="${e}" data-nosnippet>\n            <div id="hs-eu-cookie-confirmation-inner">\n              ${d?`<div id="hs-eu-close-button-container"><a href="javascript:void(0);" id="${Wt}" role="button">&times;</a></div>`:""}\n              <div id="hs-eu-policy-wording">${s}</div>\n              ${h}\n              <div id="hs-en-cookie-confirmation-buttons-area">\n                ${m}\n                <div id=${Ot}>\n                ${g}\n                ${p}\n                </div>\n              </div>\n            </div>\n          </div>`},Ft=(t,e,i)=>{if(!t.showCloseButton)return;const n=e.context.getDocument().getElementById(Wt),{hideDecline:o}=t;g(n,"click",n=>{n.preventDefault();i();if(!t.testing&&o){e.cookie.set(G,"no",{daysToExpire:Y,path:"/"});e.cookie.set(U,"true",{daysToExpire:F,path:"/"})}})};class Vt{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.modalTemplate=new jt(this.privacyBanner);const{testing:i}=this.privacySettings,{context:n}=this.privacyBanner,o=n.getDocument(),a=o.getElementById(Pt)||o.body,s=i?a:o.body;this.oldPadding=s.style.paddingTop}hasRendered(){const{context:t}=this.privacyBanner;return null!==t.getDocument().getElementById($t)}getHideBannerFn(){return()=>{if(!this.hasRendered())return;const{context:t}=this.privacyBanner,{bannerType:e,testing:i}=this.privacySettings,n=t.getDocument(),o=n.getElementById(Pt)||n.body,a=i?o:n.body;n.getElementById($t).style.display="none";e===P&&(a.style.paddingTop=this.oldPadding)}}displayBanner(){if(!this.hasRendered()){this.render();return}const{context:t}=this.privacyBanner,{bannerType:e,testing:i}=this.privacySettings,n=t.getDocument(),o=n.getElementById(Pt)||n.body,a=i?o:n.body,s=n.getElementById($t);s.style.display="";e===P&&(a.style.paddingTop=s.offsetHeight)}displayModal(){const{context:t}=this.privacyBanner,{testing:e}=this.privacySettings,i=t.getDocument(),n=i.getElementById(Pt)||i.body,o=e?n:i.body;this.modalTemplate.hasRendered()?this.modalTemplate.displayModal():this.modalTemplate.render(o,this.privacySettings,this.getHideBannerFn())}render(){const{context:t}=this.privacyBanner,{accentColor:e,bannerType:i,testing:n}=this.privacySettings;if(_t(t))return;if(this.hasRendered())return;let o="",a=$.a;i&&(o=i===O?"hs-cookie-notification-position-bottom":"");if(e){a=/^#[0-9A-Fa-f]{3,6}$/.test(e)?L.a.replace(/#425b76/g,e):L.a}const s=t.getDocument(),r=s.getElementById(Pt)||s.body,c=n?r:s.body,d=s.createElement("style");d.setAttribute("type","text/css");if(d.styleSheet)d.styleSheet.cssText=a;else{const t=s.createTextNode(a);d.appendChild(t)}const l=c.childNodes[0];c.insertBefore(d,l);const h=Yt(this.privacySettings,o);c.insertBefore(C(h),l);const g=s.getElementById($t);if(g){i===P&&(c.style.paddingTop=g.offsetHeight);Rt(this.privacySettings,g,this.privacyBanner,this.getHideBannerFn());Zt(this.privacySettings,g,this.privacyBanner,this.getHideBannerFn());Qt(this.privacyBanner,this.privacySettings,c,this.modalTemplate,this.getHideBannerFn());Ft(this.privacySettings,this.privacyBanner,this.getHideBannerFn())}}}class Xt{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.bannerTemplate=new Vt(this.privacyBanner,this.privacySettings)}showModal(){this.bannerTemplate.displayModal();this.privacyBanner.sendReportingViewActivity()}handle(){const{cookie:t}=this.privacyBanner,{testing:e}=this.privacySettings;if(this.privacyBanner.context.getWindow()[h]){this.privacyBanner.setPrivacyConsent(!0);this.privacyBanner.cookie.set(Q,this.privacyBanner.privacyConsent.toCookieString(),{daysToExpire:_,path:"/"});return}const i=t.get(Q);if(!i||e){this.bannerTemplate.render();this.privacyBanner.sendReportingViewActivity()}else this.privacyBanner.setPrivacyConsent(nt.buildFromCookieString(i))}}const Jt=15362232e5,qt=15362514e5;class Kt{static handle(t,e){if(!e.active)return;const i=t.get(R).split(".");if(1===i.length&&i[0].length>0)return;if(6!==i.length||!i[1].length>0)return;const n=i[2];if(!(n<Jt||n>qt)){t.remove(R);t.remove(Z);t.remove(H);t.remove(W)}}}const te="/cf-location",ee=(t,e,i)=>{const n=t?`${t}${te}`:null;if(!n){u("Missing apiBaseUrl from the banner. Failed to request for geolocation.");return}const o=new XMLHttpRequest;o.open("GET",n,!0);o.timeout=i;o.onreadystatechange=function(){if(this.readyState===XMLHttpRequest.DONE)if(200!==o.status){u(`Geolocation request failed, status - ${o.status}, response - ${o.response}`);e()}else e(o.response)};o.send()},ie={DomainPathGeo:6,DomainPath:5,PathGeo:4,Path:3,DomainGeo:2,Domain:1,Geo:0,noMatch:-1},ne=(t,e,i,n)=>{if(!(t.enabled||e))return ie.noMatch;const o=t.targetedCountries&&Array.isArray(t.targetedCountries)&&t.targetedCountries.length>0,a=`${t.domain?"Domain":""}${t.path?"Path":""}${o?"Geo":""}`;if(""===a)return ie.noMatch;const s=t.domain&&i.getHostName()===t.domain,r=t.path&&v(i.getPathName(),t.path),c=o&&I(t.targetedCountries,n);switch(a){case"DomainPathGeo":return s&&r&&c?ie[a]:ie.noMatch;case"DomainPath":return s&&r?ie[a]:ie.noMatch;case"PathGeo":return r&&c?ie[a]:ie.noMatch;case"Path":return r?ie[a]:ie.noMatch;case"DomainGeo":return s&&c?ie[a]:ie.noMatch;case"Domain":return s?ie[a]:ie.noMatch;case"Geo":return c?ie[a]:ie.noMatch;default:return ie.noMatch}};class oe{constructor(t,e){this.privacyBanner=t;this.privacySettings=e;this.bannerTemplate=new Vt(this.privacyBanner,this.privacySettings)}showBanner(){if(B(this.privacySettings)===T){this.bannerTemplate.displayBanner();this.privacyBanner.sendReportingViewActivity()}}handle(){if(this.privacyBanner.context.getWindow()[h]){this.privacyBanner.setPrivacyConsent(!0);this.privacyBanner.cookie.set(G,"no",{daysToExpire:Y,path:"/"});this.privacyBanner.cookie.set(U,"true",{daysToExpire:F,path:"/"});return}if(!this.privacySettings.active&&!this.privacySettings.testing){this.privacyBanner.setPrivacyConsent(!0);return}const t=this.privacyBanner.context,e=this.privacyBanner.cookie;if(!t||!e)return;const i=B(this.privacySettings);if(this.privacySettings.testing){i===S&&this.privacyBanner.setPrivacyConsent(!0);this.bannerTemplate.render()}else if("yes"!==e.get(G)&&e.isEnabled()&&this.privacySettings.policyWording){switch(i){case S:this.privacyBanner.setPrivacyConsent(!0);if("no"===e.get(G))return;break;case T:if(e.get(R)||e.get(H)||"true"===e.get(U)){this.privacyBanner.setPrivacyConsent(!0);return}break;default:u(new Error("Unsupported policy mode passed to the opt-in handler."));return}this.bannerTemplate.render();i!==S&&this.privacyBanner.sendReportingViewActivity()}else this.privacyBanner.setPrivacyConsent(!1)}}class ae{constructor({description:t,label:e,toggleLabel:i}){this.description=t;this.label=e;this.toggleLabel=i}}class se{constructor({acceptAllLabel:t,categories:e,cookieSettingsLabel:i,introduction:n,saveSettingsLabel:o}){this.acceptAllLabel=t;this.cookieSettingsLabel=i;this.saveSettingsLabel=o;this.introduction=new ae(n);this.categories={necessary:new ae(e.necessary),analytics:new ae(e.analytics),advertisement:new ae(e.advertisement),functionality:new ae(e.functionality)}}static build(t){return t?new se(t):null}}class re{constructor(t,e){this.active=t.enabled;this.testing=e;this.mode=E[t.privacyPolicy];this.policyWording=t.privacyPolicyWording;this.acceptWording=t.privacyAcceptWording;this.cancelWording=t.privacyDismissWording;this.disclaimerWording=t.privacyDisclaimerWording;this.hideDecline=t.privacyHideDecline||!1;this.accentColor=t.privacyBannerAccentColor||null;this.bannerType=t.privacyBannerType||null;this.label=t.privacyDefault?"default":t.label;this.cookiesByCategory=se.build(t.cookiesByCategory);this.id=t.id;this.portalId=t.portalId;this.showCloseButton=t.showCloseButton}isOptInPolicy(){return this.active&&!1===this.hideDecline&&(this.mode===N||this.mode===T)}}const ce="/activity",de=ce+"/click",le=ce+"/view",he=(t,e)=>{if(!t){u("Missing apiBaseUrl from the banner. Failed to send activity event.");return}const i=new XMLHttpRequest;i.open("POST",t,!0);i.setRequestHeader("Content-Type","application/json");i.onreadystatechange=function(){i.readyState===XMLHttpRequest.DONE&&(200===i.status||204===i.status?b("successfully sent reporting activity"):u("error sending reporting activity request status: "+i.status))};i.send(JSON.stringify(e))},ge=(t,e)=>{he(t?`${t}${de}`:null,e)},pe=(t,e)=>{he(t?`${t}${le}`:null,e)};class me{constructor(t,e){this.context=t;this.cookie=e;this.cookiesByCategoryHandler=null;this.optInHandler=null;this.apiBaseUrl=null;this.privacyConsent=null;this.privacySettings=null;this.privacyConsentListeners=[];this.privacySettingsListeners=[];this.visitorCountry=null;this.enabledFeatureGates=[];this.isTestingEnabled=t.getLocation().hash.indexOf(c)>-1||t.getLocation().search.indexOf(c)>-1;this.portalId=null;this.businessUnitId=null}initialize(t,e){const i=M(this.context.getLocation().search);i&&(this.visitorCountry=i);const n=p(t,"setCookiePolicy");e&&!i?ee(this.apiBaseUrl,t=>{this.visitorCountry=t;this.setCookiePolicy(n)},l):this.setCookiePolicy(n);p(t,"runCookieScrubbing")&&this.runCritsitCookieScrubbing()}setCookiePolicy(t){if(!t||this.privacySettings)return;if(0===t.length){this.setPrivacyConsent(!0);return}const e=this.isTestingEnabled;let i,n,o=ie.noMatch;for(let a=0;a<t.length;a++){const s=t[a],r=s.enabled||e;if(s.privacyDefault&&r){i=new re(s,e);continue}const c=new re(s,e),d=ne(s,e,this.context,this.visitorCountry);if(d>o){o=d;n=c}}const a=n||i;this.setPrivacySettings(a);if(a){b("banner matched cookie policy "+a.label);switch(a.mode){case D:this.setPrivacyConsent(!0);return;case A:this.setPrivacyConsent(!1);return;case T:this.optInHandler=new oe(this,this.privacySettings);this.optInHandler.handle();return;case N:this.cookiesByCategoryHandler=new Xt(this,this.privacySettings);this.cookiesByCategoryHandler.handle();return;default:u(new Error("Unknown privacy mode: "+a.mode));this.setPrivacyConsent(!0);return}}else this.setPrivacyConsent(!0)}runCritsitCookieScrubbing(){if(this.privacySettings&&"DISABLED"!==this.privacySettings.mode)try{Kt.handle(this.cookie,this.privacySettings)}catch(t){u(t)}}addPrivacyConsentListener(t){this.privacyConsent&&!this.isTestingEnabled&&this.safeCallListener(t,this.privacyConsent);this.privacyConsentListeners.push(t)}addPrivacySettingsListener(t){this.privacySettings&&this.safeCallListener(t,this.privacySettings);this.privacySettingsListeners.push(t)}setPrivacyConsent(t,{reporting:e}={reporting:!1}){const i=this.privacyConsent&&this.privacyConsent.categories;this.privacyConsent=t instanceof nt?t.getSafeCopy():new nt(t);i&&(this.privacyConsent.previousCategories=i);if(!this.isTestingEnabled){this.privacyConsentListeners.forEach(t=>this.safeCallListener(t,this.privacyConsent.getSafeCopy()));this.cleanUpCookies()}e&&this.sendReportingClickActivity()}setPrivacySettings(t){this.privacySettings=t;this.privacySettingsListeners.forEach(t=>this.safeCallListener(t,this.privacySettings))}getHsq(){return this.context.getWindow()[r]=this.context.getWindow()[r]||[]}trackAction(t){this.getHsq().push([t])}revokeCookieConsent(){for(let t=0;t<X.length;t++)this.cookie.remove(X[t]);this.setPrivacyConsent(!1);this.trackAction("trackRevokeCookieConsent")}cleanUpCookies(){if(this.privacyConsent.previousCategories.advertisement!==this.privacyConsent.categories.advertisement&&!this.privacyConsent.categories.advertisement)try{this.cookie.removeFBPCookie(V)}catch(t){u(t)}}safeCallListener(t,e){try{t(e)}catch(t){u(t)}}addCookieDomain(t){this.cookie.addDomain(t)}setCookiesToSubdomain(t){this.cookie.setCookiesToSubdomain(t)}setUseSecureCookies(t){this.cookie.setUseSecureCookies(t)}addEnabledFeatureGates(t){Array.isArray(t)&&t.every(t=>"string"==typeof t)&&t.length>0&&(this.enabledFeatureGates=t)}showBanner(){if(this.privacySettings)switch(this.privacySettings.mode){case T:if(!this.optInHandler)return;this.optInHandler.showBanner();return;case N:if(!this.cookiesByCategoryHandler)return;this.cookiesByCategoryHandler.showModal();return;default:return}else u("Hubspot privacy banner does not have privacy settings set")}hasEnabledFeatureGate(t){return this.enabledFeatureGates&&I(this.enabledFeatureGates,t)}setApiBaseUrl(t){this.apiBaseUrl||(this.apiBaseUrl=t)}getBaseActivityPayload(){const t=B(this.privacySettings),e=this.visitorCountry,i=this.privacySettings.id,n=this.privacySettings.portalId,o=this.context.getHostName();return{bannerGeoLocation:e||"",bannerPolicyId:i,bannerType:t,contentId:this.context.win.hsVars&&this.context.win.hsVars.page_id||"",portalId:n,domainName:o}}sendReportingClickActivity(){if(!this.privacyConsent||!this.privacySettings)return;const t={consentAllowed:this.privacyConsent&&this.privacyConsent.allowed,consentAnalytics:this.privacyConsent&&this.privacyConsent.categories.analytics,consentAdvertisement:this.privacyConsent&&this.privacyConsent.categories.advertisement,consentFunctionality:this.privacyConsent&&this.privacyConsent.categories.functionality},e=this.getBaseActivityPayload();Object.keys(e).forEach(i=>{t[i]=e[i]});if(this.isTestingEnabled){b("The banner is in test mode, no reporting event will be sent.");b("We would have sent the following click activity");b(t)}else ge(this.apiBaseUrl,t)}sendReportingViewActivity(){if(!this.privacySettings)return;const t=this.getBaseActivityPayload();if(this.isTestingEnabled){b("The banner is in test mode, no reporting event will be sent.");b("We would have sent the following view activity");b(t)}else pe(this.apiBaseUrl,t)}setPortalId(t){this.portalId=t}setBusinessUnitId(t){this.businessUnitId=t}}const ye=t=>encodeURI(t),ue=t=>decodeURI(t),be="1970-01-01T00:00:01-00:00";class fe{constructor(t){this.context=t||new n;this.currentDomain=null;this.cookiesToSubdomain=!1;this.useSecureCookies=!1;this.domains=[]}isEnabled(){return this.context.getNavigator().cookieEnabled||"cookie"in this.context.getDocument()&&this.context.getDocument().cookie.length>0}addDomain(t){const e="."+this.context.getHostName();x(e,t)&&(!this.currentDomain||t.length<this.currentDomain.length)&&(this.currentDomain=t);this.domains.push(t)}getDomains(){return this.domains}get(t){const e=new RegExp(`(^|;)[ ]*${t}=([^;]*)`).exec(this.context.getDocument().cookie);return e?ue(e[2]):""}set(t,e,i){let n,o,a=!1;if((i=i||{}).minsToExpire){n=new Date;n.setTime(n.getTime()+1e3*i.minsToExpire*60)}else if(i.daysToExpire){n=new Date;n.setTime(n.getTime()+1e3*i.daysToExpire*60*60*24)}else i.expiryDate&&i.expiryDate.toGMTString?n=i.expiryDate:i.expiryDate&&(n=new Date(i.expiryDate));if(void 0!==n){o=n.toGMTString();a=!0}this.setCookie(t,ye(e),{expires:a?";expires="+o:"",expiresTime:a?n:null,path:";path="+(i.path?i.path:"/"),domain:!this.cookiesToSubdomain&&this.currentDomain?";domain="+this.currentDomain:"",secure:this.useSecureCookies?";secure":"",sameSite:";SameSite=Lax"})}getDomainAncestry(t){if(""===t||!t)return[];const e=t.split(".");if(2===e.length)return[t];if(""===e[e.length-1]||e.length<2){console.error(`Invalid Domain: ${t}, Parsed As: [${e}]`);return[]}const i=[];let n,o=""+e[e.length-1];for(n=e.length-2;n>=0;n--){if(""===e[n]){if(0!==n){console.error(`Invalid Domain: ${t}, Parsed As: [${e}]`);return[]}continue}const a=`${e[n]}.${o}`;i.push(a);o=a}return i}removeFBPCookie(t){const e=new Date(be),i=e.toGMTString();this.getDomainAncestry(this.context.getDocument().domain).forEach(n=>{this.setCookie(t,"",{expires:";expires="+i,expiresTime:e,path:";path=/",domain:";domain=."+n,secure:"",sameSite:";SameSite=Lax"})})}remove(t){this.set(t,"",{expiryDate:be})}setCookie(t,e,i){const n=i.expires+i.path+i.domain+i.sameSite+i.secure;this.writeCookie(`${t}=${e}${n}`);const o=this.get(t);if((!o||o!==e)&&""!==i.domain&&(!i.expiresTime||i.expiresTime-new Date>0)){const n=i.expires+i.path+i.sameSite+i.secure;this.writeCookie(`${t}=${e}${n}`)}}writeCookie(t){this.context.getDocument().cookie=t}setCookiesToSubdomain(t){this.cookiesToSubdomain=t}setUseSecureCookies(t){this.useSecureCookies=t}}const ve={initialize:!0,runCritsitCookieScrubbing:!0,safeCallListener:!0,setCookiePolicy:!0,setPrivacyConsent:!0,setPrivacySettings:!0,cleanUpCookies:!0,getVisitorCountry:!0,sendReportingClickActivity:!0,sendReportingViewActivity:!0};class xe{constructor(t,e){this.context=t||new n;this.cookie=e||new fe(t);this.banner=new me(this.context,this.cookie)}setUpQueue(t){const e=this.context.getWindow();let i=e[s]=e[s]||[];Array.isArray(i)||(i=e[s]=[]);i.push=t}processQueue(t){const e=this.context.getWindow()[s];f(e,["setCookiesToSubdomain","setUseSecureCookies","addCookieDomain","addEnabledFeatureGates","setApiBaseUrl","setPortalId","setBusinessUnitId"],t);const i=m(e,"getVisitorCountry");this.banner.initialize(e,i);for(;e.length;)t(e.shift())}run(){const t=this.context.getWindow();if(t[a])return;b("Initializing the banner runner...");const e=t=>{try{if(t&&Array.isArray(t)&&t.length>0&&this.banner[t[0]]){const e=t[0],i=this.banner[t[0]]instanceof Function;if(ve[e]||!i)return!1;const n=t.slice(1);return this.banner[e].apply(this.banner,n)}}catch(t){u(t)}return!1};this.setUpQueue(e);this.processQueue(e);t[a]=!0;b("Done initializing the banner runner.")}}const ke=t=>{const e=()=>{(new xe).run()},i=t.getDocument(),n=()=>{e();i.removeEventListener("DOMContentLoaded",n)};"loading"===i.readyState?i.addEventListener("DOMContentLoaded",n):e()};(()=>{try{const t=new n,e=t.getWindow();if(e[o])return;ke(t);e[o]=!0}catch(t){u(t)}})()}]);
/****** Cookie Banner version static-1.15183 *****/