"use strict";(self.webpackChunk_pixelpay_ui_core=self.webpackChunk_pixelpay_ui_core||[]).push([[5237],{"./dist/ui-stencil/p-a6a82fa8.entry.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{x_divider:()=>t});var _p_d85247d2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./dist/ui-stencil/p-d85247d2.js"),_p_efbc3883_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./dist/ui-stencil/p-efbc3883.js");const t=class{constructor(i){(0,_p_d85247d2_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,i),this.align="left"}render(){return(0,_p_d85247d2_js__WEBPACK_IMPORTED_MODULE_0__.h)(_p_d85247d2_js__WEBPACK_IMPORTED_MODULE_0__.H,{key:"fdb94a6a4e8e25c02de9ee977779c5a79ba5da4f",class:(0,_p_efbc3883_js__WEBPACK_IMPORTED_MODULE_1__.c)(`divider-${this.align}`,{"divider-with-text":!0})},(0,_p_d85247d2_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"e654fafcc17ac4e2ea3c4dc1f3155d6825b8f83e",class:"divider-inner-text"},(0,_p_d85247d2_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"31b3ab8c1362612afc606edced601c098606d9b2"})))}};t.style='x-divider{position:relative;width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-align:inherit}x-divider .divider-inner-text{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0px;margin:0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--color-text, #4A4A4A);font-family:inherit}x-divider .divider-inner-text:empty{display:none !important}.is-dark-mode x-divider .divider-inner-text{color:var(--color-text-light, #FEFEFE)}x-divider:before,x-divider:after{content:"";display:block;position:relative;-ms-flex:1;flex:1;border:none;border-top:1px solid var(--color-text-lucid, #e4e4e4);min-width:1.5rem;max-width:100%}.is-dark-mode x-divider:before,.is-dark-mode x-divider:after{border-top:1px solid var(--color-dark-tint, #414141)}x-divider.divider-left:before{max-width:1.5rem}x-divider.divider-right:after{max-width:1.5rem}x-divider.divider-with-text .divider-inner-text{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0.2rem 1rem;display:inline}'},"./dist/ui-stencil/p-efbc3883.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{function n(){return Math.random().toString(16).slice(-4)}function t(t1=""){return t1+"-"+n()+n()+"-"+n()+"-"+n()+n()+n()}function e(n){if(void 0===n)return!0;if(null==n)return!0;if(0===(null==n?void 0:n.length))return!0;if((null==n?void 0:n.length)>0)return!1;for(const t in n)if(n.hasOwnProperty(t))return!1;return JSON.stringify(n)===JSON.stringify({})}__webpack_require__.d(__webpack_exports__,{a:()=>u,b:()=>i,c:()=>c,d:()=>t,e:()=>a,f:()=>s,h:()=>r,i:()=>e,t:()=>o});const r=n=>e(n)?null:`${n}`.replace(/\[([^\]]+)\]/g,".$1");function o(n){return function(n){return(n||"").replace(/(\:).+?(\:)/g,(n=>`<i class="${n.replaceAll(":","")}"></i>`))}(function(n){return(n||"").replace(/(\*).+?(\*)/g,(n=>`<strong>${n.replaceAll("*","")}</strong>`))}(function(n){return(n||"").replace(/(\_).+?(\_)/g,(n=>`<em>${n.replaceAll("_","")}</em>`))}(function(n){return(n||"").replace(/(\`).+?(\`)/g,(n=>`<code>${n.replaceAll("`","")}</code>`))}(n))))}function u(){const n=document.querySelector("html").getAttribute("lang")||"es";return["en","es"].includes(n)?n:"es"}function i(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 c(...n){return n.reduce(((n,t)=>("object"==typeof t&&"string"!=typeof t&&(n=n.concat(Object.keys(t).filter((n=>t[n])))),"object"!=typeof t&&"string"==typeof t&&n.push(t),n)),[]).join(" ")}function a(){if(document.querySelector("body > x-overlay-container"))return document.querySelector("body > x-overlay-container");{const n=document.createElement("x-overlay-container");return document.querySelector("body").appendChild(n),n}}function s(){if(a().querySelector("x-tooltip-overlay"))return a().querySelector("x-tooltip-overlay");{const n=document.createElement("x-tooltip-overlay"),t=document.createElement("span"),e=document.createElement("div");return n.setAttribute("role","tooltip"),e.classList.add("tooltip-arrow"),n.appendChild(t),n.appendChild(e),a().appendChild(n),n}}}}]);