"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{76418:function(e,n,r){r.d(n,{YY:function(){return a}});r(67294);var t=r(21113),s=r(85893),a="Color";n.ZP=function(e){var n=e.product,r=e.showLabel,c=e.type,i=e.attributes,o=e.selectedAttributes,l=e.selectAttribute,d=e.changeAttributeSelector,u=e.intl,p=e.hideColor,m=e.handleDefaultColor,h=void 0===m||m,x=[];i.forEach((function(e){e.identifier===c?x.push(e):e.values.length}));var j=h?(0,t.nV)(n.thumbnail,i[0]):"",b=[].map((function(e){var n=e.name;return e.identifier===a?n="Color":"Capacidad"===e.identifier&&(n="Capacidad"),(0,s.jsxs)("div",{className:"productoCapacidad",children:[(0,s.jsxs)("label",{htmlFor:"atributo_".concat(n),children:[n,":"]}),(0,s.jsx)("span",{children:e.values[0].value})]},"attr-".concat(e.identifier,"-").concat(e.id))})),v=x.map((function(e){var t;if(e.identifier===a){var c=[];o&&o[e.id]&&(c=o[e.id].values.slice(0,5),n&&!n.attributeID&&(n.attributeID=c[0].id)),t=(0,s.jsx)("div",{className:"productoColor",children:!p&&(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsx)("label",{htmlFor:"color",children:"Colores disponibles:"}),(0,s.jsx)("ul",{className:"colores",children:c.map((function(r){return(0,s.jsx)("li",{children:(0,s.jsxs)("label",{htmlFor:"colors",className:"color ".concat(r.value.toLowerCase()),children:[(0,s.jsx)("input",{type:"radio",name:"colors",value:""!==j?j:n.attributeID}),(0,s.jsx)("span",{className:n&&r.id===(""!==j?j:n.attributeID)?"checkmarkActive":"checkmark",role:"button",tabIndex:"0",onClick:l(e.id,r.id,n?n.product:void 0),onKeyPress:function(){}})]})},"option_".concat(r.id))}))})]})},"attr_color_".concat(e.id))}else t=(0,s.jsxs)("div",{className:"productoCapacidad",children:[(0,s.jsxs)("label",{htmlFor:"atributo_".concat(e.name),children:[e.name,":"]}),(0,s.jsx)("span",{className:"select",children:(0,s.jsx)("select",{onChange:function(n){l(e.id,n.target.value)},children:o&&o[e.id].values.map((function(e){return(0,s.jsx)("option",{value:e.id,children:e.value},e.id)}))})})]},"attr-".concat(e.identifier,"-").concat(e.id));return(0,s.jsx)("div",{className:"row",children:t},"attr_container_".concat(e.id))})),f=[].map((function(e){return(0,s.jsxs)("div",{className:"col-12 col-sm-4 mb-4",children:[(0,s.jsx)("label",{htmlFor:"atributo_".concat(e.name),className:"textFormFactura",children:e.name}),(0,s.jsxs)("select",{className:"form-control",onChange:d(e.id),children:[(0,s.jsx)("option",{value:u.formatMessage({id:"message.updateAddressSuccess"})}),e.values.map((function(e){return(0,s.jsx)("option",{value:e.id,children:e.value},e.id)}))]})]},"attr-".concat(e.identifier,"-").concat(e.id))}));return(0,s.jsxs)("div",{children:[b,v,f.length>0&&(0,s.jsx)("div",{className:"row",children:f})]})}},60055:function(e,n,r){var t=r(59499),s=r(83618),a=(r(13311),r(11163)),c=r.n(a),i=r(67294),o=r(79180),l=r(45217),d=r(14416),u=r(24561),p=r(52865),m=r(33191),h=r(76418),x=r(72068),j=r(9341),b=r(39415),v=r(33176),f=r(60011),N=(r(66040),r(21113)),g=r(60432),P=r(47353),C=r(27132),y=r(49890),_=r(74497),w=r(31939),A=r(76688),k=r(85893);function I(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function D(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:0,t=ce();(0,p.QW)(e,null===Ne||void 0===Ne?void 0:Ne.flowName,t,Ke,ie,r),X(),e.product&&e.product.seo?n={pathname:"/detalle-producto".concat(e.product.seo.href)}:e.product.productDetail&&e.product.productDetail.contents&&e.product.productDetail.contents[0].seo&&(n={pathname:"/detalle-producto".concat(e.product.productDetail.contents[0].seo.href)});var s=D(D({},null===e||void 0===e?void 0:e.product),{},{position:e.position||0,list:e.list||""});(0,p.tn)(s.list,(null===ee||void 0===ee?void 0:ee.category)||"",s,n,Ne.flowName),G({list:s.list,position:e.position,category:null===ee||void 0===ee?void 0:ee.category,purchaseFlow:Ne.flowName,attributeSelected:e.attributeID,attributeSelected2:e.attributeID,searchTerm:ie}),c().push(n)};Y.product&&Y.product.price?(Ce=Y.product.precioClienteClaro,Pe=Y.product.price):Y.product.productDetail&&Y.product.productDetail.contents&&Y.product.productDetail.contents[0].price&&(Ce=Y.product.precioClienteClaro,!0,Pe=Y.product.productDetail.contents[0].price),Pe&&(_e=(0,m.aS)(Pe,"L"),we=(0,m.aS)(Pe,"I")),"0.0"!==_e&&"0"!==_e&&0!==_e&&"0.0"!==we&&"0"!==we&&0!==we&&parseInt(_e)>parseInt(we)&&(ye=!0),"0.0"!==Ce&&"0"!==Ce&&0!==Ce&&null!==Ce&&parseInt(we)>parseInt(null===(I=Ce)||void 0===I?void 0:I.toFixed(1))&&(Ae=!0),we=we||_e,Y.finalOfferPrice=we,Y.finalListPrice=_e,Y.pricePagoACuotas=Ce;var Se=(0,b._g)(Y),Le=Se.skusMap,Fe=Se.attributesMap,Ze={},He={};if(!Object.hasOwnProperty.call(Le,"defaultKey")){var Be=Object.keys(Le).sort((function(e,n){return e.localeCompare(n)})),Re="",qe=Object.keys(Fe);Be.forEach((function(e){var n=e.split(b.zs),r=(0,s.Z)(n),t=r[0],a=r.slice(1),c=(0,N.nV)(Y.thumbnail,Fe[qe[0]]),i={};Re=""!==c?c:t,i[qe[0]]=D(D({},Fe[qe[0]]),{},{values:Fe[qe[0]].values.map((function(e){return D(D({},e),{},{status:e.id===Re?E:T})}))}),a.forEach((function(e,n){i[qe[n+1]]=D(D({},Fe[qe[n+1]]),{},{values:Fe[qe[n+1]].values.map((function(n){var r=O;return n.id===e&&(r=E),D(D({},n),{},{status:r})}))}),Re="".concat(Re).concat(b.zs).concat(e)})),Ze[Re]=i}));var Ye=Object.keys(Ze),Me=Ye[Ye.length-1];Object.keys(Ze[Me]).forEach((function(e){var n;He[e]=null===(n=Ze[Me][e].values.find((function(e){return e.status===E})))||void 0===n?void 0:n.id}))}var Ke=Ze;try{Oe=Object.values(Fe)}catch(Qe){Oe=[]}var Ve=function(e,n){var r=e.target.checked;5===V.length&&r&&(e.target.checked=!1,z("info","Solo puedes seleccionar 5 productos")),Ie<=1024?(2===V.length&&r&&(e.target.checked=!1,"SIM_MAS_PAQUETE"===(null===Ne||void 0===Ne?void 0:Ne.flowName)?U("info","","Solo se puede seleccionar dos productos",(function(){}),"","Aceptar",(function(){}),"btn-rojo-red-sim-paquete-modal",null,null,null,null,null,null,null):z("info","Solo puedes seleccionar 2 productos")),V.length<=2?r?V.length<=1?(K(n,ee,Ne),de(!0)):(Q(n.productId),de(!1),"SIM_MAS_PAQUETE"===(null===Ne||void 0===Ne?void 0:Ne.flowName)?U("info","","Solo se puede seleccionar dos productos",(function(){}),"","Aceptar",(function(){}),"btn-rojo-red-sim-paquete-modal",null,null,null,null,null,null,null):z("info","Solo puedes seleccionar 2 productos")):(Q(n.productId),de(!1)):"SIM_MAS_PAQUETE"===(null===Ne||void 0===Ne?void 0:Ne.flowName)?U("info","","Solo se puede seleccionar dos productos",(function(){}),"","Aceptar",(function(){}),"btn-rojo-red-sim-paquete-modal",null,null,null,null,null,null,null):z("info","Solo puedes seleccionar 2 productos")):V.length<=4?r?(K(n,ee,Ne),de(!0)):(Q(n.productId),de(!1)):5===V.length&&(r?z("info","Solo puedes seleccionar 5 productos"):(Q(n.productId),de(!1)))};(0,i.useEffect)((function(){V.forEach((function(e){e.productId===Y.productId&&de(!0)}))}),[]),(0,i.useEffect)((function(){V.length>0||de(!1)}),[V.length]);var ze,Ue=null===Y||void 0===Y?void 0:Y.name;(null===(L=Ue)||void 0===L?void 0:L.length)>30&&(Ue="".concat(null===Y||void 0===Y||null===(ze=Y.name)||void 0===ze?void 0:ze.slice(0,27),"..."));return(0,k.jsx)(k.Fragment,{children:!0===Ne.loading?(0,k.jsx)(u.ZP,{height:180,children:(0,k.jsx)("rect",{x:"0",y:"0",rx:"0",ry:"0",width:"100%",height:"100%"})}):(0,k.jsxs)(k.Fragment,{children:["SIM_MAS_PAQUETE"===Ne.flowName&&(0,k.jsxs)("div",{className:"equipoElement__card-sim-paquete",children:[(0,k.jsx)(j.Z,{attributes:Y.attributes?Y.attributes:[]}),(0,k.jsxs)("div",{className:"content__card-sim-paquete",children:[(0,k.jsx)("h3",{children:"PAQUETE"}),(0,k.jsx)("div",{className:"card__content-sim-paquete",children:(0,k.jsxs)("div",{className:"card__main-sim-paquete",children:[(0,k.jsxs)("div",{className:"card__main-sim-paquete-container",children:[(0,k.jsx)("span",{className:"card__main-sim-paquete-text-name",children:(null===Y||void 0===Y||null===(F=Y.product)||void 0===F||null===(Z=F.productDetail)||void 0===Z||null===(H=Z.contents[0])||void 0===H?void 0:H.name)||""}),(0,k.jsxs)("span",{className:"card__main-sim-paquete-text-red",children:[q," ",1===parseInt(q||1)?"d\xeda":"d\xedas"]})]}),(0,k.jsx)("div",{className:"card__main-sim-paquete-line"}),(0,k.jsxs)("div",{className:"card__main-sim-paquete-container",children:[(0,k.jsx)("span",{className:"card__main-sim-paquete-text-price",children:"Precio"}),(0,k.jsx)("span",{className:"card__main-sim-paquete-price-red",children:(0,m.T4)((null===Y||void 0===Y||null===(B=Y.product)||void 0===B||null===(R=B.price)||void 0===R?void 0:R.find((function(e){return"Display"===e.usage})).value)||0)}),(0,k.jsx)("span",{className:"card__main-sim-paquete-text-terminos",children:"Consulta T\xe9rminos y condiciones en Claro.com.co"})]}),(0,k.jsx)("div",{className:"card__main-sim-paquete-line"}),(0,k.jsxs)("div",{className:"card__main-sim-paquete-container",children:[(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,style:{marginTop:"15px",marginBottom:"24px"},className:"/home/home"===ue?"btn-blanco-azul":"btn-rojo-red-sim-paquete",children:(0,k.jsx)("span",{className:"text-white-red-sim-paquete",children:"Ver detalle"})}),"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsx)("div",{className:"comparar-red-sim-paquete",children:W<=1?"":(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("div",{className:"round-checkbox-red-sim-paquete",children:[(0,k.jsx)("input",{type:"checkbox",checked:le,value:Y.productId,id:Y.productId,name:Y.productId,onChange:function(e){return Ve(e,Y)},className:"",style:{position:"absolute"}}),(0,k.jsx)("label",{htmlFor:Y.productId})]}),(0,k.jsx)("span",{className:"card__main-sim-paquete-text-comparar",children:"Comparar"})]})})]})]})})]})]}),"POSTPAGO_LINEA_NUEVA"===Ne.flowName&&(0,k.jsx)("div",{className:"list-cardPostpay",children:(0,k.jsxs)("div",{className:"wrapFlex w7-11",children:[(0,k.jsx)("div",{onClick:function(){return Ee(Y,2)},children:(0,k.jsx)(P.Z,{namePlan:Y.name,pricePlan:(0,m.T4)(Y.finalOfferPrice,!1),gigas:Y.product.gigas,minLDI:Y.product.minLDI})}),(0,k.jsx)("div",{className:"equipoInfo",children:(0,k.jsx)("div",{className:"optionsButton",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul planCardbutton":"btn-blanco-rojo planCardbutton",children:(0,k.jsx)(o._H,{id:"button.seeDetails"})})})})]})}),"PREAPOST"===Ne.flowName&&(0,k.jsx)(y.default,{productInfo:Y,dataServer:ne,mppLogin:re,loading:te,setLoading:se,messageProductCardMpp:ae,searchTerm:ie}),"PORTABILIDAD_POST"===Ne.flowName&&(0,k.jsx)("div",{className:"list-cardPostpay",children:(0,k.jsxs)("div",{className:"wrapFlex w7-11",children:[(0,k.jsx)("div",{onClick:function(){return Ee(Y,2)},children:(0,k.jsx)(P.Z,{namePlan:Y.name,pricePlan:(0,m.T4)(Y.finalOfferPrice,!1),gigas:Y.product.gigas,minLDI:Y.product.minLDI})}),(0,k.jsx)("div",{className:"equipoInfo",children:(0,k.jsx)("div",{className:"optionsButton",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul planCardbutton":"btn-blanco-rojo planCardbutton",children:(0,k.jsx)(o._H,{id:"button.seeDetails"})})})})]})}),"TERMINALES_LIBRES"===Ne.flowName&&(0,k.jsx)(k.Fragment,{children:(0,k.jsxs)("div",{className:"equipoElement equipoElement--red",children:[(0,k.jsxs)("div",{className:"main-container main-container--red",children:[(0,k.jsx)(j.Z,{attributes:Y.attributes?Y.attributes:[]}),(0,k.jsx)("div",{className:"container-pic--red",children:(0,k.jsx)(x.Z,{src:Y.thumbnail,className:"cursor-pointer img-product",alt:Y.name,onClick:function(){return Ee(Y,1)}})}),(0,k.jsx)("div",{className:"container-name--red cursor-pointer",onClick:function(){return Ee(Y,2)},children:fe?(0,k.jsxs)("p",{children:[(0,k.jsx)("b",{className:"PreventaText",children:"Preventa"}),Y.name?" ".concat(Ue):""]}):(0,k.jsx)("p",{children:Y.name?Ue:""})}),(0,k.jsx)("div",{className:"colores-center colores-center--picker",children:(0,k.jsx)(h.ZP,{product:Y,showLabel:!1,type:h.YY,attributes:Oe,selectAttribute:M,selectedAttributes:Ke[S(He)],hideColor:Te})}),(0,k.jsx)("div",{className:"other-prices-center--red",children:Ae?(0,k.jsx)("div",{className:"paymentBoxPrice",children:(0,k.jsxs)("div",{className:"paymentDivPrice",children:[(0,k.jsx)("span",{className:"promoPrice",children:(0,m.T4)(Y.pricePagoACuotas,!1)}),(0,k.jsx)("p",{className:"paymentBoxText",children:(0,k.jsx)(o._H,{id:"label.typeClientHomeOrPostPay"})})]})}):(0,k.jsx)("div",{style:{height:"39px"}})}),(0,k.jsxs)("div",{className:"container-prices--red",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow1--red",children:(0,m.T4)(Y.finalOfferPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow2--red",children:(0,k.jsx)(o._H,{id:"label.priceNow"})})}),ye&&(0,k.jsxs)("div",{className:"div-prices-b--red",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore1--red",children:(0,m.T4)(Y.finalListPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore2--red",children:(0,k.jsx)(o._H,{id:"label.priceBefore"})})})]})]}),(0,k.jsx)("div",{className:"boton-center boton-center--red",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul":"btn-blanco-rojo--red",children:(0,k.jsx)(o._H,{id:"button.seeProducts"})})}),(0,k.jsx)("div",{className:"comparator-center--red",children:"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsx)("div",{className:"comparar",children:W<=1?"":(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("input",{type:"checkbox",checked:le,value:Y.productId,name:Y.productId,onChange:function(e){return Ve(e,Y)},className:"prodChecked--red"}),(0,k.jsx)("label",{htmlFor:"cbox",children:"Comparar"})]})})})]}),("/product/productDetail"===ue||"/home/home"===ue||"/cart/cart"===ue)&&(0,k.jsxs)("div",{className:"main-container-mb",children:[(0,k.jsx)("div",{className:"container-name-mb",children:(0,k.jsx)("p",{children:Y.name?Y.name:""})}),(0,k.jsxs)("div",{className:"container-prices-pic-mb",children:[(0,k.jsx)(x.Z,{src:Y.thumbnail,className:"cursor-pointer img-product",alt:Y.name,onClick:function(){return Ee(Y,1)}}),(0,k.jsxs)("div",{className:"div-prices-aa-mb",children:[(0,k.jsxs)("p",{children:[(0,k.jsx)("span",{className:"span-pnow1-mb",children:(0,m.T4)(Y.finalOfferPrice,!1)}),(0,k.jsx)("span",{className:"span-pnow2-mb",children:(0,k.jsx)(o._H,{id:"label.priceNow"})})]}),ye&&(0,k.jsxs)("p",{children:[(0,k.jsx)("span",{className:"span-pbefore1-mb",children:(0,m.T4)(Y.finalListPrice,!1)}),(0,k.jsx)("span",{className:"span-pbefore2-mb",children:(0,k.jsx)(o._H,{id:"label.priceBefore"})})]})]})]}),(0,k.jsx)("div",{className:"prices-center-mb",children:Ae?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("div",{className:"paymentBoxBanner d-flex jc-center product-recommended",children:[(0,k.jsx)("span",{children:(0,k.jsx)(o._H,{id:"label.typeClientHomeOrPostPay"})}),(0,k.jsx)("img",{src:"../../static/images/icons/iconoClaroPrecios.svg"})]}),(0,k.jsx)("div",{className:"paymentBoxPrice",children:(0,k.jsxs)("div",{className:"paymentDivPrice",children:[(0,k.jsx)("span",{className:"promoPrice",children:(0,m.T4)(Y.pricePagoACuotas,!1)}),(0,k.jsx)("p",{className:"paymentBoxText",children:(0,k.jsx)(o._H,{id:"label.paymentInInstallmentsWithYourInvoice"})})]})})]}):(0,k.jsx)("div",{style:{height:"110px"}})}),(0,k.jsx)("div",{className:"colores-center-mb",children:(0,k.jsx)(h.ZP,{product:Y,showLabel:!1,type:h.YY,attributes:Oe,selectAttribute:M,selectedAttributes:Ke[S(He)]})}),(0,k.jsx)("div",{className:"boton-center",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul":"btn-blanco-rojo",children:(0,k.jsx)(o._H,{id:"button.seeDetails"})})})]}),"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsxs)("div",{className:"main-container-mb2--red",children:[Y.attributes&&Y.attributes.some((function(e){return"filtro_ofertas"===e.identifier||"filtro_novedades"===e.identifier}))?(0,k.jsx)(j.Z,{attributes:Y.attributes?Y.attributes:[]}):(0,k.jsx)("div",{style:{height:"26px"}}),(0,k.jsx)("div",{className:"container-prices-pic-mb2--red",children:(0,k.jsx)(x.Z,{src:Y.thumbnail,className:"cursor-pointer img-product--red",alt:Y.name,onClick:function(){return Ee(Y,1)}})}),(0,k.jsx)("div",{className:"container-name-mb--red",onClick:function(){return Ee(Y,2)},children:fe?(0,k.jsxs)("p",{children:[(0,k.jsx)("b",{className:"PreventaText",children:"Preventa"}),Y.name?" ".concat(Ue):""]}):(0,k.jsx)("p",{children:Y.name?Ue:""})}),(0,k.jsx)("div",{className:"colores-center-mb--red colores-center--picker",children:(0,k.jsx)(h.ZP,{product:Y,showLabel:!1,type:h.YY,attributes:Oe,selectAttribute:M,selectedAttributes:Ke[S(He)],hideColor:Te})}),(0,k.jsx)("div",{className:"prices-center-mb2--red",children:Ae?(0,k.jsx)("div",{className:"paymentBoxPrice",children:(0,k.jsxs)("div",{className:"paymentDivPrice",children:[(0,k.jsx)("span",{className:"promoPrice--red",children:(0,m.T4)(Y.pricePagoACuotas,!1)}),(0,k.jsx)("p",{className:"paymentBoxText--red",children:(0,k.jsx)(o._H,{id:"label.typeClientHomeOrPostPay"})})]})}):(0,k.jsx)("div",{style:{height:"29px"}})}),(0,k.jsxs)("div",{className:"div-prices-aa-mb--red last-price",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow1-mb--red",children:(0,m.T4)(Y.finalOfferPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow2-mb--red",children:(0,k.jsx)(o._H,{id:"label.priceNow"})})}),ye&&(0,k.jsxs)("div",{className:"div-prices-bb-mb--red",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore1-mb--red",children:(0,m.T4)(Y.finalListPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore2-mb--red",children:(0,k.jsx)(o._H,{id:"label.priceBefore"})})})]})]}),(0,k.jsx)("div",{className:"boton-center-mb2--red",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul":"btn-blanco-rojo--red",children:(0,k.jsx)(o._H,{id:"button.seeProducts"})})}),(0,k.jsx)("div",{className:"comparator-center-mb2--red",children:"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsx)("div",{className:"comparar",children:W<=1?"":(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("input",{type:"checkbox",checked:le,value:Y.productId,name:Y.productId,onChange:function(e){return Ve(e,Y)},className:"prodChecked--red"}),(0,k.jsx)("label",{htmlFor:"cbox",children:"Comparar"})]})})})]})]})}),"TECNOLOGIA"===Ne.flowName&&(0,k.jsx)(k.Fragment,{children:(0,k.jsxs)("div",{className:"equipoElement equipoElement--red",children:[(0,k.jsxs)("div",{className:"main-container main-container--red",children:[(0,k.jsx)(j.Z,{attributes:Y.attributes?Y.attributes:[]}),(0,k.jsx)("div",{className:"container-pic--red",style:{width:"190x",height:"223px"},children:"12"===xe?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(x.Z,{src:"".concat("https://cdn.claro.com.co/imagenes/claroshop/catalogo","/").concat(ve,"/200x310/").concat(Y.partNumber,".jpg"),className:"imgResp cursor-pointer img-product",alt:Y.name,onClick:function(){return Ee(Y,1)}}),be&&(0,k.jsx)("span",{style:{display:"inline-block",width:"1%",height:"1%"},children:(0,k.jsx)(x.Z,{src:be,className:!1===J?"":"logoMKP--clicked logoMKP ",onClick:!1===J?function(){return null}:function(){return J(je)}})})]}):(0,k.jsx)(x.Z,{src:Y.thumbnail,className:"imgResp cursor-pointer img-product",alt:Y.name,onClick:function(){return Ee(Y,1)}})}),(0,k.jsx)("div",{className:"container-name--red cursor-pointer",onClick:function(){return Ee(Y,2)},children:(0,k.jsx)("p",{children:Y.name?Ue:""})}),(0,k.jsx)("div",{className:"colores-center colores-center--picker",children:(0,k.jsx)(h.ZP,{product:Y,showLabel:!1,type:h.YY,attributes:Oe,selectAttribute:M,selectedAttributes:Ke[S(He)]})}),(0,k.jsx)("div",{className:"other-prices-center--red",children:"12"===xe?(0,k.jsx)(k.Fragment,{}):(0,k.jsx)(k.Fragment,{children:Ae?(0,k.jsx)(k.Fragment,{children:(0,k.jsx)("div",{className:"paymentBoxPrice",children:(0,k.jsxs)("div",{className:"paymentDivPrice",children:[(0,k.jsx)("span",{className:"promoPrice",children:(0,m.T4)(Y.pricePagoACuotas,!1)}),(0,k.jsx)("p",{className:"paymentBoxText",children:(0,k.jsx)(o._H,{id:"label.typeClientHomeOrPostPay"})})]})})}):(0,k.jsx)("div",{style:{height:"39px"}})})}),(0,k.jsxs)("div",{className:"container-prices--red",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow1--red",children:(0,m.T4)(Y.finalOfferPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow2--red",children:(0,k.jsx)(o._H,{id:"label.priceNow"})})}),ye&&(0,k.jsxs)("div",{className:"div-prices-b--red",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore1--red",children:(0,m.T4)(Y.finalListPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore2--red",children:(0,k.jsx)(o._H,{id:"label.priceBefore"})})})]})]}),(0,k.jsx)("div",{className:"boton-center boton-center--red",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul":"btn-blanco-rojo--red",children:(0,k.jsx)(o._H,{id:"button.seeProducts"})})}),(0,k.jsx)("div",{className:"comparator-center--red",children:"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsx)("div",{className:"comparar",children:W<=1?"":(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("input",{type:"checkbox",checked:le,value:Y.productId,name:Y.productId,onChange:function(e){return Ve(e,Y)},className:"prodChecked--red"}),(0,k.jsx)("label",{htmlFor:"cbox",children:"Comparar"})]})})})]}),("/product/productDetail"===ue||"/home/home"===ue||"/cart/cart"===ue)&&(0,k.jsxs)("div",{className:"main-container-mb",children:[(0,k.jsx)("div",{className:"container-name-mb",children:(0,k.jsx)("p",{children:Y.name?Y.name:""})}),(0,k.jsxs)("div",{className:"container-prices-pic-mb",children:["12"===xe?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(x.Z,{src:"".concat("https://cdn.claro.com.co/imagenes/claroshop/catalogo","/").concat(ve,"/200x310/").concat(Y.partNumber,".jpg"),className:"imgResp cursor-pointer img-product",alt:Y.name,onClick:function(){return Ee(Y,1)}}),be&&(0,k.jsx)(x.Z,{src:be,className:!1===J?"":"logoMKP--clicked logoMKP ",onClick:!1===J?function(){return null}:function(){return J(je)}})]}):(0,k.jsx)(x.Z,{src:Y.thumbnail,className:"imgResp cursor-pointer img-product",alt:Y.name,onClick:function(){return Ee(Y,1)}}),(0,k.jsxs)("div",{className:"div-prices-aa-mb",children:[(0,k.jsxs)("p",{children:[(0,k.jsx)("span",{className:"span-pnow1-mb",children:(0,m.T4)(Y.finalOfferPrice,!1)}),(0,k.jsx)("span",{className:"span-pnow2-mb",children:(0,k.jsx)(o._H,{id:"label.priceNow"})})]}),ye&&(0,k.jsxs)("p",{children:[(0,k.jsx)("span",{className:"span-pbefore1-mb",children:(0,m.T4)(Y.finalListPrice,!1)}),(0,k.jsx)("span",{className:"span-pbefore2-mb",children:(0,k.jsx)(o._H,{id:"label.priceBefore"})})]})]})]}),(0,k.jsx)("div",{className:"prices-center-mb",children:Ae?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)("div",{className:"paymentBoxBanner d-flex jc-center product-recommended",children:[(0,k.jsx)("span",{children:(0,k.jsx)(o._H,{id:"label.typeClientHomeOrPostPay"})}),(0,k.jsx)("img",{src:"../../static/images/icons/iconoClaroPrecios.svg"})]}),(0,k.jsx)("div",{className:"paymentBoxPrice",children:(0,k.jsxs)("div",{className:"paymentDivPrice",children:[(0,k.jsx)("span",{className:"promoPrice",children:(0,m.T4)(Y.pricePagoACuotas,!1)}),(0,k.jsx)("p",{className:"paymentBoxText",children:(0,k.jsx)(o._H,{id:"label.paymentInInstallmentsWithYourInvoice"})})]})})]}):(0,k.jsx)("div",{style:{height:"110px"}})}),(0,k.jsx)("div",{className:"colores-center-mb",children:(0,k.jsx)(h.ZP,{product:Y,showLabel:!1,type:h.YY,attributes:Oe,selectAttribute:M,selectedAttributes:Ke[S(He)]})}),(0,k.jsx)("div",{className:"boton-center",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul":"btn-blanco-rojo",children:(0,k.jsx)(o._H,{id:"button.seeDetails"})})})]}),"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsxs)("div",{className:"main-container-mb2--red",children:[Y.attributes&&Y.attributes.some((function(e){return"filtro_ofertas"===e.identifier||"filtro_novedades"===e.identifier}))?(0,k.jsx)(j.Z,{attributes:Y.attributes?Y.attributes:[]}):(0,k.jsx)("div",{style:{height:"26px"}}),"12"!==xe&&(0,k.jsx)("div",{className:"container-prices-pic-mb2--red",children:"12"===xe?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(x.Z,{src:"".concat("https://cdn.claro.com.co/imagenes/claroshop/catalogo","/").concat(ve,"/200x310/").concat(Y.partNumber,".jpg"),className:"imgResp cursor-pointer img-product2",alt:Y.name,onClick:function(){return Ee(Y,1)}}),be&&(0,k.jsx)(x.Z,{src:be,className:!1===J?"":"logoMKP--clicked logoMKP ",onClick:!1===J?function(){return null}:function(){return J(je)}})]}):(0,k.jsx)(x.Z,{src:Y.thumbnail,className:"imgResp cursor-pointer img-product--red",alt:Y.name,onClick:function(){return Ee(Y,1)}})}),"12"!==xe&&(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"container-name-mb--red",onClick:function(){return Ee(Y,2)},children:(0,k.jsx)("p",{children:Y.name?Ue:""})}),(0,k.jsx)("div",{className:"colores-center-mb--red colores-center--picker",children:(0,k.jsx)(h.ZP,{product:Y,showLabel:!1,type:h.YY,attributes:Oe,selectAttribute:M,selectedAttributes:Ke[S(He)]})}),(0,k.jsx)("div",{className:"prices-center-mb2--red",children:Ae?(0,k.jsx)(k.Fragment,{children:(0,k.jsx)("div",{className:"paymentBoxPrice",children:(0,k.jsxs)("div",{className:"paymentDivPrice",children:[(0,k.jsx)("span",{className:"promoPrice--red",children:(0,m.T4)(Y.pricePagoACuotas,!1)}),(0,k.jsx)("p",{className:"paymentBoxText--red",children:(0,k.jsx)(o._H,{id:"label.typeClientHomeOrPostPay"})})]})})}):(0,k.jsx)("div",{style:{height:"29px"}})}),(0,k.jsxs)("div",{className:"div-prices-aa-mb--red last-price",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow1-mb--red",children:(0,m.T4)(Y.finalOfferPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow2-mb--red",children:(0,k.jsx)(o._H,{id:"label.priceNow"})})}),ye&&(0,k.jsxs)("div",{className:"div-prices-bb-mb--red",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore1-mb--red",children:(0,m.T4)(Y.finalListPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore2-mb--red",children:(0,k.jsx)(o._H,{id:"label.priceBefore"})})})]})]}),(0,k.jsx)("div",{className:"boton-center-mb2--red",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul":"btn-blanco-rojo--red",children:(0,k.jsx)(o._H,{id:"button.seeProducts"})})}),(0,k.jsx)("div",{className:"comparator-center-mb2--red",children:"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsx)("div",{className:"comparar",children:W<=1?"":(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("input",{type:"checkbox",checked:le,value:Y.productId,name:Y.productId,onChange:function(e){return Ve(e,Y)},className:"prodChecked--red"}),(0,k.jsx)("label",{htmlFor:"cbox",children:"Comparar"})]})})})]}),"12"===xe&&(0,k.jsx)("div",{className:"container-prices-pic-mb3--red",children:"12"===xe?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(x.Z,{src:"".concat("https://cdn.claro.com.co/imagenes/claroshop/catalogo","/").concat(ve,"/200x310/").concat(Y.partNumber,".jpg"),className:"imgResp cursor-pointer img-product2--red",alt:Y.name,onClick:function(){return Ee(Y,1)}}),be&&(0,k.jsx)(x.Z,{src:be,className:!1===J?"":"logoMKP--clicked logoMKP ",onClick:!1===J?function(){return null}:function(){return J(je)}})]}):(0,k.jsx)(x.Z,{src:Y.thumbnail,className:"imgResp cursor-pointer img-product--red",alt:Y.name,onClick:function(){return Ee(Y,1)}})}),"12"===xe&&(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"container-name-mb--red",onClick:function(){return Ee(Y,2)},children:(0,k.jsx)("p",{children:Y.name?Ue:""})}),(0,k.jsx)("div",{className:"colores-center-mb--red colores-center--picker",children:(0,k.jsx)(h.ZP,{product:Y,showLabel:!1,type:h.YY,attributes:Oe,selectAttribute:M,selectedAttributes:Ke[S(He)]})}),(0,k.jsx)("div",{className:"prices-center-mb2--red",children:Ae?(0,k.jsx)(k.Fragment,{children:(0,k.jsx)("div",{className:"paymentBoxPrice",children:(0,k.jsxs)("div",{className:"paymentDivPrice",children:[(0,k.jsx)("span",{className:"promoPrice--red",children:(0,m.T4)(Y.pricePagoACuotas,!1)}),(0,k.jsx)("p",{className:"paymentBoxText--red",children:(0,k.jsx)(o._H,{id:"label.typeClientHomeOrPostPay"})})]})})}):(0,k.jsx)("div",{style:{height:"29px"}})}),(0,k.jsxs)("div",{className:"div-prices-aa-mb--red last-price",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow1-mb--red",children:(0,m.T4)(Y.finalOfferPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pnow2-mb--red",children:(0,k.jsx)(o._H,{id:"label.priceNow"})})}),ye&&(0,k.jsxs)("div",{className:"div-prices-bb-mb--red",children:[(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore1-mb--red",children:(0,m.T4)(Y.finalListPrice,!1)})}),(0,k.jsx)("p",{children:(0,k.jsx)("span",{className:"span-pbefore2-mb--red",children:(0,k.jsx)(o._H,{id:"label.priceBefore"})})})]})]}),(0,k.jsx)("div",{className:"boton-center-mb3--red",children:(0,k.jsx)("a",{onClick:function(){return Ee(Y,3)},onKeyDown:function(){},role:"button",tabIndex:0,className:"/home/home"===ue?"btn-blanco-azul":"btn-blanco-rojo--red",children:(0,k.jsx)(o._H,{id:"button.seeProducts"})})}),(0,k.jsx)("div",{className:"comparator-center-mb2--red",children:"/product/productDetail"!==ue&&"/home/home"!==ue&&"/cart/cart"!==ue&&(0,k.jsx)("div",{className:"comparar",children:W<=1?"":(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("input",{type:"checkbox",checked:le,value:Y.productId,name:Y.productId,onChange:function(e){return Ve(e,Y)},className:"prodChecked--red"}),(0,k.jsx)("label",{htmlFor:"cbox",children:"Comparar"})]})})})]})]})]})})]})})}))},9341:function(e,n,r){r(67294),r(63105);var t=r(85893),s=function(e){var n=e.attributes,r=e.type;if(0!==n.lenght){var s=n.filter((function(e){return"true"===e.storeDisplay&&"Defining"!==e.usage}));s.forEach((function(e){e.values.forEach((function(e){var n,r,t,s,a,c;null!==(n=e.value)&&void 0!==n&&n.toLowerCase().includes("oferta")?"discount":null!==(r=e.value)&&void 0!==r&&r.toLowerCase().includes("promocion")||null!==(t=e.value)&&void 0!==t&&t.toLowerCase().includes("promoci\xf3n")?"tag":null!==(s=e.value)&&void 0!==s&&s.toLowerCase().includes("regalo")||null!==(a=e.value)&&void 0!==a&&a.toLowerCase().includes("especial")?"gift":null!==(c=e.value)&&void 0!==c&&c.toLowerCase().includes("nuevo")&&"new"}))}));var a={undefined:s.map((function(e){return(0,t.jsxs)("div",{className:"promo",children:[(0,t.jsx)("span",{className:"tipo new"}),e.values.map((function(e){return e.value}))]},e.id)})),news:s.map((function(e){return(0,t.jsxs)("div",{className:"promo",children:[(0,t.jsx)("span",{className:"tipo new"}),e.values.map((function(e){return e.value}))]},e.id)})),recommended:s.map((function(e){return(0,t.jsxs)("div",{className:"promo",children:[(0,t.jsx)("span",{className:"tipo new"}),e.values.map((function(e){return e.value}))]},e.id)}))};return a[r].length>0&&a[r]}};s.defaultProps={attributes:[]},n.Z=s},60011:function(e,n,r){r.d(n,{C8:function(){return c},Mm:function(){return o},QY:function(){return a},lK:function(){return i},rY:function(){return s}});var t=r(34975),s=function(e){var n=e.list,r=void 0===n?"":n,s=e.position,a=void 0===s?0:s,c=e.category,i=void 0===c?"":c,o=e.purchaseFlow,l=void 0===o?"":o,d=e.attributeSelected,u=void 0===d?"":d,p=e.attributeSelected2,m=void 0===p?"":p,h=e.searchTerm,x=void 0===h?"":h;return{type:t.Z.SAVE_CURRENT_PRODUCT_ANALYTICS,payload:{list:r,position:a,category:i,purchaseFlow:l,attributeSelected:u,attributeSelected2:m,searchTerm:x}}},a=function(e){var n=e.list,r=void 0===n?"":n,s=e.position,a=void 0===s?0:s,c=e.category,i=void 0===c?"":c,o=e.productId,l=void 0===o?"":o,d=e.itemId,u=void 0===d?"":d,p=e.itemPartNumber,m=void 0===p?"":p,h=e.searchTerm,x=void 0===h?"":h;return{type:t.Z.SAVE_CART_PRODUCT_ANALYTICS2,payload:{list:r,position:a,category:i,productId:l,itemId:u,itemPartNumber:m,searchTerm:x}}},c=function(){return{type:t.Z.CLEAR_CART_PRODUCTS_ANALYTICS}},i=function(){return{type:t.Z.CLEAR_CART_PRODUCTS_ANALYTICS2}},o=function(){return{type:t.Z.CLEAR_CURRENT_PRODUCT_ANALYTICS}}},33176:function(e,n,r){r.d(n,{Pm:function(){return c},Zg:function(){return i},mP:function(){return a},mc:function(){return s}});var t=r(47714),s=function(e,n,r){return{type:t.zN,payload:{product:e,listAnalytics2:n,purchaseFlow2:r}}},a=function(){return{type:t.X2}},c=function(e){return{type:t.v2,payload:{productId:e}}},i=function(e){return{type:t.E6,payload:{total:e}}}}}]);