(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[10388],{21529:(n,e,t)=>{"use strict";t.d(e,{Z:()=>O});var r,i,o,a,c,l,s=t(29439),u=t(28225),d=t(30168),p=t(30305),f=t(50693),m=t(71893),g=m.ZP.div(r||(r=(0,d.Z)(["\n "," {\n flex: 1;\n }\n\n "," {\n flex: auto;\n }\n"])),p.B.tabletPortrait,p.B.desktop),h=m.ZP.p(i||(i=(0,d.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n margin-bottom: ",";\n\n "," {\n justify-content: center;\n align-self: flex-start;\n max-width: 518px;\n margin-bottom: 0;\n }\n\n "," {\n margin-bottom: ",";\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}),p.B.tabletPortrait,p.B.desktop,(function(n){return n.theme.spacing.spacing02})),v=m.ZP.p(o||(o=(0,d.Z)(["\n display: block;\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n color: ",";\n"])),(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.theme.colors.black})),y=(0,m.ZP)(f.z)(a||(a=(0,d.Z)(["\n width: fit-content;\n display: inline-flex;\n white-space: nowrap;\n width: fill-available;\n justify-content: center;\n\n "," {\n height: ",";\n margin-left: ",";\n width: auto;\n }\n\n "," {\n margin-left: 0;\n width: fill-available;\n }\n"])),p.B.tabletPortrait,(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing03}),p.B.desktop),b=m.ZP.div(c||(c=(0,d.Z)(["\n border-radius: 6px;\n border: 1px solid #ccc;\n display: flex;\n align-items: center;\n height: fit-content;\n margin-bottom: ",";\n padding: ",";\n width: 100%;\n"])),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing03})),w=m.ZP.div(l||(l=(0,d.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 width: 327px;\n }\n"])),p.B.tabletPortrait,p.B.desktop),x=t(85893);const O=function(n){var e=n.handleAddQuestion,t=(0,u.$G)(),r=(0,s.Z)(t,1)[0];return(0,x.jsx)(b,{children:(0,x.jsxs)(w,{children:[(0,x.jsxs)(g,{children:[(0,x.jsx)(v,{children:r("questionsAnswers.newQuestion")}),(0,x.jsx)(h,{children:r("questionsAnswers.newQuestionText")})]}),(0,x.jsx)(y,{onClick:e,children:r("questionsAnswers.newQuestionButton")})]})})}},35905:(n,e,t)=>{"use strict";t.d(e,{E:()=>o,J:()=>i});var r=t(91085),i={es_ES:r.Z5.ADD_QUESTION,fr_FR:r.Z5.ADD_QUESTION_FR,it_IT:r.Z5.ADD_QUESTION_IT,pt_PT:r.Z5.ADD_QUESTION_PT},o={es_ES:r.Z5.MASS_ANSWERS,fr_FR:r.Z5.MASS_ANSWERS_FR,it_IT:r.Z5.MASS_ANSWERS_IT,pt_PT:r.Z5.MASS_ANSWERS_PT}},60338:(n,e,t)=>{"use strict";t.d(e,{Z:()=>o});t(57327),t(67294);var r=t(53996),i=t(85893);const o=function(n){var e=n.slug,t=n.idArticle,o=n.replyIdToOpen,a=n.usersBadges,c=n.badgesList,l=n.data,s=n.query,u=n.handlers,d=n.isTranslationOnDemandActive,p=n.handleOpenVerifiedModal;return(0,i.jsx)(r._,{slug:e,verified:!!l.idPurchase,idArticle:t,badges:c||[],userBadges:a.filter((function(n){return n.idUser===l.user.id})),comment:l,openReplyOnLoad:(null===s||void 0===s?void 0:s.openReply)&&!(null!==s&&void 0!==s&&s.reply)&&(null===s||void 0===s?void 0:s.goTo)===l.id,replyIdToOpen:o,expandOnLoad:!(null===s||void 0===s||!s.reply),isMoreUseful:!0,isTranslationOnDemandActive:!!d,handlers:u,handleOpenVerifiedModal:p})}},90562:(n,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>ut});t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var r=t(64572),i=(t(69826),t(82526),t(41817),t(26833),t(47941),t(86706)),o=t(67294),a=t(38770),c=t(50693),l=t(71893),s=t(91044),u=t(30305);function d(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function p(){var n=d(["\n color: ",";\n font-size: 3rem;\n font-weight: 700;\n margin-top: ",";\n margin-bottom: ",";\n text-align: center;\n"]);return p=function(){return n},n}function f(){var n=d(["\n display: flex;\n justify-content: center;\n padding-bottom: ",";\n align-items: center;\n flex-direction: column;\n background: ",";\n"]);return f=function(){return n},n}function m(){var n=d(["\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 m=function(){return n},n}var g=(0,l.ZP)(s.X)(p(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.spacing.spacing02})),h=l.ZP.div(f(),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.colors.environment.percent05})),v=l.ZP.p(m(),(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}),u.B.tabletPortrait),y=t(33742),b=t(28225),w=t(65822),x=t(24702),O=t(7294),P=t(78161);function E(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t div {\n padding-top: 0;\n }\n"])),(function(n){return n.theme.spacing.spacing02})),un=t(97210),dn=t(29439),pn=(t(92222),t(51062)),fn=l.ZP.div(G||(G=(0,rn.Z)(["\n border-radius: 6px;\n border: 1px solid ",";\n display: flex;\n align-items: center;\n height: fit-content;\n margin-bottom: ",";\n gap: ",";\n padding: ",";\n\n "," {\n gap: ",";\n align-self: flex-start;\n padding: ",";\n }\n"])),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing02}),(function(n){var e=n.theme;return"".concat(e.spacing.spacing01," ").concat(e.spacing.spacing03)}),u.B.desktop,(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing03})),mn=l.ZP.div(W||(W=(0,rn.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 ")}),u.B.tabletPortrait,u.B.desktop,u.B.desktop),gn=l.ZP.div(q||(q=(0,rn.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex: 1;\n }\n"])),u.B.tabletPortrait),hn=l.ZP.div(J||(J=(0,rn.Z)(["\n margin: "," 0;\n"])),(function(n){return n.theme.spacing.spacing01})),vn=l.ZP.span(K||(K=(0,rn.Z)(["\n display: block;\n color: ",";\n ",";\n"])),(function(n){return n.theme.colors.success.main}),pn.g.captionRegular),yn=(0,l.ZP)(c.z)(Q||(Q=(0,rn.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"])),u.B.tabletPortrait,(function(n){return n.theme.spacing.spacing05}),u.B.desktop),bn=l.ZP.div(Y||(Y=(0,rn.Z)(["\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: center;\n align-items: flex-start;\n gap: ",";\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 }\n"])),(function(n){return n.theme.spacing.spacing02}),u.B.tabletPortrait,u.B.desktop),wn=l.ZP.div(X||(X=(0,rn.Z)(["\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n gap: ",";\n\n "," {\n flex-wrap: nowrap;\n }\n"])),(function(n){return n.theme.spacing.spacing02}),u.B.desktop),xn=l.ZP.div(nn||(nn=(0,rn.Z)(["\n display: flex;\n flex-direction: column;\n height: fit-content;\n\n "," {\n position: sticky;\n top: 9rem;\n }\n"])),u.B.desktop),On=l.ZP.div(en||(en=(0,rn.Z)(["\n display: none;\n\n "," {\n display: flex;\n }\n"])),u.B.desktop),Pn=t(1898),En=t(7730),jn=t(21529),Zn=t(35905);const _n=function(n){var e=n.product,t=e.id,r=e.name,i=e.price,o=e.originalPrice,a=e.discount,c=e.deliveryDate,l=e.marketable,s=e.image,u=e.slug,d=e.recommendedPrice,p=n.language,f=n.handleAddToCart,m=(0,b.$G)(),g=(0,dn.Z)(m,1)[0];return(0,V.jsxs)(xn,{children:[(0,V.jsxs)(fn,{id:"product-info-wrapper","data-testid":"product-info-wrapper",children:[(0,V.jsx)(mn,{children:(0,V.jsx)("img",{title:r,alt:r,src:"https://img.pccomponentes.com/".concat(s),loading:"lazy"})}),(0,V.jsxs)(bn,{children:[(0,V.jsxs)(gn,{children:[(0,V.jsx)(En.Z,{typo:"body2Regular",children:r}),(0,V.jsx)(hn,{children:(0,V.jsx)(Pn.Z,{price:i,size:"body2",crossedOutPrice:d&&d>Math.round(i)?d:o>i&&o||void 0,discountBadge:null!==a&&void 0!==a?a:void 0})}),c&&(0,V.jsx)(vn,{children:g("valoration.deliveryDate",{text:c})})]}),(0,V.jsxs)(wn,{children:[(0,V.jsx)(yn,{secondary:!0,onClick:function(){window.location.href="/"+u},children:g("valoration.viewProduct")}),l&&(0,V.jsx)(yn,{onClick:f,children:g("valoration.addToCart")})]})]})]}),(0,V.jsx)(On,{children:(0,V.jsx)(jn.Z,{handleAddQuestion:function(){return window.location.href="".concat(Zn.J[p||S.lI.es_ES],"?idArticle=").concat(t)}})})]})};var kn=t(26658),In=t(21668),Sn=t(32812),An=t(51990),Cn=t(39306),Dn=t(53996);function Rn(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function Tn(){var n=Rn(["\n display: flex;\n align-items: center;\n"]);return Tn=function(){return n},n}function Bn(){var n=Rn(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: ",";\n margin: "," 0;\n"]);return Bn=function(){return n},n}var Fn=l.ZP.div(Tn()),Ln=l.ZP.div(Bn(),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing03})),Vn=t(32957),Un=t(67294);function Mn(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t1,children:[null!==c&&void 0!==c&&c.valoration?i("valoration.titleValorationsList.one"):i("valoration.titleValorationsList.other")," "]}),(0,V.jsx)(An.o,{itemsProps:P.map((function(n){return{slug:f.slug,verified:!!n.idPurchase,comment:n,idArticle:f.id,key:n.id,badges:null!==m&&void 0!==m?m:[],userBadges:(null===g||void 0===g?void 0:g.filter((function(e){return e.idUser===n.user.id})))||[],handlers:O,openReplyOnLoad:null===c||void 0===c?void 0:c.openReply,isTranslationOnDemandActive:!0,replyIdToOpen:a,handleOpenVerifiedModal:function(){t.listHandlers[Cn.D.OPEN_CLOSE_MODAL_VERIFIED]&&t.listHandlers[Cn.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}}})),itemType:Dn._,headerComponent:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Sn.Z,{filterBarText:i("valoration.amount",{text:s.totalItems}),filterBarOptions:[{optionSelected:(null===u||void 0===u?void 0:u.selectedOrder)||"",label:i("valoration.sort.title"),options:null===d||void 0===d?void 0:d.order.map((function(n){return{name:i("valoration.sort.".concat(n)),id:n}})),handleChange:x[Cn.D.CHANGE_ORDER],id:"valorations-order-select"}],handleOpenFilterPanel:x[Cn.D.OPEN_CLOSE_FILTER_PANEL]}),(_!==D.BJ||Z!==C.c)&&(0,V.jsx)(Nn,{variants:w||[],selectedChannel:Z,selectedVariant:_,handleRemoveChannelFilter:x[Cn.D.REMOVE_CHANNEL_FILTER],handleRemoveVariantFilter:x[Cn.D.REMOVE_VARIANT_FILTER]})]}),loading:h,options:{pagination:{showPagination:!0,page:s.currentPage,onPageChange:x[Cn.D.NEXT_PAGE],infiniteScroll:!0,virtualFetch:!1,pageSize:s.itemsPerPage,totalPages:y?j:s.currentPage,texts:{loadMore:i("valoration.loadMore")}},styles:{gap:o.spacing.spacing03,margin:"".concat(o.spacing.spacing02," 0")}}}),0===P.length&&!h&&(0,V.jsx)(V.Fragment,{children:i("valoration.list_empty")})]})};var $n,Gn,Wn,qn,Jn,Kn,Qn,Yn,Xn,ne,ee=l.ZP.div($n||($n=(0,rn.Z)(["\n flex-direction: column;\n display: flex;\n "," {\n display: flex;\n flex-direction: column;\n }\n"])),u.B.desktop),te=(0,l.ZP)(s.X)(Gn||(Gn=(0,rn.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}),u.B.desktop,(function(n){return n.marginBottom?n.theme.spacing.spacing04:"0"})),re=l.ZP.div(Wn||(Wn=(0,rn.Z)(["\n margin-top: ",";\n\n "," {\n margin-top: ",";\n }\n"])),(function(n){return n.theme.spacing.spacing02}),u.B.tabletPortrait,(function(n){return n.theme.spacing.spacing04})),ie=t(60338),oe=t(36025),ae=t(16550),ce=t(29715),le=t(16186),se=l.ZP.div(qn||(qn=(0,rn.Z)(["\n background-color: ",";\n position: fixed;\n bottom: 0;\n left: 0;\n opacity: ",";\n z-index: ",";\n padding: ",";\n width: 100%;\n gap: ",";\n align-self: flex-start;\n box-shadow: 0px -1px 10px 0px rgba(0, 0, 0, 0.12), 0px -4px 5px 0px rgba(0, 0, 0, 0.14);\n ",";\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return!n.showBar&&"0"}),(function(n){var e=n.showBar,t=n.theme;return e&&t.layout.zIndex.header}),(function(n){var e=n.theme;return"".concat(e.spacing.spacing02," ").concat(e.spacing.spacing02," ").concat(e.spacing.spacing03," ").concat(e.spacing.spacing02)}),(function(n){return n.theme.spacing.spacing04}),(function(n){return!n.visible&&(0,l.iv)(Jn||(Jn=(0,rn.Z)(["\n display: none;\n "])))}),u.B.desktop),ue=l.ZP.div(Kn||(Kn=(0,rn.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: column;\n flex: 1;\n }\n"])),u.B.tabletPortrait),de=(l.ZP.span(Qn||(Qn=(0,rn.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\n "," {\n display: inline-flex;\n margin-top: 0;\n margin-bottom: 0;\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}),u.B.desktop),(0,l.ZP)(c.z)(Yn||(Yn=(0,rn.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"])),u.B.tabletPortrait)),pe=l.ZP.div(Xn||(Xn=(0,rn.Z)(["\n display: flex;\n flex: 1;\n flex-direction: column;\n justify-content: flex-start;\n gap: ",";\n"])),(function(n){return n.theme.spacing.spacing01})),fe=l.ZP.div(ne||(ne=(0,rn.Z)(["\n display: flex;\n align-items: flex-start;\n padding: 0;\n gap: ",";\n height: fit-content;\n margin: 0;\n flex-wrap: nowrap;\n width: 100%;\n"])),(function(n){return n.theme.spacing.spacing02})),me=t(47841),ge=t(81166);function he(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 ve(n){for(var e=1;e1,children:[l.length>1?o("valoration.title.other"):o("valoration.title.one")," - ",P]}),!(null!==s&&void 0!==s&&s.valoration)&&(0,V.jsx)(le.J,{productId:m,loading:!_,rating:{rating:C,totalComments:A,totalValorationsWithText:R,valorationAverage:S,recommend:D,functionalFeaturesAverages:_}}),p&&(0,V.jsx)(re,{id:"opinion-summary-container",children:(0,V.jsx)(be.G,{opinionSummary:p})}),!(null!==s&&void 0!==s&&s.valoration)&&!(null!==s&&void 0!==s&&s.media)&&Z&&Z.medias.length>0&&(0,V.jsx)(oe.Z,{slug:g,id:"carousel-medias-".concat(m),medias:Z.medias,settings:{loop:!1,onShowMore:function(){return a.push("?media=images")}},domain:r}),!(null!==s&&void 0!==s&&s.media)&&u&&(0,V.jsx)(kn.Z,{moreUseful:(0,V.jsx)(ie.Z,{slug:g,replyIdToOpen:d,idArticle:m,usersBadges:e.usersBadgesList||[],badgesList:e.badges,handlers:t.commentHandlers,data:u,isTranslationOnDemandActive:!0,handleOpenVerifiedModal:function(){t.listHandlers[Cn.D.OPEN_CLOSE_MODAL_VERIFIED]&&t.listHandlers[Cn.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}})}),!(null!==s&&void 0!==s&&s.media)&&(0,V.jsx)(Hn,{state:e,handlers:t}),(0,V.jsx)(ye,{hasOffer:k,fromScrollBar:T,totalDiscountPercentage:O,price:h,marketable:E,recommendedPrice:w,originalPrice:x,bestPrice:y,isWinnerPcc:v,href:g,handleAddToCart:f[Cn.D.ADD_TO_CART]||ce.Z})]})};var xe,Oe,Pe,Ee,je,Ze=t(93433),_e=t(15861),ke=t(64687),Ie=t.n(ke),Se=l.ZP.div(xe||(xe=(0,rn.Z)(["\n width: 100%;\n margin-top: ",";\n"])),(function(n){return n.theme.spacing.spacing03})),Ae=l.ZP.div(Oe||(Oe=(0,rn.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"])),u.B.desktop,(function(n){return n.theme.spacing.spacing03}),u.B.desktopLarge),Ce=l.ZP.div(Pe||(Pe=(0,rn.Z)(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing03})),De=l.ZP.div(Ee||(Ee=(0,rn.Z)(["\n flex: 1;\n"]))),Re=(0,l.ZP)(En.Z)(je||(je=(0,rn.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),Be=t(49670),Fe=t(58846),Le=function(){var n=(0,_e.Z)(Ie().mark((function n(e){var t,r;return Ie().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.page,r=e.articleId,n.abrupt("return",Fe.w.serviceGWFetch("/api-v1/show/valoration/".concat(r,"/media"),Be.w.GET,{page:t,numPageItems:60}));case 2:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),Ve=t(42347),Ue=t(90959),Me=t(37397);const ze=function(n){var e=n.media,t=n.numMedia,r=n.totalPages,i=n.page,a=n.articleId,c=n.slug,l=(0,b.$G)(),s=(0,dn.Z)(l,1)[0],u=(0,ae.k6)(),d=(0,o.useRef)(null),p=(0,o.useState)(i||0),f=(0,dn.Z)(p,2),m=f[0],g=f[1],h=(0,o.useState)(!1),v=(0,dn.Z)(h,2),y=v[0],w=v[1],x=(0,o.useState)(!!r&&m]+)>)/gi,"").substring(0,100),original_price:"".concat(v),added_date:t,url:"".concat(D,"/").concat(I),total_discount:"".concat(E),total_discount_percent:null!==j?"".concat(j):"0",ean:"".concat(S),part_number:A}])}({data:n,datalayer:t,domain:d}),location.href=v?"/cart/addItem/".concat(y,"?idOffer=").concat(v):"/cart/addItem/".concat(y)})),(0,r.Z)(a,Cn.D.ADD_FEEDBACK,O),(0,r.Z)(a,Cn.D.REMOVE_TOAST,(function(n){e((function(e){return tt(tt({},e),{},{toastToRemove:n})}))})),(0,r.Z)(a,Cn.D.OPEN_CLOSE_MODAL_VERIFIED,(function(n){e((function(e){return tt(tt({},e),{},{isVisibleVerifiedModal:n})}))})),(0,r.Z)(a,Cn.D.APPLY_VALORATIONS_FILTERS,(function(t){var r,i=t.channel,o=t.variant,a=(0,ae.Gn)(Qe.Tv[s]||Qe.Tv[S.lI.es_ES],{product:h||"unknown"});null!==b&&void 0!==b&&b.valoration&&1===m.length&&l.push(a),j({idChannel:C.Y[null!==i&&void 0!==i?i:C.c],order:null===(r=n.selectedFilters)||void 0===r?void 0:r.selectedOrder,includeVariants:o!==D.P$}),e((function(e){return tt(tt({},e),{},{isVisibleFilterPanel:!n.isVisibleFilterPanel,selectedFilters:tt(tt({},e.selectedFilters),{},{selectedChannel:i,selectedVariant:o})})}))})),(0,r.Z)(a,Cn.D.OPEN_CLOSE_FILTER_PANEL,(function(n){e((function(e){return tt(tt({},e),{},{isVisibleFilterPanel:n})}))})),(0,r.Z)(a,Cn.D.REMOVE_CHANNEL_FILTER,(function(){var t,r;j({idChannel:C.Y[C.c],order:null===(t=n.selectedFilters)||void 0===t?void 0:t.selectedOrder,includeVariants:(null===(r=n.selectedFilters)||void 0===r?void 0:r.selectedVariant)!==D.P$}),e((function(n){return tt(tt({},n),{},{selectedFilters:tt(tt({},n.selectedFilters),{},{selectedChannel:C.c})})}))})),(0,r.Z)(a,Cn.D.REMOVE_VARIANT_FILTER,(function(){var t,r,i;j({idChannel:C.Y[null!==(t=null===(r=n.selectedFilters)||void 0===r?void 0:r.selectedChannel)&&void 0!==t?t:C.c],order:null===(i=n.selectedFilters)||void 0===i?void 0:i.selectedOrder,includeVariants:!0}),e((function(n){return tt(tt({},n),{},{selectedFilters:tt(tt({},n.selectedFilters),{},{selectedVariant:D.BJ})})}))})),a),commentHandlers:(0,Ye.Z)({handlers:(c={},(0,r.Z)(c,Ke.p.REPORT,(function(n){var e=function(){var e=(0,_e.Z)(Ie().mark((function e(){var t,r,i,o,a;return Ie().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ge.v4)(tt(tt({},n),{},{language:s,domainExtension:u}));case 2:t=e.sent,r=t.data,i=t.ok,o=i&&r?r.status:Je.Q.ERROR,a=r?r.message:void 0,O({status:o,message:a,id:f});case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()})),(0,r.Z)(c,Ke.p.ADD_USEFUL,(function(n){var t=function(){var t=(0,_e.Z)(Ie().mark((function t(){var r,i,o,a,c;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Ge._9)(tt(tt({},n),{},{language:s,domainExtension:u}));case 2:r=t.sent,i=r.data,o=r.ok,a=o&&i?i.status:Je.Q.ERROR,c=i?i.message:void 0,a!==Je.Q.ERROR&&e((function(e){return tt(tt({},e),{},{items:e.items.map((function(e){return(0,nt.S1)(n.idComment,e)}))})})),O({status:a,message:c,id:f}),n.callback&&n.callback(o&&!!i&&"error"!==i.status);case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()})),(0,r.Z)(c,Ke.p.OPEN_CLOSE_REPLY,E),(0,r.Z)(c,Ke.p.ADD_COMMENT,(function(n){var e=n.id;E({idComment:e,open:!1});var t=function(){var t=(0,_e.Z)(Ie().mark((function t(){var r,i,o,a,c,l;return Ie().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Ge.hs)(tt(tt({},n),{},{parent:e,language:s,domainExtension:u}));case 2:o=t.sent,a=o.data,c=null!==(r=null===a||void 0===a?void 0:a.status)&&void 0!==r?r:Je.Q.ERROR,l=null!==(i=null===a||void 0===a?void 0:a.message)&&void 0!==i?i:"valoration.something_wrong",O({id:f,message:l,status:c});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()})),(0,r.Z)(c,Ke.p.TOGGLE_TRANSLATION,(function(t){var r=t.idComment,i=t.showOriginal,o=n.mostUsefulItem&&n.mostUsefulItem.id===r?n.mostUsefulItem:n.items.find((function(n){return n.id===r}));if(o){if(!i){if(o.currentVersion.comment[p])return e((function(n){return tt(tt({},n),{},{items:n.items.map((function(n){return n.id===r?tt(tt({},n),{},{selectedLanguage:p}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===r&&{mostUsefulItem:tt(tt({},n.mostUsefulItem),{},{selectedLanguage:p})})}));e((function(n){return tt(tt({},n),{},{items:n.items.map((function(n){return n.id===r?tt(tt({},n),{},{loading:!0}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===r&&{mostUsefulItem:tt(tt({},n.mostUsefulItem),{},{loading:!0})})}));var a=function(){var n=(0,_e.Z)(Ie().mark((function n(){var t,i,a;return Ie().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Ge.LH)({id:o.id,language:p,headers:{"x-selected-language":s,"x-domain-extension":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 tt(tt({},n),{},{items:n.items.map((function(n){return n.id===r?tt(tt({},n),{},{loading:!1}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===r&&{mostUsefulItem:tt(tt({},n.mostUsefulItem),{},{loading:!1})})})));case 7:a=(0,Xe.qD)(i),e((function(n){return tt(tt({},n),{},{items:n.items.map((function(n){return n.id===r?tt(tt(tt({},n),a),{},{loading:!1,selectedLanguage:p}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===r&&{mostUsefulItem:tt(tt(tt({},n.mostUsefulItem),a),{},{selectedLanguage:p,loading:!1})})}));case 9:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return a()}return e((function(n){return tt(tt({},n),{},{items:n.items.map((function(n){return n.id===r?tt(tt({},n),{},{selectedLanguage:n.currentVersion.language}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===r&&{mostUsefulItem:tt(tt({},n.mostUsefulItem),{},{selectedLanguage:n.mostUsefulItem.currentVersion.language})})}))}})),c),translationKey:"valoration"})}}(c,a.setState,t);!function(n){var e=(0,i.v9)(S.lE),t=(0,i.v9)(S.Fc),r=(0,o.useCallback)((0,_e.Z)(Ie().mark((function r(){var i,o,a,c,l,s,u,d;return Ie().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(i=sessionStorage.getItem("provide-usefull-valoration-feedback"))){r.next=10;break}if(null===(o=JSON.parse(i))||void 0===o||!o.idComment||null!==o&&void 0!==o&&o.sent){r.next=10;break}return r.next=6,(0,Ge._9)({idComment:null===o||void 0===o?void 0:o.idComment,language:e,domainExtension:t});case 6:a=r.sent,c=a.data,n({status:null===c||void 0===c?void 0:c.status,message:null===c||void 0===c?void 0:c.message,id:String(Math.random())}),sessionStorage.removeItem("provide-usefull-valoration-feedback");case 10:if(!(l=sessionStorage.getItem("report-valoration-feedback"))){r.next=21;break}if(null===(s=JSON.parse(l))||void 0===s||!s.idComment||null!==s&&void 0!==s&&s.sent){r.next=21;break}if(null===s||void 0===s||!s.idComment||null!==s&&void 0!==s&&s.sent){r.next=21;break}return r.next=17,(0,Ge.v4)({idComment:null===s||void 0===s?void 0:s.idComment,language:e,domainExtension:t});case 17:u=r.sent,d=u.data,n({status:null===d||void 0===d?void 0:d.status,message:null===d||void 0===d?void 0:d.message,id:String(Math.random())}),sessionStorage.removeItem("report-valoration-feedback");case 21:case"end":return r.stop()}}),r)}))),[t,n,e]);(0,o.useEffect)((function(){r()}),[])}(null===l||void 0===l?void 0:l.listHandlers[Cn.D.ADD_FEEDBACK]);var s=(0,i.v9)(P.CC),u=(0,i.v9)(P.oz),d=c.product,p=d.id,f=d.media,m=d.slug,g=c.query,h=c.variants,v=c.language,y=c.selectedFilters,b=l.listHandlers;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(an,{children:[(0,V.jsx)(sn,{children:(0,V.jsx)(un.Breadcrumb,{})}),(0,V.jsxs)(cn,{children:[(0,V.jsx)(_n,{product:c.product,handleAddToCart:b[Cn.D.ADD_TO_CART]||ce.Z,language:v}),(0,V.jsx)(we,{state:c,handlers:l,redirectToValoration:s||"",translationKey:"valoration",domain:u})]}),(null===g||void 0===g?void 0:g.media)&&(0,V.jsx)(ln,{noMargin:!0}),(null===g||void 0===g?void 0:g.media)&&(0,V.jsx)(ze,{slug:m,articleId:p,mediaType:"videos"===(null===g||void 0===g?void 0:g.media)?Ne.Tv.VIDEO:Ne.Tv.IMAGE,media:null===f||void 0===f?void 0:f.medias,numMedia:null===f||void 0===f?void 0:f.totalMedias,totalPages:null===f||void 0===f?void 0:f.totalPages})]}),c.toasts.map((function(n){return(0,V.jsx)(rt.Z,{closable:!0,status:n.status,message:n.message,onClose:function(){b[Cn.D.REMOVE_TOAST]&&b[Cn.D.REMOVE_TOAST](n.id)}},n.id)})),(0,V.jsx)(it._,{onClose:function(){b[Cn.D.OPEN_CLOSE_MODAL_VERIFIED]&&b[Cn.D.OPEN_CLOSE_MODAL_VERIFIED](!1)},visible:!!c.isVisibleVerifiedModal}),(0,V.jsx)(ot.h,{onClose:function(){b[Cn.D.OPEN_CLOSE_FILTER_PANEL]&&b[Cn.D.OPEN_CLOSE_FILTER_PANEL](!1)},visible:!!c.isVisibleFilterPanel,variants:h,selectedChannel:Object.keys(C.Y).find((function(n){return(null===y||void 0===y?void 0:y.selectedChannel)===n})),selectedVariant:null===y||void 0===y?void 0:y.selectedVariant,handleApplyFilters:b[Cn.D.APPLY_VALORATIONS_FILTERS]})]})},ct=t(1589);function lt(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 st(n){for(var e=1;e{var r=t(19781),i=t(1702),o=t(81956),a=t(45656),c=i(t(55296).f),l=i([].push),s=function(n){return function(e){for(var t,i=a(e),s=o(i),u=s.length,d=0,p=[];u>d;)t=s[d++],r&&!c(i,t)||l(p,n?[t,i[t]]:i[t]);return p}};n.exports={entries:s(!0),values:s(!1)}},69826:(n,e,t)=>{"use strict";var r=t(82109),i=t(42092).find,o=t(51223),a="find",c=!0;a in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c},{find:function(n){return i(this,n,arguments.length>1?arguments[1]:void 0)}}),o(a)},26833:(n,e,t)=>{var r=t(82109),i=t(44699).values;r({target:"Object",stat:!0},{values:function(n){return i(n)}})},41817:(n,e,t)=>{"use strict";var r=t(82109),i=t(19781),o=t(17854),a=t(1702),c=t(92597),l=t(60614),s=t(47976),u=t(41340),d=t(3070).f,p=t(99920),f=o.Symbol,m=f&&f.prototype;if(i&&l(f)&&(!("description"in m)||void 0!==f().description)){var g={},h=function(){var n=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),e=s(m,this)?new f(n):void 0===n?f():f(n);return""===n&&(g[e]=!0),e};p(h,f),h.prototype=m,m.constructor=h;var v="Symbol(test)"==String(f("test")),y=a(m.valueOf),b=a(m.toString),w=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),O=a("".slice);d(m,"description",{configurable:!0,get:function(){var n=y(this);if(c(g,n))return"";var e=b(n),t=v?O(e,7,-1):x(e,w,"$1");return""===t?void 0:t}}),r({global:!0,constructor:!0,forced:!0},{Symbol:h})}},85664:(n,e,t)=>{"use strict";t.d(e,{C:()=>c});var r,i,o=t(82856),a=t(71893),c=a.ZP.span(r||(r=(0,o.Z)(["\n display: inline-block;\n border: 1px solid transparent;\n border-radius: 4px;\n padding: ","\n "," 2px;\n font-size: ",";\n line-height: ",";\n color: ",";\n background: ",";\n margin: ",";\n font-weight: ",";\n\n ","\n"])),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.typography.header.h6.size}),(function(n){return n.theme.typography.header.h6.lineHeight}),(function(n){var e=n.theme;return n.textColor||e.colors.white}),(function(n){var e=n.theme;return n.bgColor||e.colors.secondary.main}),(function(n){return n.isolated?"0":"0 ".concat(n.theme.spacing.spacing01)}),(function(n){return n.bold?700:400}),(function(n){var e=n.theme,t=n.bgColor;return n.outline&&(0,a.iv)(i||(i=(0,o.Z)(["\n background: ",";\n border: 1px solid ",";\n "])),e.colors.white,t||e.colors.secondary.main)}))},32957:(n,e,t)=>{"use strict";t.d(e,{D:()=>y});var r,i,o,a=t(96891),c=t(39780),l=t(67294),s=t(63742),u=t(82856),d=t(71893),p=d.ZP.span(r||(r=(0,u.Z)(["\n display: flex;\n width: fit-content;\n align-items: center;\n justify-content: center;\n padding: 0;\n min-height: 32px;\n border-radius: 32px;\n background-color: ",";\n color: black;\n font-family: ",";\n font-size: ",";\n line-height: ",";\n text-align: center;\n transition: all 0.3s;\n\n ","\n\n ","\n\n \n ","\n\n\n ","\n"])),(function(n){return n.theme.colors.environment.percent05}),(function(n){return n.theme.typography.global.family}),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body1Regular.lineHeight}),(function(n){return n.$outlined&&"\n background-color: ".concat(n.theme.colors.white,";\n border: 1px solid ").concat(n.theme.colors.environment.percent20,";\n ")}),(function(n){return n.$clickable&&"\n cursor: pointer;\n &:hover {\n background-color: ".concat(n.theme.colors.environment.percent20,";\n }\n ")}),(function(n){return n.$clickable&&n.$outlined&&"\n &:hover {\n background-color: ".concat(n.theme.colors.environment.percent05,";\n }\n ")}),(function(n){return n.$deletable&&"\n cursor: pointer;\n &:hover {\n background-color: ".concat(n.$outlined?n.theme.colors.white:n.theme.colors.environment.percent05,";\n }\n svg {\n background-color: ").concat(n.theme.colors.environment.percent20,";\n margin-left: ").concat(n.theme.spacing.spacing01,";\n border-radius: 50%;\n fill: ").concat(n.theme.colors.black,";\n }\n &:hover svg {\n background-color: ").concat(n.theme.colors.environment.percent35,";\n }\n ")})),f=d.ZP.div(i||(i=(0,u.Z)(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: ","\n ",";\n"])),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing01})),m=d.ZP.div(o||(o=(0,u.Z)(["\n width: fit-content;\n margin: 0;\n height: 16px;\n"]))),g=["outlined","deletable","clickable","text"];function h(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 v(n){for(var e=1;e{"use strict";t.d(e,{h:()=>x});var r=t(67294),i=t(81973),o=t(28225),a=t(86706),c=t(54461),l=t(15588),s=t(71893),u=t(27391),d=t(15662);function p(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function f(){var n=p(["\n padding-bottom: ",";\n margin-bottom: ",";\n"]);return f=function(){return n},n}function m(){var n=p(["\n & div {\n min-width: 1.5rem;\n }\n"]);return m=function(){return n},n}var g=(0,s.ZP)(u.U)(f(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02})),h=(0,s.ZP)(d.g)(m()),v=t(18260),y=t(94883);function b(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&r.createElement(g,{active:!0,title:m("valoration.filter.variant"),elements:[{content:r.createElement(h,{htmlRadioId:m("valoration.filter.all_variants"),label:m("valoration.filter.all_variants"),onChangeChecked:function(){return P({channel:O.channel,variant:l.BJ})},checked:O.variant===l.BJ})},{content:r.createElement(h,{htmlRadioId:_||"",label:_||"",onChangeChecked:function(){return P({channel:O.channel,variant:l.P$})},checked:O.variant===l.P$})}]}))}},81166:(n,e,t)=>{"use strict";t.d(e,{b:()=>R});var r=t(30305),i=t(51062),o=t(71893);function a(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function c(){var n=a(["\n width: 100%;\n gap: ",";\n "]);return c=function(){return n},n}function l(){var n=a(["\n display: flex;\n flex-direction: column-reverse;\n "," {\n ",";\n flex-direction: ",";\n }\n"]);return l=function(){return n},n}function s(){var n=a(["\n display: flex;\n align-items: center;\n"]);return s=function(){return n},n}function u(){var n=a(["\n display: flex;\n align-items: flex-start;\n margin-right: ",";\n color: ",";\n"]);return u=function(){return n},n}function d(){var n=a(["\n ",";\n"]);return d=function(){return n},n}function p(){var n=a(["\n ",";\n margin-top: ",";\n margin-left: ",";\n"]);return p=function(){return n},n}function f(){var n=a(["\n text-decoration: line-through;\n margin-right: ",";\n"]);return f=function(){return n},n}function m(){var n=a(["\n display: none;\n "]);return m=function(){return n},n}function g(){var n=a(["\n width: ",";\n height: ",";\n margin-left: ",";\n svg {\n fill: ",";\n width: 100%;\n height: 100%;\n }\n cursor: pointer;\n "," {\n ",";\n }\n"]);return g=function(){return n},n}function h(){var n=a(["\n display: none;\n "," {\n display: block;\n }\n"]);return h=function(){return n},n}function v(){var n=a(["\n ",";\n color: ",";\n margin-bottom: 0;\n "," {\n margin-right: ",";\n }\n"]);return v=function(){return n},n}var y=o.ZP.div(l(),r.B.tabletPortrait,(function(n){return n.showInline&&(0,o.iv)(c(),(function(n){return n.theme.spacing.spacing01}))}),(function(n){return n.showInline?"row":"column-reverse"})),b=o.ZP.div(s()),w=o.ZP.span(u(),(function(n){return n.theme.spacing.spacing01}),(function(n){var e=n.theme;return n.highlighted?e.colors.danger.main:e.colors.black})),x=o.ZP.span(d(),i.g.header.h1),O=o.ZP.span(p(),i.g.header.h4,(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing005})),P=o.ZP.span(f(),(function(n){return n.theme.spacing.spacing01})),E=o.ZP.div(g(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.colors.environment.percent35}),r.B.tabletPortrait,(function(n){return n.showInlineActive&&(0,o.iv)(m())})),j=(0,o.ZP)(E)(h(),r.B.tabletPortrait),Z=o.ZP.div(v(),i.g.header.h2,(function(n){return n.theme.colors.environment.percent35}),r.B.desktop,(function(n){return n.theme.spacing.spacing02})),_=t(63742),k=t(7730),I=t(64960),S=t(28225),A=t(67294);function C(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{"use strict";t.d(e,{G:()=>k});var r=t(30305),i=t(42347),o=t(71893);function a(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function c(){var n=a(["\n display: flex;\n flex-direction: column;\n gap: ",";\n "," {\n flex-direction: row;\n flex-wrap: wrap;\n }\n "," {\n gap: ",";\n }\n"]);return c=function(){return n},n}function l(){var n=a(["\n display: flex;\n flex-direction: column;\n"]);return l=function(){return n},n}function s(){var n=a(["\n display: flex;\n flex-direction: column;\n gap: ",";\n "," {\n flex-direction: row;\n }\n "," {\n gap: ",";\n }\n"]);return s=function(){return n},n}function u(){var n=a(["\n flex: 1;\n min-width: 13.75rem;\n max-width: 13.75rem;\n"]);return u=function(){return n},n}function d(){var n=a(["\n border-right: 1px solid ",";\n padding-right: ",";\n "]);return d=function(){return n},n}function p(){var n=a(["\n padding-right: ",";\n "]);return p=function(){return n},n}function f(){var n=a(["\n border: none;\n padding-right: 0;\n max-width: max-content;\n "," {\n ","\n flex: 1;\n }\n\n "," {\n ","\n }\n"]);return f=function(){return n},n}function m(){var n=a(["\n list-style: none;\n"]);return m=function(){return n},n}function g(){var n=a(["\n text-decoration: underline;\n display: inline-block;\n"]);return g=function(){return n},n}var h=o.ZP.div(c(),(function(n){return n.theme.spacing.spacing03}),r.B.tabletPortrait,r.B.desktop,(function(n){return n.theme.spacing.spacing04})),v=o.ZP.div(l()),y=o.ZP.div(s(),(function(n){return n.theme.spacing.spacing03}),r.B.tabletPortrait,r.B.desktop,(function(n){return n.theme.spacing.spacing04})),b=(0,o.ZP)(v)(u()),w=(0,o.ZP)(v)(f(),r.B.tabletPortrait,(function(n){return n.showBorder&&(0,o.iv)(d(),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.spacing.spacing03}))}),r.B.desktop,(function(n){return n.showBorder&&(0,o.iv)(p(),(function(n){return n.theme.spacing.spacing04}))})),x=o.ZP.ul(m()),O=(0,o.ZP)(i.r)(g()),P=t(28225),E=t(67294),j=t(67294);function Z(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t375,c=_((0,E.useState)(!a),2),l=c[0],s=c[1],u=(0,E.useMemo)((function(){return e=375,(n=r).length>e?n.slice(0,e-1):n;var n,e}),[r]),d=i.length>0,p=o.length>0,f=d||p;return j.createElement(h,null,j.createElement(w,{showBorder:f},j.createElement("h5",null,t("valoration.summary.comment_title")),j.createElement("p",null,l?r:u,!l&&a&&j.createElement(j.Fragment,null,"… "),a&&j.createElement(O,{onClick:function(){return s((function(n){return!n}))}},t(l?"valoration.summary.see_less_link":"valoration.summary.see_more_link")))),f&&j.createElement(y,null,d&&j.createElement(b,null,j.createElement("h5",null,t("valoration.summary.pros_title")),j.createElement(x,null,i.map((function(n,e){return j.createElement("li",{key:e},n)})))),p&&j.createElement(b,null,j.createElement("h5",null,t("valoration.summary.cons_title")),j.createElement(x,null,o.map((function(n,e){return j.createElement("li",{key:e},n)}))))))}},36025:(n,e,t)=>{"use strict";t.d(e,{Z:()=>R});var r=t(67294),i=t(71893),o=t(38770),a=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 s(){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 s=function(){return n},n}function u(){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 u=function(){return n},n}function d(){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 d=function(){return n},n}function p(){var n=l(["\n position: relative;\n height: 146px;\n"]);return p=function(){return n},n}function f(){var n=l([""]);return f=function(){return n},n}function m(){var n=l(["\n margin-bottom: ",";\n"]);return m=function(){return n},n}var g=(0,i.ZP)(o.W)(s(),(function(n){return n.theme.spacing.spacing02}),a.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(u(),(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}),a.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}),a.B.tabletLandscape),v=i.ZP.div(d(),(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}),a.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}),a.B.tabletPortrait,a.B.tabletLandscape,a.B.desktopLarge,(function(n){return n.theme.spacing.spacing03})),y=i.ZP.div(p()),b=i.ZP.h3(f()),w=(0,i.ZP)(c.r)(m(),(function(n){return n.theme.spacing.spacing02})),x=t(64519),O=t(24002),P=t(63845),E=t(95186),j=t(52997),Z=t(46888),_=t(13817),k=t(22333),I=t(28225),S=t(12219),A=t(67294);function C(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{"use strict";t.d(e,{a:()=>o});var r=t(16550),i=t(67294),o=function(){var n=(0,r.TH)().search;return(0,i.useMemo)((function(){return new URLSearchParams(n)}),[n])}}}]); //# sourceMappingURL=ValorationView.js.map