!function(){if(!window.__tmWebkitMessageHandlersShim){window.__tmWebkitMessageHandlersShim=!0;var e=window.webkit;if(!e||"object"!=typeof e){e={};try{window.webkit=e}catch(e){return}}var n=e.messageHandlers;n&&"object"==typeof n||(n={},e.messageHandlers=n),n.__tmWebkitProxy||("function"==typeof Proxy?e.messageHandlers=new Proxy(n,{get:function(e,n){if("__tmWebkitProxy"===n)return!0;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];if("symbol"==typeof n)return e[n];var t={postMessage:function(){}};return e[n]=t,t}}):e.messageHandlers=n)}}(),function(){function e(e){return!!(e&&e.fn&&e.fn.jquery&&"function"==typeof e.fn.val)}function n(){var n=window.__tmJQueryRef;if(e(n))return n;var t=window.jQuery;return e(t)?(window.__tmJQueryRef=t,t):null}function t(e,n){return!n||e.fn&&"function"==typeof e.fn[n]}function o(n,t){t(function(){e(t)&&"function"==typeof n&&n(t)})}if(window.tmResolveJQuery=n,window.tmEnsureGlobalJQuery=function(){var t=n();return t?(e(window.jQuery)||(window.jQuery=t,window.$=t),t):null},window.tmRefreshJQueryPin=function(){e(window.jQuery)&&(window.__tmJQueryRef=window.jQuery)},window.tmHasRealJQuery=function(){return!!n()},window.tmWhenJQueryReady||(window.tmWhenJQueryReady=function(e,t){var i="number"==typeof t?t:200,r=0;!function t(){var a=n();a?o(e,a):r>=i||(r+=1,setTimeout(t,25))}()}),window.tmWhenJQueryPluginReady||(window.tmWhenJQueryPluginReady=function(e,i,r){var a="number"==typeof r?r:200,u=0,d="string"==typeof i?i:"";!function i(){var r=n();r&&t(r,d)?o(function(n){t(n,d)?"function"==typeof e&&e(n):u<a&&(u+=1,setTimeout(i,25))},r):u>=a||(u+=1,setTimeout(i,25))}()}),!window.__tmJQueryReadyGuard){window.__tmJQueryReadyGuard=!0,window.__tmPendingJQueryReady=window.__tmPendingJQueryReady||[];var i=window.__tmPendingJQueryReady,r=window.$;function a(e){if("function"==typeof e){var t=n();t?t(e):i.push(e)}}function u(e){if("function"!=typeof e)return{ready:function(e){a(e)}};a(e)}window.tmGetHiddenInputInt=function(e,n){var t=parseInt(n,10);isFinite(t)||(t=0);var o=document.getElementById(e);if(!o||"string"!=typeof o.value||""===o.value)return t;var i=parseInt(o.value,10);return isFinite(i)?i:t},u.ready=a,u.fn={},u.Event=function(e,n){var t;if("function"==typeof window.Event)try{t=new window.Event(e,{bubbles:!0,cancelable:!0})}catch(n){(t=document.createEvent("Event")).initEvent(e,!0,!0)}else document.createEvent?(t=document.createEvent("Event")).initEvent(e,!0,!0):t={type:e};return n&&"object"==typeof n&&Object.keys(n).forEach(function(e){t[e]=n[e]}),t},window.jQuery||(window.jQuery=u),window.$&&window.$!==r||(window.$=window.jQuery),window.tmWhenJQueryReady(function(){!function(){var e=n();if(e&&i.length)for(;i.length;){var t=i.shift();try{e(t)}catch(e){}}}()})}if(window.tmWhenBodyReady=function(e){"function"==typeof e&&(document.getElementsByTagName("body")[0]?e():document.addEventListener("DOMContentLoaded",e,{once:!0}))},"function"!=typeof window.closeFullScreen&&(window.closeFullScreen=function(){try{var e=document;if(e.fullscreenElement||e.webkitFullscreenElement||e.msFullscreenElement){var n=e.exitFullscreen||e.webkitExitFullscreen||e.msExitFullscreen;if(n){var t=n.call(e);t&&"function"==typeof t.catch&&t.catch(function(){})}}var o=e.getElementById("tm-video-fullscreen-overlay");o&&o.remove();var i=e.getElementById("modal-massagens");i&&(i.style.display="none");var r=e.getElementById("modal-beneficios");r&&(r.style.display="none"),e.querySelectorAll(".modal-overlay, .modal-overlay-massagens").forEach(function(e){e.style.display="none"}),"function"==typeof window.fecharModalBeneficios&&window.fecharModalBeneficios(),"function"==typeof window.fecharModalCidadesInclude&&window.fecharModalCidadesInclude();var a=e.getElementById("modal-18-plus");a&&"none"!==a.style.display&&null!==a.offsetParent||(e.body.style.overflow="",e.body.classList.remove("age-locked"))}catch(e){}}),function(){if(!window.__tmTurnstileFailureGuard){window.__tmTurnstileFailureGuard=!0;if(window.tmTurnstileIsKnownFailure=function(e){var n=function(e){var n=[];return e&&"object"==typeof e?(e.message&&n.push(String(e.message)),e.name&&n.push(String(e.name)),e.stack&&n.push(String(e.stack))):null!=e&&n.push(String(e)),n.join(" ").toLowerCase()}(e);return!!n&&(-1!==n.indexOf("turnstile")||-1!==n.indexOf("challenges.cloudflare")||-1!==n.indexOf("cloudflare.com/turnstile")||(-1!==n.indexOf("unreachable")||-1!==n.indexOf("did not contain")||-1!==n.indexOf("turnstile widget seem to have hung")||-1!==n.indexOf("hung")&&-1!==n.indexOf("widget")||(!(-1===n.indexOf("success")&&-1===n.indexOf("data")||-1===n.indexOf("undefined")&&-1===n.indexOf("null")&&-1===n.indexOf("is not an object")&&-1===n.indexOf("cannot read propert")&&-1===n.indexOf("can't find variable")&&-1===n.indexOf("reading"))||(-1!==n.indexOf("failed to fetch")||-1!==n.indexOf("networkerror")||-1!==n.indexOf("network request failed")||-1!==n.indexOf("load failed")||-1!==n.indexOf("err_blocked")||-1!==n.indexOf("blocked by client")||-1!==n.indexOf("blocked"))&&(-1!==n.indexOf("cloudflare")||-1!==n.indexOf("turnstile")||-1!==n.indexOf("captcha")||-1!==n.indexOf("challenges")))))},window.tmTurnstileNotifyUser=function(e,n){e=e||"Não foi possível carregar a verificação de segurança. Desative bloqueadores de anúncios ou rastreadores e recarregue a página.";var t=n||document.querySelector("[data-tm-turnstile-status]")||document.getElementById("tm-captcha-status")||document.querySelector(".cf-turnstile-wrap")||document.querySelector(".cf-turnstile");if(t){var o=t.parentNode||t;if(!o.querySelector(".tm-turnstile-notice")){var i=document.createElement("div");i.className="tm-turnstile-notice",i.setAttribute("role","alert"),i.textContent=e,i.style.cssText="margin-top:8px;padding:10px 12px;border-radius:8px;background:#fff3f3;color:#8b0038;font-size:14px;line-height:1.4;",o.appendChild(i)}}},window.tmTurnstileErrorCallback=function(){window.tmTurnstileNotifyUser()},window.tmTurnstileTimeoutCallback=function(){window.tmTurnstileNotifyUser("A verificação de segurança demorou demais. Desative bloqueadores de anúncios ou recarregue a página.")},n(document),window.tmWhenBodyReady(function(){n(document)}),"function"==typeof MutationObserver&&document.documentElement)new MutationObserver(function(t){t.forEach(function(t){t.addedNodes.forEach(function(t){t&&1===t.nodeType&&(t.matches&&(t.matches(".cf-turnstile")||t.matches(".cf-turnstile-wrap"))&&e(t),n(t))})})}).observe(document.documentElement,{childList:!0,subtree:!0});window.addEventListener("unhandledrejection",function(e){window.tmTurnstileIsKnownFailure(e.reason)&&(e.preventDefault(),window.tmTurnstileNotifyUser())}),window.addEventListener("error",function(e){var n=e&&e.target,t=n&&(n.src||n.href);t&&-1!==String(t).indexOf("challenges.cloudflare.com/turnstile")&&window.tmTurnstileNotifyUser()},!0)}function e(e){e&&1===e.nodeType&&(e.getAttribute("data-error-callback")||e.setAttribute("data-error-callback","tmTurnstileErrorCallback"),e.getAttribute("data-timeout-callback")||e.setAttribute("data-timeout-callback","tmTurnstileTimeoutCallback"))}function n(n){(n&&n.querySelectorAll?n:document).querySelectorAll(".cf-turnstile, .cf-turnstile-wrap").forEach(e)}}(),!document.getElementsByTagName("body")[0])try{Object.defineProperty(document,"body",{get:function(){return document.getElementsByTagName("body")[0]||document.documentElement},configurable:!0})}catch(d){}}();