!function(){if(!window.__tmWebkitMessageHandlersShim){window.__tmWebkitMessageHandlersShim=!0;var e=r(window,"webkit");if(e&&"object"==typeof e||(e={},n(window,"webkit",e))){var t=r(e,"messageHandlers");if((t&&"object"==typeof t||n(e,"messageHandlers",t={}))&&!t.__tmWebkitProxy&&"function"==typeof Proxy)try{n(e,"messageHandlers",new Proxy(t,{get:function(e,t){if("__tmWebkitProxy"===t)return!0;if(Object.prototype.hasOwnProperty.call(e,t))return e[t];if("symbol"==typeof t)return e[t];var r={postMessage:function(){}};return e[t]=r,r}}))}catch(r){n(e,"messageHandlers",t)}}}function r(e,t){try{if(null==e||"object"!=typeof e&&"function"!=typeof e)return;return e[t]}catch(e){return}}function n(e,t,r){try{return e[t]=r,!0}catch(e){return!1}}}();
!function(){if(!window.__tmWebkitMessageHandlersShim){window.__tmWebkitMessageHandlersShim=!0;var e=n(window,"webkit");if(e&&"object"==typeof e||(e={},i(window,"webkit",e))){var t=n(e,"messageHandlers");if((t&&"object"==typeof t||i(e,"messageHandlers",t={}))&&!t.__tmWebkitProxy&&"function"==typeof Proxy)try{i(e,"messageHandlers",new Proxy(t,{get:function(e,t){if("__tmWebkitProxy"===t)return!0;if(Object.prototype.hasOwnProperty.call(e,t))return e[t];if("symbol"==typeof t)return e[t];var n={postMessage:function(){}};return e[t]=n,n}}))}catch(n){i(e,"messageHandlers",t)}}}function n(e,t){try{if(null==e||"object"!=typeof e&&"function"!=typeof e)return;return e[t]}catch(e){return}}function i(e,t,n){try{return e[t]=n,!0}catch(e){return!1}}}(),function(){function e(e){return!!(e&&e.fn&&e.fn.jquery&&"tm-stub"!==e.fn.jquery&&"function"==typeof e.fn.val)}function t(){var t=window.__tmJQueryRef;if(e(t))return t;var n=window.jQuery;return e(n)?(window.__tmJQueryRef=n,n):null}function n(e,t){return!t||e.fn&&"function"==typeof e.fn[t]}function i(t,n){n(function(){e(n)&&"function"==typeof t&&t(n)})}function o(){var t=document.body;t&&(e(window.jQuery)?t.removeAttribute("data-bs-no-jquery"):t.hasAttribute("data-bs-no-jquery")||t.setAttribute("data-bs-no-jquery",""))}if(window.tmResolveJQuery=t,window.tmEnsureGlobalJQuery=function(){var n=t();return n?(e(window.jQuery)||(window.jQuery=n,window.$=n),o(),n):null},window.tmRefreshJQueryPin=function(){e(window.jQuery)&&(window.__tmJQueryRef=window.jQuery,o())},window.tmHasRealJQuery=function(){return!!t()},window.tmUpdateBootstrapJQueryBridge=o,window.tmWhenJQueryReady||(window.tmWhenJQueryReady=function(e,n){var o="number"==typeof n?n:200,r=0;!function n(){var a=t();a?i(e,a):r>=o||(r+=1,setTimeout(n,25))}()}),window.tmWhenJQueryPluginReady||(window.tmWhenJQueryPluginReady=function(e,o,r){var a="number"==typeof r?r:200,u=0,c="string"==typeof o?o:"";!function o(){var r=t();r&&n(r,c)?i(function(t){n(t,c)?"function"==typeof e&&e(t):u<a&&(u+=1,setTimeout(o,25))},r):u>=a||(u+=1,setTimeout(o,25))}()}),!window.__tmJQueryReadyGuard){window.__tmJQueryReadyGuard=!0,window.__tmPendingJQueryReady=window.__tmPendingJQueryReady||[];var r=window.__tmPendingJQueryReady;function a(e){if("function"==typeof e){var n=t();n?n(e):r.push(e)}}function u(e){if("function"==typeof e)return a(e),u;var t=[];if("string"==typeof e)try{t=Array.prototype.slice.call(document.querySelectorAll(e))}catch(e){t=[]}else e&&1===e.nodeType&&(t=[e]);return{length:t.length,ready:function(e){return a(e),this},trigger:function(e,n){return function(e,n){var i=u.Event(e,n);return t.forEach(function(e){e&&"function"==typeof e.dispatchEvent&&e.dispatchEvent(i)}),u}(e,n)},on:function(){return this},off:function(){return this}}}window.tmGetHiddenInputInt=function(e,t){var n=parseInt(t,10);isFinite(n)||(n=0);var i=document.getElementById(e);if(!i||"string"!=typeof i.value||""===i.value)return n;var o=parseInt(i.value,10);return isFinite(o)?o:n},u.ready=a,u.fn={jquery:"tm-stub"},u.Event=function(e,t){var n;if("function"==typeof window.Event)try{n=new window.Event(e,{bubbles:!0,cancelable:!0})}catch(t){(n=document.createEvent("Event")).initEvent(e,!0,!0)}else document.createEvent?(n=document.createEvent("Event")).initEvent(e,!0,!0):n={type:e};return t&&"object"==typeof t&&Object.keys(t).forEach(function(e){n[e]=t[e]}),n},window.tmQueueJQueryReady=a,e(window.jQuery)&&(window.__tmJQueryRef=window.jQuery),window.tmWhenJQueryReady(function(){!function(){var e=t();if(e&&r.length)for(;r.length;){var n=r.shift();try{e(n)}catch(e){}}}(),o()}),window.tmWhenBodyReady(function(){o()})}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 t=e.exitFullscreen||e.webkitExitFullscreen||e.msExitFullscreen;if(t){var n=t.call(e);n&&"function"==typeof n.catch&&n.catch(function(){})}}window.tmMediaSafeExitPictureInPicture?window.tmMediaSafeExitPictureInPicture():e.pictureInPictureElement&&"function"==typeof e.exitPictureInPicture&&e.exitPictureInPicture().catch(function(){});var i=e.getElementById("tm-video-fullscreen-overlay");i&&i.remove();var o=e.getElementById("modal-massagens");o&&(o.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(t){var n=e(t);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.tmIsKnownBenignRejection=function(t){if(window.tmTurnstileIsKnownFailure(t))return!0;var n=e(t);if(!n)return!1;if(-1!==n.indexOf("the string did not match the expected pattern"))return!0;if("string"==typeof t){var i=t.toLowerCase().trim();if("load failed"===i||"failed to fetch"===i)return!0}if(t&&"object"==typeof t&&t.message){var o=String(t.message).toLowerCase().trim();if("load failed"===o||"failed to fetch"===o)return!0}if(t&&"object"==typeof t&&"InvalidStateError"===t.name){var r=String(t.message||"").toLowerCase();if(-1!==r.indexOf("picture-in-picture")||-1!==r.indexOf("pictureinpicture"))return!0}return!(!t||"object"!=typeof t||12!==t.code)&&(-1!==n.indexOf("syntax")||-1!==n.indexOf("expected pattern"))},window.tmTurnstileNotifyUser=function(e,t){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 n=t||document.querySelector("[data-tm-turnstile-status]")||document.getElementById("tm-captcha-status")||document.querySelector(".cf-turnstile-wrap")||document.querySelector(".cf-turnstile");if(n){var i=n.parentNode||n;if(!i.querySelector(".tm-turnstile-notice")){var o=document.createElement("div");o.className="tm-turnstile-notice",o.setAttribute("role","alert"),o.textContent=e,o.style.cssText="margin-top:8px;padding:10px 12px;border-radius:8px;background:#fff3f3;color:#8b0038;font-size:14px;line-height:1.4;",i.appendChild(o)}}},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(e){e.forEach(function(e){e.addedNodes.forEach(function(e){e&&1===e.nodeType&&(e.matches&&(e.matches(".cf-turnstile")||e.matches(".cf-turnstile-wrap"))&&t(e),n(e))})})}).observe(document.documentElement,{childList:!0,subtree:!0});window.addEventListener("unhandledrejection",function(e){window.tmIsKnownBenignRejection&&window.tmIsKnownBenignRejection(e.reason)&&(e.preventDefault(),window.tmTurnstileIsKnownFailure&&window.tmTurnstileIsKnownFailure(e.reason)&&window.tmTurnstileNotifyUser())}),window.addEventListener("error",function(e){var t=e&&e.target,n=t&&(t.src||t.href);n&&-1!==String(n).indexOf("challenges.cloudflare.com/turnstile")&&window.tmTurnstileNotifyUser()},!0)}function e(e){var t=[];return e&&"object"==typeof e?(e.message&&t.push(String(e.message)),e.name&&t.push(String(e.name)),void 0!==e.code&&null!==e.code&&t.push(String(e.code)),e.stack&&t.push(String(e.stack))):null!=e&&t.push(String(e)),t.join(" ").toLowerCase()}function t(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(e){(e&&e.querySelectorAll?e:document).querySelectorAll(".cf-turnstile, .cf-turnstile-wrap").forEach(t)}}(),!document.getElementsByTagName("body")[0])try{Object.defineProperty(document,"body",{get:function(){return document.getElementsByTagName("body")[0]||document.documentElement},configurable:!0})}catch(c){}}(),function(){function e(e){return e&&"function"==typeof e.getItem?e:null}window.__tmSharedGuardsInit||(window.__tmSharedGuardsInit=!0,window.tmGetLocalStorage=function(){try{return e(window.localStorage)}catch(e){return null}},window.tmGetSessionStorage=function(){try{return e(window.sessionStorage)}catch(e){return null}},window.tmStorageGet=function(e,t){var n="session"===t?window.tmGetSessionStorage():window.tmGetLocalStorage();if(!n)return null;try{return n.getItem(e)}catch(e){return null}},window.tmStorageSet=function(e,t,n){var i="session"===n?window.tmGetSessionStorage():window.tmGetLocalStorage();if(!i)return!1;try{return i.setItem(e,t),!0}catch(e){return!1}},window.tmStorageRemove=function(e,t){var n="session"===t?window.tmGetSessionStorage():window.tmGetLocalStorage();if(!n||"function"!=typeof n.removeItem)return!1;try{return n.removeItem(e),!0}catch(e){return!1}},window.tmPararMapaLeaflet=function(e){if(e)try{"function"==typeof e.closePopup&&e.closePopup();var t=e.dragging;if(t){var n=t._draggable;n&&(n._moving||n._moved)&&"function"==typeof n.finishDrag&&n.finishDrag(!0)}"function"==typeof e.stop&&e.stop(),e._panAnim&&e._panAnim._inProgress&&"function"==typeof e._panAnim.stop&&e._panAnim.stop();var i=e._mapPane;i&&i.classList&&i.classList.remove("leaflet-pan-anim")}catch(e){}},window.tmLeafletMapOptions={fadeAnimation:!1,zoomAnimation:!1,inertia:!1})}();