"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[83338],{57436:(e,t,n)=>{n.d(t,{D:()=>a,EL:()=>o,F_:()=>c,P3:()=>i,ar:()=>r,tQ:()=>d});n(66992),n(41539),n(70189),n(78783),n(33948);var r="cross-sell: otros usuarios tambien compraron - adobe target",o={id:void 0,name:void 0,ean:void 0,part_number:void 0,brand:void 0,category:void 0,main_category:void 0,main_category_clean:void 0,variant:void 0,quantity:void 0,price:void 0,position:void 0,stock_web:void 0,parent_id:void 0,type:void 0,marketplace:void 0,main_category_id:void 0,promotion_ids:void 0,is_on_sale:void 0,stock_shop:[{murcia:"no"},{madrid:"no"}],financing:void 0,yard_sale:void 0,reconditioned:void 0,marketplaces:[{id:"0",name:"PcComponentes",offer:{id:"0",uuid:""},price:"0",delivery:""}],other_vendors:void 0,img_url:void 0,img_url_thumb:void 0,rating_avg:void 0,rating_count:void 0,super_family:void 0,super_family_id:void 0,description:void 0,original_price:void 0,added_date:void 0,url:void 0,total_discount:void 0,total_discount_percent:void 0,value:void 0},i={id:void 0,name:void 0,ean:void 0,part_number:void 0,brand:"PcComponentes.com",category:void 0,main_category:"Varios",main_category_clean:"Varios",variant:void 0,quantity:void 0,price:void 0,position:void 0,stock_web:"1",parent_id:void 0,type:"normal",marketplace:"PcComponentes",main_category_id:void 0,promotion_ids:void 0,is_on_sale:"no",stock_shop:[{murcia:"no"},{madrid:"no"}],financing:void 0,yard_sale:"no",reconditioned:"no",marketplaces:[{id:"0",name:"PcComponentes",offer:{id:"0",uuid:""},price:"0",delivery:""}],other_vendors:"no",img_url:void 0,img_url_thumb:void 0,rating_avg:void 0,rating_count:void 0,super_family:void 0,super_family_id:void 0,description:void 0,original_price:void 0,added_date:void 0,url:void 0,total_discount:void 0,total_discount_percent:void 0,value:void 0},a=["10642805","10642809","10642815"],c=new Set([19,1148]),d=new Set([632,5166])},59158:(e,t,n)=>{n.d(t,{t:()=>r});n(68309);var r=function(e,t){return{"data-product-list":"LoreimIps","data-product-stock-web":e.stock||void 0,"data-product-price":e.originalPrice||void 0,"data-product-category":e.familyName||void 0,"data-product-brand":e.brandName||void 0,"data-product-name":e.name||void 0,"data-product-position":t||void 0,"data-product-id":e.id||void 0,"data-product-quantity":1,"data-product-total-discount":e.discount||void 0,"data-eec-action":"add_to_cart"}}},29748:(e,t,n)=>{n.d(t,{Il:()=>h,M4:()=>p,im:()=>f,mn:()=>v,xv:()=>m});var r,o,i,a,c,d=n(30168),s=n(51062),l=n(71893),u=n(93601),p=l.ZP.span(r||(r=(0,d.Z)(["\n display: none;\n ",";\n margin-bottom: ",";\n"])),s.g.body2Regular,(function(e){return e.theme.spacing.spacing01})),m=l.ZP.div(o||(o=(0,d.Z)(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n letter-spacing: ",";\n color: ",";\n white-space: nowrap;\n text-decoration: none;\n ",";\n"])),(function(e){return e.theme.typography.captionBold.weight}),(function(e){return e.theme.typography.captionRegular.size}),(function(e){return e.theme.typography.captionRegular.lineHeight}),(function(e){return e.theme.typography.captionRegular.letter}),(function(e){return e.theme.colors.black}),(function(e){var t=e.theme;return e.$link&&"\n text-decoration: underline;\n &&&:hover {\n color: ".concat(t.colors.brand.main,";\n text-decoration: underline;\n }\n ")})),v=l.ZP.div(i||(i=(0,d.Z)(["\n display: flex;\n gap: 0.5rem;\n flex-wrap: wrap;\n margin-bottom: ",";\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n letter-spacing: ",";\n color: ",";\n .variant__axis {\n ",";\n display: none;\n }\n align-items: center;\n"])),(function(e){return e.theme.spacing.spacing01}),(function(e){return e.theme.typography.captionBold.weight}),(function(e){return e.theme.typography.captionRegular.size}),(function(e){return e.theme.typography.captionRegular.lineHeight}),(function(e){return e.theme.typography.captionRegular.letter}),(function(e){return e.theme.colors.black}),s.g.body2Regular),f=l.ZP.div(a||(a=(0,d.Z)(["\n display: flex;\n gap: 0.25rem;\n flex-direction: column;\n margin-bottom: ",";\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n letter-spacing: ",";\n color: ",";\n white-space: nowrap;\n"])),(function(e){return e.theme.spacing.spacing01}),(function(e){return e.theme.typography.captionBold.weight}),(function(e){return e.theme.typography.captionRegular.size}),(function(e){return e.theme.typography.captionRegular.lineHeight}),(function(e){return e.theme.typography.captionRegular.letter}),(function(e){return e.theme.colors.black})),h=l.ZP.div(c||(c=(0,d.Z)(["\n display: inline-block;\n position: relative;\n width: 1rem;\n height: 1rem;\n border-radius: 50%;\n &:hover {\n transform: scale(1.2);\n }\n ",";\n border: 1px solid ",";\n"])),(function(e){var t=e.$color,n=e.theme;return u.Z.MULTICOLOR===t?"background-image: conic-gradient(from 180deg at 50% 50%, #FF0606 0deg, #FF6E06 59.25deg, #FFD706 123deg, #00CC14 186.75deg, #1D41FF 244.87deg, #FF06B9 303deg, #FF0606 360deg)":u.Z.TRANSPARENT===t?'&::after {\n content: "";\n position: absolute;\n border-top: 1px solid '.concat(n.colors.environment.percent40,";\n width: 0.938rem;\n top: 0.438rem;\n transform: rotate(126.87deg);\n transform-origin: 50% 0%;\n }"):"background-color: ".concat(t||"")}),(function(e){return e.theme.colors.environment.percent40}))},83338:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Me});var r=n(47941),o=n.n(r),i=n(82526),a=n.n(i),c=n(57327),d=n.n(c),s=n(38880),l=n.n(s),u=n(49337),p=n.n(u),m=n(33321),v=n.n(m),f=n(69070),h=n.n(f),g=n(93433),y=n(15861),b=n(64572),_=n(29439),x=n(64687),j=n.n(x),k=n(66992),w=n.n(k),I=n(41539),N=n.n(I),C=n(88674),P=n.n(C),S=n(78783),O=n.n(S),E=n(33948),A=n.n(E),R=n(92087),D=n.n(R),L=n(68309),Z=n.n(L),T=n(37268),F=n.n(T),B=n(32564),M=n.n(B),U=n(9653),z=n.n(U),H=n(93299),q=n.n(H),W=n(5212),G=n.n(W),V=n(89554),$=n.n(V),J=n(54747),K=n.n(J),X=n(92222),Q=n.n(X),Y=n(69600),ee=n.n(Y),te=n(21249),ne=n.n(te),re=n(73210),oe=n.n(re),ie=n(63742),ae=n(42347),ce=n(55975),de=n(67294),se=n(28225),le=n(86706),ue=n(40684),pe=n(18627),me=n(98084),ve=n(93601),fe=n(644),he=n(68551),ge=n(61436),ye=n(77862),be=n(7294),_e=n(49553),xe=n(29748),je=n(28957),ke=n(98548),we=n(72065),Ie=n(62812),Ne=n(61434),Ce=n(59158),Pe=n(92476),Se=n(13496),Oe=n(78578),Ee=n(92546),Ae=n(91085),Re=n(85893);function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Le(e){for(var t=1;t0&&window.localStorage.setItem("lastFamily",JSON.stringify(ue[ue.length-1].lastFamily)))}),[ue,null===R||void 0===R?void 0:R.id]);var De=ue.some((function(e){return e.id===i})),Be=C===ve.e.BOMBS||C===ve.e.CAROUSEL,Me=function(e){var t,n=null,r=(t={},(0,b.Z)(t,pe.WN.DIGITAL,pe.WN.DIGITAL),(0,b.Z)(t,pe.WN.REFURBISHED,pe.WN.REFURBISHED),t);return e.forEach((function(e){n=r[e]||"normal"})),n},Ue=function(){var e=(0,y.Z)(j().mark((function e(t){var n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!G){e.next=4;break}return G(),e.abrupt("return");case 4:if(!ee.idCart){e.next=25;break}return e.prev=5,oe((0,we.tdJ)(!0)),e.next=9,(0,Pe.X)(ee.idCart,Le({idArticle:i,qty:"1"},!A&&F?{idOffer:F}:{}));case 9:if(!(n=e.sent)||!(n.inserted.length>0||n.updated.length>0)){e.next=17;break}return e.next=13,(0,_e.QV)();case 13:if(!e.sent){e.next=17;break}return window.location.href=Ae.Z5.CART_SHOPPING_BASKET,e.abrupt("return");case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(5),(0,Ie.ZT)();case 22:window.scrollTo({top:0,behavior:"smooth"}),oe((0,we.tdJ)(!1)),oe((0,we.bIw)({text:"".concat(K("checkout.errors.impossibleToAddToCart")),type:"danger",hasIcon:!0}));case 25:case"end":return e.stop()}}),e,null,[[5,19]])})));return function(t){return e.apply(this,arguments)}}(),ze=["product-card"].concat((0,g.Z)((null===o||void 0===o?void 0:o.some((function(e){return e===pe.WN.PCCHOICE})))&&["product-trending"]||[]),(0,g.Z)(!A&&["is-marketplace"]||[]));return(0,Re.jsxs)(me.UK,{className:ze.join(" "),cardType:C,onClick:function(){(0,fe.W)(i,w,I)},onContextMenu:function(){(0,fe.W)(i,w,I)},children:[(0,Re.jsxs)("div",{children:[(0,Re.jsxs)(me.Ij,{cardType:C,className:"product-card__img-container",children:[(0,Re.jsxs)(me.S0,{children:[(0,Re.jsx)(me.sW,{children:!!n&&(0,Re.jsx)(me.vH,{className:"product-card__img-container-discount-badge",discount:n,expirationDate:B||""})}),W&&(0,Re.jsx)(me.dA,{secondary:!0,onClick:function(e){e.preventDefault(),W()},children:(0,Re.jsx)(me.Q9,{icon:"bin"})})]}),(0,Re.jsx)(me.si,{cardType:C,children:(0,Re.jsx)(me.Ei,{title:f,alt:f,src:h?a.medium.path:a.small.path,loading:"lazy"})}),o.length||L?(0,Re.jsx)(me.Rz,{className:"product-card__img-container-labels",children:(0,Re.jsx)(Ze,{campaignStyle:Y,isInPriorityCampaign:L,amountDiscountCart:O||0,flags:o,typeListing:S})}):(0,Re.jsx)(Re.Fragment,{})]}),(0,Re.jsxs)(me.LZ,{className:"product-card__info-container",children:[(0,Re.jsx)(me.Dx,{className:"product-card__title",title:f,children:f}),(0,Re.jsx)(me.Y8,{className:"product-card__price-container",children:(0,Re.jsx)(Se.Y,{promotionalPrice:s,originalPrice:d,recommendedPrice:M,bestPrice:U,isPCC:A})}),V&&(0,Re.jsxs)(me.ml,{children:[(0,Re.jsx)(ie.J,{icon:"interface_information"}),(0,Re.jsx)(ae.r,{onClick:function(){return V(i,F)},text:K("product.card.details")})]}),0!==l&&l&&(0,Re.jsx)(me.gs,{className:"product-card__rating-container",opinionAmount:u,rating:2*l,type:2}),S===ye.IL.CART_RECOMMENDER&&(0,Re.jsx)(me.Zu,{className:"product-card__financiation-block-cart-recommender",children:(0,Re.jsx)(Ee.l,{sellerName:p,id:i,recommendedPrice:M,brandName:P,promotionalPrice:s,originalPrice:d})}),(0,Re.jsx)(me.Xj,{className:"product-card__delivery-container",children:(0,Re.jsx)(Oe.B,{deliveryDateText:X})}),!!z&&(0,Re.jsx)("div",{className:"product-card__additional-delivery-container",children:(0,Re.jsx)(me.oz,{children:(0,Re.jsx)("strong",{children:(0,Re.jsx)(ke.o,{domString:K(z)})})})}),p&&(0,Re.jsxs)(me.U_,{className:"card-seller-name",children:[K("product.card.soldBy")," ",(0,Re.jsx)(me.Zk,{children:p})]}),Number(null===D||void 0===D?void 0:D.length)>2?(0,Re.jsx)(xe.im,{children:K("product.variants.otherOptions")}):Number(null===D||void 0===D?void 0:D.length)>0&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(xe.M4,{className:"variant__available-in",children:"Disponible en:"}),null===D||void 0===D?void 0:D.map((function(e){return(0,Re.jsxs)(xe.mn,{children:[(0,Re.jsx)("span",{className:"variant__axis",children:e.axis}),e.values.map((function(t){var n=t.name,r=t.slug,o=t.displayValue;return pe.mk.color===e.displayPattern?(0,Re.jsx)(xe.Il,{onClick:function(e){e.preventDefault(),location.href="/".concat(r)},$color:null===o||void 0===o?void 0:o.color},null===n||void 0===n?void 0:n.trim()):(0,Re.jsx)(xe.xv,{$link:!0,onClick:function(e){e.preventDefault(),location.href="/".concat(r)},className:"variant__text",children:n},null===n||void 0===n?void 0:n.trim())})),e.totalValues>3&&(0,Re.jsx)("span",{className:"variant__more",children:"+".concat(e.totalValues-3)})]},e.axis)}))]}),k&&(0,Re.jsx)(me.tp,{children:(0,Re.jsx)(ce.j,{checked:De,onChange:function(e){var t=e.target.checked;oe((0,pe.lb)(re,t)),t&&setTimeout((function(){return oe((0,pe.A9)({active:!0,color:"success",message:K("categories.action.bar.compare.popover.productAdded")}))}))},label:K("categories.action.bar.compare.text"),htmlCheckboxId:"compare.".concat(i)})})]})]}),(0,Re.jsxs)(me.Cp,{className:"product-card__price-n-availability-container",children:[(0,Re.jsx)(me.jW,{className:"product-card__extended-block",hasButton:Number(v)>0,$marginTop:S===ye.IL.CART_RECOMMENDER||S===ye.IL.EDITING_WISHLIST||S===ye.IL.PUBLIC_WISHLIST?"0":void 0,children:(0,Re.jsxs)(me.q$,{children:[!E&&Number(d)!==Number(s)&&s&&S===ye.IL.CAMPAIGNS&&(0,Re.jsx)(Te,{textFewUnits:K("product.stockBar.fewUnits"),textUnitsLeft:K("product.stockBar.unitsLeft",{units:Number(v)}),textOutOfStock:K("product.stockBar.outOfStock"),thresholdPercentage:Fe.thresholdPercentage,unitsLeft:Number(v),unitsInPromotion:Number(c)}),Be&&0!==Number(v)&&(0,Re.jsx)(me.EN,{children:(0,Re.jsx)(me.lo,{onClick:function(){$.push({event:he.yR.EEC,event_data:{category:"enhanced ecommerce",action:"add to cart",label:i,value:void 0,"non-interaction":!1},ecommerce:{add:{actionField:{},products:[{id:i,name:f,brand:P||void 0,category:void 0,main_category:(null===R||void 0===R?void 0:R.slug)||void 0,main_category_clean:(null===R||void 0===R?void 0:R.name)||void 0,main_category_id:void 0,variant:void 0,quantity:1,price:"".concat(s||""),position:void 0,stock_web:Number(v)>0?1:0,parent_id:i,type:Me(o),marketplace:A?"PcComponentes":void 0,promotion_ids:void 0,is_on_sale:"yes",stock_shop:[{murcia:"no"},{madrid:"no"}],financing:void 0,yard_sale:void 0,reconditioned:void 0,other_vendors:void 0,image_url:a.large.path||void 0,image_url_thumb:a.large.path,rating_avg:l||void 0,rating_count:u||void 0,description:void 0,original_price:"".concat(d),added_date:void 0,url:m,total_discount:s&&Math.round(100*(d-s+Number.EPSILON))/100||0,total_discount_percent:n||0,ean:void 0,part_number:void 0}]}}})},template:Q,children:K("user.panel.order.buy")})}),Be&&0===Number(v)&&(0,Re.jsx)(me.oo,{children:(0,Re.jsx)("span",{children:K("product.stockBar.outOfStock")})}),(S===ye.IL.CART_RECOMMENDER||S===ye.IL.EDITING_WISHLIST)&&te&&"number"===typeof T&&(0,Re.jsx)(me.pI,{children:(0,Re.jsx)(me.a4,Le(Le({secondary:!0,fluid:!0,onClick:Ue},(0,je.V)(te,T)),{},{children:K("checkout.shoppingBasket.add")}))})]})}),(0,Re.jsx)(me.Dh,{className:"product-card__details-button",children:"Ver detalles"}),S===ye.IL.CONFIGURATOR&&(0,Re.jsx)(me.pI,{children:(0,Re.jsx)(me.a4,Le(Le({},ne),{},{secondary:!0,fluid:!0,onClick:function(e){e.preventDefault(),q&&q()},children:K("configurator.socket.select")}))})]}),S===ye.IL.SHOP&&(0,Re.jsx)(me.pI,{children:(0,Re.jsx)(me.a4,Le(Le({disabled:0===Number(v),secondary:!0,fluid:!0,onClick:function(e){e.preventDefault(),H&&H(i,F)}},(0,Ce.t)(te,T)),{},{children:0===Number(v)?K("shop.products.noStock"):K("shop.products.add")}))})]})};const Me=Be},92546:(e,t,n)=>{n.d(t,{l:()=>f});var r,o=n(29439),i=n(67294),a=n(86706),c=n(7730),d=n(28225),s=n(62849),l=n(98601),u=n(95152),p=n(30168),m=n(71893).ZP.div(r||(r=(0,p.Z)(["\n margin-bottom: ",";\n"])),(function(e){return e.theme.spacing.spacing01})),v=n(85893),f=function(e){var t=e.brandName,n=e.originalPrice,r=e.promotionalPrice,p=e.recommendedPrice,f=e.id,h=e.sellerName,g=(0,d.$G)(),y=(0,o.Z)(g,1)[0],b=(0,a.v9)(l.Fc),_=r&&(r=r)?r:n,x=(0,s.t)(),j=x.getAplazameInstalmentsInfo,k=x.aplazameInstalmentsInfo;return(0,i.useEffect)((function(){b===u.Pp.COM&&"PcComponentes"===h&&"Apple"===t&&j(f,100*_)}),[t,b,j,f,_,h]),(0,v.jsx)(m,{children:(null===k||void 0===k?void 0:k.bestInstalment)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(c.Z,{typo:"captionRegular",children:[y("checkout.pricebox.financiation")," "]}),(0,v.jsxs)(c.Z,{typo:"body1Bold",children:[" ",k.bestInstalment,"€"]}),(0,v.jsxs)(c.Z,{typo:"captionRegular",children:["/",y("words.month")," "]})]})})}},28957:(e,t,n)=>{n.d(t,{M:()=>o,V:()=>i});var r=n(57436),o=function(e,t,n){return{"data-product-list":String(n)||void 0,"data-product-stock-web":e.stock||void 0,"data-product-price":e.originalPrice||void 0,"data-product-category":e.familyName||void 0,"data-product-brand":e.brandName||void 0,"data-product-name":e.name||void 0,"data-product-id":e.id||void 0,"data-product-position":t,"data-product-total-discount":e.discount||void 0}},i=function(e,t){return{"data-product-list":r.ar,"data-product-stock-web":e.stock||void 0,"data-product-price":e.originalPrice||void 0,"data-product-category":e.familyName||void 0,"data-product-brand":e.brandName||void 0,"data-product-name":e.name||void 0,"data-product-position":t||void 0,"data-product-id":e.id||void 0,"data-product-quantity":1,"data-product-total-discount":e.discount||void 0,"data-product-origin":"cross-sell","data-eec-action":"add_to_cart"}}},62849:(e,t,n)=>{n.d(t,{t:()=>f});var r=n(67294);function o(e,t,n,r,o,i,a){try{var c=e[i](a),d=c.value}catch(e){return void n(e)}c.done?t(d):Promise.resolve(d).then(r,o)}var i,a,c=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0?i.pop():r[0].instalments.pop()))throw new Error("there is no instalments");return[2,{bestInstalment:(a.amount/100).toString().replace(".",","),isZeroInterest:o}]}}))}));return function(t,n){return e.apply(this,arguments)}}(),f=function(){var e=p((0,r.useState)(void 0),2),t=e[0],n=e[1],o=(0,r.useCallback)(function(){var e=u((function(e,t){var r;return m(this,(function(o){switch(o.label){case 0:return[4,v(e,"".concat(t))];case 1:return(r=o.sent())&&n({bestInstalment:r.bestInstalment,isZeroInterest:r.isZeroInterest}),[2]}}))}));return function(t,n){return e.apply(this,arguments)}}(),[]);return{getAplazameInstalmentsInfo:o,aplazameInstalmentsInfo:t}}}}]); //# sourceMappingURL=83338.js.map