@red-unica/libreria-componentes-moviles 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/principal.js CHANGED
@@ -1 +1 @@
1
- !function(e,a){for(var n in a)e[n]=a[n]}(exports,function(e){var a={};function __webpack_require__(n){if(a[n])return a[n].exports;var o=a[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,__webpack_require__),o.l=!0,o.exports}return __webpack_require__.m=e,__webpack_require__.c=a,__webpack_require__.d=function(e,a,n){__webpack_require__.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:n})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,a){if(1&a&&(e=__webpack_require__(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(__webpack_require__.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var o in e)__webpack_require__.d(n,o,function(a){return e[a]}.bind(null,o));return n},__webpack_require__.n=function(e){var a=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(a,"a",a),a},__webpack_require__.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=30)}([function(e,a){e.exports=require("react")},function(e,a){e.exports=require("prop-types")},function(e,a,n){"use strict";e.exports=function(e){var a=[];return a.toString=function toString(){return this.map((function(a){var n=e(a);return a[2]?"@media ".concat(a[2]," {").concat(n,"}"):n})).join("")},a.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var t={};if(o)for(var r=0;r<this.length;r++){var i=this[r][0];null!=i&&(t[i]=!0)}for(var l=0;l<e.length;l++){var s=[].concat(e[l]);o&&t[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),a.push(s))}},a}},function(e,a){e.exports=require("@red-unica/libreria-funciones-genericas")},function(e,a,n){"use strict";var o=function isOldIE(){var e;return function memorize(){return void 0===e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),t=function getTarget(){var e={};return function memorize(a){if(void 0===e[a]){var n=document.querySelector(a);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[a]=n}return e[a]}}(),r=[];function getIndexByIdentifier(e){for(var a=-1,n=0;n<r.length;n++)if(r[n].identifier===e){a=n;break}return a}function modulesToDom(e,a){for(var n={},o=[],t=0;t<e.length;t++){var i=e[t],l=a.base?i[0]+a.base:i[0],s=n[l]||0,c="".concat(l," ").concat(s);n[l]=s+1;var d=getIndexByIdentifier(c),u={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(r[d].references++,r[d].updater(u)):r.push({identifier:c,updater:addStyle(u,a),references:1}),o.push(c)}return o}function insertStyleElement(e){var a=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){a.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(a);else{var i=t(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(a)}return a}var i=function replaceText(){var e=[];return function replace(a,n){return e[a]=n,e.filter(Boolean).join("\n")}}();function applyToSingletonTag(e,a,n,o){var t=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=i(a,t);else{var r=document.createTextNode(t),l=e.childNodes;l[a]&&e.removeChild(l[a]),l.length?e.insertBefore(r,l[a]):e.appendChild(r)}}function applyToTag(e,a,n){var o=n.css,t=n.media,r=n.sourceMap;if(t?e.setAttribute("media",t):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var l=null,s=0;function addStyle(e,a){var n,o,t;if(a.singleton){var r=s++;n=l||(l=insertStyleElement(a)),o=applyToSingletonTag.bind(null,n,r,!1),t=applyToSingletonTag.bind(null,n,r,!0)}else n=insertStyleElement(a),o=applyToTag.bind(null,n,a),t=function remove(){!function removeStyleElement(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function updateStyle(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;o(e=a)}else t()}}e.exports=function(e,a){(a=a||{}).singleton||"boolean"==typeof a.singleton||(a.singleton=o());var n=modulesToDom(e=e||[],a);return function update(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var t=getIndexByIdentifier(n[o]);r[t].references--}for(var i=modulesToDom(e,a),l=0;l<n.length;l++){var s=getIndexByIdentifier(n[l]);0===r[s].references&&(r[s].updater(),r.splice(s,1))}n=i}}}},function(e,a){e.exports=require("@red-unica/libreria-svg")},function(e,a){e.exports=require("@babel/runtime/helpers/slicedToArray")},function(e,a){e.exports=require("react-number-format")},function(e,a){e.exports=require("react-visibility-sensor")},function(e,a){e.exports=require("postel")},function(e,a,n){var o=n(4),t=n(11);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#etiqueta-clientes-eyd.contenedor-etiqueta-clientes{height:3.4375vh;padding:.625vh 2.2222222222vw .625vh 2.2222222222vw;border-width:.15625vh .2777777778vw;border-radius:3.6111111111vw}#etiqueta-clientes-eyd.contenedor-etiqueta-clientes>.icono-etiqueta-clientes{height:2.03125vh;width:15%}#etiqueta-clientes-eyd.contenedor-etiqueta-clientes>.numero-leyenda-etiqueta-clientes{height:2.1875vh;width:83%}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(13);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#etiqueta-semana-eyd.contenedor-etiqueta-semana-desempenio-movil{height:3.125vh}#etiqueta-semana-eyd.contenedor-etiqueta-semana-desempenio-movil>div{height:3.125vh;width:25.8333333333vw;padding:.78125vh 0 0 3.8888888889vw;border-radius:0 13.8888888889vw 7.8125vh 0}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(15);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#boton-desplegar-contraer-eyd.icono-mayor-boton-desplegar{width:3.0555555556vw;height:1.875vh;margin-left:3.8888888889vw}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(17);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control{width:100%;padding:0}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control>.menu-desplegable-opcion-seleccionada{width:100%;height:100%;padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control>.menu-desplegable-opcion-seleccionada>.menu-desplegable-texto-numerico-espaciado-izquierdo{padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control>div>.menu-desplegable-flechita{width:3.8888888889vw;margin-right:2.3166666667vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-borde-inferior{height:1.09375vh;width:100%;border:.5555555556vw solid #000f08;border-top:none !important}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha{width:100%;z-index:1;overflow-y:scroll;box-shadow:0 2.7777777778vw 1em -0.4em #cccdce;max-height:42.03125vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado>.menu-desplegable-opcion{padding-top:2.65625vh;padding-bottom:2.65625vh;border-bottom-width:.15625vh;border-bottom-style:inset;margin-left:2.7777777778vw;margin-right:2.7777777778vw;padding-left:4.1666666667vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho{padding-right:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho>.menu-desplegable-texto-numerico-espaciado-izquierdo{padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado-dos>.menu-desplegable-opcion{padding-top:2.65625vh;padding-bottom:2.65625vh;border-bottom-width:.15625vh;border-bottom-style:inset;margin-left:2.7777777778vw;margin-right:2.7777777778vw;padding-left:4.1666666667vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado-dos>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho{padding-right:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado-dos>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho>.menu-desplegable-texto-numerico-espaciado-izquierdo{padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion{box-shadow:0 -2.7777777778vw 1em -0.4em #cccdce !important}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1{margin-top:-13.59375vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2{margin-top:-21.25vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3{margin-top:-28.90625vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4{margin-top:-36.5625vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4.orientacion-5{margin-top:-44.21875vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4.orientacion-5.orientacion-5-mas{margin-top:-47.96875vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4.orientacion-5.orientacion-5-mas.posicion-flecha{width:100%;padding-top:1.25vh;padding-bottom:1.25vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-texto-ayuda{margin-top:1.40625vh}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(19);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#titulo-emergente-eyd.titulo-emergente-movil{padding-top:.78125vh}#titulo-emergente-eyd.titulo-emergente-movil>.aviso-emergente-movil{height:2.34375vh;width:5.5555555556vw;margin-left:1.3888888889vw}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(21);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#aviso-emergente-eyd.aviso-emergente{width:51.3888888889vw;padding-top:1.328125vh;padding-left:3.6111111111vw;padding-right:2.2222222222vw;padding-bottom:1.015625vh;border-width:.15625vh .2777777778vw .15625vh .2777777778vw;line-height:3.125vh;margin-left:4.4444444444vw}#aviso-emergente-eyd.imagen-pregunta-aviso-emergente{height:3.90625vh;width:6.9444444444vw}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(23);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#pie-pagina-eyd.pie-pagina{margin-bottom:8.125vh}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(25);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#etiqueta-pedidos-eyd.contenedor-etiqueta-pedidos{height:3.4375vh;padding:.625vh 2.2222222222vw .625vh 2.2222222222vw;border-width:.15625vh .2777777778vw;border-radius:3.6111111111vw}#etiqueta-pedidos-eyd.contenedor-etiqueta-pedidos>.icono-etiqueta-pedidos{height:2.03125vh;width:16%}#etiqueta-pedidos-eyd.contenedor-etiqueta-pedidos>.numero-leyenda-etiqueta-pedidos{height:2.1875vh;width:79%}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(27);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes{width:88.8888888889vw;height:23.4375vh;padding-top:1.5625vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.meta-grafica-progreso-mensajes{height:2.1875vh;margin-bottom:.15625vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.meta-grafica-progreso-mensajes>.mensaje-total-titulo{margin-left:1.3888888889vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.union-meta-linea-grafica-progreso-mensajes{margin-left:44.4444444444vw;width:.8333333333vw;border-width:0 1.25vw 1.25vh 1.25vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.linea-meta-barra-grafica-progreso-mensajes{margin-left:1.9444444444vw;height:1.5625vh;width:84.4444444444vw;border-width:.15625vh .2777777778vw 0 .2777777778vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.barra-grafica-progreso-mensajes{height:3.125vh;width:84.4444444444vw;margin-left:1.9444444444vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-izquierda-grafica-progreso-mensaje,#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje{margin-top:.3125vh;padding-bottom:.3125vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-izquierda-grafica-progreso-mensaje>.union-dialogo-grafica-progreso-mensajes,#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje>.union-dialogo-grafica-progreso-mensajes{border-width:0 1.3888888889vw .9375vh 1.3888888889vw;width:.8333333333vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-izquierda-grafica-progreso-mensaje>.dialogo-grafica-progreso-mensajes,#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje>.dialogo-grafica-progreso-mensajes{height:3.75vh;padding-top:.78125vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje{height:5vh;width:31.9444444444vw}}",""]),a.default=t},function(e,a,n){var o=n(4),t=n(29);"string"==typeof(t=t.__esModule?t.default:t)&&(t=[[e.i,t,""]]);var r={insert:"head",singleton:!1};o(t,r);e.exports=t.locals||{}},function(e,a,n){"use strict";n.r(a);var o=n(2),t=n.n(o)()((function(e){return e[1]}));t.push([e.i,"@media screen and (max-width: 767px)and (pointer: coarse){#navegacion-movil-eyd.navegacion{height:3.125vh}}",""]),a.default=t},function(e,a,n){"use strict";n.r(a),n.d(a,"EtiquetaClientes",(function(){return P})),n.d(a,"EtiquetaSemana",(function(){return R})),n.d(a,"BotonDesplegarContraer",(function(){return F})),n.d(a,"ListaDesplegable",(function(){return K})),n.d(a,"FormatoNumero",(function(){return c})),n.d(a,"TituloEmergente",(function(){return ne})),n.d(a,"PiePagina",(function(){return oe})),n.d(a,"EtiquetaPedidos",(function(){return re})),n.d(a,"GraficaProgresoMensajes",(function(){return le})),n.d(a,"Navegacion",(function(){return ce})),n.d(a,"AvisoEmergente",(function(){return ee}));var o=n(0),t=n.n(o),r=n(1),i=n.n(r),l=n(7),s=function FormatoNumero(e){var a=e.numero,n=e.prefijo,o=void 0===n?"":n,r=e.sufijo,i=void 0===r?"":r;return t.a.createElement(l.NumericFormat,{value:a,displayType:"text",thousandSeparator:!0,prefix:o,suffix:i})};s.propTypes={numero:i.a.string.isRequired,prefijo:i.a.string,sufijo:i.a.string};var c=s,d=n(5),u=2,m=3,p=4,g=5,v=7,f=9,b=10,h=15,y=100,w=90,_=110,q=150,E=55,x=180,j=200,N=230,T=300,M=1e3,S=360,O=864e5,C=1e6,k="lista-desplegable-eyd",I=n(3),D=function condicionTernaria(e,a,n){return e?a:n},z=function formatoCantidadMillonesMiles(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(0===Number(e))return"0";var o=D(Number(e)>=M,D(Number(e)>=C,"M","K"),"");if(!n)return 1===a?e:"".concat(Object(I.formatoCantidadDecimales)(e,!1,u));var t=Object(I.formatoCantidadDecimales)(e);return"$".concat(t," ").concat(o)},A=(n(10),function EtiquetaClientes(e){var a=e.numeroClientes;return t.a.createElement("div",{id:"etiqueta-clientes-eyd",className:"hereda-ancho borde-solido borde-p6 elemento-flexible alinear-contenido-laterales contenedor-etiqueta-clientes"},t.a.createElement("div",{className:"icono-etiqueta-clientes"},t.a.createElement(d.IconoUsuarioSinRostro,null)),t.a.createElement("div",{className:"cuerpo-3 negritas letra-p6 elemento-flexible alinear-elementos-final alinear-contenido-centro numero-leyenda-etiqueta-clientes"},D(""!==a,t.a.createElement(c,{numero:a,sufijo:" cliente".concat(D(1===Number(a),"","s"))}),"clientes")))});A.propTypes={numeroClientes:i.a.string.isRequired};var P=A,R=(n(12),function EtiquetaSemana(){return t.a.createElement("div",{id:"etiqueta-semana-eyd",className:"fondo-p2 contenedor-etiqueta-semana-desempenio-movil"},t.a.createElement("div",{className:"fondo-p4 cuerpo-3 flotar-elemento-izquierda"},"Semana"," ",t.a.createElement("span",{className:"negritas"},function obtenerSemana(){var e=new Date;return e.setHours(0,0,0,0),e.setUTCDate(e.getUTCDate()+p-(e.getUTCDay()||v)),Math.ceil(((e-new Date(e.getUTCFullYear(),0,1))/O+1)/v)}())))}),B=n(6),L=n.n(B),U=(n(14),function BotonDesplegarContraer(e){var a=e.leyenda,n=e.eventoClic,o=e.alto,r=void 0===o?0:o,i=t.a.useState(!1),l=L()(i,2),s=l[0],c=l[1];return t.a.createElement("button",{className:"secundario ".concat(function altoBoton(){return 0===r?"d2":"d1"}()," fondo-s27"),onClick:function onClick(){!function mostrarOcultar(){c(!s)}(),n()}},a,t.a.createElement("div",{id:"boton-desplegar-contraer-eyd",className:"icono-mayor-boton-desplegar"},t.a.createElement(d.IconoMayor,{orientacion:D(s,m,1)})))});U.propTypes={leyenda:i.a.string.isRequired,eventoClic:i.a.func.isRequired,alto:i.a.number};var F=U,G=n(8),H=n.n(G),$=(n(16),function ListaDesplegable(e){var a,n=e.listaOpciones,o=e.eventoCambio,r=e.textoAyuda,i=void 0===r?null:r,l=e.mostrarAyuda,s=void 0!==l&&l,u=e.valorDefecto,m=void 0===u?null:u,p=t.a.useState(""),v=L()(p,2),f=v[0],b=v[1],h=t.a.useState(""),y=L()(h,2),w=y[0],_=y[1],q=t.a.useState(""),E=L()(q,2),x=E[0],j=E[1],N=t.a.useState(!0),T=L()(N,2),M=T[0],S=T[1],O=t.a.useState(n),C=L()(O,2),I=C[0],D=C[1],z=t.a.useState(),A=L()(z,2),P=A[0],R=A[1];t.a.useEffect((function(){D(n),R(n.find((function(e){return e.valor===m})))}),[n,m]);var B=function cambiarSeleccion(e){R(I[e.id-1]),o(I[e.id-1])};t.a.useEffect((function(){!function condicionalEstiloOrientacion(){a=n.length<=g?"orientacion-".concat(n.length," orientacion direccion-elemento-flexible-columna elemento-flexible"):"orientacion-5-mas orientacion direccion-elemento-flexible-columna elemento-flexible"}(),f&&j(x!==a&&M?"":a)}),[f,M]),t.a.useEffect((function(){b(!1)}),[P]);var U=function llenarLista(e,a,o){var r,i;for(r=a;r<o&&(i=(null==P?void 0:P.valor)===r+1?"negritas menu-desplegable-elemento-seleccionado fondo-vd2":"menu-desplegable-elemento-seleccionado-dos",e.push(t.a.createElement("div",{className:i,key:n[r].valor},t.a.createElement("div",{id:n[r].valor,className:"cuerpo-3 hereda-ancho menu-desplegable-opcion borde-vd4",onClick:function onClick(e){return B(e.currentTarget)}},t.a.createElement("div",{className:"menu-desplegable-texto-numerico-espaciado-derecho mostrar-elemento-en-linea-por-bloque-flex"},n[r].texto,n[r].textoNegritas&&t.a.createElement("div",{className:"mostrar-elemento-en-linea-por-bloque-flex menu-desplegable-texto-numerico-espaciado-izquierdo negritas"},t.a.createElement(c,{numero:String(n[r].textoNegritas),prefijo:"$"})))))),r!==n.length-1);r++);};return t.a.useEffect((function(){var e=[];U(e,0,g),n.length<=g||U(e,g,n.length),_(e)}),[f]),t.a.createElement("div",{id:k,className:"lista-desplegable-eyd ancho-total"},t.a.createElement("div",{className:"menu-desplegable-componente-selector cursor-puntero quitar-contorno hereda-ancho posicion-relativa",tabIndex:1,onBlur:function onBlur(){return function cerrarLista(){j(""),b(!1)}()},onClick:function onClick(){return function desplegarLista(){b(!0)}()}},t.a.createElement("div",{className:"menu-desplegable-control elemento-flexible alinear-contenido-flexible-al-inicio"},t.a.createElement("div",{className:"menu-desplegable-opcion-seleccionada"},t.a.createElement("div",null,t.a.createElement("div",{className:"mostrar-elemento-en-linea-por-bloque-flex"},!P&&i&&t.a.createElement("div",{className:"letra-vd5"},t.a.createElement("div",{className:"cuerpo-3"},i)),P&&t.a.createElement("div",null,t.a.createElement("div",{className:"cuerpo-3"},P.texto)),P&&P.textoNegritas&&t.a.createElement("div",{className:"mostrar-elemento-en-linea-por-bloque-flex menu-desplegable-texto-numerico-espaciado-izquierdo"},t.a.createElement("h4",{className:"numerico"},t.a.createElement(c,{numero:String(P.textoNegritas),prefijo:"$"})))))),t.a.createElement("div",{className:"elemento-flexible "},t.a.createElement("div",{className:"menu-desplegable-flechita"},t.a.createElement(d.IconoMayor,{color:2,orientacion:1})))),t.a.createElement("div",{className:"menu-desplegable-borde-inferior"}),f&&t.a.createElement(H.a,{onChange:function enCambio(e){S(e)}},t.a.createElement(t.a.Fragment,null,t.a.createElement("div",{className:"menu-desplegable-opciones-flecha fondo-p4 posicion-absoluta ".concat(x)},w))),J(f,s,i)))}),J=function pintarAyuda(e,a,n){return!e&&a&&t.a.createElement("div",{className:"menu-desplegable-texto-ayuda etiqueta-1"},n)};$.propTypes={listaOpciones:i.a.array.isRequired,eventoCambio:i.a.func.isRequired,textoAyuda:i.a.string,mostrarAyuda:i.a.bool,valorDefecto:i.a.any};var K=$,Y=(n(18),n(9)),Q=n.n(Y),V=(n(20),["click"]),W=["click","mouseleave"],X=["auto","top","top-start","top-end","left","right","bottom","bottom-start","bottom-end"],Z=function AvisoEmergente(e){var a=e.nombreIdentificador,n=e.leyenda,o=void 0===n?"":n,r=e.posicion,i=void 0===r?0:r,l=e.accionMostrar,s=void 0===l?0:l,c=e.accionOcultar,u=void 0===c?0:c;return t.a.createElement(Q.a,{id:a,placement:X[i],trigger:V[s],hideTrigger:W[u],content:t.a.createElement("div",{id:"aviso-emergente-eyd",className:"aviso-emergente etiqueta-2 fondo-p4 negritas borde-p1 borde-solido"},o)},t.a.createElement("div",{id:"aviso-emergente-eyd",className:"imagen-pregunta-aviso-emergente"},t.a.createElement(d.IconoPregunta,null)))};Z.propTypes={nombreIdentificador:i.a.string.isRequired,leyenda:i.a.string,posicion:i.a.number,accionMostrar:i.a.number,accionOcultar:i.a.number};var ee=Z,ae=function TituloEmergente(e){var a=e.leyenda,n=e.avisoEmergente,o=e.posicion,r=void 0===o?0:o,i=e.accionOcultar,l=void 0===i?0:i;return t.a.createElement("div",{id:"titulo-emergente-eyd",className:"titulo-emergente-movil elemento-flexible ancho-total "},t.a.createElement("div",{className:"titulo-seccion"},t.a.createElement("span",{className:"negritas cuerpo-2"},a),t.a.createElement("div",{className:"linea"})),t.a.createElement("div",{className:"aviso-emergente-movil"},t.a.createElement(ee,{nombreIdentificador:"AvisoEmergenteMovilEyD",leyenda:n,posicion:r,accionOcultar:l})))};ae.propTypes={leyenda:i.a.string.isRequired,avisoEmergente:i.a.string.isRequired,posicion:i.a.number,accionOcultar:i.a.number};var ne=ae,oe=(n(22),function PiePagina(){return t.a.createElement("img",{alt:"",id:"pie-pagina-eyd",className:"ancho-total contenido-ajustable pie-pagina",src:"/recursos/imagenes/piePaginaMovil.svg"})}),te=(n(24),function EtiquetaPedidos(e){var a=e.numeroPedidos;return t.a.createElement("div",{id:"etiqueta-pedidos-eyd",className:"hereda-ancho borde-solido borde-p6 elemento-flexible alinear-contenido-laterales contenedor-etiqueta-pedidos"},t.a.createElement("div",{className:"icono-etiqueta-pedidos"},t.a.createElement(d.IconoCaja,null)),t.a.createElement("div",{className:"cuerpo-3 negritas letra-p6 elemento-flexible alinear-elementos-final alinear-contenido-centro numero-leyenda-etiqueta-pedidos"},D(""!==a,t.a.createElement(c,{numero:a,sufijo:" pedido".concat(D(1===Number(a),"","s"))}),"pedidos")))});te.propTypes={numeroPedidos:i.a.string.isRequired};var re=te,ie=(n(26),function GraficaProgresoMensajes(e){var a=e.datos,n=115,o=function obtenerAnchoGrafica(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!a.valorTotal&&e)return"0";var n=0;return n=Number(a.valorOportunidad)>0?Math.round(Number(a.valorActivo)/Number(a.valorTotal)*y):y,"".concat(Object(I.condicionTernaria)(e,n,y-n),"%")};return t.a.createElement("div",{id:"grafica-progreso-mensaje-eyd",className:"fondo-p4 contenedor-grafica-progreso-mensajes"},t.a.createElement("div",{className:"cuerpo-3 alinear-texto-centro meta-grafica-progreso-mensajes ancho-total"},t.a.createElement("h6",{className:"mostrar-elemento-en-linea ".concat(Object(I.condicionTernaria)(a.banderaTipo,"numerico","negritas"))},z(a.valorTotal,1,a.banderaTipo)),t.a.createElement("span",{className:"mensaje-total-titulo mostrar-elemento-en-linea etiqueta-1"},a.mensajeTotal)),t.a.createElement("div",{className:"borde-solido borde-derecho-transparente borde-izquierdo-transparente borde-inferior-p1 union-meta-linea-grafica-progreso-mensajes"}),t.a.createElement("div",{className:"borde-solido borde-p1 linea-meta-barra-grafica-progreso-mensajes"}),t.a.createElement("div",{className:"barra-grafica-progreso-mensajes"},t.a.createElement("div",{className:"flotar-elemento-izquierda hereda-altura fondo-".concat(Object(I.condicionTernaria)(!a.colorBarraProgreso,"s23",a.colorBarraProgreso)),style:{width:o()}}),t.a.createElement("div",{className:"flotar-elemento-izquierda hereda-altura fondo-vd4",style:{width:o(!1)}})),t.a.createElement("div",{className:"".concat(Object(I.condicionTernaria)(Number(a.valorActivo)>0,"flotar-elemento-izquierda dialogo-izquierda-grafica-progreso-mensaje","ocultar-elemento")),style:{marginLeft:function posicionarDialogoIzquierda(){var e=v;return 0===Number(a.valorOportunidad)&&(e=Math.round(300/u-164/u)),"".concat(e*y/S,"vw")}(),width:function anchoDialogoActivo(){var e=y;return Object(I.condicionTernaria)(!a.mensajeIzquierdo,0,a.mensajeIzquierdo.length)>h&&(e=x),"".concat(e*y/S,"vw")}()}},t.a.createElement("div",{className:"borde-solido borde-derecho-transparente borde-izquierdo-transparente borde-inferior-vd26 union-dialogo-grafica-progreso-mensajes",style:{marginLeft:function margenUnionDialogoIzquierda(){var e=h,n=Math.round(Number(a.valorActivo)*T/Number(a.valorTotal));return n>=b&&n<=q&&(e=Math.round(v+n/u-5)),n>q&&(e=w),"".concat(e*y/S,"vw")}()}}),t.a.createElement("div",{className:" alinear-texto-centro hereda-ancho posicion-relativa fondo-vd26 dialogo-grafica-progreso-mensajes"},t.a.createElement("span",{className:"etiqueta-2 ".concat(Object(I.condicionTernaria)(a.banderaTipo,"numerico","negritas"))},z(a.valorActivo,0,a.banderaTipo))," ",t.a.createElement("span",{className:"etiqueta-2"},a.mensajeIzquierdo))),t.a.createElement("div",{className:"".concat(Object(I.condicionTernaria)(Number(a.valorOportunidad)>0,"flotar-elemento-derecha dialogo-derecha-grafica-progreso-mensaje","ocultar-elemento")),style:{marginRight:function posicionarDialogoDerecha(){var e=0,o=Math.round(Number(a.valorActivo)*T/Number(a.valorTotal)),t=Object(I.condicionTernaria)(!a.mensajeIzquierdo,0,a.mensajeIzquierdo.length);0===Number(a.valorActivo)&&(e=Math.round(f+300/u-n/u)),(o>=j||t>h&&0===e)&&(e=b);var r=Math.round(n/u);if(0===e&&r<=o+b){var i=Math.round(b+o/u-r),l=Math.round(300/u+b-n);e=Object(I.condicionTernaria)(i>l,l,i)}return"".concat(e*y/S,"vw")}()}},t.a.createElement("div",{className:"borde-solido borde-derecho-transparente borde-izquierdo-transparente borde-inferior-vd26 union-dialogo-grafica-progreso-mensajes",style:{marginLeft:function margenUnionDialogoDerecha(){var e=b,n=Math.round(Number(a.valorActivo)*T/Number(a.valorTotal));return 1===a.valorOportunidad&&(e=Math.round(110-(b+n/u))),n<=N&&(e=E),e===b&&n>N&&(e=_-(T-n)/u),"".concat(e*y/S,"vw")}()}}),t.a.createElement("div",{className:"alinear-texto-centro hereda-ancho posicion-relativa fondo-vd26 dialogo-grafica-progreso-mensajes"},t.a.createElement("span",{className:"etiqueta-2 ".concat(Object(I.condicionTernaria)(a.banderaTipo,"numerico","negritas"))},""!==a.valorOportunidad&&z(a.valorOportunidad,0,a.banderaTipo))," ",t.a.createElement("span",{className:"etiqueta-2"},a.mensajeDerecho))))});ie.propTypes={datos:i.a.object.isRequired};var le=ie,se=(n(28),function Navegacion(e){var a=e.titulo;return t.a.createElement("div",{id:"navegacion-movil-eyd",className:"m-cuadricula-secundaria borde-vd4 navegacion"},t.a.createElement("div",{className:"m-inicia-1 m-mide-8 etiqueta-1 negritas"},a))});se.propTypes={titulo:i.a.string.isRequired};var ce=se}]));
1
+ !function(a,r){for(var o in r)a[o]=r[o]}(exports,function(a){var r={};function __webpack_require__(o){if(r[o])return r[o].exports;var t=r[o]={i:o,l:!1,exports:{}};return a[o].call(t.exports,t,t.exports,__webpack_require__),t.l=!0,t.exports}return __webpack_require__.m=a,__webpack_require__.c=r,__webpack_require__.d=function(a,r,o){__webpack_require__.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:o})},__webpack_require__.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},__webpack_require__.t=function(a,r){if(1&r&&(a=__webpack_require__(a)),8&r)return a;if(4&r&&"object"==typeof a&&a&&a.__esModule)return a;var o=Object.create(null);if(__webpack_require__.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),2&r&&"string"!=typeof a)for(var t in a)__webpack_require__.d(o,t,function(r){return a[r]}.bind(null,t));return o},__webpack_require__.n=function(a){var r=a&&a.__esModule?function getDefault(){return a.default}:function getModuleExports(){return a};return __webpack_require__.d(r,"a",r),r},__webpack_require__.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=40)}([function(a,r){a.exports=require("react")},function(a,r){a.exports=require("prop-types")},function(a,r){a.exports=require("@red-unica/libreria-funciones-genericas")},function(a,r,o){"use strict";a.exports=function(a){var r=[];return r.toString=function toString(){return this.map((function(r){var o=a(r);return r[2]?"@media ".concat(r[2]," {").concat(o,"}"):o})).join("")},r.i=function(a,o,t){"string"==typeof a&&(a=[[null,a,""]]);var i={};if(t)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var d=0;d<a.length;d++){var u=[].concat(a[d]);t&&i[u[0]]||(o&&(u[2]?u[2]="".concat(o," and ").concat(u[2]):u[2]=o),r.push(u))}},r}},function(a,r,o){"use strict";var t=function isOldIE(){var a;return function memorize(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a}}(),i=function getTarget(){var a={};return function memorize(r){if(void 0===a[r]){var o=document.querySelector(r);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(a){o=null}a[r]=o}return a[r]}}(),c=[];function getIndexByIdentifier(a){for(var r=-1,o=0;o<c.length;o++)if(c[o].identifier===a){r=o;break}return r}function modulesToDom(a,r){for(var o={},t=[],i=0;i<a.length;i++){var l=a[i],d=r.base?l[0]+r.base:l[0],u=o[d]||0,m="".concat(d," ").concat(u);o[d]=u+1;var p=getIndexByIdentifier(m),g={css:l[1],media:l[2],sourceMap:l[3]};-1!==p?(c[p].references++,c[p].updater(g)):c.push({identifier:m,updater:addStyle(g,r),references:1}),t.push(m)}return t}function insertStyleElement(a){var r=document.createElement("style"),t=a.attributes||{};if(void 0===t.nonce){var c=o.nc;c&&(t.nonce=c)}if(Object.keys(t).forEach((function(a){r.setAttribute(a,t[a])})),"function"==typeof a.insert)a.insert(r);else{var l=i(a.insert||"head");if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(r)}return r}var l=function replaceText(){var a=[];return function replace(r,o){return a[r]=o,a.filter(Boolean).join("\n")}}();function applyToSingletonTag(a,r,o,t){var i=o?"":t.media?"@media ".concat(t.media," {").concat(t.css,"}"):t.css;if(a.styleSheet)a.styleSheet.cssText=l(r,i);else{var c=document.createTextNode(i),d=a.childNodes;d[r]&&a.removeChild(d[r]),d.length?a.insertBefore(c,d[r]):a.appendChild(c)}}function applyToTag(a,r,o){var t=o.css,i=o.media,c=o.sourceMap;if(i?a.setAttribute("media",i):a.removeAttribute("media"),c&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(c))))," */")),a.styleSheet)a.styleSheet.cssText=t;else{for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(document.createTextNode(t))}}var d=null,u=0;function addStyle(a,r){var o,t,i;if(r.singleton){var c=u++;o=d||(d=insertStyleElement(r)),t=applyToSingletonTag.bind(null,o,c,!1),i=applyToSingletonTag.bind(null,o,c,!0)}else o=insertStyleElement(r),t=applyToTag.bind(null,o,r),i=function remove(){!function removeStyleElement(a){if(null===a.parentNode)return!1;a.parentNode.removeChild(a)}(o)};return t(a),function updateStyle(r){if(r){if(r.css===a.css&&r.media===a.media&&r.sourceMap===a.sourceMap)return;t(a=r)}else i()}}a.exports=function(a,r){(r=r||{}).singleton||"boolean"==typeof r.singleton||(r.singleton=t());var o=modulesToDom(a=a||[],r);return function update(a){if(a=a||[],"[object Array]"===Object.prototype.toString.call(a)){for(var t=0;t<o.length;t++){var i=getIndexByIdentifier(o[t]);c[i].references--}for(var l=modulesToDom(a,r),d=0;d<o.length;d++){var u=getIndexByIdentifier(o[d]);0===c[u].references&&(c[u].updater(),c.splice(u,1))}o=l}}}},function(a,r){a.exports=require("@babel/runtime/helpers/slicedToArray")},function(a,r){a.exports=require("@red-unica/libreria-svg")},function(a,r){a.exports=require("@babel/runtime/regenerator")},function(a,r){a.exports=require("@babel/runtime/helpers/asyncToGenerator")},function(a,r){a.exports=require("react-number-format")},function(a,r){a.exports=require("react-visibility-sensor")},function(a,r){a.exports=require("postel")},function(a,r,o){var t=o(4),i=o(13);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#etiqueta-clientes-eyd.contenedor-etiqueta-clientes{height:3.4375vh;padding:.625vh 2.2222222222vw .625vh 2.2222222222vw;border-width:.15625vh .2777777778vw;border-radius:3.6111111111vw}#etiqueta-clientes-eyd.contenedor-etiqueta-clientes>.icono-etiqueta-clientes{height:2.03125vh;width:15%}#etiqueta-clientes-eyd.contenedor-etiqueta-clientes>.numero-leyenda-etiqueta-clientes{height:2.1875vh;width:83%}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(15);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#etiqueta-semana-eyd.contenedor-etiqueta-semana-desempenio-movil{height:3.125vh}#etiqueta-semana-eyd.contenedor-etiqueta-semana-desempenio-movil>div{height:3.125vh;width:25.8333333333vw;padding:.78125vh 0 0 3.8888888889vw;border-radius:0 13.8888888889vw 7.8125vh 0}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(17);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#boton-desplegar-contraer-eyd.icono-mayor-boton-desplegar{width:3.0555555556vw;height:1.875vh;margin-left:3.8888888889vw}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(19);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control{width:100%;padding:0}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control>.menu-desplegable-opcion-seleccionada{width:100%;height:100%;padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control>.menu-desplegable-opcion-seleccionada>.menu-desplegable-texto-numerico-espaciado-izquierdo{padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-control>div>.menu-desplegable-flechita{width:3.8888888889vw;margin-right:2.3166666667vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-borde-inferior{height:1.09375vh;width:100%;border:.5555555556vw solid #000f08;border-top:none !important}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha{width:100%;z-index:1;overflow-y:scroll;box-shadow:0 2.7777777778vw 1em -0.4em #cccdce;max-height:42.03125vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado>.menu-desplegable-opcion{padding-top:2.65625vh;padding-bottom:2.65625vh;border-bottom-width:.15625vh;border-bottom-style:inset;margin-left:2.7777777778vw;margin-right:2.7777777778vw;padding-left:4.1666666667vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho{padding-right:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho>.menu-desplegable-texto-numerico-espaciado-izquierdo{padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado-dos>.menu-desplegable-opcion{padding-top:2.65625vh;padding-bottom:2.65625vh;border-bottom-width:.15625vh;border-bottom-style:inset;margin-left:2.7777777778vw;margin-right:2.7777777778vw;padding-left:4.1666666667vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado-dos>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho{padding-right:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha>.menu-desplegable-elemento-seleccionado-dos>.menu-desplegable-opcion>.menu-desplegable-texto-numerico-espaciado-derecho>.menu-desplegable-texto-numerico-espaciado-izquierdo{padding-left:2.7777777778vw}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion{box-shadow:0 -2.7777777778vw 1em -0.4em #cccdce !important}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1{margin-top:-13.59375vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2{margin-top:-21.25vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3{margin-top:-28.90625vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4{margin-top:-36.5625vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4.orientacion-5{margin-top:-44.21875vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4.orientacion-5.orientacion-5-mas{margin-top:-47.96875vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-opciones-flecha.orientacion.orientacion-1.orientacion-2.orientacion-3.orientacion-4.orientacion-5.orientacion-5-mas.posicion-flecha{width:100%;padding-top:1.25vh;padding-bottom:1.25vh}#lista-desplegable-eyd.lista-desplegable-eyd>.menu-desplegable-componente-selector>.menu-desplegable-texto-ayuda{margin-top:1.40625vh}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(21);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#titulo-emergente-eyd.titulo-emergente-movil{padding-top:.78125vh}#titulo-emergente-eyd.titulo-emergente-movil>.aviso-emergente-movil{height:2.34375vh;width:5.5555555556vw;margin-left:1.3888888889vw}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(23);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#aviso-emergente-eyd.padre-aviso-emergente>.aviso-emergente{width:48.6111111111vw;padding-top:.78125vh;padding-left:1.3888888889vw;padding-right:1.3888888889vw;padding-bottom:.78125vh;border-width:.15625vh .2777777778vw .15625vh .2777777778vw;line-height:3.125vh}#aviso-emergente-eyd.padre-aviso-emergente>.union-dialogo-aviso-emergente{border-width:.9375vh 1.3888888889vw 0 1.3888888889vw;width:.8333333333vw}#aviso-emergente-eyd.padre-aviso-emergente>.margen-izquierdo-dialogo{margin-left:2.7777777778vw}#aviso-emergente-eyd.padre-aviso-emergente>.margen-izquierdo-negativo-dialogo{margin-left:-4.1666666667vw}#aviso-emergente-eyd.padre-aviso-emergente>.margen-arriba-dialogo{margin-top:2.7777777778vw}#aviso-emergente-eyd.padre-aviso-emergente>.margen-arriba-negativo-dialogo{margin-top:-2.7777777778vw}#aviso-emergente-eyd.imagen-pregunta-aviso-emergente{height:3.90625vh;width:6.9444444444vw}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(25);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#pie-pagina-eyd.pie-pagina{margin-bottom:8.125vh}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(27);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#etiqueta-pedidos-eyd.contenedor-etiqueta-pedidos{height:3.4375vh;padding:.625vh 2.2222222222vw .625vh 2.2222222222vw;border-width:.15625vh .2777777778vw;border-radius:3.6111111111vw}#etiqueta-pedidos-eyd.contenedor-etiqueta-pedidos>.icono-etiqueta-pedidos{height:2.03125vh;width:16%}#etiqueta-pedidos-eyd.contenedor-etiqueta-pedidos>.numero-leyenda-etiqueta-pedidos{height:2.1875vh;width:79%}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(29);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes{width:88.8888888889vw;height:23.4375vh;padding-top:1.5625vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.meta-grafica-progreso-mensajes{height:2.1875vh;margin-bottom:.15625vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.meta-grafica-progreso-mensajes>.mensaje-total-titulo{margin-left:1.3888888889vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.union-meta-linea-grafica-progreso-mensajes{margin-left:44.4444444444vw;width:.8333333333vw;border-width:0 1.25vw 1.25vh 1.25vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.linea-meta-barra-grafica-progreso-mensajes{margin-left:1.9444444444vw;height:1.5625vh;width:84.4444444444vw;border-width:.15625vh .2777777778vw 0 .2777777778vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.barra-grafica-progreso-mensajes{height:3.125vh;width:84.4444444444vw;margin-left:1.9444444444vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-izquierda-grafica-progreso-mensaje,#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje{margin-top:.3125vh;padding-bottom:.3125vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-izquierda-grafica-progreso-mensaje>.union-dialogo-grafica-progreso-mensajes,#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje>.union-dialogo-grafica-progreso-mensajes{border-width:0 1.3888888889vw .9375vh 1.3888888889vw;width:.8333333333vw}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-izquierda-grafica-progreso-mensaje>.dialogo-grafica-progreso-mensajes,#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje>.dialogo-grafica-progreso-mensajes{height:3.75vh;padding-top:.78125vh}#grafica-progreso-mensaje-eyd.contenedor-grafica-progreso-mensajes>.dialogo-derecha-grafica-progreso-mensaje{height:5vh;width:31.9444444444vw}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(31);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#navegacion-movil-eyd.navegacion{height:3.125vh}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(33);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#pestanias-movil-eyd.separacion-movil{height:3.90625vh}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(35);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#pestania-secundaria-eyd.contenedor-pestania>.contenido{margin-right:2.7777777778vw}#pestania-secundaria-eyd.contenedor-pestania>.contenido>.pestania-secundaria{height:4.6875vh}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(37);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#grafica-progreso-puntero.contenedor-grafica-progreso{height:6.5625vh}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-leyenda-superior>.contenedor-leyenda-grafica{padding:0 .5555555556vw 0 0}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-leyenda-superior>.contenedor-leyenda-grafica>.contenedor-leyenda-grafica-importe{padding:0 0 0 1.6666666667vw}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-grafica{padding:.3125vh 0 1.5625vh 0}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-grafica>.contenedor-grafica-barra{height:.78125vh}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-grafica>.contenedor-grafica-barra>.contenedor-grafica-separador{width:1.1111111111vw}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-grafica>.contenedor-grafica-barra>.contenedor-grafica-separador>.contenedor-separador-linea{height:1.5625vh;width:.2777777778vw}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-grafica>.contenedor-grafica-barra>.contenedor-grafica-separador>.contenedor-separador-linea-termina{height:.625vh;width:1.1111111111vw;transform:translate(-0.4166666667vw, -0.15625vh)}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-leyenda-inferior>.contenedor-leyenda-grafica{padding:0 .5555555556vw 0 0}#grafica-progreso-puntero.contenedor-grafica-progreso>.contenedor-leyenda-inferior>.contenedor-leyenda-grafica>.contenedor-leyenda-grafica-importe{padding:0 0 0 1.6666666667vw}}",""]),r.default=i},function(a,r,o){var t=o(4),i=o(39);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[a.i,i,""]]);var c={insert:"head",singleton:!1};t(i,c);a.exports=i.locals||{}},function(a,r,o){"use strict";o.r(r);var t=o(3),i=o.n(t)()((function(a){return a[1]}));i.push([a.i,"@media screen and (max-width: 767px)and (pointer: coarse){#circulo-nombre-eyd.circulo{width:100%;height:100%;border-radius:50%}#circulo-nombre-eyd.circulo>.texto-letras{height:100%;top:50%;transform:translateY(35%)}}",""]),r.default=i},function(a,r,o){"use strict";o.r(r),o.d(r,"EtiquetaClientes",(function(){return Y})),o.d(r,"EtiquetaSemana",(function(){return J})),o.d(r,"BotonDesplegarContraer",(function(){return X})),o.d(r,"ListaDesplegable",(function(){return re})),o.d(r,"FormatoNumero",(function(){return m})),o.d(r,"TituloEmergente",(function(){return pe})),o.d(r,"PiePagina",(function(){return ge})),o.d(r,"EtiquetaPedidos",(function(){return ve})),o.d(r,"GraficaProgresoMensajes",(function(){return he})),o.d(r,"Navegacion",(function(){return we})),o.d(r,"AvisoEmergente",(function(){return ue})),o.d(r,"Pestanias",(function(){return _e})),o.d(r,"PestaniasSecundarias",(function(){return Ce})),o.d(r,"GraficaProgresoPuntero",(function(){return ke})),o.d(r,"CirculoNombre",(function(){return ze}));var t=o(0),i=o.n(t),c=o(1),l=o.n(c),d=o(9),u=function FormatoNumero(a){var r=a.numero,o=a.prefijo,t=void 0===o?"":o,c=a.sufijo,l=void 0===c?"":c;return i.a.createElement(d.NumericFormat,{value:r,displayType:"text",thousandSeparator:!0,prefix:t,suffix:l})};u.propTypes={numero:l.a.string.isRequired,prefijo:l.a.string,sufijo:l.a.string};var m=u,p=o(6),g=2,v=3,b=4,h=5,y=7,w=9,E=10,j=15,x=20,q=30,_=70,N=80,T=90,O=100,S=110,M=150,C=55,A=180,k=200,P=230,z=300,I=360,D=640,R=1e3,L=864e5,B=1e6,U="lista-desplegable-eyd",G=o(2),$=function condicionTernaria(a,r,o){return a?r:o},H=function formatoCantidadMillonesMiles(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(0===Number(a))return"0";var t=$(Number(a)>=R,$(Number(a)>=B,"M","K"),"");if(!o)return 1===r?a:"".concat(Object(G.formatoCantidadDecimales)(a,!1,g));var i=Object(G.formatoCantidadDecimales)(a);return"$".concat(i," ").concat(t)},W=(o(12),function EtiquetaClientes(a){var r=a.numeroClientes;return i.a.createElement("div",{id:"etiqueta-clientes-eyd",className:"hereda-ancho borde-solido borde-p6 elemento-flexible alinear-contenido-laterales contenedor-etiqueta-clientes"},i.a.createElement("div",{className:"icono-etiqueta-clientes"},i.a.createElement(p.IconoUsuarioSinRostro,null)),i.a.createElement("div",{className:"cuerpo-3 negritas letra-p6 elemento-flexible alinear-elementos-final alinear-contenido-centro numero-leyenda-etiqueta-clientes"},$(""!==r,i.a.createElement(m,{numero:r,sufijo:" cliente".concat($(1===Number(r),"","s"))}),"clientes")))});W.propTypes={numeroClientes:l.a.string.isRequired};var Y=W,J=(o(14),function EtiquetaSemana(){return i.a.createElement("div",{id:"etiqueta-semana-eyd",className:"fondo-p2 contenedor-etiqueta-semana-desempenio-movil"},i.a.createElement("div",{className:"fondo-p4 cuerpo-3 flotar-elemento-izquierda"},"Semana"," ",i.a.createElement("span",{className:"negritas"},function obtenerSemana(){var a=new Date;return a.setHours(0,0,0,0),a.setUTCDate(a.getUTCDate()+b-(a.getUTCDay()||y)),Math.ceil(((a-new Date(a.getUTCFullYear(),0,1))/L+1)/y)}())))}),K=o(5),Q=o.n(K),V=(o(16),function BotonDesplegarContraer(a){var r=a.leyenda,o=a.eventoClic,t=a.alto,c=void 0===t?0:t,l=i.a.useState(!1),d=Q()(l,2),u=d[0],m=d[1];return i.a.createElement("button",{className:"secundario ".concat(function altoBoton(){return 0===c?"d2":"d1"}()," fondo-s27"),onClick:function onClick(){!function mostrarOcultar(){m(!u)}(),o()}},r,i.a.createElement("div",{id:"boton-desplegar-contraer-eyd",className:"icono-mayor-boton-desplegar"},i.a.createElement(p.IconoMayor,{orientacion:$(u,v,1)})))});V.propTypes={leyenda:l.a.string.isRequired,eventoClic:l.a.func.isRequired,alto:l.a.number};var X=V,Z=o(10),ee=o.n(Z),ae=(o(18),function ListaDesplegable(a){var r,o=a.listaOpciones,t=a.eventoCambio,c=a.textoAyuda,l=void 0===c?null:c,d=a.mostrarAyuda,u=void 0!==d&&d,g=a.valorDefecto,v=void 0===g?null:g,b=i.a.useState(""),y=Q()(b,2),w=y[0],E=y[1],j=i.a.useState(""),x=Q()(j,2),q=x[0],_=x[1],N=i.a.useState(""),T=Q()(N,2),O=T[0],S=T[1],M=i.a.useState(!0),C=Q()(M,2),A=C[0],k=C[1],P=i.a.useState(o),z=Q()(P,2),I=z[0],D=z[1],R=i.a.useState(),L=Q()(R,2),B=L[0],G=L[1];i.a.useEffect((function(){D(o),G(o.find((function(a){return a.valor===v})))}),[o,v]);var $=function cambiarSeleccion(a){G(I[a.id-1]),t(I[a.id-1])};i.a.useEffect((function(){!function condicionalEstiloOrientacion(){r=o.length<=h?"orientacion-".concat(o.length," orientacion direccion-elemento-flexible-columna elemento-flexible"):"orientacion-5-mas orientacion direccion-elemento-flexible-columna elemento-flexible"}(),w&&S(O!==r&&A?"":r)}),[w,A]),i.a.useEffect((function(){E(!1)}),[B]);var H=function llenarLista(a,r,t){var c,l;for(c=r;c<t&&(l=(null==B?void 0:B.valor)===c+1?"negritas menu-desplegable-elemento-seleccionado fondo-vd2":"menu-desplegable-elemento-seleccionado-dos",a.push(i.a.createElement("div",{className:l,key:o[c].valor},i.a.createElement("div",{id:o[c].valor,className:"cuerpo-3 hereda-ancho menu-desplegable-opcion borde-vd4",onClick:function onClick(a){return $(a.currentTarget)}},i.a.createElement("div",{className:"menu-desplegable-texto-numerico-espaciado-derecho mostrar-elemento-en-linea-por-bloque-flex"},o[c].texto,o[c].textoNegritas&&i.a.createElement("div",{className:"mostrar-elemento-en-linea-por-bloque-flex menu-desplegable-texto-numerico-espaciado-izquierdo negritas"},i.a.createElement(m,{numero:String(o[c].textoNegritas),prefijo:"$"})))))),c!==o.length-1);c++);};return i.a.useEffect((function(){var a=[];H(a,0,h),o.length<=h||H(a,h,o.length),_(a)}),[w]),i.a.createElement("div",{id:U,className:"lista-desplegable-eyd ancho-total"},i.a.createElement("div",{className:"menu-desplegable-componente-selector cursor-puntero quitar-contorno hereda-ancho posicion-relativa",tabIndex:1,onBlur:function onBlur(){return function cerrarLista(){S(""),E(!1)}()},onClick:function onClick(){return function desplegarLista(){E(!0)}()}},i.a.createElement("div",{className:"menu-desplegable-control elemento-flexible alinear-contenido-flexible-al-inicio"},i.a.createElement("div",{className:"menu-desplegable-opcion-seleccionada"},i.a.createElement("div",null,i.a.createElement("div",{className:"mostrar-elemento-en-linea-por-bloque-flex"},!B&&l&&i.a.createElement("div",{className:"letra-vd5"},i.a.createElement("div",{className:"cuerpo-3"},l)),B&&i.a.createElement("div",null,i.a.createElement("div",{className:"cuerpo-3"},B.texto)),B&&B.textoNegritas&&i.a.createElement("div",{className:"mostrar-elemento-en-linea-por-bloque-flex menu-desplegable-texto-numerico-espaciado-izquierdo"},i.a.createElement("h4",{className:"numerico"},i.a.createElement(m,{numero:String(B.textoNegritas),prefijo:"$"})))))),i.a.createElement("div",{className:"elemento-flexible "},i.a.createElement("div",{className:"menu-desplegable-flechita"},i.a.createElement(p.IconoMayor,{color:2,orientacion:1})))),i.a.createElement("div",{className:"menu-desplegable-borde-inferior"}),w&&i.a.createElement(ee.a,{onChange:function enCambio(a){k(a)}},i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"menu-desplegable-opciones-flecha fondo-p4 posicion-absoluta ".concat(O)},q))),ne(w,u,l)))}),ne=function pintarAyuda(a,r,o){return!a&&r&&i.a.createElement("div",{className:"menu-desplegable-texto-ayuda etiqueta-1"},o)};ae.propTypes={listaOpciones:l.a.array.isRequired,eventoCambio:l.a.func.isRequired,textoAyuda:l.a.string,mostrarAyuda:l.a.bool,valorDefecto:l.a.any};var re=ae,oe=(o(20),o(11)),te=o.n(oe),ie=(o(22),["click"]),ce=["click","mouseleave"],le=["auto","top","top-start","top-end","left","right","bottom","bottom-start","bottom-end"],se=["","margen-izquierdo-dialogo","margen-izquierdo-negativo-dialogo","margen-arriba-dialogo","margen-arriba-negativo-dialogo"],de=function AvisoEmergente(a){var r=a.nombreIdentificador,o=a.leyenda,t=void 0===o?"":o,c=a.posicion,l=void 0===c?0:c,d=a.accionMostrar,u=void 0===d?0:d,m=a.accionOcultar,g=void 0===m?0:m,v=a.margen,b=void 0===v?0:v,h=a.union,y=void 0===h?[0,0]:h;return i.a.createElement(te.a,{id:r,placement:le[l],trigger:ie[u],hideTrigger:ce[g],content:i.a.createElement("div",{id:"aviso-emergente-eyd",className:"padre-aviso-emergente"},i.a.createElement("div",{className:"aviso-emergente etiqueta-2 fondo-p4 negritas borde-p1 borde-solido ".concat(se[b])},t),y[0]>0&&function unionDialogo(){return i.a.createElement("div",{className:"borde-solido borde-derecho-transparente borde-izquierdo-transparente borde-inferior-vd26 union-dialogo-aviso-emergente",style:{marginLeft:"".concat(y[1]*O/I,"vw")}})}())},i.a.createElement("div",{id:"aviso-emergente-eyd",className:"imagen-pregunta-aviso-emergente"},i.a.createElement(p.IconoPregunta,null)))};de.propTypes={nombreIdentificador:l.a.string.isRequired,leyenda:l.a.string,posicion:l.a.number,accionMostrar:l.a.number,accionOcultar:l.a.number,margen:l.a.number,union:l.a.array};var ue=de,me=function TituloEmergente(a){var r=a.leyenda,o=a.avisoEmergente,t=a.posicion,c=void 0===t?0:t,l=a.accionOcultar,d=void 0===l?0:l;return i.a.createElement("div",{id:"titulo-emergente-eyd",className:"titulo-emergente-movil elemento-flexible ancho-total "},i.a.createElement("div",{className:"titulo-seccion"},i.a.createElement("span",{className:"negritas cuerpo-2"},r),i.a.createElement("div",{className:"linea"})),i.a.createElement("div",{className:"aviso-emergente-movil"},i.a.createElement(ue,{nombreIdentificador:"AvisoEmergenteMovilEyD",leyenda:o,posicion:c,accionOcultar:d})))};me.propTypes={leyenda:l.a.string.isRequired,avisoEmergente:l.a.string.isRequired,posicion:l.a.number,accionOcultar:l.a.number};var pe=me,ge=(o(24),function PiePagina(){return i.a.createElement("img",{alt:"",id:"pie-pagina-eyd",className:"ancho-total contenido-ajustable pie-pagina",src:"/recursos/imagenes/piePaginaMovil.svg"})}),fe=(o(26),function EtiquetaPedidos(a){var r=a.numeroPedidos;return i.a.createElement("div",{id:"etiqueta-pedidos-eyd",className:"hereda-ancho borde-solido borde-p6 elemento-flexible alinear-contenido-laterales contenedor-etiqueta-pedidos"},i.a.createElement("div",{className:"icono-etiqueta-pedidos"},i.a.createElement(p.IconoCaja,null)),i.a.createElement("div",{className:"cuerpo-3 negritas letra-p6 elemento-flexible alinear-elementos-final alinear-contenido-centro numero-leyenda-etiqueta-pedidos"},$(""!==r,i.a.createElement(m,{numero:r,sufijo:" pedido".concat($(1===Number(r),"","s"))}),"pedidos")))});fe.propTypes={numeroPedidos:l.a.string.isRequired};var ve=fe,be=(o(28),function GraficaProgresoMensajes(a){var r=a.datos,o=function obtenerAnchoGrafica(){var a=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!r.valorTotal&&a)return"0";var o=0;return o=Number(r.valorOportunidad)>0?Math.round(Number(r.valorActivo)/Number(r.valorTotal)*O):O,"".concat(Object(G.condicionTernaria)(a,o,O-o),"%")};return i.a.createElement("div",{id:"grafica-progreso-mensaje-eyd",className:"fondo-p4 contenedor-grafica-progreso-mensajes"},i.a.createElement("div",{className:"cuerpo-3 alinear-texto-centro meta-grafica-progreso-mensajes ancho-total"},i.a.createElement("h6",{className:"mostrar-elemento-en-linea ".concat(Object(G.condicionTernaria)(r.banderaTipo,"numerico","negritas"))},H(r.valorTotal,1,r.banderaTipo)),i.a.createElement("span",{className:"mensaje-total-titulo mostrar-elemento-en-linea etiqueta-1"},r.mensajeTotal)),i.a.createElement("div",{className:"borde-solido borde-derecho-transparente borde-izquierdo-transparente borde-inferior-p1 union-meta-linea-grafica-progreso-mensajes"}),i.a.createElement("div",{className:"borde-solido borde-p1 linea-meta-barra-grafica-progreso-mensajes"}),i.a.createElement("div",{className:"barra-grafica-progreso-mensajes"},i.a.createElement("div",{className:"flotar-elemento-izquierda hereda-altura fondo-".concat(Object(G.condicionTernaria)(!r.colorBarraProgreso,"s23",r.colorBarraProgreso)),style:{width:o()}}),i.a.createElement("div",{className:"flotar-elemento-izquierda hereda-altura fondo-vd4",style:{width:o(!1)}})),i.a.createElement("div",{className:"".concat(Object(G.condicionTernaria)(Number(r.valorActivo)>0,"flotar-elemento-izquierda dialogo-izquierda-grafica-progreso-mensaje","ocultar-elemento")),style:{marginLeft:function posicionarDialogoIzquierda(){var a,o=164/g,t=Math.round(300*Number(r.valorActivo)/Number(r.valorTotal));return a=0===Number(r.valorOportunidad)?Math.round(300/g-164/g):Math.round(t/g+5-o),a=Object(G.condicionTernaria)(a<=y,y,a),"".concat(a*O/I,"vw")}(),width:function anchoDialogoActivo(){var a=O;return Object(G.condicionTernaria)(!r.mensajeIzquierdo,0,r.mensajeIzquierdo.length)>j&&(a=A),"".concat(a*O/I,"vw")}()}},i.a.createElement("div",{className:"borde-solido borde-derecho-transparente borde-izquierdo-transparente borde-inferior-vd26 union-dialogo-grafica-progreso-mensajes",style:{marginLeft:function margenUnionDialogoIzquierda(){var a=j,o=Math.round(Number(r.valorActivo)*z/Number(r.valorTotal));return o>M?a=T:o>=E&&(a=Math.round(y+o/g-5)),"".concat(a*O/I,"vw")}()}}),i.a.createElement("div",{className:" alinear-texto-centro hereda-ancho posicion-relativa fondo-vd26 dialogo-grafica-progreso-mensajes"},i.a.createElement("span",{className:"etiqueta-2 ".concat(Object(G.condicionTernaria)(r.banderaTipo,"numerico","negritas"))},H(r.valorActivo,0,r.banderaTipo))," ",i.a.createElement("span",{className:"etiqueta-2"},r.mensajeIzquierdo))),i.a.createElement("div",{className:"".concat(Object(G.condicionTernaria)(Number(r.valorOportunidad)>0,"flotar-elemento-derecha dialogo-derecha-grafica-progreso-mensaje","ocultar-elemento")),style:{marginRight:function posicionarDialogoDerecha(){var a=0,o=Math.round(Number(r.valorActivo)*z/Number(r.valorTotal)),t=Object(G.condicionTernaria)(!r.mensajeIzquierdo,0,r.mensajeIzquierdo.length);if(0===Number(r.valorActivo))return a=Math.round(w+300/g-115/g),"".concat(a*O/I,"vw");if(o>=k||t>=j)return"".concat(E*O/I,"vw");if(57.5<=o+E){var i=Math.round(E+o/g-57.5);a=Object(G.condicionTernaria)(i>35,35,Object(G.condicionTernaria)(i<=E,E,i))}return"".concat(a*O/I,"vw")}()}},i.a.createElement("div",{className:"borde-solido borde-derecho-transparente borde-izquierdo-transparente borde-inferior-vd26 union-dialogo-grafica-progreso-mensajes",style:{marginLeft:function margenUnionDialogoDerecha(){var a=E,o=Math.round(Number(r.valorActivo)*z/Number(r.valorTotal));return 1===r.valorOportunidad&&(a=Math.round(110-(E+o/g))),o<=P&&(a=C),a===E&&o>P&&(a=S-(z-o)/g),"".concat(a*O/I,"vw")}()}}),i.a.createElement("div",{className:"alinear-texto-centro hereda-ancho posicion-relativa fondo-vd26 dialogo-grafica-progreso-mensajes"},i.a.createElement("span",{className:"etiqueta-2 ".concat(Object(G.condicionTernaria)(r.banderaTipo,"numerico","negritas"))},""!==r.valorOportunidad&&H(r.valorOportunidad,0,r.banderaTipo))," ",i.a.createElement("span",{className:"etiqueta-2"},r.mensajeDerecho))))});be.propTypes={datos:l.a.object.isRequired};var he=be,ye=(o(30),function Navegacion(a){var r=a.titulo;return i.a.createElement("div",{id:"navegacion-movil-eyd",className:"m-cuadricula-secundaria borde-vd4 navegacion"},i.a.createElement("div",{className:"m-inicia-1 m-mide-8 etiqueta-1 negritas"},r))});ye.propTypes={titulo:l.a.string.isRequired};var we=ye,Ee=(o(32),["","borde-vd4","borde-p6"]),je=["","letra-vd4"],xe=["etiqueta-2","etiqueta-1","cuerpo-3","cuerpo-2","cuerpo-1"],qe=function Pestanias(a){var r=a.listaPestanias,o=a.eventoClic,c=a.tamanioPestanias,l=void 0===c?0:c,d=a.altoPestanias,u=void 0===d?q:d,m=a.anchoSeparacion,p=void 0===m?0:m,g=a.altoBorde,v=void 0===g?b:g,h=a.colorDelBorde,y=void 0===h?0:h,w=a.iniciaPestania,E=void 0===w?0:w,j=a.tamanioLetra,x=void 0===j?0:j,_=a.separacionTextoBarra,N=void 0===_?0:_,T=a.margenLateral,S=void 0===T?0:T,M=Object(t.useRef)(function asignarReferenciasPestanias(){var a=[];return r.map((function(){return a.push(Object(t.createRef)())})),a}()),C=function pestaniaActiva(a){M.current.map((function(r,o){r.current.className="pestanias-movil fondo-heredado borde-solido flotar-elemento-izquierda ".concat(xe[x]," ").concat(o===a&&"activa"," \n ").concat(Object(G.condicionTernaria)(o===a,Ee[y],Ee[1]),"\n ").concat(Object(G.condicionTernaria)(o===a,je[0],je[1])," ")}))};return i.a.useEffect((function(){C(E)}),[]),i.a.createElement(i.a.Fragment,null,r.map((function(a,t){return i.a.createElement(i.a.Fragment,{key:"lista-pestanias-".concat(t+1)},i.a.createElement("button",{id:"pestanias-movil-eyd",ref:M.current[t],key:"boton-movil-".concat(t+1),className:"fondo-heredado borde-solido flotar-elemento-izquierda ".concat(xe[x]),style:{width:"".concat(Object(G.condicionTernaria)(l>0,l/r.length,a.tamanio)*O/I,"vw"),height:"".concat(u*O/D,"vh"),borderWidth:"0 0 ".concat(v*O/D,"vh 0"),paddingRight:"".concat(S*O/I,"vw"),paddingLeft:"".concat(S*O/I,"vw"),paddingTop:"".concat(N*O/D,"vh")},onClick:function onClick(){M.current[t].current.className.includes("activa")||(o(a.valor),C(t))}},a.leyenda),t<r.length-1&&i.a.createElement("div",{id:"pestanias-movil-eyd",key:"separacion-movil-".concat(t+1),className:"separacion-movil flotar-elemento-izquierda",style:{width:"".concat(p*O/I,"vw")}}))})))};qe.propTypes={listaPestanias:l.a.array.isRequired,eventoClic:l.a.func.isRequired,tamanioPestanias:l.a.number,altoPestanias:l.a.number,anchoSeparacion:l.a.number,altoBorde:l.a.number,colorDelBorde:l.a.number,iniciaPestania:l.a.number,tamanioLetra:l.a.number,separacionTextoBarra:l.a.number,margenLateral:l.a.number};var _e=qe,Ne=o(8),Te=o.n(Ne),Oe=o(7),Se=o.n(Oe),Me=(o(34),function PestaniasSecundarias(a){var r=a.listaPestanias,o=a.eventoClic,c=a.mostrarFinal,l=void 0!==c&&c,d="negritas letra-s26 fondo-s18",u=i.a.useRef(function asignarReferenciasPestanias(){var a=[];return r.map((function(){return a.push(Object(t.createRef)())})),a}()),m=function(){var a=Te()(Se.a.mark((function _callee(){return Se.a.wrap((function _callee$(a){for(;;)switch(a.prev=a.next){case 0:setTimeout((function(){var a=document.getElementById("pestania-secundaria-eyd");a.scrollLeft=a.scrollWidth}),O);case 1:case"end":return a.stop()}}),_callee)})));return function funcionDesplazamiento(){return a.apply(this,arguments)}}();return i.a.useEffect(Te()(Se.a.mark((function _callee2(){return Se.a.wrap((function _callee2$(a){for(;;)switch(a.prev=a.next){case 0:if(!l){a.next=3;break}return a.next=3,m();case 3:case"end":return a.stop()}}),_callee2)}))),[l]),i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{id:"pestania-secundaria-eyd",className:"elemento-flexible desborde-automatico contenedor-pestania"},r.map((function(a,t){return i.a.createElement(i.a.Fragment,{key:a.leyenda},i.a.createElement("div",{className:"contenido"},i.a.createElement("button",{key:"boton".concat(a.leyenda),ref:u.current[t],className:"pestania-secundaria cursor-puntero flotar-elemento-izquierda quitar-contorno cuerpo-3\n ".concat(Object(G.condicionTernaria)(a.activa,d,"letra-vd11 fuente-normal fondo-p2")),style:{width:"".concat(r[t].tamanio*O/I,"vw")},onClick:function onClick(){u.current[t].current.className.includes(d)||(o(a.valor),function pestaniaActiva(a){u.current.map((function(r,o){r.current.className="pestania-secundaria cursor-puntero flotar-elemento-izquierda quitar-contorno cuerpo-3\n ".concat(Object(G.condicionTernaria)(o===a,d,"letra-vd11 fuente-normal fondo-p2"))}))}(t))}},i.a.createElement("div",null,a.leyenda))))}))))});Me.propTypes={listaPestanias:l.a.array.isRequired,eventoClic:l.a.func.isRequired,mostrarFinal:l.a.bool};var Ce=Me,Ae=(o(36),function GraficaProgresoPuntero(a){var r=a.datosGrafica,o=Object(t.useState)({porcentajeAvance:0,leyendas:{superior:"",inferior:""},colores:{avance:"",fondo:""}}),c=Q()(o,2),l=c[0],d=c[1],m=function obtenerLeyenda(a){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"contenedor-leyenda-grafica"},i.a.createElement("div",{className:"etiqueta-1 mostrar-elemento-en-linea"},Object(G.condicionTernaria)(r,"Objetivo","Real")),i.a.createElement("h6",{className:"numerico mostrar-elemento-en-linea contenedor-leyenda-grafica-importe"},i.a.createElement(u,{numero:a.toString(),prefijo:"$"}))))};return i.a.useEffect((function(){d(function obtenerConfiguracionGrafica(){var a=new Object,o=new Object,t=new Object;return a.porcentajeAvance=Object(G.condicionTernaria)(0===r.montoObjetivo,O,Object(G.condicionTernaria)(r.porcentajeAvance<O,r.porcentajeAvance,O)),t.fondo="fondo-p2",t.avance=Object(G.condicionTernaria)(a.porcentajeAvance<_,"fondo-s19",Object(G.condicionTernaria)(a.porcentajeAvance<T,"fondo-s23","fondo-s10")),a.colores=t,o.superior=m(r.montoObjetivo),o.inferior=m(r.montoAvance,!1),a.leyendas=o,a}())}),[r]),i.a.createElement("div",{id:"grafica-progreso-puntero",className:"contenedor-grafica-progreso"},i.a.createElement("div",{className:"contenedor-leyenda-superior alinear-texto-derecha"},l.leyendas.superior),i.a.createElement("div",{className:"contenedor-grafica"},i.a.createElement("div",{className:"elemento-flexible alinear-elemento-flexible-al-inicio ancho-total contenedor-grafica-barra ".concat(l.colores.fondo)},i.a.createElement("div",{className:"hereda-altura hereda-ancho ".concat(l.colores.avance),style:{width:"".concat(l.porcentajeAvance,"%")}}," "),i.a.createElement("div",{className:"posicion-relativa alinear-elementos-centro contenedor-grafica-separador"},i.a.createElement("div",{className:"fondo-p1 contenedor-separador-linea"}),i.a.createElement("div",{className:"posicion-absoluta fondo-p1 borde-radio-circulo contenedor-separador-linea-termina"})))),i.a.createElement("div",{className:"contenedor-leyenda-inferior elemento-flexible ".concat(Object(G.condicionTernaria)(l.porcentajeAvance>N,"alinear-contenido-final","alinear-contenido-flexible-al-inicio"))},i.a.createElement("div",{style:{width:"".concat(function obtenerDesplazamientoLeyendaInferior(a){var r=0;return a>x&&(r=a-x),r}(l.porcentajeAvance),"%")}}),l.leyendas.inferior))});Ae.propTypes={datosGrafica:l.a.object.isRequired};var ke=Ae;o(38);function _createForOfIteratorHelper(a,r){var o="undefined"!=typeof Symbol&&a[Symbol.iterator]||a["@@iterator"];if(!o){if(Array.isArray(a)||(o=function _unsupportedIterableToArray(a,r){if(a){if("string"==typeof a)return _arrayLikeToArray(a,r);var o={}.toString.call(a).slice(8,-1);return"Object"===o&&a.constructor&&(o=a.constructor.name),"Map"===o||"Set"===o?Array.from(a):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(a,r):void 0}}(a))||r&&a&&"number"==typeof a.length){o&&(a=o);var t=0,i=function F(){};return{s:i,n:function n(){return t>=a.length?{done:!0}:{done:!1,value:a[t++]}},e:function e(a){throw a},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,d=!1;return{s:function s(){o=o.call(a)},n:function n(){var a=o.next();return l=a.done,a},e:function e(a){d=!0,c=a},f:function f(){try{l||null==o.return||o.return()}finally{if(d)throw c}}}}function _arrayLikeToArray(a,r){(null==r||r>a.length)&&(r=a.length);for(var o=0,t=Array(r);o<r;o++)t[o]=a[o];return t}var Pe=function CirculoNombre(a){var r=a.texto,o=a.tipoAsesor,t=void 0===o?0:o;return i.a.createElement("div",{id:"circulo-nombre-eyd",className:"circulo ".concat(["fondo-s48","fondo-s66","fondo-s57"][t])},i.a.createElement("div",{className:"".concat(["letra-s19","letra-s65","letra-s26"][t]," cuerpo-2 negritas texto-letras alinear-texto-centro")},function obtenerLetras(){var a,o="",t=_createForOfIteratorHelper(r.split(" "));try{for(t.s();!(a=t.n()).done;){o+=a.value.substring(0,1)}}catch(a){t.e(a)}finally{t.f()}return o=o.substring(0,g)}()))};Pe.propTypes={texto:l.a.string.isRequired,tipoAsesor:l.a.number};var ze=Pe}]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-unica/libreria-componentes-moviles",
3
- "version": "1.7.1",
3
+ "version": "1.8.0",
4
4
  "description": "Componentes React y archivos SASS genéricos para la versión móvil de Red Única (SAC).",
5
5
  "author": "Gerson Sierra",
6
6
  "license": "ISC",
@@ -53,7 +53,8 @@
53
53
  "webpack-node-externals": "^3.0.0",
54
54
  "terser-webpack-plugin": "^4.2.3",
55
55
  "jest-environment-jsdom": "^29.7.0",
56
- "jest-environment-jsdom-global": "^3.1.2"
56
+ "jest-environment-jsdom-global": "^3.1.2",
57
+ "cheerio": "1.0.0-rc.12"
57
58
  },
58
59
  "files": [
59
60
  "dist"