text: (()=>{var t={981:(t,e,n)=>{const{waitingStep:o}=n(478),{createToolbar:i}=n(482);document.addEventListener("readystatechange",(function(t){if("interactive"===t.target.readyState){var e=e||{};!function(t){t.bodyHTML=document.body,n(122),i(t.bodyHTML),o(t.bodyHTML,!0),n(682),n(317),n(7)}(e)}t.target.readyState}))},7:()=>{document.querySelectorAll(".submenu-dropdown").forEach((function(t){t.querySelectorAll("ul > li > a").forEach((function(e){e.addEventListener("focus",(e=>{t.classList.add("submenu-dropdown--active")})),e.addEventListener("blur",(e=>{t.classList.remove("submenu-dropdown--active")}))}))}))},924:t=>{!function(){const e=function(t){try{var e=t.getAttribute("tabindex");if(null!==e&&e<0)throw"No focusable";var n=t.getAttribute("aria-hidden");if(null!==n&&"true"===n)throw"No focusable";t.focus()}catch(t){}return document.activeElement===t},n=function(t){let o=null;for(var i=0;i<t.childNodes.length;i++)if(o=t.childNodes[i],e(o)||n(o))return!0;return!1},o=function(t){const i=t.parentElement;(function(t,o){let i=null,r=!0;for(var u=0;u<t.childNodes.length;u++)if(i=t.childNodes[u],r)i===o&&(r=!1);else if(e(i)||n(i))return!0;return!1})(i,t)||o(i),document.activeElement.focus()},i=function(t){let n=null;for(var o=t.childNodes.length-1;o>=0;o--)if(n=t.childNodes[o],e(n)||i(n))return console.log("true",n),!0;return!1},r=function(t){const n=t.parentElement;return console.log(n),function(t,n){let o=null,r=!0;for(var u=t.childNodes.length-1;u>=0;u--)if(o=t.childNodes[u],r)o===n&&(r=!1);else if(e(o)||i(o))return!0;return!1}(n,t)||r(n),document.activeElement.focus(),document.activeElement};t.exports={attemptFocus:e,focusElementFirst:n,focusElementLast:i,focusNextElementOfOuterParent:o,focusPreviousElementOfOuterParent:r}}()},478:(t,e,n)=>{var{attemptFocus:o,focusElementFirst:i,focusElementLast:r,focusNextElementOfOuterParent:u,focusPreviousElementOfOuterParent:c}=n(924);!function(){const e=function(t,e){var n=null;return null!==t&&((n=document.createElement("div")).tabIndex=0,e(t,n)),n},n=function(t){return e(t,(function(t,e){t.insertBefore(e,t.firstElementChild)}))},s=function(t){return e(t,(function(t,e){t.appendChild(e,t.lastElementChild)}))};t.exports={getFirstDiv:n,getLastDiv:s,waitingStep:function(t){const e=n(t);e.addEventListener("focusout",(function(t){e.setAttribute("tabindex","-1")})),setTimeout((function(){o(e)}),500)},innerLoopStep:function(t){n(t).addEventListener("focus",(function(e){setTimeout((function(){r(t)}),50)})),s(t).addEventListener("focus",(function(e){setTimeout((function(){i(t)}),50)}))},outerLoopStep:function(t){const e=n(t),o=s(t);e.addEventListener("focus",(function(t){setTimeout((function(){u(o.parentElement)}),50)})),o.addEventListener("focus",(function(t){setTimeout((function(){c(o.parentElement)}),50)}))},customLoopStep:function(t,e,o){const i=n(t),r=s(t);i.addEventListener("focus",(function(n){setTimeout((function(){e(t,i)}),50)})),r.addEventListener("focus",(function(e){setTimeout((function(){o(t,i)}),50)}))}}}()},122:()=>{!function(){const t=function(e){let n=null;for(var o=0;o<e.childNodes.length;o++)n=e.childNodes[o],function(t){if("A"===t.nodeName)return!1;if("#text"!==t.nodeName){let n=t.parentElement;try{var e=n.getAttribute("tabindex");if(null!==e&&e>=0)return!1}catch(t){}}return!0}(i=n)&&(function(t){if("#text"===t.nodeName&&""!==t.textContent.trim()){let n=t.parentElement;try{if(null!==n.getAttribute("tabindex"))throw"Have attribute";var e=n.getAttribute("aria-hidden");if(null!==e&&"true"===e)throw"No focusable";n.setAttribute("tabindex","0")}catch(t){}}}(i),1)&&t(n);var i};let e=document.body;t(e)}()},482:(t,e,n)=>{var{getFirstDiv:o}=n(478),{focusElementFirst:i}=n(924);t.exports={createToolbar:function(t){let e=o(t);e.tabIndex=-1,e.setAttribute("role","toolbar"),e.classList.add("uk-position-relative","uk-position-top-left","a11y-main-controls"),e.style.zIndex="100";let n=function(){let t=function(t,e,n=[],o=[]){let i=document.createElement("a");i.href=t,i.text=e,i.classList.add("bgc-a8123d","uk-light","uk-padding-small"),i.setAttribute("uk-scroll",""),n.map((function(t){i.classList.add(t)}));let r=[];return o.map((function(t){r=Object.entries(t),i.setAttribute(r[0][0],r[0][1])})),i}("#main","Ir al contenido principal",[],[{"aria-label":"Ir al contenido principal"}]);return t.addEventListener("click",(function(){i(document.querySelector("main"))})),t}();e.insertBefore(n,e.firstElementChild)}}},682:()=>{var t,e,n;(n=n||{}).Utils=n.Utils||{},n.KeyCode={BACKSPACE:8,TAB:9,RETURN:13,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},e=["offcanvas","modal"],(t=n).getCurrentDialog=function(){return null!==this.dialogNode&&this.dialogNode},t.closeCurrentDialog=function(){var e=t.getCurrentDialog();return!!e&&(UIkit[t.dialog_type](e).hide(),!0)},t.handleEscape=function(e){(e.which||e.keyCode)===t.KeyCode.ESC&&t.closeCurrentDialog()&&e.stopPropagation()},t.dialog_button_click=null,t.dialog_type=null,t.dialogNode=null,t.wrapperNode=null,t.wrapperClass="a11y__dialog-wrapper",t.preNode=null,t.postNode=null,t.lastFocus=null,t.Utils.attemptFocus=function(t){try{var e=t.getAttribute("tabindex");if(null!==e&&e<0)throw"No focusable";var n=t.getAttribute("aria-hidden");if(null!==n&&"true"===n)throw"No focusable";t.focus()}catch(t){}return document.activeElement===t},t.Utils.focusFirstDescendant=function(e){for(var n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];if(t.Utils.attemptFocus(o)||t.Utils.focusFirstDescendant(o))return!0}return!1},t.Utils.focusLastDescendant=function(e){for(var n=e.childNodes.length-1;n>=0;n--){var o=e.childNodes[n];if(t.Utils.attemptFocus(o)||t.Utils.focusLastDescendant(o))return!0}return!1},t.getDivStep=function(t,e,n){var o=t.id+e,i=t.querySelector("#"+o);return null===i?((i=document.createElement("div")).id=o,i.tabIndex=0,n(t,i)):i},t.createInitAndEndSteps=function(e,n){this.preNode=t.getDivStep(e,"Pre",(function(t,e){return t.insertBefore(e,t.firstElementChild)})),this.postNode=t.getDivStep(e,"Post",(function(t,e){return t.appendChild(e,t.lastElementChild)})),this.preNode.addEventListener("focus",(function(e){t.Utils.focusLastDescendant(n)})),this.postNode.addEventListener("focus",(function(e){t.Utils.focusFirstDescendant(n)}))},t.getWrapper=function(t){var e=t.getElementsByClassName(this.wrapperClass);return e.length>0&&e[0]},t.handleClick=function(t){this.wrapperNode=this.getWrapper(t),this.wrapperNode&&(this.createInitAndEndSteps(t,this.wrapperNode),this.Utils.focusFirstDescendant(this.wrapperNode),this.lastFocus=document.activeElement)},t.setEventsOnButtons=function(e){e.forEach((function(e){document.querySelectorAll("[data-"+e+"]").forEach((function(n){var o=n.dataset[e];UIkit.util.on("#"+o,"shown",(function(){t.dialog_type=e,t.dialog_button_click=n,t.dialogNode=document.querySelector("#"+o),t.dialogNode&&t.handleClick(t.dialogNode)})),UIkit.util.on("#"+o,"hidden",(function(){t.Utils.attemptFocus(t.dialog_button_click)}))}))})),document.addEventListener("keyup",t.handleEscape)},t.setEventsOnButtons(e)},317:(t,e,n)=>{const{outerLoopStep:o,customLoopStep:i}=n(478),{focusElementFirst:r,focusElementLast:u}=n(924);!function(){const t=function(t,e){const n=t.querySelector(e);n.tabIndex=-1,n.setAttribute("aria-hidden","true")},e=function(t,e){setTimeout((function(){u(t)}),50)},n=function(t,e){setTimeout((function(){r(t)}),50)};document.querySelectorAll("[uk-slideshow]").forEach((function(r){const u=r.querySelector("ul.uk-slideshow-items"),c=u.querySelectorAll("li");i(u.parentElement,e,n),o(u.parentElement),setTimeout((function(){(function(t){const e=t.querySelector("ul.uk-slideshow-nav.uk-dotnav");return e.setAttribute("role","region"),e.setAttribute("aria-label","carousel"),e})(r).querySelectorAll("a").forEach((function(t){t.addEventListener("focus",(function(e){t.parentElement.classList.contains("uk-active")||this.click()})),t.addEventListener("click",(function(t){const e=this.parentElement.attributes["uk-slideshow-item"].value;c[e].focus()}))}))}),500),t(r,"[uk-slidenav-previous]"),t(r,"[uk-slidenav-next]")}))}()},107:(t,e,n)=>{n(981)}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var r=e[o]={exports:{}};return t[o](r,r.exports,n),r.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";n(107)})()})();