System.register([],(function(n){"use strict";return{execute:function(){n({a:m,b:p,c:b,d:t,e:g,f:y,g:j,h:x,i:e,k:i,t:v});function r(){return Math.random().toString(16).slice(-4)}function t(n){if(n===void 0){n=""}return n+"-"+r()+r()+"-"+r()+"-"+r()+r()+r()}function e(n){if(typeof n==="undefined"){return true}if(n==null){return true}if((n===null||n===void 0?void 0:n.length)===0){return true}if((n===null||n===void 0?void 0:n.length)>0){return false}for(var r in n){if(n.hasOwnProperty(r)){return false}}return JSON.stringify(n)===JSON.stringify({})}var u=n("j",(function(n){return n.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase()}));var o=n("l",(function(n){if(e(n)){return null}return"".concat(n).replace(/\[([^\]]+)\]/g,".$1")}));function i(n,r){if(r===void 0){r={}}if(Object.keys(r).length){return Object.keys(r).reduce((function(n,t){return n.replaceAll("{".concat(t,"}"),r[t])}),n)}return n}function c(n){return(n||"").replace(/(\:).+?(\:)/g,(function(n){return'<i class="icon-'.concat(n.replaceAll(":",""),'"></i>')}))}function f(n){return(n||"").replace(/(\*).+?(\*)/g,(function(n){return"<strong>".concat(n.replaceAll("*",""),"</strong>")}))}function a(n){return(n||"").replace(/(\_).+?(\_)/g,(function(n){return"<em>".concat(n.replaceAll("_",""),"</em>")}))}function l(n){return(n||"").replace(/(\`).+?(\`)/g,(function(n){return"<code>".concat(n.replaceAll("`",""),"</code>")}))}function v(n,r){if(r===void 0){r={}}return i(c(f(a(l(n)))),r)}function s(){return document.querySelector("html").getAttribute("lang")||"es"}function d(){var n=navigator.language;return n.substring(0,1)}function m(){var n=s()||d();return["en","es"].includes(n)?n:"es"}function p(n){switch(n){case 400:return"error";case 401:case 403:return"forbidden";case 402:return"payment";case 404:case 405:return"unknown";case 406:return"no-result";case 412:case 418:return"invalid";case 422:return"missing";case 500:return"exception";default:return"failure"}}function b(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}return n.reduce((function(n,r){if(typeof r==="object"&&typeof r!=="string"){n=n.concat(Object.keys(r).filter((function(n){return r[n]})))}if(typeof r!=="object"&&typeof r==="string"){n.push(r)}return n}),[]).join(" ")}function y(){if(!document.querySelector("body > x-overlay-container")){var n=document.createElement("x-overlay-container");document.querySelector("body").appendChild(n);return n}else{return document.querySelector("body > x-overlay-container")}}function g(n){var r;var t=y();var e=parseInt((r=t.dataset.lastIndex)!==null&&r!==void 0?r:"0")+1;n.style.zIndex=(9e3+e).toString();t.dataset.lastIndex=e.toString()}function x(){if(!y().querySelector("x-tooltip-overlay")){var n=document.createElement("x-tooltip-overlay");var r=document.createElement("span");var t=document.createElement("div");n.setAttribute("role","tooltip");t.classList.add("tooltip-arrow");n.appendChild(r);n.appendChild(t);y().appendChild(n);return n}else{return y().querySelector("x-tooltip-overlay")}}function j(n){if(n===void 0){n="top"}if(!y().querySelector("x-notification-".concat(n))){var r=document.createElement("x-notification-".concat(n));y().appendChild(r);return r}else{return y().querySelector("x-notification-".concat(n))}}var h=n("p",(function(n){if(isNaN(n)||n<0)return"0 b";var r=["b","Kb","Mb","Gb","Tb","Pb"];var t=0;while(n>=1e3&&t<r.length-1){n/=1e3;t++}return"".concat(n.toFixed(1)).concat(r[t])}));var O=n("m",(function(){return parseFloat(getComputedStyle(document.documentElement).fontSize)}))}}}));