"function"!=typeof window.sentryOnLoad&&(window.sentryOnLoad=function(){window.Sentry&&!window.__tmSentryConfigured&&(window.__tmSentryConfigured=!0,window.Sentry.init({beforeSend:function(e){var n="",t="",o=[];e&&e.exception&&e.exception.values&&e.exception.values[0]&&(n=e.exception.values[0].type||"",t=e.exception.values[0].value||"",e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames&&(o=e.exception.values[0].stacktrace.frames));for(var r="",i=!1,a=0;a<o.length;a++){var d=o[a].filename||"",s=d.toLowerCase();r+=d+" ",-1===s.indexOf("topmassagens.com.br")&&-1===s.indexOf("/wp-content/themes/layout_2024/")||(i=!0)}var f=(n+" "+t+" "+(e&&e.culprit?e.culprit:"")+" "+(e&&e.request&&e.request.url?e.request.url:"")+" "+r).toLowerCase(),x=t.toLowerCase();return-1!==f.indexOf("cdn-cgi/zaraz")||-1!==f.indexOf("cloudflareinsights.com")||-1!==f.indexOf("beacon.min.js")||-1!==f.indexOf("chrome-extension://")||-1!==f.indexOf("moz-extension://")||-1!==f.indexOf("safari-web-extension://")||-1!==x.indexOf(".at is not a function")||-1!==x.indexOf("entries.at")||-1!==x.indexOf("non-configurable property")&&-1!==x.indexOf("ethereum")||"Error"===n&&"Aa"===t||"SecurityError"===n&&-1!==t.toLowerCase().indexOf("localstorage")||"SecurityError"===n&&-1!==t.toLowerCase().indexOf("operation is insecure")||"AbortError"===n&&-1!==t.toLowerCase().indexOf("fetching process for the media resource was aborted by the user agent")||"Error"===n&&"Xd"===t||"ErrorEvent"===n&&-1!==t.toLowerCase().indexOf("script error.")||"TypeError"===n&&-1!==t.toLowerCase().indexOf("window.webkit.mes")||-1!==t.toLowerCase().indexOf("wkwebview api client did not respond to this postmessage")||-1!==t.toLowerCase().indexOf("the string did not match the expected pattern")?null:("TypeError"!==n||"load failed"!==x&&"failed to fetch"!==x)&&("SyntaxError"!==n||0!==o.length||-1===x.indexOf("unexpected token")&&-1===x.indexOf("unexpected end"))&&("InvalidStateError"!==n||-1===x.indexOf("picture-in-picture")&&-1===x.indexOf("pictureinpicture")&&-1===x.indexOf("exiting picture-in-picture")&&-1===x.indexOf("does not have a video track"))?("InvalidStateError"===n||"Error"===n&&-1!==x.indexOf("invalidstateerror"))&&-1!==x.indexOf("invalid state")&&-1!==f.indexOf("exitpictureinpicture")?null:("SyntaxError"!==n||-1===x.indexOf("unexpected token")||-1===x.indexOf("else")&&-1===x.indexOf("'for'")||-1===f.indexOf("__tmwebkitproxy")&&0!==o.length&&(1!==o.length||-1!==(o[0].filename||"").toLowerCase().indexOf(".js")))&&("RangeError"!==n||-1===x.indexOf("maximum call stack size exceeded")||-1===f.indexOf("translate-pa.googleapis.com")&&-1===f.indexOf("translate.googleapis.com"))&&(-1===x.indexOf("load failed")&&-1===x.indexOf("failed to fetch")||i)&&("RangeError"!==n||-1===t.toLowerCase().indexOf("maximum call stack size exceeded")||-1===t.toLowerCase().indexOf("string.replace")||i)?!i&&(-1!==t.toLowerCase().indexOf("event `errorevent` captured as exception")||-1!==t.toLowerCase().indexOf("errorevent")||-1!==f.indexOf("runtime.sendmessage")||-1!==f.indexOf("<unknown module>")||"NotAllowedError"===n||-1!==t.toLowerCase().indexOf("cannot set properties of undefined (setting 'maskwatcher")||-1!==t.toLowerCase().indexOf("the string did not match the expected pattern")||-1!==t.toLowerCase().indexOf("maximum call stack size exceeded")||-1!==t.toLowerCase().indexOf("undefined is not an object (evaluating")||-1!==t.toLowerCase().indexOf("aborterror: the operation was aborted")||-1!==t.toLowerCase().indexOf("the play() request was interrupted")||-1!==t.toLowerCase().indexOf("failed to load because no supported source was found")||-1!==t.toLowerCase().indexOf("the video element is not ready to enter the picture-in-picture")||-1!==t.toLowerCase().indexOf("can't find variable: fd9c")||-1!==t.toLowerCase().indexOf("the operation is insecure")||-1!==t.toLowerCase().indexOf("operation is not supported")||-1!==t.toLowerCase().indexOf("null is not an object (evaluating 'document.body.scrollheight")||-1!==t.toLowerCase().indexOf("response did not contain")||-1!==t.toLowerCase().indexOf("success")&&(-1!==t.toLowerCase().indexOf("undefined")||-1!==t.toLowerCase().indexOf("null")||-1!==t.toLowerCase().indexOf("reading"))||-1!==t.toLowerCase().indexOf("unreachable")&&-1!==f.indexOf("turnstile")||-1!==f.indexOf("challenges.cloudflare.com/turnstile")||-1!==f.indexOf("turnstile")||-1!==t.toLowerCase().indexOf("identifier")&&-1!==t.toLowerCase().indexOf("already been declared")||-1!==t.toLowerCase().indexOf("invalidstateerror"))?null:e:null:null}}))});