{"id":1201,"date":"2022-09-09T21:13:06","date_gmt":"2022-09-09T21:13:06","guid":{"rendered":"http:\/\/calidad.ufro.cl\/stand\/?page_id=1201"},"modified":"2023-06-29T21:30:53","modified_gmt":"2023-06-29T21:30:53","slug":"magister-en-epidemiologia-clinica","status":"publish","type":"page","link":"https:\/\/calidad.ufro.cl\/stand\/magister-en-epidemiologia-clinica\/","title":{"rendered":"Magister en Epidemiolog\u00eda Cl\u00ednica"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1201\" class=\"elementor elementor-1201\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bc056ec elementor-section-full_width elementor-section-height-min-height elementor-section-items-top elementor-hidden-mobile elementor-section-height-default\" data-id=\"bc056ec\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4d68ebd\" data-id=\"4d68ebd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f006740 elementor-widget elementor-widget-image\" data-id=\"f006740\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.7.4 - 31-08-2022 *\/\n.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=\".svg\"]{width:48px}.elementor-widget-image img{vertical-align:middle;display:inline-block}<\/style>\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/stand-1920-4.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/stand-1920-4.jpg 1920w, https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/stand-1920-4-300x169.jpg 300w, https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/stand-1920-4-1024x576.jpg 1024w, https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/stand-1920-4-768x432.jpg 768w, https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/stand-1920-4-1536x864.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2282571 elementor-section-height-min-height elementor-section-full_width elementor-section-items-top elementor-section-content-top elementor-hidden-mobile elementor-section-height-default\" data-id=\"2282571\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-30629e9\" data-id=\"30629e9\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f5576fc elementor-aspect-ratio-32 elementor-widget elementor-widget-video\" data-id=\"f5576fc\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=MZvTyrSiNMw&quot;,&quot;aspect_ratio&quot;:&quot;32&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.7.4 - 31-08-2022 *\/\n.elementor-widget-video .elementor-widget-container{overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.elementor-widget-video .elementor-open-inline .elementor-custom-embed-image-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:50%}.elementor-widget-video .elementor-custom-embed-image-overlay{cursor:pointer;text-align:center}.elementor-widget-video .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play i{opacity:1}.elementor-widget-video .elementor-custom-embed-image-overlay img{display:block;width:100%}.elementor-widget-video .e-hosted-video .elementor-video{-o-object-fit:cover;object-fit:cover}.e-container>.elementor-widget-video{width:var(--container-widget-width,100%)}<\/style>\t\t<div class=\"elementor-wrapper elementor-fit-aspect-ratio elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7927df7 elementor-widget elementor-widget-html\" data-id=\"7927df7\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"ayuda\">\n        <div style=\"position: absolute;\" class=\"base-timer_container\">\n<div class=\"base-timer\">\n<svg class=\"base-timer__svg\" viewBox=\"0 0 100 100\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<g class=\"base-timer__circle\">\n  <circle class=\"base-timer__path-elapsed\" cx=\"50\" cy=\"50\" r=\"45\"><\/circle>\n  <path id=\"base-timer-path-remaining\" stroke-dasharray=\"6509 283\" class=\"base-timer__path-remaining green\" d=\"\n      M 50, 50\n      m -45, 0\n      a 45,45 0 1,0 90,0\n      a 45,45 0 1,0 -90,0\n    \"><\/path>\n<\/g>\n<\/svg>\n<span id=\"base-timer-label\" style=\"display:none\" class=\"base-timer__label\">0:58<\/span>\n<\/div>\n<\/div>\n        <audio id=\"audio\" src=\"\/stand\/wp-content\/uploads\/2022\/09\/Bienvenida.mp3\"><\/audio>\n        <i class=\"fa fa-play visible\"><\/i>\n        <i class=\"fa fa-stop invisible\"><\/i>\n    <\/div>\n    \n    <script>\n    var close_yt = document.getElementsByClassName(\"fancybox-close\")[0];\njQuery('iframe[src*=\"https:\/\/www.youtube.com\/embed\/\"]').addClass(\"youtube-iframe\");\n\nvar els = document.getElementsByClassName(\"youtube-iframe\");\n\n\/*\nfunction stopAllVideos() {\n  Array.prototype.forEach.call(els, function(el) {\n    \/\/ Do stuff here\n  \/\/  console.log(el);\n    el.src = el.src;\n\/\/    $(this).attr('src', $(this).attr('src'));\n    return 0;\n  });\n}\n*\/\n\nfunction stopThisVideo(video_item) {\n  if(!!video_item.getElementsByTagName('iframe')[0]){\n    let iframe_video = video_item.getElementsByTagName('iframe')[0];\n    iframe_video.src = iframe_video.src;\n    return 0;\n  }\n  else\n    {return 0;}\n}\n\n\nfunction stopPrincipalVideo() {\n  if(!!document.getElementsByClassName(\"youtube-iframe-principal\")[0]){\n    let principal_video = document.getElementsByClassName(\"youtube-iframe-principal\")[0];\n    principal_video.src = principal_video.src;\n    return 0;\n  }\n  else\n    {return 0;}\n}\n\nfunction checkIfVideoInside(parentClass) {\n  if(!!parentClass.getElementsByTagName('iframe')[0]){\n    stopAudioOff();\n    return 0;\n  }\n  else\n    {\n      return 0;\n    }\n}\n\n\n\ntry {\n  var box_content_1 = document.getElementsByClassName(\"box-content-1\")[0];\n} catch (error) {\n  \/\/console.error(error);\n}\n\ntry {\n  var box_content_9 = document.getElementsByClassName(\"box-content-9\")[0];\n} catch (error) {\n  console.error(error);\n}\n\ntry {\n  var notification_content = document.getElementsByClassName(\"notification-content\")[0];\n} catch (error) {\n  \/\/console.error(error);\n}\n\ntry {\n  var msg_box_content = document.getElementsByClassName(\"msg-box-content\")[0];\n} catch (error) {\n  \/\/console.error(error);\n}\n\nvar box_content_2 = document.getElementsByClassName(\"box-content-2\")[0];\nvar box_content_3 = document.getElementsByClassName(\"box-content-3\")[0];\nvar box_content_mision = document.getElementsByClassName(\"box-content-5\")[0];\nvar box_content_vision = document.getElementsByClassName(\"box-content-6\")[0];\n\n\nbox_ubicacion_real = document.getElementsByClassName(\"box-content-4-acreditacion\")[0];\nvar box_espacios_comunes = document.getElementsByClassName(\"box-content-7\")[0];\n\n\nvar ayuda = document.getElementsByClassName(\"ayuda\")[0];\nvar playButton = document.getElementsByClassName(\"fa-play\")[0];\nvar pauseButton = document.getElementsByClassName(\"fa-stop\")[0];\nvar audioElem = document.getElementById('audio');\n\nvar play_video = document.getElementsByClassName('video-content')[0];\nvar flyer = document.getElementsByClassName('flyer')[0];\n\n\/\/ Get the modal\n\/\/var modal = document.getElementById(\"myModal\");\n\n\nayuda.addEventListener('click', function (ev) {\n  if (audioElem.paused){\n      stopPrincipalVideo();\n      startTimer();\n      audioElem.play();\n      playButton.classList.remove('visible');\n      playButton.classList.add('invisible');\n      pauseButton.classList.remove('invisible');\n      pauseButton.classList.add('visible');\n      \n  }\n  else{\n    stopAudioOff();\n  }\n\n});\n\n\nfunction stopAudioOff() {\n  onTimesUp();\n  resetCircleDasharray();\n  timePassed = 0\n  audioElem.pause();\n  audioElem.currentTime = 0;\n  playButton.classList.add('visible');    \n  playButton.classList.remove('invisible');    \n  pauseButton.classList.add('invisible');\n  pauseButton.classList.remove('visible');\n  return 0;\n}\n\nvar modal_map = document.getElementById(\"Modal-map\");\nvar modal_comunes = document.getElementById(\"Modal-comunes\");\n\ntry {\n  var Modal_box1 = document.getElementById(\"Modal-box1\");\n\n} catch (error) {\n  \/\/console.error(error);\n}\n\ntry {\n  var Modal_box9 = document.getElementById(\"Modal-box9\");\n  var Modal_box9_close = document.getElementsByClassName(\"Modal-box9_close\")[0];\n} catch (error) {\n  \/\/console.error(error);\n}\n\n\ntry {\n  var Modal_msg = document.getElementById(\"Modal-msg\");\n  var Modal_msg_close = document.getElementsByClassName(\"Modal-msg_close\")[0];\n} catch (error) {\n  \/\/console.error(error);\n}\n\n\n\n\ntry {\n  var Modal_notification_content = document.getElementById(\"Modal-popup\");\n\n} catch (error) {\n  \/\/console.error(error);\n}\n\nvar Modal_box2 = document.getElementById(\"Modal-box2\");\nvar Modal_box3 = document.getElementById(\"Modal-box3\");\nvar Modal_mision = document.getElementById(\"Modal-mision\");\nvar Modal_vision = document.getElementById(\"Modal-vision\");\n\n\/\/ Get the <span> element that closes the modal\nvar Modal_map_close = document.getElementsByClassName(\"Modal-map_close\")[0];\nvar Modal_box1_close = document.getElementsByClassName(\"Modal-box1_close\")[0];\nvar Modal_box2_close = document.getElementsByClassName(\"Modal-box2_close\")[0];\nvar Modal_box3_close = document.getElementsByClassName(\"Modal-box3_close\")[0];\nvar Modal_mision_close = document.getElementsByClassName(\"Modal-mision_close\")[0];\nvar Modal_vision_close = document.getElementsByClassName(\"Modal-vision_close\")[0];\nvar Modal_espacios_comunes_close = document.getElementsByClassName(\"Modal-espacios_comunes_close\")[0];\n\ntry {\n  var Modal_notificacionpopup_close = document.getElementsByClassName(\"Modal-notificacionpopup_close\")[0];\n} catch (error) {\n  \/\/console.error(error);\n}\n\nbox_espacios_comunes.addEventListener('click', function (ev) {\n  modal_comunes.style.display = \"flex\";\n  checkIfVideoInside(modal_comunes);\n  stopPrincipalVideo();\n})\n\n\nbox_ubicacion_real.addEventListener('click', function (ev) {\n  modal_map.style.display = \"flex\";\n  checkIfVideoInside(modal_map);\n  stopPrincipalVideo();\n})\n\ntry {\n  notification_content.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_notification_content);\n  stopPrincipalVideo();\n    Modal_notification_content.style.display = \"flex\";\n  })\n\n} catch (error) {\n  \/\/console.error(error);\n}\n\n\ntry {\n  box_content_1.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_box1);\n  stopPrincipalVideo();\n    Modal_box1.style.display = \"flex\";\n  })\n\n} catch (error) {\n  \/\/console.error(error);\n}\n\ntry {\n  box_content_2.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_box2);\n  stopPrincipalVideo();\n    Modal_box2.style.display = \"flex\";\n  })\n\n} catch (error) {\n  \/\/console.error(error);\n}\n\ntry {\n  box_content_3.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_box3);\n  stopPrincipalVideo();\n    Modal_box3.style.display = \"flex\";\n  })\n\n} catch (error) {\n  \/\/console.error(error);\n}\n\ntry {\n  box_content_9.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_box9);\n  stopPrincipalVideo();\n    Modal_box9.style.display = \"flex\";\n  })\n\n} catch (error) {\n\/\/  console.error(error);\n}\n\n\ntry {\n  msg_box_content.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_msg);\n  stopPrincipalVideo();\n    Modal_msg.style.display = \"flex\";\n  })\n\n} catch (error) {\n\/\/  console.error(error);\n}\n\n\n\n\nbox_content_mision.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_mision);\n  stopPrincipalVideo();\n  Modal_mision.style.display = \"flex\";\n})\n\nbox_content_vision.addEventListener('click', function (ev) {\n  checkIfVideoInside(Modal_vision);\n  stopPrincipalVideo();\n  Modal_vision.style.display = \"flex\";\n})\n\n\nModal_map_close.onclick = function() {\n  stopThisVideo(modal_map);    \n  modal_map.style.display = \"none\";\n}  \n\nModal_box1_close.onclick = function() {\n  stopThisVideo(Modal_box1);    \n  Modal_box1.style.display = \"none\";\n}  \n\nModal_box2_close.onclick = function() {\n  stopThisVideo(Modal_box2);    \n  Modal_box2.style.display = \"none\";\n}  \n\nModal_box3_close.onclick = function() {\n  stopThisVideo(Modal_box3);\n  Modal_box3.style.display = \"none\";\n}  \n\ntry {\n  Modal_box9_close.onclick = function() {\n    stopThisVideo(Modal_box9);    \n    Modal_box9.style.display = \"none\";\n  }\n\n} catch (error) {\n\/\/  console.error(error);\n}\n\n\ntry {\n  Modal_msg_close.onclick = function() {\n    stopThisVideo(Modal_msg);    \n    Modal_msg.style.display = \"none\";\n  }\n\n} catch (error) {\n\/\/  console.error(error);\n}\n\n\n\nModal_mision_close.onclick = function() {\n  stopThisVideo(Modal_mision);    \n  Modal_mision.style.display = \"none\";\n}  \n\nModal_vision_close.onclick = function() {\n  stopThisVideo(Modal_vision);    \n  Modal_vision.style.display = \"none\";\n}\n\nModal_espacios_comunes_close.onclick = function() {\n  stopThisVideo(modal_comunes);    \n  modal_comunes.style.display = \"none\";\n}\n\nModal_notificacionpopup_close.onclick = function() {\n  stopThisVideo(Modal_notification_content);    \n  Modal_notification_content.style.display = \"none\";\n}\n\n\n\n\/\/ When the user clicks on <span> (x), close the modal\n\n\n\/*\n\/\/ When the user clicks anywhere outside of the modal, close it\nwindow.onclick = function(event) {\nif (event.target == modal) {\nmodal.style.display = \"none\";\ndocument.getElementsByTagName(\"iframe\")[0].setAttribute(\"src\", \"\");  \n}\n}\n*\/\n\n\n\n\n\/\/ Credit: Mateusz Rybczonec\n\n\/*\nconst FULL_DASH_ARRAY = 283;\nconst WARNING_THRESHOLD = 10;\nconst ALERT_THRESHOLD = 5;\n\nconst COLOR_CODES = {\ninfo: {\ncolor: \"green\"\n},\nwarning: {\ncolor: \"orange\",\nthreshold: WARNING_THRESHOLD\n},\nalert: {\ncolor: \"red\",\nthreshold: ALERT_THRESHOLD\n}\n};\n\n\/\/tiempo\n\ndocument.getElementsByClassName('base-timer_container')[0].innerHTML = `\n<div class=\"base-timer\">\n<svg class=\"base-timer__svg\" viewBox=\"0 0 100 100\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<g class=\"base-timer__circle\">\n  <circle class=\"base-timer__path-elapsed\" cx=\"50\" cy=\"50\" r=\"45\"><\/circle>\n  <path\n    id=\"base-timer-path-remaining\"\n    stroke-dasharray=\"283\"\n    class=\"base-timer__path-remaining ${remainingPathColor}\"\n    d=\"\n      M 50, 50\n      m -45, 0\n      a 45,45 0 1,0 90,0\n      a 45,45 0 1,0 -90,0\n    \"\n  ><\/path>\n<\/g>\n<\/svg>\n<span id=\"base-timer-label\"  style=\"display:none\" class=\"base-timer__label\">${formatTime(\ntimeLeft\n)}<\/span>\n<\/div>\n`;\n\n\nfunction onTimesUp() {\nclearInterval(timerInterval);\n}\n\nfunction startTimer() {\ntimerInterval = setInterval(() => {\ntimePassed = timePassed += 1;\ntimeLeft = TIME_LIMIT - timePassed;\ndocument.getElementById(\"base-timer-label\").innerHTML = formatTime(\n  timeLeft\n);\nsetCircleDasharray();\nsetRemainingPathColor(timeLeft);\n\nif (timeLeft === 0) {\n  onTimesUp();\n}\n}, 1000);\n}\n\nfunction formatTime(time) {\nconst minutes = Math.floor(time \/ 60);\nlet seconds = time % 60;\n\nif (seconds < 10) {\nseconds = `0${seconds}`;\n}\n\nreturn `${minutes}:${seconds}`;\n}\n\nfunction setRemainingPathColor(timeLeft) {\nconst { alert, warning, info } = COLOR_CODES;\nif (timeLeft <= alert.threshold) {\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.remove(warning.color);\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.add(alert.color);\n} else if (timeLeft <= warning.threshold) {\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.remove(info.color);\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.add(warning.color);\n}\n}\n\nfunction calculateTimeFraction() {\nconst rawTimeFraction = timeLeft \/ TIME_LIMIT;\nreturn rawTimeFraction - (1 \/ TIME_LIMIT) * (1 - rawTimeFraction);\n}\n\nfunction setCircleDasharray() {\nconst circleDasharray = `${(\ncalculateTimeFraction() * FULL_DASH_ARRAY\n).toFixed(0)} 283`;\ndocument\n.getElementById(\"base-timer-path-remaining\")\n.setAttribute(\"stroke-dasharray\", circleDasharray);\n}\n\nfunction resetCircleDasharray() {\nconst circleDasharray = `${(\nTIME_LIMIT * FULL_DASH_ARRAY\n).toFixed(0)} 283`;\ndocument\n.getElementById(\"base-timer-path-remaining\")\n.setAttribute(\"stroke-dasharray\", circleDasharray);\n}\n\n*\/\n    <\/script>\n    \n    <script>\n       const TIME_LIMIT = 58;\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nvar timePassed = 0;\nvar timeLeft = TIME_LIMIT;\nvar timerInterval = null;\n\n\/\/ Credit: Mateusz Rybczonec\nconst FULL_DASH_ARRAY = 283;\nconst WARNING_THRESHOLD = 10;\nconst ALERT_THRESHOLD = 5;\n\nconst COLOR_CODES = {\n  info: {\n    color: \"green\"\n  },\n  warning: {\n    color: \"orange\",\n    threshold: WARNING_THRESHOLD\n  },\n  alert: {\n    color: \"red\",\n    threshold: ALERT_THRESHOLD\n  }\n};\n\nvar remainingPathColor = COLOR_CODES.info.color;\n\/\/tiempo\n\ndocument.getElementsByClassName('base-timer_container')[0].innerHTML = `\n<div class=\"base-timer\">\n<svg class=\"base-timer__svg\" viewBox=\"0 0 100 100\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<g class=\"base-timer__circle\">\n  <circle class=\"base-timer__path-elapsed\" cx=\"50\" cy=\"50\" r=\"45\"><\/circle>\n  <path\n    id=\"base-timer-path-remaining\"\n    stroke-dasharray=\"283\"\n    class=\"base-timer__path-remaining ${remainingPathColor}\"\n    d=\"\n      M 50, 50\n      m -45, 0\n      a 45,45 0 1,0 90,0\n      a 45,45 0 1,0 -90,0\n    \"\n  ><\/path>\n<\/g>\n<\/svg>\n<span id=\"base-timer-label\"  style=\"display:none\" class=\"base-timer__label\">${formatTime(\ntimeLeft\n)}<\/span>\n<\/div>\n`;\n\n\nfunction onTimesUp() {\nclearInterval(timerInterval);\n}\n\nfunction startTimer() {\ntimerInterval = setInterval(() => {\ntimePassed = timePassed += 1;\ntimeLeft = TIME_LIMIT - timePassed;\ndocument.getElementById(\"base-timer-label\").innerHTML = formatTime(\n  timeLeft\n);\nsetCircleDasharray();\nsetRemainingPathColor(timeLeft);\n\nif (timeLeft === 0) {\n  onTimesUp();\n  resetCircleDasharray();\n  timePassed = 0\n  audioElem.pause();\n  audioElem.currentTime = 0;\n  playButton.classList.add('visible');    \n  playButton.classList.remove('invisible');    \n  pauseButton.classList.add('invisible');\n  pauseButton.classList.remove('visible');\n}\n}, 1000);\n}\n\nfunction formatTime(time) {\nconst minutes = Math.floor(time \/ 60);\nlet seconds = time % 60;\n\nif (seconds < 10) {\nseconds = `0${seconds}`;\n}\n\nreturn `${minutes}:${seconds}`;\n}\n\nfunction setRemainingPathColor(timeLeft) {\nconst { alert, warning, info } = COLOR_CODES;\nif (timeLeft <= alert.threshold) {\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.remove(warning.color);\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.add(alert.color);\n} else if (timeLeft <= warning.threshold) {\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.remove(info.color);\ndocument\n  .getElementById(\"base-timer-path-remaining\")\n  .classList.add(warning.color);\n}\n}\n\nfunction calculateTimeFraction() {\nconst rawTimeFraction = timeLeft \/ TIME_LIMIT;\nreturn rawTimeFraction - (1 \/ TIME_LIMIT) * (1 - rawTimeFraction);\n}\n\nfunction setCircleDasharray() {\nconst circleDasharray = `${(\ncalculateTimeFraction() * FULL_DASH_ARRAY\n).toFixed(0)} 283`;\ndocument\n.getElementById(\"base-timer-path-remaining\")\n.setAttribute(\"stroke-dasharray\", circleDasharray);\n}\n\nfunction resetCircleDasharray() {\nconst circleDasharray = `${(\nTIME_LIMIT * FULL_DASH_ARRAY\n).toFixed(0)} 283`;\ndocument\n.getElementById(\"base-timer-path-remaining\")\n.setAttribute(\"stroke-dasharray\", circleDasharray);\n}\n    <\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-f653289\" data-id=\"f653289\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-d8b84dd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d8b84dd\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-6b2e6e8\" data-id=\"6b2e6e8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cfc03ef elementor-widget elementor-widget-tp-image-factory\" data-id=\"cfc03ef\" data-element_type=\"widget\" data-widget_type=\"tp-image-factory.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"plus6a3c534529efd\" class=\"pt-plus-animated-image-wrapper      \" ><div class=\"animated-image-parallax   \" ><div class=\"pt_plus_animated_image bg-image6a3c534529ef7 text-  \"  >\n\t\t\t\t\t\t\t<figure class=\"     \"  >\n\t\t\t\t\t\t\t\t<a aria-label=\"Edificio S salas de clases\" href=\"\/stand\/Edificio-S-3-piso\/\" target=\"_blank\" class=\"vc_single_image-wrapper    \"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"88\" src=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/Edificio-S-salas-de-clases.png\" class=\"attachment-full size-full\" alt=\"\" \/><\/a>\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t<\/div><\/div><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-d42dd0e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d42dd0e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-f244f9d\" data-id=\"f244f9d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-92ef636 elementor-widget elementor-widget-tp-image-factory\" data-id=\"92ef636\" data-element_type=\"widget\" data-widget_type=\"tp-image-factory.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"plus6a3c53452ecc9\" class=\"pt-plus-animated-image-wrapper      \" ><div class=\"animated-image-parallax   \" ><div class=\"pt_plus_animated_image bg-image6a3c53452ecc3 text-  \"  >\n\t\t\t\t\t\t\t<figure class=\"     \"  >\n\t\t\t\t\t\t\t\t<a aria-label=\"Biblioteca\" href=\"\/stand\/Biblioteca\/\" target=\"_blank\" class=\"vc_single_image-wrapper    \"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"88\" src=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/Biblioteca.png\" class=\"attachment-full size-full\" alt=\"\" \/><\/a>\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t<\/div><\/div><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-f88f773 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f88f773\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-08461ec\" data-id=\"08461ec\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b273148 elementor-widget elementor-widget-tp-image-factory\" data-id=\"b273148\" data-element_type=\"widget\" data-widget_type=\"tp-image-factory.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"plus6a3c534531897\" class=\"pt-plus-animated-image-wrapper      \" ><div class=\"animated-image-parallax   \" ><div class=\"pt_plus_animated_image bg-image6a3c534531892 text-  \"  >\n\t\t\t\t\t\t\t<figure class=\"     \"  >\n\t\t\t\t\t\t\t\t<a aria-label=\"Sala de postgrado\" href=\"\/stand\/Sala-de-postgrado\/\" target=\"_blank\" class=\"vc_single_image-wrapper    \"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"88\" src=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/Sala-de-postgrado.png\" class=\"attachment-full size-full\" alt=\"\" \/><\/a>\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t<\/div><\/div><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1b46dc8 elementor-section-height-min-height elementor-section-full_width elementor-section-items-stretch elementor-section-content-top elementor-hidden-mobile elementor-section-height-default\" data-id=\"1b46dc8\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-6a16733\" data-id=\"6a16733\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-097f6af elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"097f6af\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-d17ca16\" data-id=\"d17ca16\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-52f02f1\" data-id=\"52f02f1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-bb39e40\" data-id=\"bb39e40\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5eeafbe elementor-widget elementor-widget-tp-image-factory\" data-id=\"5eeafbe\" data-element_type=\"widget\" data-widget_type=\"tp-image-factory.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"plus6a3c534535701\" class=\"pt-plus-animated-image-wrapper      \" ><div class=\"animated-image-parallax   \" ><div class=\"pt_plus_animated_image bg-image6a3c5345356fc text-  \"  >\n\t\t\t\t\t\t\t<figure class=\"     \"  >\n\t\t\t\t\t\t\t\t<a aria-label=\"Recurso 87\" href=\"#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjEwMDgiLCJ0b2dnbGUiOmZhbHNlfQ%3D%3D\" class=\"vc_single_image-wrapper    \"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"88\" src=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/05\/Recurso-87.png\" class=\"attachment-full size-full\" alt=\"\" \/><\/a>\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t<\/div><\/div><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-5b78849\" data-id=\"5b78849\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-abcfec9 elementor-widget elementor-widget-tp-image-factory\" data-id=\"abcfec9\" data-element_type=\"widget\" data-widget_type=\"tp-image-factory.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"plus6a3c5345379b9\" class=\"pt-plus-animated-image-wrapper      \" ><div class=\"animated-image-parallax   \" ><div class=\"pt_plus_animated_image bg-image6a3c5345379b4 text-  \"  >\n\t\t\t\t\t\t\t<figure class=\"     \"  >\n\t\t\t\t\t\t\t\t<a aria-label=\"Infraestructura virtual\" href=\"https:\/\/www.youtube.com\/watch?v=CqiFv4ENoAY&amp;ab_channel=MECeLearning\" target=\"_blank\" class=\"vc_single_image-wrapper    \"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"88\" src=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/Infraestructura-virtual.png\" class=\"attachment-full size-full\" alt=\"\" \/><\/a>\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t<\/div><\/div><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-48f65bc elementor-section-height-min-height elementor-section-full_width elementor-section-items-stretch elementor-section-content-top elementor-hidden-mobile elementor-section-height-default\" data-id=\"48f65bc\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-38ea02f\" data-id=\"38ea02f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-e1644f2 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"e1644f2\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-5ab6ad0\" data-id=\"5ab6ad0\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f500be9 elementor-widget elementor-widget-tp-image-factory\" data-id=\"f500be9\" data-element_type=\"widget\" data-widget_type=\"tp-image-factory.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div id=\"plus6a3c53453ac60\" class=\"pt-plus-animated-image-wrapper      \" ><div class=\"animated-image-parallax   \" ><div class=\"pt_plus_animated_image bg-image6a3c53453ac5b text-  \"  >\n\t\t\t\t\t\t\t<figure class=\"     \"  >\n\t\t\t\t\t\t\t\t<a aria-label=\"Datos importantes\" href=\"#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjEyMTQiLCJ0b2dnbGUiOmZhbHNlfQ%3D%3D\" class=\"vc_single_image-wrapper    \"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"88\" src=\"https:\/\/calidad.ufro.cl\/stand\/wp-content\/uploads\/2022\/09\/Datos-importantes-.png\" class=\"attachment-full size-full\" alt=\"\" \/><\/a>\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t<\/div><\/div><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-78b141a\" data-id=\"78b141a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-8c1f680\" data-id=\"8c1f680\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>0:58<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/pages\/1201"}],"collection":[{"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/comments?post=1201"}],"version-history":[{"count":35,"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/pages\/1201\/revisions"}],"predecessor-version":[{"id":2155,"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/pages\/1201\/revisions\/2155"}],"wp:attachment":[{"href":"https:\/\/calidad.ufro.cl\/stand\/wp-json\/wp\/v2\/media?parent=1201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}