var pys_datalayer_name = "dataLayer";
window.dataLayer = window.dataLayer || [];
var gtm4wp_datalayer_name = "dataLayer";
var dataLayer = dataLayer || [];const gtm4wp_scrollerscript_debugmode = false;
const gtm4wp_scrollerscript_callbacktime = 100;
const gtm4wp_scrollerscript_readerlocation = 150;
const gtm4wp_scrollerscript_contentelementid = "content";
const gtm4wp_scrollerscript_scannertime = 60;
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/endoscopyacademy.org\/wp-includes\/js\/wp-emoji-release.min.js?ver=316ad9702abef2a00b37c2ad3decbd09"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
var breeze_prefetch = {"local_url":"https:\/\/endoscopyacademy.org","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
https://endoscopyacademy.org/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://endoscopyacademy.org/wp-includes/js/jquery/jquery.min.js
https://endoscopyacademy.org/wp-includes/js/jquery/jquery-migrate.min.js
https://endoscopyacademy.org/wp-content/plugins/hide-admin-bar-based-on-user-roles/public/js/hide-admin-bar-based-on-user-roles-public.js
https://endoscopyacademy.org/wp-content/plugins/duracelltomi-google-tag-manager/dist/js/analytics-talk-content-tracking.js
https://endoscopyacademy.org/wp-content/plugins/pixelyoursite/dist/scripts/jquery.bind-first-0.2.3.min.js
https://endoscopyacademy.org/wp-content/plugins/pixelyoursite/dist/scripts/js.cookie-2.1.3.min.js
var pysOptions = {"staticEvents":{"facebook":{"init_event":[{"delay":0,"type":"static","name":"PageView","pixelIds":["1779758019015604"],"eventID":"d0b5a604-e9e4-4f87-9a84-4f35326c1c25","params":{"page_title":"Mis Cursos","post_type":"page","post_id":5123,"plugin":"PixelYourSite","user_role":"guest","event_url":"endoscopyacademy.org\/profile\/"},"e_id":"init_event","ids":[],"hasTimeWindow":false,"timeWindow":0,"woo_order":"","edd_order":""}]}},"dynamicEvents":{"automatic_event_form":{"facebook":{"delay":0,"type":"dyn","name":"Form","pixelIds":["1779758019015604"],"eventID":"ed52c48b-b56b-46c9-a872-76dd331e49a9","params":{"page_title":"Mis Cursos","post_type":"page","post_id":5123,"plugin":"PixelYourSite","user_role":"guest","event_url":"endoscopyacademy.org\/profile\/"},"e_id":"automatic_event_form","ids":[],"hasTimeWindow":false,"timeWindow":0,"woo_order":"","edd_order":""}},"automatic_event_download":{"facebook":{"delay":0,"type":"dyn","name":"Download","extensions":["","doc","exe","js","pdf","ppt","tgz","zip","xls"],"pixelIds":["1779758019015604"],"eventID":"4dee9828-7ab5-4d7c-808c-42d284e89cf1","params":{"page_title":"Mis Cursos","post_type":"page","post_id":5123,"plugin":"PixelYourSite","user_role":"guest","event_url":"endoscopyacademy.org\/profile\/"},"e_id":"automatic_event_download","ids":[],"hasTimeWindow":false,"timeWindow":0,"woo_order":"","edd_order":""}},"automatic_event_comment":{"facebook":{"delay":0,"type":"dyn","name":"Comment","pixelIds":["1779758019015604"],"eventID":"2c7b08d0-eb0c-47ef-a8b4-22f03689fea0","params":{"page_title":"Mis Cursos","post_type":"page","post_id":5123,"plugin":"PixelYourSite","user_role":"guest","event_url":"endoscopyacademy.org\/profile\/"},"e_id":"automatic_event_comment","ids":[],"hasTimeWindow":false,"timeWindow":0,"woo_order":"","edd_order":""}},"automatic_event_scroll":{"facebook":{"delay":0,"type":"dyn","name":"PageScroll","scroll_percent":50,"pixelIds":["1779758019015604"],"eventID":"55759081-a428-41fb-93ab-542e092a7224","params":{"page_title":"Mis Cursos","post_type":"page","post_id":5123,"plugin":"PixelYourSite","user_role":"guest","event_url":"endoscopyacademy.org\/profile\/"},"e_id":"automatic_event_scroll","ids":[],"hasTimeWindow":false,"timeWindow":0,"woo_order":"","edd_order":""}},"automatic_event_time_on_page":{"facebook":{"delay":0,"type":"dyn","name":"TimeOnPage","time_on_page":30,"pixelIds":["1779758019015604"],"eventID":"959ec288-d54c-4193-a706-cb38dafc286d","params":{"page_title":"Mis Cursos","post_type":"page","post_id":5123,"plugin":"PixelYourSite","user_role":"guest","event_url":"endoscopyacademy.org\/profile\/"},"e_id":"automatic_event_time_on_page","ids":[],"hasTimeWindow":false,"timeWindow":0,"woo_order":"","edd_order":""}}},"triggerEvents":[],"triggerEventTypes":[],"facebook":{"pixelIds":["1779758019015604"],"advancedMatching":{"external_id":"bbdfabcffafaedfeeacbb"},"advancedMatchingEnabled":true,"removeMetadata":false,"contentParams":{"post_type":"page","post_id":5123,"content_name":"Mis Cursos"},"commentEventEnabled":true,"wooVariableAsSimple":false,"downloadEnabled":true,"formEventEnabled":true,"serverApiEnabled":true,"wooCRSendFromServer":false,"send_external_id":null},"debug":"","siteUrl":"https:\/\/endoscopyacademy.org","ajaxUrl":"https:\/\/endoscopyacademy.org\/wp-admin\/admin-ajax.php","ajax_event":"2bb799cca9","enable_remove_download_url_param":"1","cookie_duration":"7","last_visit_duration":"60","enable_success_send_form":"","ajaxForServerEvent":"1","ajaxForServerStaticEvent":"1","send_external_id":"1","external_id_expire":"180","google_consent_mode":"1","gdpr":{"ajax_enabled":false,"all_disabled_by_api":false,"facebook_disabled_by_api":false,"analytics_disabled_by_api":false,"google_ads_disabled_by_api":false,"pinterest_disabled_by_api":false,"bing_disabled_by_api":false,"externalID_disabled_by_api":false,"facebook_prior_consent_enabled":false,"analytics_prior_consent_enabled":true,"google_ads_prior_consent_enabled":null,"pinterest_prior_consent_enabled":true,"bing_prior_consent_enabled":true,"cookiebot_integration_enabled":false,"cookiebot_facebook_consent_category":"marketing","cookiebot_analytics_consent_category":"statistics","cookiebot_tiktok_consent_category":"marketing","cookiebot_google_ads_consent_category":null,"cookiebot_pinterest_consent_category":"marketing","cookiebot_bing_consent_category":"marketing","consent_magic_integration_enabled":false,"real_cookie_banner_integration_enabled":false,"cookie_notice_integration_enabled":false,"cookie_law_info_integration_enabled":false,"analytics_storage":{"enabled":true,"value":"granted","filter":false},"ad_storage":{"enabled":true,"value":"granted","filter":false},"ad_user_data":{"enabled":true,"value":"granted","filter":false},"ad_personalization":{"enabled":true,"value":"granted","filter":false}},"cookie":{"disabled_all_cookie":false,"disabled_start_session_cookie":false,"disabled_advanced_form_data_cookie":false,"disabled_landing_page_cookie":false,"disabled_first_visit_cookie":false,"disabled_trafficsource_cookie":false,"disabled_utmTerms_cookie":false,"disabled_utmId_cookie":false},"tracking_analytics":{"TrafficSource":"direct","TrafficLanding":"undefined","TrafficUtms":[],"TrafficUtmsId":[]},"woo":{"enabled":false},"edd":{"enabled":false}};
https://endoscopyacademy.org/wp-content/plugins/pixelyoursite/dist/scripts/public.js
var _hsq = _hsq || [];
_hsq.push(["setContentType", "standard-page"]);
var dataLayer_content = {"visitorLoginState":"logged-out","visitorType":"visitor-logged-out","pagePostType":"page","pagePostType2":"single-page","pagePostAuthor":"Alejandro Muñoz","browserName":"Safari","browserVersion":17.6,"browserEngineName":"Webkit","browserEngineVersion":"605.1.15","osName":"OS X","osVersion":"10.15.7","deviceType":"desktop","deviceManufacturer":"Apple","deviceModel":"Macintosh"};
dataLayer.push( dataLayer_content );
Ir al contenido const lazyloadRunObserver = () => {
const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` );
const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => {
entries.forEach( ( entry ) => {
if ( entry.isIntersecting ) {
let lazyloadBackground = entry.target;
if( lazyloadBackground ) {
lazyloadBackground.classList.add( 'e-lazyloaded' );
}
lazyloadBackgroundObserver.unobserve( entry.target );
}
});
}, { rootMargin: '200px 0px 200px 0px' } );
lazyloadBackgrounds.forEach( ( lazyloadBackground ) => {
lazyloadBackgroundObserver.observe( lazyloadBackground );
} );
};
const events = [
'DOMContentLoaded',
'elementor/lazyload/observe',
];
events.forEach( ( event ) => {
document.addEventListener( event, lazyloadRunObserver );
} );
var astra = {"break_point":"921","isRtl":"","is_scroll_to_id":"","is_scroll_to_top":"","is_header_footer_builder_active":"1","responsive_cart_click":"flyout"};
https://endoscopyacademy.org/wp-content/themes/astra/assets/js/minified/frontend.min.js
var leadin_wordpress = {"userRole":"visitor","pageType":"page","leadinPluginVersion":"11.1.66"};
var ldVars = {"postID":"5123","videoReqMsg":"Debes ver el video antes de acceder a este contenido","ajaxurl":"https:\/\/endoscopyacademy.org\/wp-admin\/admin-ajax.php"};
var ldVars = {"postID":"5123","videoReqMsg":"Debes ver el video antes de acceder a este contenido","ajaxurl":"https:\/\/endoscopyacademy.org\/wp-admin\/admin-ajax.php"};
var ldVars = {"postID":"5123","videoReqMsg":"Debes ver el video antes de acceder a este contenido","ajaxurl":"https:\/\/endoscopyacademy.org\/wp-admin\/admin-ajax.php"};
//endoscopyacademy.org/wp-content/plugins/sfwd-lms/themes/ld30/assets/js/learndash.js
https://endoscopyacademy.org/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);
window.addEventListener("DOMContentLoaded",(e=>{document.querySelectorAll('img[loading="lazy"]').forEach((e=>{e.getBoundingClientRect().top<=window.innerHeight&&(e.loading="eager")}))}));