"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[388],{60338:(n,e,t)=>{t.d(e,{Z:()=>a});t(57327);var r=t(67294),i=t(75799);const a=function(n){var e=n.slug,t=n.idArticle,a=n.replyIdToOpen,o=n.usersBadges,c=n.badgesList,l=n.data,u=n.query,s=n.handlers,p=n.isTranslationOnDemandActive;return r.createElement(i._,{slug:e,verified:!!l.idPurchase,idArticle:t,badges:c||[],userBadges:o.filter((function(n){return n.idUser===l.user.id})),comment:l,openReplyOnLoad:(null===u||void 0===u?void 0:u.openReply)&&!(null!==u&&void 0!==u&&u.reply)&&(null===u||void 0===u?void 0:u.goTo)===l.idPccApi,replyIdToOpen:a,isMoreUseful:!0,isTranslationOnDemandActive:p,handlers:s})}},5205:(n,e,t)=>{t.d(e,{RA:()=>l,_9:()=>u,hs:()=>p,v4:()=>s});var r=t(15861),i=t(87757),a=t.n(i),o=t(49670),c=t(58846),l=function(){var n=(0,r.Z)(a().mark((function n(e){var t;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.articleId,n.abrupt("return",c.w.serviceGWFetch("/api-v1/show/".concat(t,"/valoration/functional-features"),o.w.GET));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),u=function(){var n=(0,r.Z)(a().mark((function n(e){var t;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.idComment,n.abrupt("return",c.w.serviceGWFetch("/api-v1/show/valoration/provide-useful-feedback",o.w.POST,{idComment:t}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),s=function(){var n=(0,r.Z)(a().mark((function n(e){var t;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.idComment,n.abrupt("return",c.w.serviceGWFetch("/api-v1/show/valoration/report",o.w.POST,{idComment:t}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),p=function(){var n=(0,r.Z)(a().mark((function n(e){var t,r,i,l,u,s,p;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.idComment,r=e.idArticle,i=e.nick,l=e.parentCommentId,u=e.replyCommentId,s=e.text,p=e.email,n.abrupt("return",c.w.serviceGWFetch("/api-v1/show/valoration/reply",o.w.POST,{idArticle:r,idComment:t,idCommentReplyParent:l,replyCommentId:u,nick:i,opinion:s,email:p}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},39306:(n,e,t)=>{var r;t.d(e,{D:()=>r}),function(n){n.CHANGE_ORDER="onChangeOrder",n.NEXT_PAGE="onNextPage",n.ADD_TO_CART="onAddToCart",n.ADD_FEEDBACK="onAddFeedback",n.REMOVE_TOAST="onRemoveToast"}(r||(r={}))},705:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Ne});t(47941),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var r,i,a,o,c,l,u,s,p,d,g,f,m,h,v,y,b=t(4942),w=(t(82526),t(41817),t(9653),t(67294)),O=t(28216),P=t(69847),x=t(46385),E=t(73167),Z=(t(21249),t(30168)),k=t(30305),j=t(16173),I=t(71893),_=I.ZP.div(r||(r=(0,Z.Z)(["\n padding: 1.625rem ",";\n max-width: 1624px;\n margin: 0 auto;\n width: 100%;\n\n "," {\n padding: 2.188rem ",";\n }\n\n "," {\n padding: 2.188rem ",";\n }\n"])),(function(n){return n.theme.spacing.spacing02}),k.B.tabletPortrait,(function(n){return n.theme.spacing.spacing03}),k.B.desktop,(function(n){return n.theme.spacing.spacing04})),A=I.ZP.div(i||(i=(0,Z.Z)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n "," {\n display: flex;\n flex-direction: row-reverse;\n gap: ",";\n justify-content: space-between;\n flex-basis: 84%;\n }\n"])),k.B.desktop,(function(n){return n.theme.spacing.spacing03})),S=(0,I.ZP)(j.i)(a||(a=(0,Z.Z)(["\n min-height: 1rem;\n"]))),D=I.ZP.div(o||(o=(0,Z.Z)(["\n margin-bottom: ",";\n > div {\n padding-top: 0;\n }\n"])),(function(n){return n.theme.spacing.spacing02})),R=t(97210),C=t(29439),T=(t(68309),t(26793)),z=(t(92222),t(46229)),B=I.ZP.div(c||(c=(0,Z.Z)(["\n border-radius: 6px;\n border: 1px solid ",";\n display: flex;\n align-items: center;\n height: fit-content;\n margin-bottom: ",";\n\n "," {\n position: sticky;\n align-self: flex-start;\n top: 9rem;\n margin-top: ",";\n padding: ",";\n display: flex;\n }\n"])),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.spacing.spacing04}),k.B.desktop,(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.spacing.spacing03})),L=I.ZP.div(l||(l=(0,Z.Z)(["\n display: flex;\n align-self: flex-start;\n justify-content: center;\n\n & img {\n ","\n\n "," {\n align-self: center;\n }\n\n "," {\n margin: 0;\n height: 8rem;\n width: 8rem;\n }\n }\n\n "," {\n border-right: none;\n }\n"])),(function(n){var e=n.theme.spacing;return"\n margin: ".concat(e.spacing02,";\n height: ").concat(e.spacing08,";\n width: ").concat(e.spacing08,";\n ")}),k.B.tabletPortrait,k.B.desktop,k.B.desktop),U=I.ZP.div(u||(u=(0,Z.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: column;\n flex: 1;\n }\n"])),k.B.tabletPortrait),N=I.ZP.div(s||(s=(0,Z.Z)(["\n display: flex;\n align-items: center;\n margin: "," 0;\n"])),(function(n){return n.theme.spacing.spacing01})),F=I.ZP.p(p||(p=(0,Z.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n padding: ",";\n padding-bottom: 0;\n &&& {\n margin-bottom: 0;\n }\n height: fit-content;\n align-self: center;\n\n "," {\n margin: 0;\n justify-content: center;\n align-self: flex-start;\n }\n\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.typography.header.h5.size}),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.header.h5.lineHeight}),(function(n){return n.theme.spacing.spacing02}),k.B.tabletPortrait,k.B.desktop),H=I.ZP.span(d||(d=(0,Z.Z)(["\n display: block;\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n color: ",";\n padding-left: ",";\n\n ","\n\n "," {\n display: inline-flex;\n padding-left: 0;\n }\n"])),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.header.h3.weight}),(function(n){return n.theme.typography.header.h3.lineHeight}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing02}),(function(n){var e=n.hasDiscount,t=n.theme;return e?"color: ".concat(t.colors.danger.main,";"):""}),k.B.desktop),M=I.ZP.span(g||(g=(0,Z.Z)(["\n &&& {\n display: block;\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n text-decoration: line-through;\n color: ",";\n margin-top: 0;\n margin-bottom: ",";\n padding-left: ",";\n\n "," {\n display: inline-flex;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: ",";\n }\n }\n"])),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.header.h3.lineHeight}),(function(n){return n.theme.colors.environment.percent40}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),k.B.desktop,(function(n){return n.theme.spacing.spacing02})),V=I.ZP.div(f||(f=(0,Z.Z)(["\n display: inline-flex;\n\n width: 2.813rem;\n height: ",";\n padding: ",";\n background-color: ",";\n border-radius: ",";\n margin-bottom: ",";\n margin-left: ",";\n\n & span {\n padding-left: ",";\n text-align: center;\n font-size: ",";\n line-height: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n margin-left: ",";\n }\n"])),(function(n){return n.theme.spacing.spacing03}),(function(n){return"".concat(n.theme.spacing.spacing005," ").concat(n.theme.spacing.spacing01)}),(function(n){return n.theme.colors.danger.main}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.typography.captionBold.weight}),k.B.desktop,(function(n){return n.theme.spacing.spacing01})),G=I.ZP.span(m||(m=(0,Z.Z)(["\n display: block;\n color: ",";\n font-size: ",";\n line-height: ",";\n letter-spacing: ",";\n margin-bottom: ",";\n padding-left: ",";\n\n "," {\n display: block;\n padding-left: 0;\n }\n"])),(function(n){return n.theme.colors.success.main}),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.letter}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),k.B.desktop),K=(0,I.ZP)(z.z)(h||(h=(0,Z.Z)(["\n width: fit-content;\n display: inline-flex;\n margin-left: 0;\n &&& div {\n white-space: nowrap;\n }\n flex: 1;\n justify-content: center;\n "," {\n height: ",";\n margin-right: 0;\n margin-bottom: 0;\n margin-left: 0;\n flex: 0;\n }\n\n "," {\n margin: 0;\n flex: 0;\n }\n"])),k.B.tabletPortrait,(function(n){return n.theme.spacing.spacing05}),k.B.desktop),$=I.ZP.div(v||(v=(0,Z.Z)(["\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: center;\n align-items: flex-start;\n\n "," {\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n }\n\n "," {\n flex-direction: column;\n align-items: flex-start;\n padding-left: ",";\n }\n"])),k.B.tabletPortrait,k.B.desktop,(function(n){return n.theme.spacing.spacing04})),W=I.ZP.div(y||(y=(0,Z.Z)(["\n display: flex;\n align-items: flex-start;\n padding: 0px;\n flex-wrap: wrap;\n gap: ",";\n margin-left: ",";\n margin-bottom: ",";\n margin-right: 16px;\n "," {\n margin-left: 0;\n margin-right: ",";\n flex-wrap: nowrap;\n margin-bottom: 0;\n }\n\n "," {\n margin-left: 0;\n margin-right: 0;\n flex-wrap: nowrap;\n margin-bottom: 0;\n }\n"])),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing03}),k.B.tabletPortrait,(function(n){return n.theme.spacing.spacing03}),k.B.desktop);const q=function(n){var e=n.product,t=e.name,r=e.price,i=e.originalPrice,a=e.totalDiscountPercentage,o=e.deliveryDate,c=e.marketable,l=e.image,u=e.slug,s=n.handleAddToCart,p=(0,T.$)(),d=(0,C.Z)(p,1)[0];return w.createElement(B,{id:"product-info-wrapper","data-testid":"product-info-wrapper"},w.createElement(L,null,w.createElement("img",{title:t,alt:t,src:"https://img.pccomponentes.com/".concat(l),loading:"lazy"})),w.createElement($,null,w.createElement(U,null,w.createElement(F,null,t),w.createElement(N,null,w.createElement(H,{hasDiscount:i>r},"".concat(r,"€")),i>r?w.createElement(w.Fragment,null,w.createElement(M,null,"".concat(i,"€")),w.createElement(V,null,w.createElement("span",null,"-".concat(a,"%")))):null),o&&w.createElement(G,null,d("valoration.deliveryDate",{text:o}))),w.createElement(W,null,w.createElement(K,{secondary:!0,onClick:function(){window.location.href="/"+u}},d("valoration.viewProduct")),c&&w.createElement(K,{onClick:s},d("valoration.addToCart")))))};var X=t(26658),J=t(21668),Q=t(17312),Y=t(51990),nn=t(39306),en=t(75799);const tn=function(n){var e=n.state,t=n.handlers,r=(0,T.$)(),i=(0,C.Z)(r,1)[0],a=(0,I.Fg)(),o=e.replyIdToOpen,c=e.query,l=e.pagination,u=e.selectedFilters,s=e.filters,p=e.items,d=e.product,g=e.badges,f=e.usersBadgesList,m=e.loading,h=e.mostUsefulItem,v=t.listHandlers,y=t.commentHandlers,b=p.filter((function(n){return n.id!==(null===h||void 0===h?void 0:h.id)})),O=h?l.totalItems-1:l.totalItems;return w.createElement(w.Fragment,null,w.createElement(J.Dx,{marginBottom:b.length>1},null!==c&&void 0!==c&&c.valoration?i("valoration.titleValorationsList.one"):i("valoration.titleValorationsList.other")," "),w.createElement(Y.o,{itemsProps:b.map((function(n){return{slug:d.slug,verified:!!n.idPurchase,comment:n,idArticle:d.id,key:n.idPccApi,badges:null!==g&&void 0!==g?g:[],userBadges:(null===f||void 0===f?void 0:f.filter((function(e){return e.idUser===n.user.id})))||[],handlers:y,openReplyOnLoad:null===c||void 0===c?void 0:c.openReply,isTranslationOnDemandActive:!0,replyIdToOpen:o}})),itemType:en._,headerComponent:w.createElement(Q.Z,{filterBarText:i("valoration.amount",{text:O}),filterBarOptions:[{optionSelected:(null===u||void 0===u?void 0:u.selectedOrder)||"",label:i("valoration.sort.title"),options:null===s||void 0===s?void 0:s.order.map((function(n){return{name:i("valoration.sort.".concat(n)),id:n}})),handleChange:v[nn.D.CHANGE_ORDER]}]}),loading:m,options:{pagination:{showPagination:!0,page:l.currentPage,onPageChange:v[nn.D.NEXT_PAGE],infiniteScroll:!0,virtualFetch:!1,pageSize:l.itemsPerPage,totalPages:null!==c&&void 0!==c&&c.valoration?2:Math.ceil(O/l.itemsPerPage),texts:{loadMore:i("valoration.loadMore")}},styles:{gap:a.spacing.spacing03,margin:"".concat(a.spacing.spacing02," 0")}}}))};var rn,an,on,cn,ln,un,sn,pn,dn,gn,fn,mn,hn,vn,yn=t(91044),bn=I.ZP.div(rn||(rn=(0,Z.Z)(["\n flex-direction: column;\n display: flex;\n "," {\n display: flex;\n flex-direction: column;\n }\n"])),k.B.desktop),wn=(0,I.ZP)(yn.X)(an||(an=(0,Z.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n\n "," {\n margin-bottom: ",";\n }\n"])),(function(n){return n.theme.typography.header.h2.size}),(function(n){return n.theme.typography.header.h2.weight}),(function(n){return n.theme.typography.header.h2.lineHeight}),k.B.desktop,(function(n){return n.marginBottom?n.theme.spacing.spacing04:"0"})),On=t(60338),Pn=t(53397),xn=I.ZP.div(on||(on=(0,Z.Z)(["\n border-radius: 6px;\n border: 1px solid ",";\n display: flex;\n align-items: center;\n height: fit-content;\n margin-bottom: ",";\n background-color: ",";\n width: 100%;\n align-self: flex-start;\n padding: 0;\n display: none;\n"])),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.spacing.spacing04}),Pn.n.light.colors.white),En=I.ZP.div(cn||(cn=(0,Z.Z)(["\n display: flex;\n align-self: flex-start;\n justify-content: center;\n\n & img {\n ","\n\n "," {\n align-self: center;\n }\n }\n "," {\n border-right: none;\n }\n"])),(function(n){var e=n.theme.spacing;return"\n margin: ".concat(e.spacing02,";\n height: ").concat(e.spacing08,";\n width: ").concat(e.spacing08,";\n ")}),k.B.tabletPortrait,k.B.desktop),Zn=I.ZP.div(ln||(ln=(0,Z.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: column;\n flex: 1;\n }\n"])),k.B.tabletPortrait),kn=I.ZP.div(un||(un=(0,Z.Z)(["\n display: flex;\n align-items: center;\n margin: "," 0;\n"])),(function(n){return n.theme.spacing.spacing01})),jn=I.ZP.p(sn||(sn=(0,Z.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n padding: ",";\n padding-bottom: 0;\n &&& {\n margin-bottom: 0;\n }\n height: fit-content;\n margin: 0;\n justify-content: center;\n align-self: flex-start;\n"])),(function(n){return n.theme.typography.header.h5.size}),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.header.h5.lineHeight}),(function(n){return n.theme.spacing.spacing02})),In=I.ZP.span(pn||(pn=(0,Z.Z)(["\n display: block;\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n color: ",";\n padding-left: ",";\n\n ","\n"])),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.header.h3.weight}),(function(n){return n.theme.typography.header.h3.lineHeight}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing02}),(function(n){var e=n.hasDiscount,t=n.theme;return e?"color: ".concat(t.colors.danger.main,";"):""})),_n=I.ZP.span(dn||(dn=(0,Z.Z)(["\n &&& {\n display: block;\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n text-decoration: line-through;\n color: ",";\n margin-top: 0;\n margin-bottom: ",";\n padding-left: ",";\n\n "," {\n display: inline-flex;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: ",";\n }\n }\n"])),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.header.h3.lineHeight}),(function(n){return n.theme.colors.environment.percent40}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),k.B.desktop,(function(n){return n.theme.spacing.spacing02})),An=I.ZP.div(gn||(gn=(0,Z.Z)(["\n display: inline-flex;\n\n width: 2.813rem;\n height: ",";\n padding: ",";\n background-color: ",";\n border-radius: ",";\n margin-bottom: ",";\n margin-left: ",";\n\n & span {\n padding-left: ",";\n text-align: center;\n font-size: ",";\n line-height: ",";\n color: ",";\n font-weight: ",";\n }\n\n "," {\n margin-left: ",";\n }\n"])),(function(n){return n.theme.spacing.spacing03}),(function(n){return"".concat(n.theme.spacing.spacing005," ").concat(n.theme.spacing.spacing01)}),(function(n){return n.theme.colors.danger.main}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.typography.captionBold.weight}),k.B.desktop,(function(n){return n.theme.spacing.spacing01})),Sn=I.ZP.span(fn||(fn=(0,Z.Z)(["\n display: block;\n color: ",";\n font-size: ",";\n line-height: ",";\n letter-spacing: ",";\n margin-bottom: ",";\n padding-left: ",";\n"])),(function(n){return n.theme.colors.success.main}),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.letter}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02})),Dn=(0,I.ZP)(z.z)(mn||(mn=(0,Z.Z)(["\n width: fit-content;\n display: inline-flex;\n margin: 0;\n flex: 1;\n justify-content: center;\n &&& div {\n white-space: nowrap;\n }\n "," {\n margin: 0;\n }\n"])),k.B.tabletPortrait),Rn=I.ZP.div(hn||(hn=(0,Z.Z)(["\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: center;\n align-items: flex-start;\n\n "," {\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n }\n\n "," {\n flex-direction: row;\n align-items: flex-start;\n align-items: center;\n }\n"])),k.B.tabletPortrait,k.B.desktop),Cn=I.ZP.div(vn||(vn=(0,Z.Z)(["\n display: flex;\n align-items: flex-start;\n padding: 0px;\n gap: ",";\n height: ",";\n margin-right: ",";\n margin-bottom: ",";\n margin-left: ",";\n flex-wrap: wrap;\n height: fit-content;\n "," {\n margin-left: 0;\n margin-bottom: 0;\n flex-wrap: nowrap;\n }\n "," {\n margin-left: 0;\n margin-bottom: 0;\n flex-wrap: nowrap;\n }\n"])),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing02}),k.B.tabletPortrait,k.B.desktop);const Tn=function(n){var e=n.name,t=n.price,r=n.originalPrice,i=n.totalDiscountPercentage,a=n.deliveryDate,o=n.marketable,c=n.image,l=n.handleAddToCart,u=n.href,s=(0,T.$)(),p=(0,C.Z)(s,1)[0];return w.createElement(xn,{id:"product-info-top-wrapper","data-testid":"product-info-top-wrapper"},w.createElement(En,null,w.createElement("img",{title:e,alt:e,src:"https://img.pccomponentes.com/".concat(c),loading:"lazy"})),w.createElement(Rn,null,w.createElement(Zn,null,w.createElement(jn,null,e),w.createElement(kn,null,w.createElement(In,{hasDiscount:r>t},"".concat(t,"€")),r>t?w.createElement(w.Fragment,null,w.createElement(_n,null,"".concat(r,"€")),w.createElement(An,null,w.createElement("span",null,"-".concat(i,"%")))):null),a&&w.createElement(Sn,null,p("valoration.deliveryDate",{text:a}))),w.createElement(Cn,null,w.createElement(Dn,{secondary:!0,onClick:function(){window.location.href="/"+u}},p("valoration.viewProduct")),o&&w.createElement(Dn,{onClick:l},p("valoration.addToCart")))))};var zn=t(36025),Bn=t(16550),Ln=t(72894),Un=t(29715);const Nn=function(n){var e=n.state,t=n.handlers,r=(0,T.$)(),i=(0,C.Z)(r,1)[0],a=(0,Bn.k6)(),o=e.product,c=e.items,l=e.seoArticleName,u=e.query,s=e.mostUsefulItem,p=e.replyIdToOpen,d=t.listHandlers,g=o.id,f=o.slug,m=o.price,h=o.originalPrice,v=o.totalDiscountPercentage,y=o.name,b=o.marketable,O=o.image,P=o.deliveryDate,x=o.valoration,E=o.media,Z=o.functionalFeatures,k=x||{valorationAverage:void 0,totalComments:void 0,rating:void 0},j=k.valorationAverage,I=k.totalComments,_=k.rating;return w.createElement(bn,null,w.createElement(wn,{as:"h1",marginBottom:c.length>1},c.length>1?i("valoration.title.other"):i("valoration.title.one")," - ",y),w.createElement(Tn,{name:y,totalDiscountPercentage:v,price:m,marketable:b,originalPrice:h,deliveryDate:P,image:O,href:f,handleAddToCart:d[nn.D.ADD_TO_CART]||Un.Z}),!(null!==u&&void 0!==u&&u.valoration)&&w.createElement(Ln.r,{productId:g,loading:!Z,rating:{rating:_,totalComments:I,valorationAverage:j,functionalFeaturesAverages:Z}}),!(null!==u&&void 0!==u&&u.valoration)&&!(null!==u&&void 0!==u&&u.media)&&E&&E.medias.length>0&&w.createElement(zn.Z,{slug:f,id:"carousel-medias-".concat(l||""),medias:E.medias,settings:{loop:!1,onShowMore:function(){return a.push("?media=images")}}}),!(null!==u&&void 0!==u&&u.media)&&s&&w.createElement(X.Z,{moreUseful:w.createElement(On.Z,{slug:f,replyIdToOpen:p,idArticle:g,usersBadges:e.usersBadgesList||[],badgesList:e.badges,handlers:t.commentHandlers,data:s,isTranslationOnDemandActive:!0})}),!(null!==u&&void 0!==u&&u.media)&&w.createElement(tn,{state:e,handlers:t}))};var Fn,Hn,Mn,Vn,Gn,Kn=t(93433),$n=t(15861),Wn=t(87757),qn=t.n(Wn),Xn=t(7730),Jn=I.ZP.div(Fn||(Fn=(0,Z.Z)(["\n width: 100%;\n margin-top: ",";\n"])),(function(n){return n.theme.spacing.spacing03})),Qn=I.ZP.div(Hn||(Hn=(0,Z.Z)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n "," {\n justify-content: space-around;\n flex-direction: row-reverse;\n flex-basis: 100%;\n display: flex;\n flex-direction: row-reverse;\n gap: ",";\n }\n "," {\n flex-basis: 84%;\n justify-content: space-between;\n }\n"])),k.B.desktop,(function(n){return n.theme.spacing.spacing03}),k.B.desktopLarge),Yn=I.ZP.div(Mn||(Mn=(0,Z.Z)(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing03})),ne=I.ZP.div(Vn||(Vn=(0,Z.Z)(["\n flex: 1;\n"]))),ee=(0,I.ZP)(Xn.Z)(Gn||(Gn=(0,Z.Z)(["\n display: inline-block;\n width: 100%;\n text-align: center;\n color: ",";\n"])),(function(n){return n.theme.colors.environment.percent40})),te=t(22169),re=t(54864),ie=t(49670),ae=t(58846),oe=function(){var n=(0,$n.Z)(qn().mark((function n(e){var t,r;return qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.page,r=e.articleId,n.abrupt("return",ae.w.serviceGWFetch("/api-v1/show/valoration/".concat(r,"/media"),ie.w.GET,{page:t,numPageItems:60}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),ce=t(42347),le=t(90959);const ue=function(n){var e=n.media,t=n.numMedia,r=n.totalPages,i=n.page,a=n.articleId,o=n.slug,c=(0,T.$)(),l=(0,C.Z)(c,1)[0],u=(0,Bn.k6)(),s=(0,w.useRef)(null),p=(0,w.useState)(i||0),d=(0,C.Z)(p,2),g=d[0],f=d[1],m=(0,w.useState)(!1),h=(0,C.Z)(m,2),v=h[0],y=h[1],b=(0,w.useState)(!!r&&g]+)>)/gi,"").substring(0,100),original_price:"".concat(v),added_date:t,url:"".concat(R,"/").concat(_),total_discount:"".concat(E),total_discount_percent:"".concat(Z),ean:A,part_number:S}]}}})}({data:n,datalayer:t,domain:l}),location.href=f?"/cart/addItem/".concat(m,"?idOffer=").concat(f):"/cart/addItem/".concat(m)})),(0,b.Z)(r,nn.D.ADD_FEEDBACK,P),(0,b.Z)(r,nn.D.REMOVE_TOAST,(function(n){e((function(e){return Ie(Ie({},e),{},{toastToRemove:n})}))})),r),commentHandlers:(0,xe.Z)({handlers:(i={},(0,b.Z)(i,we.p.REPORT,(function(n){var e=function(){var e=(0,$n.Z)(qn().mark((function e(){var t,r,i,a,o;return qn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,fe.v4)(n);case 2:t=e.sent,r=t.data,i=t.ok,a=i&&r?r.status:be.Q.ERROR,o=r?r.message:void 0,P({status:a,message:o,id:s});case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()})),(0,b.Z)(i,we.p.ADD_USEFUL,(function(n){var e=function(){var e=(0,$n.Z)(qn().mark((function e(){var t,r,i,a,o;return qn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,fe._9)(n);case 2:t=e.sent,r=t.data,i=t.ok,a=i&&r?r.status:be.Q.ERROR,o=r?r.message:void 0,P({status:a,message:o,id:s}),n.callback&&n.callback(i&&!!r&&"error"!==r.status);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()})),(0,b.Z)(i,we.p.OPEN_CLOSE_REPLY,E),(0,b.Z)(i,we.p.ADD_COMMENT,(function(n){E({idComment:n.idComment,open:!1});var e=function(){var e=(0,$n.Z)(qn().mark((function e(){var t,r,i,o,c,l;return qn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,fe.hs)(Ie(Ie({},n),{},{email:a.email,nick:a.nick}));case 2:i=e.sent,o=i.data,c=null!==(t=null===o||void 0===o?void 0:o.status)&&void 0!==t?t:be.Q.ERROR,l=null!==(r=null===o||void 0===o?void 0:o.message)&&void 0!==r?r:"valorations.something_wrong",P({id:s,message:l,status:c});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()})),(0,b.Z)(i,we.p.TOGGLE_TRANSLATION,(function(t){var r=t.idComment,i=t.showOriginal,a=n.mostUsefulItem&&n.mostUsefulItem.idPccApi===r?n.mostUsefulItem:n.items.find((function(n){return n.idPccApi===r}));if(a){if(!i){if(a.currentVersion.comment[u])return e((function(n){return Ie(Ie({},n),{},{items:n.items.map((function(n){return n.idPccApi===r?Ie(Ie({},n),{},{selectedLanguage:u}):n}))},n.mostUsefulItem&&n.mostUsefulItem.idPccApi===r&&{mostUsefulItem:Ie(Ie({},n.mostUsefulItem),{},{selectedLanguage:u})})}));e((function(n){return Ie(Ie({},n),{},{items:n.items.map((function(n){return n.idPccApi===r?Ie(Ie({},n),{},{loading:!0}):n}))},n.mostUsefulItem&&n.mostUsefulItem.idPccApi===r&&{mostUsefulItem:Ie(Ie({},n.mostUsefulItem),{},{loading:!0})})}));var o=function(){var n=(0,$n.Z)(qn().mark((function n(){var t,i;return qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Ee.LH)({id:a.id,language:u});case 2:if(t=n.sent,i=t.data,t.ok&&i){n.next=7;break}return n.abrupt("return",e((function(n){return Ie(Ie({},n),{},{items:n.items.map((function(n){return n.idPccApi===r?Ie(Ie({},n),{},{loading:!1}):n}))},n.mostUsefulItem&&n.mostUsefulItem.idPccApi===r&&{mostUsefulItem:Ie(Ie({},n.mostUsefulItem),{},{loading:!1})})})));case 7:e((function(n){return Ie(Ie({},n),{},{items:n.items.map((function(n){return n.idPccApi===r?Ie(Ie({},i),{},{loading:!1,selectedLanguage:u}):n}))},n.mostUsefulItem&&n.mostUsefulItem.idPccApi===r&&{mostUsefulItem:Ie(Ie({},i),{},{selectedLanguage:u,loading:!1})})}));case 8:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return o()}return e((function(n){return Ie(Ie({},n),{},{items:n.items.map((function(n){return n.idPccApi===r?Ie(Ie({},n),{},{selectedLanguage:n.language}):n}))},n.mostUsefulItem&&n.mostUsefulItem.idPccApi===r&&{mostUsefulItem:Ie(Ie({},n.mostUsefulItem),{},{selectedLanguage:n.mostUsefulItem.language})})}))}})),i),translationKey:"valoration"})}},Ae=t(99426),Se=function(n){var e=n.initialState,t=(0,pe.t)();!function(){var n=(0,O.v9)(E.f6).product,e=(0,O.v9)(de.np),t=(0,w.useRef)(!1),r=(0,pe.t)(),i=(0,O.v9)(x.oz),a=(0,O.v9)(x.CC);(0,w.useEffect)((function(){if(n){var o=n.addedDate,c=n.brand,l=n.category,u=n.categoryClean,s=n.categoryId,p=n.categoryMain,d=n.description,g=n.id,f=n.imageUrl,m=n.imageUrlThumb,h=n.isOnSale,v=n.marketplace,y=n.otherVendors,b=n.parentId,w=n.price,O=n.originalPrice,P=n.ratingAvg,x=n.ratingCount,E=n.reconditioned,Z=n.sinSo,k=n.stockShopMadrid,j=n.stockShopMurcia,I=n.stockWeb,_=n.totalDiscount,A=n.totalDiscountPercentage,S=n.type,D=n.yardSale,R=n.name,C=n.slug,T=n.ean,z=n.partNumber;e.isLoading||t.current?t.current=!1:(r.pageView({url:a,page:{href:a,type:ge.Kb.VALORATION,brand:"not set",total_answers:void 0,total_comments:void 0,total_questions:void 0,total_reviews:void 0,updated:void 0,main_category:void 0,main_category_clean:void 0,filters:void 0}},{ecommerce:{currencyCode:"EUR",detail:{},products:[{id:"".concat(g),name:R,brand:c,category:l,main_category:p,main_category_clean:u,main_category_id:s,variant:void 0,quantity:void 0,price:"".concat(w),position:void 0,stock_web:I,parent_id:"".concat(b),type:S,marketplace:v,promotion_ids:void 0,is_on_sale:h,stock_shop:[{murcia:j},{madrid:k}],financing:void 0,yard_sale:D,reconditioned:E,other_vendors:y,image_url:"".concat("https://img.pccomponentes.com/").concat(f),image_url_thumb:"".concat("https://thumb.pccomponentes.com/w-300-300/").concat(m),rating_avg:"".concat(P),rating_count:"".concat(x),description:d,original_price:"".concat(O),added_date:o,url:i?"".concat(i,"/").concat(C):"/".concat(C),total_discount:"".concat(_),total_discount_percent:"".concat(A),ean:T,part_number:z,"sin-so":Z}]}}),t.current=!0)}}),[e.isLoading])}();var r,i,a=function(n){var e=(0,he.a)(),t=(0,w.useState)(n),r=(0,C.Z)(t,2),i=r[0],a=r[1],o=(0,w.useState)([]),c=(0,C.Z)(o,2),l=c[0],u=c[1],s=(0,w.useMemo)((function(){return i.items.reduce((function(n,e){return n.includes(e.user.id)?n:[].concat((0,Kn.Z)(n),[e.user.id])}),[])}),[i.items]),p=(0,w.useMemo)((function(){return s.filter((function(n){return!l.includes(n)}))}),[l,s]);return(0,w.useEffect)((function(){var n=function(){var n=(0,$n.Z)(qn().mark((function n(){var e;return qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,fe.RA)({articleId:i.product.id});case 2:(e=n.sent).ok&&e.data?a((function(n){var t;return ye(ye({},n),{},{loadingFunctionalFeatures:!1,product:ye(ye({},n.product),{},{functionalFeatures:null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.averages})})})):a((function(n){return ye(ye({},n),{},{loadingFunctionalFeatures:!1})}));case 4:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();a((function(n){return ye(ye({},n),{},{loadingFunctionalFeatures:!0})})),n()}),[i.product.id]),(0,w.useEffect)((function(){var n=function(){var n=(0,$n.Z)(qn().mark((function n(){var e,t;return qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,me.r)();case 2:e=n.sent,(t=e.data)&&a((function(n){return ye(ye({},n),{},{badges:t})}));case 5:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();n()}),[]),(0,w.useEffect)((function(){if(0!==p.length){var n=function(){var n=(0,$n.Z)(qn().mark((function n(){var e,t;return qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,me.G)({idsUsers:p});case 2:e=n.sent,(t=e.data)&&a((function(n){return n.usersBadgesList?ye(ye({},n),{},{usersBadgesList:[].concat((0,Kn.Z)(n.usersBadgesList),(0,Kn.Z)(t))}):ye(ye({},n),{},{usersBadgesList:t})}));case 5:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();u((function(n){return[].concat((0,Kn.Z)(n),(0,Kn.Z)(p))})),n()}}),[p]),(0,w.useEffect)((function(){a((function(n){return ye(ye({},n),{},{query:{reply:e.has("replyID")?Number(e.get("replyId")):void 0,valoration:e.has("valoration")?Number(e.get("valoration")):void 0,media:e.has("media")?String(e.get("media")):void 0,openReply:e.has("openReply")}})}))}),[e]),{state:i,setState:a}}(e),o=a.state,c=a.setState,l=_e(o,c,t);r=null===l||void 0===l?void 0:l.listHandlers[nn.D.ADD_FEEDBACK],i=(0,w.useCallback)((0,$n.Z)(qn().mark((function n(){var e,t,i,a,o,c,l,u;return qn().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e=sessionStorage.getItem("provide-usefull-valoration-feedback"))){n.next=10;break}if(null===(t=JSON.parse(e))||void 0===t||!t.idComment||null!==t&&void 0!==t&&t.sent){n.next=10;break}return n.next=6,(0,fe._9)({idComment:null===t||void 0===t?void 0:t.idComment});case 6:i=n.sent,a=i.data,r({status:null===a||void 0===a?void 0:a.status,message:null===a||void 0===a?void 0:a.message,id:String(Math.random())}),sessionStorage.removeItem("provide-usefull-valoration-feedback");case 10:if(!(o=sessionStorage.getItem("report-valoration-feedback"))){n.next=21;break}if(null===(c=JSON.parse(o))||void 0===c||!c.idComment||null!==c&&void 0!==c&&c.sent){n.next=21;break}if(null===c||void 0===c||!c.idComment||null!==c&&void 0!==c&&c.sent){n.next=21;break}return n.next=17,(0,fe.v4)({idComment:null===c||void 0===c?void 0:c.idComment});case 17:l=n.sent,u=l.data,r({status:null===u||void 0===u?void 0:u.status,message:null===u||void 0===u?void 0:u.message,id:String(Math.random())}),sessionStorage.removeItem("report-valoration-feedback");case 21:case"end":return n.stop()}}),n)}))),[r]),(0,w.useEffect)((function(){i()}),[]);var u=(0,O.v9)(x.CC),s=o.product,p=s.id,d=s.media,g=s.slug,f=o.query,m=l.listHandlers;return w.createElement(w.Fragment,null,w.createElement(_,null,w.createElement(D,null,w.createElement(R.a,null)),w.createElement(A,null,w.createElement(q,{product:o.product,handleAddToCart:m[nn.D.ADD_TO_CART]||Un.Z}),w.createElement(Nn,{state:o,handlers:l,redirectToValoration:u||"",translationKey:"valoration"})),(null===f||void 0===f?void 0:f.media)&&w.createElement(S,{noMargin:!0}),(null===f||void 0===f?void 0:f.media)&&w.createElement(ue,{slug:g,articleId:p,mediaType:"videos"===(null===f||void 0===f?void 0:f.media)?se.Tv.VIDEO:se.Tv.IMAGE,media:null===d||void 0===d?void 0:d.medias,numMedia:null===d||void 0===d?void 0:d.totalMedias,totalPages:null===d||void 0===d?void 0:d.totalPages})),o.toasts.map((function(n){return w.createElement(Ae.Z,{closable:!0,status:n.status,key:n.id,message:n.message,onClose:function(){m[nn.D.REMOVE_TOAST]&&m[nn.D.REMOVE_TOAST](n.id)}})})))},De=t(33742),Re=t(2791),Ce=t(7072);function Te(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}function ze(n){for(var e=1;e{t.r(e),t.d(e,{PageNotFoundView:()=>Z});var r=t(67294),i=t(38770),a=t(46229),o=t(71893),c=t(91044),l=t(30305);function u(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function s(){var n=u(["\n color: ",";\n font-size: 3rem;\n font-weight: 700;\n margin-top: ",";\n margin-bottom: ",";\n text-align: center;\n"]);return s=function(){return n},n}function p(){var n=u(["\n display: flex;\n justify-content: center;\n padding-bottom: ",";\n align-items: center;\n flex-direction: column;\n background: ",";\n"]);return p=function(){return n},n}function d(){var n=u(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n margin-top: ",";\n margin-bottom: ",";\n text-align: center;\n width: 20.5rem;\n\n "," {\n width: 31.5rem;\n }\n"]);return d=function(){return n},n}var g=(0,o.ZP)(c.X)(s(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.spacing.spacing02})),f=o.ZP.div(p(),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.colors.environment.percent05})),m=o.ZP.p(d(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.body1Regular.weight}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing04}),l.B.tabletPortrait),h=t(33742),v=t(26793),y=t(68551),b=t(36563),w=t(28216),O=t(2961),P=t(46385);function x(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{t.d(e,{G6:()=>l,Vg:()=>u,wC:()=>c});var r,i=t(54461),a=t(91085);function o(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var c,l=(o(r={},i.lI.fr_FR,a.Z5.VALORATION),o(r,i.lI.it_IT,a.Z5.VALORATION),o(r,i.lI.es_ES,a.Z5.VALORATION),o(r,i.lI.pt_PT,a.Z5.VALORATION_PT),r);!function(n){n.BEST="best",n.VALORATION="valoration",n.OLD="old",n.NEW="new"}(c||(c={}));var u=300},97210:(n,e,t)=>{t.d(e,{a:()=>w});var r=t(67294),i=t(71893),a=t(67724);function o(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function c(){var n=o(["\n max-width: ",";\n margin: 0 auto;\n padding: "," 0 ",";\n padding-top: ",";\n"]);return c=function(){return n},n}function l(){var n=o(["\n &&& a {\n color: ",";\n }\n &&& svg {\n fill: ",";\n }\n "]);return l=function(){return n},n}function u(){var n=o(["\n overflow: auto;\n white-space: nowrap;\n margin: 0;\n\n ",";\n"]);return u=function(){return n},n}var s=i.ZP.div(c(),(function(n){return n.theme.layout.grid.width}),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02})),p=(0,i.ZP)(a.a)(u(),(function(n){var e=n.$fontColor;return e&&(0,i.iv)(l(),e,e)})),d=t(28216),g=t(36027),f=t(55285),m=t(46385);function h(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function v(){return v=Object.assign||function(n){for(var e=1;e=0||(i[t]=n[t]);return i}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(i[t]=n[t])}return i}var w=function(n){var e=n.fontColor,t=n.breadcrumbs,i=b(n,["fontColor","breadcrumbs"]),a=(0,d.v9)(g.Mb),o=t||a||[],c=(0,d.v9)(m.oz),l=o.map((function(n){return y(function(n){for(var e=1;e{t.d(e,{Z:()=>E});var r=t(67294),i=t(26793),a=t(71893),o=t(36717),c=t(30305);function l(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function u(){var n=l(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n margin-bottom: ",";\n"]);return u=function(){return n},n}function s(){var n=l(["\n z-index: ",";\n width: 100%;\n\n "," {\n width: 300px;\n }\n"]);return s=function(){return n},n}function p(){var n=l(["\n display: flex;\n border-bottom: solid 1px ",";\n flex-direction: column;\n\n "," {\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n }\n"]);return p=function(){return n},n}function d(){var n=l(["\n display: flex;\n margin-bottom: 28px;\n\n "," {\n flex-direction: column;\n }\n"]);return d=function(){return n},n}function g(){var n=l(["\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n\n "," {\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n color: ",";\n }\n"]);return g=function(){return n},n}function f(){var n=l(["\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"]);return f=function(){return n},n}function m(){var n=l(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: row;\n gap: ",";\n }\n"]);return m=function(){return n},n}a.ZP.h2(u(),(function(n){return n.theme.typography.header.h4.size}),(function(n){return n.theme.typography.header.h4.weight}),(function(n){return n.theme.typography.header.h4.lineHeight}),(function(n){return n.marginBottom?n.theme.spacing.spacing03:n.theme.spacing.spacing02}));var h=(0,a.ZP)(o.m)(s(),(function(n){return n.zIndex}),c.B.tabletPortrait),v=a.ZP.div(p(),(function(n){return n.theme.colors.environment.percent20}),c.B.tabletPortrait),y=a.ZP.div(d(),c.B.tabletPortrait),b=a.ZP.span(g(),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.letter}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.lineHeight}),c.B.tabletPortrait,(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.letter}),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.colors.environment.percent40})),w=a.ZP.span(f(),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.letter}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.lineHeight})),O=a.ZP.div(m(),c.B.tabletPortrait,(function(n){return n.theme.spacing.spacing02}));function P(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{t.d(e,{H:()=>d,L:()=>u});var r=t(67294),i=t(55285),a=t(7072);function o(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function c(n){for(var e=1;e5&&void 0!==arguments[5]?arguments[5]:"Relevance";return r.createElement("script",{type:"application/ld+json",id:n},JSON.stringify(c({"@context":"http://schema.org"},(0,a.mC)({itemListOrder:s,items:t.map((function(n){return l(c({},n),{url:(0,i.KA)(e,n.slug),image:n.images.large.path})})),numberOfItems:o,url:u}))))};function s(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function p(n,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):function(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}return t}(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})),n}var d=function(n,e,t){var a=t.map((function(n){return p(function(n){for(var e=1;e{t.d(e,{KL:()=>l,kK:()=>u,mC:()=>c});var r=t(68551);function i(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function a(n){for(var e=1;e{t.d(e,{G:()=>l,r:()=>u});var r=t(82277);function i(n,e,t,r,i,a,o){try{var c=n[a](o),l=c.value}catch(n){return void t(n)}c.done?e(l):Promise.resolve(l).then(r,i)}function a(n){return function(){var e=this,t=arguments;return new Promise((function(r,a){var o=n.apply(e,t);function c(n){i(o,r,a,c,l,"next",n)}function l(n){i(o,r,a,c,l,"throw",n)}c(void 0)}))}}var o,c=function(n,e){var t,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]{t.d(e,{Z:()=>D});var r=t(67294),i=t(71893),a=t(38770),o=t(30305),c=t(42347);function l(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function u(){var n=l(["\n padding-right: 0;\n padding-left: 0;\n padding-bottom: ",";\n\n position: absolute;\n width: 100%;\n\n "," {\n padding-left: 0;\n padding-right: 0;\n }\n\n /* Pagination */\n .swiper-pagination-bullets-dynamic {\n font-size: 0;\n overflow: hidden;\n .swiper-pagination-bullet {\n position: relative;\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-main {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n }\n }\n .swiper-pagination-bullet {\n border: "," solid ",";\n border-radius: 50%;\n background: ",";\n display: inline-block;\n height: ",";\n width: ",";\n }\n button.swiper-pagination-bullet {\n border: none;\n box-shadow: none;\n margin: 0;\n padding: 0;\n -webkit-appearance: none;\n appearance: none;\n }\n .swiper-pagination-clickable .swiper-pagination-bullet {\n cursor: pointer;\n }\n .swiper-pagination-bullet:only-child {\n display: none !important;\n }\n .swiper-pagination-bullet-active {\n background: ",";\n }\n\n .swiper-container-horizontal > .swiper-pagination-bullets {\n bottom: 0;\n position: absolute;\n text-align: center;\n width: 100%;\n z-index: 1;\n }\n .swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {\n margin: 0 ",";\n }\n .swiper-container-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n }\n .swiper-container-horizontal\n > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic\n .swiper-pagination-bullet {\n transition: 200ms transform, 200ms left;\n }\n .swiper-container-horizontal.swiper-container-rtl\n > .swiper-pagination-bullets-dynamic\n .swiper-pagination-bullet {\n transition: 200ms transform, 200ms right;\n }\n .swiper-pagination-clickable .swiper-pagination-bullet {\n cursor: pointer;\n }\n"]);return u=function(){return n},n}function s(){var n=l(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n padding-left: ",";\n "," {\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n padding-left: ",";\n }\n "," {\n padding-left: 0;\n }\n"]);return s=function(){return n},n}function p(){var n=l(["\n .swiper-container {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: ",";\n overflow: hidden;\n }\n\n .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: ",";\n display: flex;\n transition-property: transform;\n box-sizing: content-box;\n }\n .swiper-container-android .swiper-slide,\n .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n }\n .swiper-container-multirow > .swiper-wrapper {\n flex-wrap: wrap;\n }\n\n .swiper-container-pointer-events {\n touch-action: pan-y;\n }\n .swiper-container-pointer-events.swiper-container-vertical {\n touch-action: pan-x;\n }\n .swiper-slide {\n flex-shrink: 0;\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n transition-property: transform;\n }\n .swiper-slide-invisible-blank {\n visibility: hidden;\n }\n /* Auto Height */\n .swiper-container-autoheight,\n .swiper-container-autoheight .swiper-slide {\n height: auto;\n }\n .swiper-container-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n }\n\n .swiper-container-horizontal.swiper-container-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n }\n\n .swiper-button-prev,\n .swiper-button-next {\n background: ",";\n width: ",";\n height: ",";\n border: 1px solid ",";\n border-radius: 4px;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: ",";\n display: none;\n "," {\n display: block;\n }\n &:hover {\n cursor: pointer;\n }\n }\n\n .swiper-button-prev {\n left: 0;\n }\n .swiper-button-next {\n right: 0;\n }\n .swiper-button-prev:after,\n .swiper-button-next:after {\n content: '';\n display: inline-block;\n border-right: 2px solid ",";\n border-bottom: 2px solid ",";\n width: 14px;\n height: 14px;\n transform: rotate(-45deg);\n margin: 16px 13px 13px 13px;\n }\n .swiper-button-prev:after {\n content: '';\n transform: rotate(135deg);\n margin: 16px 16px 16px 18px;\n }\n .swiper-button-prev.swiper-button-disabled,\n .swiper-button-next.swiper-button-disabled {\n opacity: 0.2;\n &:hover {\n cursor: auto;\n }\n }\n\n /* Common Styles */\n .swiper-pagination-fraction,\n .swiper-pagination-custom,\n .swiper-slide a {\n height: 100%;\n &:hover {\n color: ",";\n }\n }\n\n &.not-hydrated {\n .swiper-button-next,\n .swiper-button-prev {\n display: none;\n }\n .swiper-wrapper {\n display: flex;\n flex-wrap: nowrap;\n }\n\n .swiper-slide {\n margin-right: ",";\n "," {\n margin-right: 1rem;\n }\n "," {\n margin-right: 1rem;\n }\n "," {\n margin-right: ",";\n }\n &.swiper-slide-duplicate {\n flex: 0 0 0;\n width: 0;\n height: 0;\n margin: 0;\n overflow: hidden;\n }\n }\n }\n"]);return p=function(){return n},n}function d(){var n=l(["\n position: relative;\n height: 146px;\n"]);return d=function(){return n},n}function g(){var n=l([""]);return g=function(){return n},n}function f(){var n=l(["\n margin-bottom: ",";\n"]);return f=function(){return n},n}var m=(0,i.ZP)(a.W)(u(),(function(n){return n.theme.spacing.spacing02}),o.B.tabletLandscape,(function(n){return n.theme.spacing.spacing0025}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing005})),h=i.ZP.h2(s(),(function(n){return n.theme.typography.header.h3.weight}),(function(n){return n.theme.typography.header.h3.size}),(function(n){return n.theme.typography.header.h3.lineHeight}),(function(n){return n.theme.spacing.spacing03}),(function(n){return n.theme.spacing.spacing02}),o.B.tabletPortrait,(function(n){return n.theme.typography.header.h2.weight}),(function(n){return n.theme.typography.header.h2.size}),(function(n){return n.theme.typography.header.h2.lineHeight}),(function(n){return n.theme.spacing.spacing03}),o.B.tabletLandscape),v=i.ZP.div(p(),(function(n){return n.theme.layout.zIndex.base}),(function(n){return n.theme.layout.zIndex.base}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.spacing.spacing06}),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.layout.zIndex.default}),o.B.tabletLandscape,(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing02}),o.B.tabletPortrait,o.B.tabletLandscape,o.B.desktopLarge,(function(n){return n.theme.spacing.spacing03})),y=i.ZP.div(d()),b=i.ZP.h3(g()),w=(0,i.ZP)(c.r)(f(),(function(n){return n.theme.spacing.spacing02})),O=t(64519),P=t(24002),x=t(63845),E=t(95186),Z=t(52997),k=t(33947),j=t(13817),I=t(43018),_=t(26793);function A(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{t.d(e,{a:()=>a});var r=t(16550),i=t(67294),a=function(){var n=(0,r.TH)().search;return(0,i.useMemo)((function(){return new URLSearchParams(n)}),[n])}}}]); //# sourceMappingURL=ValorationView.js.map