"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[10388],{62196:(n,e,t)=>{t.d(e,{Z:()=>y});var i,r,o,a,c,s=t(30168),l=t(7730),d=t(71893),u=(0,d.ZP)(l.Z)(i||(i=(0,s.Z)(["\n color: ",";\n"])),(function(n){var e=n.theme;return n.isHighlighted?e.colors.danger.main:e.colors.black})),p=(0,d.ZP)(l.Z)(r||(r=(0,s.Z)(["\n text-decoration: line-through;\n margin-left: ",";\n"])),(function(n){return n.theme.spacing.spacing005})),g=d.ZP.div(o||(o=(0,s.Z)(["\n display: flex;\n flex-direction: ",";\n "," {\n margin-right: ",";\n }\n flex-wrap: wrap;\n"])),(function(n){return"vertical"===n.direction?"column":"row"}),u,(function(n){return n.theme.spacing.spacing01})),m=d.ZP.div(a||(a=(0,s.Z)(["\n margin-left: ",";\n"])),(function(n){return n.theme.spacing.spacing01})),h=(0,d.ZP)(l.Z)(c||(c=(0,s.Z)(["\n color: ",";\n margin-bottom: ",";\n"])),(function(n){return n.theme.colors.danger.main}),(function(n){return n.theme.spacing.spacing005})),f=t(77357),v=t(85893);const y=function(n){var e=n.price,t=n.crossedOutPrice,i=n.topText,r=n.direction,o=void 0===r?"horizontal":r,a=n.size,c=void 0===a?"body1":a,s=n.numberFormatLocale,d=void 0===s?{locale:"de-DE",currency:"EUR"}:s,y=n.discountBadge,b=new Intl.NumberFormat(d.locale,{style:"currency",currency:d.currency}),x=b.format(e),w=t?b.format(t.amount):null;return(0,v.jsxs)("div",{children:[!!i&&(0,v.jsx)(h,{typo:"captionBold",children:i}),(0,v.jsxs)(g,{direction:o,children:[(0,v.jsx)(u,{typo:"".concat(c,"Bold"),isHighlighted:Boolean(t),children:x}),!!t&&(0,v.jsxs)(v.Fragment,{children:[(null===t||void 0===t?void 0:t.text)&&(0,v.jsx)(l.Z,{typo:"".concat(c,"Regular"),children:t.text}),(0,v.jsx)(p,{typo:"".concat(c,"Regular"),children:w})]}),!!y&&!!t&&(0,v.jsx)(m,{children:(0,v.jsx)(f.Z,{discount:y})})]})]})}},21529:(n,e,t)=>{t.d(e,{Z:()=>O});var i,r,o,a,c,s,l=t(29439),d=t(28225),u=t(30168),p=t(30305),g=t(46229),m=t(71893),h=m.ZP.div(i||(i=(0,u.Z)(["\n "," {\n flex: 1;\n }\n\n "," {\n flex: auto;\n }\n"])),p.B.tabletPortrait,p.B.desktop),f=m.ZP.p(r||(r=(0,u.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,u.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)(g.z)(a||(a=(0,u.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,u.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})),x=m.ZP.div(s||(s=(0,u.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),w=t(85893);const O=function(n){var e=n.handleAddQuestion,t=(0,d.$G)(),i=(0,l.Z)(t,1)[0];return(0,w.jsx)(b,{children:(0,w.jsxs)(x,{children:[(0,w.jsxs)(h,{children:[(0,w.jsx)(v,{children:i("questionsAnswers.newQuestion")}),(0,w.jsx)(f,{children:i("questionsAnswers.newQuestionText")})]}),(0,w.jsx)(y,{onClick:e,children:i("questionsAnswers.newQuestionButton")})]})})}},35905:(n,e,t)=>{t.d(e,{E:()=>o,J:()=>r});var i=t(95703),r={es_ES:i.Z.ADD_QUESTION,fr_FR:i.Z.ADD_QUESTION_FR,it_IT:i.Z.ADD_QUESTION_IT,pt_PT:i.Z.ADD_QUESTION_PT},o={es_ES:i.Z.MASS_ANSWERS,fr_FR:i.Z.MASS_ANSWERS_FR,it_IT:i.Z.MASS_ANSWERS_IT,pt_PT:i.Z.MASS_ANSWERS_PT}},7218:(n,e,t)=>{t.d(e,{$G:()=>s,S1:()=>a,ff:()=>c});t(47941),t(82526),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var i=t(4942);t(83710),t(41539),t(39714),t(21249);function r(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function o(n){for(var e=1;e{t.d(e,{Z:()=>m});var i,r,o=t(29439),a=t(30168),c=(t(67294),t(71893)),s=t(30305),l=t(28225),d=t(21668),u=t(85893),p=c.ZP.div(i||(i=(0,a.Z)(["\n margin: "," 0 ",";\n\n "," {\n margin: "," 0 ",";\n }\n\n "," {\n border: 0;\n padding-top: 0;\n &&& "," {\n margin-top: 0;\n }\n &&& "," {\n margin-top: 0;\n }\n }\n"])),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing03}),s.B.tabletPortrait,(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing03}),s.B.desktop,d.zI,d.qe),g=c.ZP.h2(r||(r=(0,a.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n letter-spacing: ",";\n"])),(function(n){return n.theme.typography.body2Bold.size}),(function(n){return n.theme.typography.body2Bold.weight}),(function(n){return n.theme.typography.body2Bold.lineHeight}),(function(n){return n.theme.typography.body2Bold.letter}));const m=function(n){var e=n.moreUseful,t=(0,l.$G)(),i=(0,o.Z)(t,1)[0];return(0,u.jsxs)(p,{children:[(0,u.jsx)(g,{children:i("article.detail.valoration_more_useful")}),e]})}},60338:(n,e,t)=>{t.d(e,{Z:()=>o});t(67294);var i=t(76179),r=t(85893);const o=function(n){var e=n.slug,t=n.idArticle,o=n.replyIdToOpen,a=n.usersBadges,c=n.badgesList,s=n.data,l=n.query,d=n.handlers,u=n.isTranslationOnDemandActive,p=n.handleOpenVerifiedModal;return(0,r.jsx)(i._,{slug:e,verified:!!s.idPurchase,idArticle:t,badges:c||[],userBadges:(null===a||void 0===a?void 0:a[s.user.id])||[],comment:s,openReplyOnLoad:(null===l||void 0===l?void 0:l.openReply)&&!(null!==l&&void 0!==l&&l.reply)&&(null===l||void 0===l?void 0:l.goTo)===s.id,replyIdToOpen:o,expandOnLoad:!(null===l||void 0===l||!l.reply),isMoreUseful:!0,isTranslationOnDemandActive:!!u,handlers:d,handleOpenVerifiedModal:p})}},21668:(n,e,t)=>{t.d(e,{Dx:()=>w,JX:()=>j,Ly:()=>_,X2:()=>Z,dk:()=>I,kI:()=>S,pf:()=>k,qe:()=>R,zI:()=>E});var i,r,o,a,c,s,l,d,u,p,g,m,h,f,v=t(30168),y=t(71893),b=t(30305),x=t(3323),w=y.ZP.h2(i||(i=(0,v.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n margin-bottom: ",";\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.marginBottom?n.theme.spacing.spacing03:n.theme.spacing.spacing02})),O=(y.ZP.div(r||(r=(0,v.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: ",";\n }\n"])),b.B.desktop,(function(n){return n.isMoreUsefulValoration?"column":"row"})),(0,y.iv)(o||(o=(0,v.Z)(["\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n"])))),P=(0,y.iv)(a||(a=(0,v.Z)(["\n border-right: ",";\n"])),(function(n){return"1px solid ".concat(n.theme.colors.environment.percent20)})),Z=y.ZP.div(c||(c=(0,v.Z)(["\n display: inline-flex;\n flex-wrap: ",";\n align-items: center;\n ","\n width: 100%;\n\n & > a {\n &:not(:last-child) {\n ","\n }\n }\n"])),(function(n){return n.noWrap?"nowrap":"wrap"}),(function(n){return n.isColumn&&O}),(function(n){return n.hasSeparator&&P})),j=y.ZP.div(s||(s=(0,v.Z)(["\n margin-right: 0.75rem;\n"]))),_=y.ZP.span(l||(l=(0,v.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n font-size: ",";\n"])),(function(n){return n.theme.typography.body2Bold.size}),(function(n){return n.theme.typography.body2Bold.weight}),(function(n){return n.theme.typography.body2Bold.lineHeight}),(function(n){return n.theme.colors.black})),E=(y.ZP.div(d||(d=(0,v.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n letter-spacing: ",";\n color: ",";\n"])),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.letter}),(function(n){return n.theme.colors.environment.percent40})),y.ZP.div(u||(u=(0,v.Z)(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n letter-spacing: ",";\n align-items: center;\n display: flex;\n gap: ",";\n\n "," {\n margin-top: ",";\n }\n"])),(function(n){return n.theme.colors.success.main}),(function(n){return n.theme.typography.captionBold.size}),(function(n){return n.theme.typography.captionBold.weight}),(function(n){return n.theme.typography.captionBold.lineHeight}),(function(n){return n.theme.typography.captionBold.letter}),(function(n){return n.theme.spacing.spacing005}),b.B.desktop,(function(n){return n.theme.spacing.spacing01}))),k=(0,y.ZP)(x.i)(p||(p=(0,v.Z)(["\n width: 5.625rem;\n"]))),I=y.ZP.p(g||(g=(0,v.Z)(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n letter-spacing: ",";\n word-break: break-word;\n white-space: pre-wrap;\n"])),(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.typography.body2Regular.letter})),S=y.ZP.div(m||(m=(0,v.Z)(["\n flex-direction: column;\n margin-right: ",";\n\n "," {\n flex: 0.25;\n }\n"])),(function(n){return n.theme.spacing.spacing02}),b.B.desktop),R=y.ZP.div(h||(h=(0,v.Z)(["\n flex-direction: column;\n\n "," {\n flex: 1;\n margin-top: ",";\n }\n"])),b.B.desktop,(function(n){return n.theme.spacing.spacing03}));y.ZP.a(f||(f=(0,v.Z)(["\n text-decoration: none;\n padding: 0 1rem;\n"])))},39306:(n,e,t)=>{var i;t.d(e,{D:()=>i}),function(n){n.APPLY_VALORATIONS_FILTERS="onApplyValorationsFilters",n.CHANGE_ORDER="onChangeOrder",n.NEXT_PAGE="onNextPage",n.ADD_TO_CART="onAddToCart",n.ADD_FEEDBACK="onAddFeedback",n.REMOVE_TOAST="onRemoveToast",n.OPEN_CLOSE_MODAL_VERIFIED="onOpenCloseModalVerified",n.OPEN_CLOSE_FILTER_PANEL="onOpenCloseFilterPanel",n.REMOVE_CHANNEL_FILTER="onRemoveChannelFilter",n.REMOVE_VARIANT_FILTER="onRemoveVariantFilter"}(i||(i={}))},17460:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Ue});t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var i=t(4942),r=(t(82526),t(41817),t(26833),t(47941),t(86706)),o=t(75826),a=t(18129),c=t(63591),s=t(82726),l=t(44185),d=t(76150),u=t(27438),p=t(28555),g=t(15723),m=t(55876),h=(t(74916),t(15306),t(21249),t(68309),t(18570)),f=t(69119),v=t(12055),y=t(15593),b=t(12049),x=t(85893);function w(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function O(n){for(var e=1;e div {\n padding-top: 0;\n }\n"])),(function(n){return n.theme.spacing.spacing02})),G=t(59653),K=t(29439),W=(t(92222),t(28225)),q=t(51062),J=t(46229),Y=z.ZP.div(E||(E=(0,F.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)}),V.B.desktop,(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing03})),Q=z.ZP.div(k||(k=(0,F.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 ")}),V.B.tabletPortrait,V.B.desktop,V.B.desktop),X=z.ZP.div(I||(I=(0,F.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex: 1;\n }\n"])),V.B.tabletPortrait),nn=z.ZP.div(S||(S=(0,F.Z)(["\n margin: "," 0;\n"])),(function(n){return n.theme.spacing.spacing01})),en=z.ZP.span(R||(R=(0,F.Z)(["\n display: block;\n color: ",";\n ",";\n"])),(function(n){return n.theme.colors.success.main}),q.g.captionRegular),tn=(0,z.ZP)(J.z)(D||(D=(0,F.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"])),V.B.tabletPortrait,(function(n){return n.theme.spacing.spacing05}),V.B.desktop),rn=z.ZP.div(C||(C=(0,F.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}),V.B.tabletPortrait,V.B.desktop),on=z.ZP.div(T||(T=(0,F.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}),V.B.desktop),an=z.ZP.div(B||(B=(0,F.Z)(["\n display: flex;\n flex-direction: column;\n height: fit-content;\n\n "," {\n position: sticky;\n top: 9rem;\n }\n"])),V.B.desktop),cn=z.ZP.div(A||(A=(0,F.Z)(["\n display: none;\n\n "," {\n display: flex;\n }\n"])),V.B.desktop),sn=t(62196),ln=t(7730),dn=t(21529),un=t(35905);const pn=function(n){var e=n.product,t=e.id,i=e.name,r=e.price,a=e.discount,c=e.deliveryDate,s=e.marketable,l=e.image,d=e.slug,u=n.crossedOutPrice,p=n.topTextPrice,g=n.language,m=n.handleAddToCart,h=(0,W.$G)(),f=(0,K.Z)(h,1)[0];return(0,x.jsxs)(an,{children:[(0,x.jsxs)(Y,{id:"product-info-wrapper","data-testid":"product-info-wrapper",children:[(0,x.jsx)(Q,{children:(0,x.jsx)("img",{title:i,alt:i,src:"https://img.pccomponentes.com/".concat(l),loading:"lazy"})}),(0,x.jsxs)(rn,{children:[(0,x.jsxs)(X,{children:[(0,x.jsx)(ln.Z,{typo:"body2Regular",children:i}),(0,x.jsx)(nn,{children:(0,x.jsx)(sn.Z,{price:r,size:"body2",crossedOutPrice:u,topText:p,discountBadge:null!==a&&void 0!==a?a:void 0})}),c&&(0,x.jsx)(en,{children:f("valoration.deliveryDate",{text:c})})]}),(0,x.jsxs)(on,{children:[(0,x.jsx)(tn,{secondary:!0,onClick:function(){window.location.href="/"+d},children:f("valoration.viewProduct")}),s&&(0,x.jsx)(tn,{onClick:m,children:f("valoration.addToCart")})]})]})]}),(0,x.jsx)(cn,{children:(0,x.jsx)(dn.Z,{handleAddQuestion:function(){return window.location.href="".concat(un.J[g||o.SQ.es_ES],"?idArticle=").concat(t)}})})]})};var gn,mn,hn=t(26658),fn=t(21668),vn=t(42631),yn=t(78585),bn=t(39306),xn=t(76179),wn=z.ZP.div(gn||(gn=(0,F.Z)(["\n display: flex;\n align-items: center;\n"]))),On=z.ZP.div(mn||(mn=(0,F.Z)(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: ",";\n margin: "," 0;\n"])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing03})),Pn=t(32957),Zn=function(n){var e=n.selectedChannel,t=n.selectedVariant,i=n.handleRemoveChannelFilter,a=n.handleRemoveVariantFilter,c=(0,W.$G)(),s=(0,K.Z)(c,1)[0],d=(0,r.v9)(o.lE),u=(0,y.m)(d),p=new Intl.DisplayNames([u],{type:"region"});return(0,x.jsxs)(On,{children:[(0,x.jsxs)(wn,{children:[s("valoration.filter.title"),":"]}),e&&e!==g.c&&(0,x.jsx)(Pn.D,{deletable:!0,onClick:function(){return i&&i()},text:"".concat(s("valoration.filter.channel"),": ").concat(p.of(e.toUpperCase())||"unknown country code")}),t&&t===l.P$&&(0,x.jsx)(Pn.D,{deletable:!0,onClick:function(){return a&&a()},text:"".concat(s("valoration.filter.variant"),": ").concat(s("opinion.filter.current_variant"))})]})};const jn=function(n){var e=n.state,t=n.handlers,i=(0,W.$G)(),r=(0,K.Z)(i,1)[0],o=(0,z.Fg)(),a=e.replyIdToOpen,c=e.query,s=e.pagination,d=e.selectedFilters,u=e.filters,p=e.items,m=e.product,h=e.badges,f=e.usersBadgesList,v=e.loading,y=e.mostUsefulItem,b=e.hasMorePages,w=e.rawVariants,O=t.listHandlers,P=t.commentHandlers,Z=p.filter((function(n){return n.id!==(null===y||void 0===y?void 0:y.id)})),j=Math.ceil(s.totalItems/s.itemsPerPage),_=null!==c&&void 0!==c&&c.valoration?2:j,E=Object.keys(g.Y).find((function(n){return(null===d||void 0===d?void 0:d.selectedChannel)===n})),k=null===d||void 0===d?void 0:d.selectedVariant;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(fn.Dx,{marginBottom:Z.length>1,children:[null!==c&&void 0!==c&&c.valoration?r("valoration.titleValorationsList.one"):r("valoration.titleValorationsList.other")," "]}),(0,x.jsx)(yn.o,{itemsProps:Z.map((function(n){return{slug:m.slug,verified:!!n.idPurchase,comment:n,idArticle:m.id,key:n.id,badges:null!==h&&void 0!==h?h:[],userBadges:(null===f||void 0===f?void 0:f[n.user.id])||[],handlers:P,openReplyOnLoad:null===c||void 0===c?void 0:c.openReply,isTranslationOnDemandActive:!0,replyIdToOpen:a,variants:w,handleOpenVerifiedModal:function(){t.listHandlers[bn.D.OPEN_CLOSE_MODAL_VERIFIED]&&t.listHandlers[bn.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}}})),itemType:xn._,headerComponent:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(vn.Z,{filterBarText:r("valoration.amount",{text:s.totalItems}),filterBarOptions:[{optionSelected:(null===d||void 0===d?void 0:d.selectedOrder)||"",label:r("valoration.sort.title"),options:null===u||void 0===u?void 0:u.order.map((function(n){return{name:r("valoration.sort.".concat(n)),id:n}})),handleChange:O[bn.D.CHANGE_ORDER],id:"valorations-order-select"}],hasFilterVariants:!0,handleOpenFilterPanel:O[bn.D.OPEN_CLOSE_FILTER_PANEL]}),(k!==l.BJ||E!==g.c)&&(0,x.jsx)(Zn,{selectedChannel:E,selectedVariant:k,handleRemoveChannelFilter:O[bn.D.REMOVE_CHANNEL_FILTER],handleRemoveVariantFilter:O[bn.D.REMOVE_VARIANT_FILTER]})]}),loading:v,options:{pagination:{showPagination:!0,page:s.currentPage,onPageChange:O[bn.D.NEXT_PAGE],infiniteScroll:!0,virtualFetch:!1,pageSize:s.itemsPerPage,totalPages:b?_:s.currentPage,texts:{loadMore:r("valoration.loadMore")}},styles:{gap:o.spacing.spacing03,margin:"".concat(o.spacing.spacing02," 0")}}}),0===Z.length&&!v&&(0,x.jsx)(x.Fragment,{children:r("valoration.list_empty")})]})};var _n,En,kn,In,Sn,Rn,Dn,Cn,Tn,Bn,An=t(91044),Ln=z.ZP.div(_n||(_n=(0,F.Z)(["\n flex-direction: column;\n display: flex;\n "," {\n display: flex;\n flex-direction: column;\n }\n"])),V.B.desktop),Fn=(0,z.ZP)(An.X)(En||(En=(0,F.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}),V.B.desktop,(function(n){return n.marginBottom?n.theme.spacing.spacing04:"0"})),Vn=z.ZP.div(kn||(kn=(0,F.Z)(["\n margin-top: ",";\n\n "," {\n margin-top: ",";\n }\n"])),(function(n){return n.theme.spacing.spacing02}),V.B.tabletPortrait,(function(n){return n.theme.spacing.spacing04})),Nn=t(60338),zn=t(41970),Mn=t(89250),Un=t(29715),Hn=t(32867),$n=z.ZP.div(In||(In=(0,F.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,z.iv)(Sn||(Sn=(0,F.Z)(["\n display: none;\n "])))}),V.B.desktop),Gn=z.ZP.div(Rn||(Rn=(0,F.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: column;\n flex: 1;\n }\n"])),V.B.tabletPortrait),Kn=(z.ZP.span(Dn||(Dn=(0,F.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}),V.B.desktop),(0,z.ZP)(J.z)(Cn||(Cn=(0,F.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"])),V.B.tabletPortrait)),Wn=z.ZP.div(Tn||(Tn=(0,F.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})),qn=z.ZP.div(Bn||(Bn=(0,F.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})),Jn=t(67294),Yn=t(88859);const Qn=function(n){var e=n.price,t=n.crossedOutPrice,i=n.marketable,r=n.handleAddToCart,o=n.href,a=n.fromScrollBar,c=n.discountBadge,s=(0,W.$G)(),l=(0,K.Z)(s,1)[0],d=(0,Jn.useRef)(null),u=(0,Jn.useState)(!1),p=(0,K.Z)(u,2),g=p[0],m=p[1],h=(0,Jn.useCallback)((function(){var n=document.getElementById(a),e=Boolean(n&&n.getBoundingClientRect().top<=100);m(e)}),[a,m]);return(0,Jn.useEffect)((function(){return window.addEventListener("scroll",h),function(){return window.removeEventListener("scroll",h)}}),[h]),(0,x.jsx)($n,{showBar:g,ref:d,elementHeight:128,visible:!0,id:"product-info-bottom-wrapper","data-testid":"product-info-bottom-wrapper",children:(0,x.jsxs)(Wn,{children:[(0,x.jsx)(Gn,{children:(0,x.jsx)(Yn.Z,{price:e,crossedOutPrice:t,discountBadge:c,displayPriceInLine:!0})}),(0,x.jsxs)(qn,{children:[i&&(0,x.jsx)(Kn,{onClick:r,children:l("valoration.addToCart")}),(0,x.jsx)(Kn,{secondary:!0,onClick:function(){window.location.href="/"+o},children:l("valoration.viewProduct")})]})]})})};var Xn=t(18962),ne=t(54112);const ee=function(n){var e=n.state,t=n.handlers,i=n.domain,r=(0,W.$G)(),o=(0,K.Z)(r,1)[0],a=(0,Mn.s0)(),c=e.product,s=e.functionalFeatures,l=e.items,d=e.query,u=e.mostUsefulItem,p=e.replyIdToOpen,g=e.opinionSummary,m=t.listHandlers,h=c.id,f=c.slug,v=c.price,y=c.crossedOutPrice,b=c.crossedOutPriceType,w=c.name,O=c.marketable,P=c.valoration,Z=c.media,j=P||{valorationAverage:void 0,totalComments:void 0,rating:void 0,recommend:void 0,totalValorationsWithText:void 0},_=j.valorationAverage,E=j.totalComments,k=j.rating,I=j.recommend,S=j.totalValorationsWithText,R="opinion-product-summary",D=(0,Jn.useMemo)((function(){return(0,ne.B)(y,b)}),[y,b]);return(0,x.jsxs)(Ln,{id:R,children:[(0,x.jsxs)(Fn,{as:"h1",marginBottom:l.length>1,children:[l.length>1?o("valoration.title.other"):o("valoration.title.one")," - ",w]}),!(null!==d&&void 0!==d&&d.valoration)&&(0,x.jsx)(Hn.H,{productId:h,rating:{rating:k,totalComments:E,totalValorationsWithText:S,valorationAverage:_,recommend:I,functionalFeaturesAverages:s}}),g&&(0,x.jsx)(Vn,{id:"opinion-summary-container",children:(0,x.jsx)(Xn.G,{opinionSummary:g})}),!(null!==d&&void 0!==d&&d.valoration)&&!(null!==d&&void 0!==d&&d.media)&&Z&&Z.medias.length>0&&(0,x.jsx)(zn.Z,{slug:f,id:"carousel-medias-".concat(h),medias:Z.medias,settings:{loop:!1,onShowMore:function(){return a("?media=images")}},domain:i}),!(null!==d&&void 0!==d&&d.media)&&u&&(0,x.jsx)(hn.Z,{moreUseful:(0,x.jsx)(Nn.Z,{slug:f,replyIdToOpen:p,idArticle:h,usersBadges:e.usersBadgesList,badgesList:e.badges,handlers:t.commentHandlers,data:u,isTranslationOnDemandActive:!0,handleOpenVerifiedModal:function(){t.listHandlers[bn.D.OPEN_CLOSE_MODAL_VERIFIED]&&t.listHandlers[bn.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}})}),!(null!==d&&void 0!==d&&d.media)&&(0,x.jsx)(jn,{state:e,handlers:t}),(0,x.jsx)(Qn,{fromScrollBar:R,price:v,marketable:O,href:f,crossedOutPrice:D,handleAddToCart:m[bn.D.ADD_TO_CART]||Un.Z})]})};var te,ie,re,oe,ae,ce=t(93433),se=t(15861),le=t(64687),de=t.n(le),ue=z.ZP.div(te||(te=(0,F.Z)(["\n width: 100%;\n margin-top: ",";\n"])),(function(n){return n.theme.spacing.spacing03})),pe=z.ZP.div(ie||(ie=(0,F.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"])),V.B.desktop,(function(n){return n.theme.spacing.spacing03}),V.B.desktopLarge),ge=z.ZP.div(re||(re=(0,F.Z)(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing03})),me=z.ZP.div(oe||(oe=(0,F.Z)(["\n flex: 1;\n"]))),he=(0,z.ZP)(ln.Z)(ae||(ae=(0,F.Z)(["\n display: inline-block;\n width: 100%;\n text-align: center;\n color: ",";\n"])),(function(n){return n.theme.colors.environment.percent40})),fe=t(79339),ve=t(42347),ye=t(96681),be=t(12922);const xe=function(n){var e=n.media,t=n.numMedia,i=n.totalPages,r=n.page,o=n.articleId,a=n.slug,c=(0,W.$G)(),s=(0,K.Z)(c,1)[0],l=(0,Mn.s0)(),d=(0,Jn.useRef)(null),u=(0,Jn.useState)(r||0),p=(0,K.Z)(u,2),g=p[0],m=p[1],h=(0,Jn.useState)(!1),f=(0,K.Z)(h,2),v=f[0],y=f[1],b=(0,Jn.useState)(!!i&&g]+)>)/gi,"").substring(0,100),original_price:"".concat(v),added_date:t,url:"".concat(C,"/").concat(I),total_discount:"".concat(Z),total_discount_percent:j?"".concat(j):"0",ean:"".concat(S),part_number:R}])},Re=t(39826),De=t(7218),Ce=t(678);function Te(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function Be(n){for(var e=1;e0,i=function(){var i=(0,se.Z)(de().mark((function i(){return de().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,f({idArticle:P,qty:"1",idOffer:O});case 2:if(e){i.next=4;break}return i.abrupt("return");case 4:Se({data:n,datalayer:t,domain:h});case 5:case"end":return i.stop()}}),i)})));return function(){return i.apply(this,arguments)}}();i()})),(0,i.Z)(c,bn.D.ADD_FEEDBACK,E),(0,i.Z)(c,bn.D.REMOVE_TOAST,(function(n){e((function(e){return Be(Be({},e),{},{toastToRemove:n})}))})),(0,i.Z)(c,bn.D.OPEN_CLOSE_MODAL_VERIFIED,(function(n){e((function(e){return Be(Be({},e),{},{isVisibleVerifiedModal:n})}))})),(0,i.Z)(c,bn.D.APPLY_VALORATIONS_FILTERS,(function(t){var i,r=t.channel,o=t.variant,a=(0,Ie.Gn)(p,{product:w||"unknown"});null!==Z&&void 0!==Z&&Z.valoration&&1===b.length&&d(a),I({idChannel:g.Y[null!==r&&void 0!==r?r:g.c],order:null===(i=n.selectedFilters)||void 0===i?void 0:i.selectedOrder,includeVariants:o!==s.P$}),e((function(e){return Be(Be({},e),{},{isVisibleFilterPanel:!n.isVisibleFilterPanel,selectedFilters:Be(Be({},e.selectedFilters),{},{selectedChannel:r,selectedVariant:o})})}))})),(0,i.Z)(c,bn.D.OPEN_CLOSE_FILTER_PANEL,(function(n){e((function(e){return Be(Be({},e),{},{isVisibleFilterPanel:n})}))})),(0,i.Z)(c,bn.D.REMOVE_CHANNEL_FILTER,(function(){var t,i;I({idChannel:g.Y[g.c],order:null===(t=n.selectedFilters)||void 0===t?void 0:t.selectedOrder,includeVariants:(null===(i=n.selectedFilters)||void 0===i?void 0:i.selectedVariant)!==s.P$}),e((function(n){return Be(Be({},n),{},{selectedFilters:Be(Be({},n.selectedFilters),{},{selectedChannel:g.c})})}))})),(0,i.Z)(c,bn.D.REMOVE_VARIANT_FILTER,(function(){var t,i,r;I({idChannel:g.Y[null!==(t=null===(i=n.selectedFilters)||void 0===i?void 0:i.selectedChannel)&&void 0!==t?t:g.c],order:null===(r=n.selectedFilters)||void 0===r?void 0:r.selectedOrder,includeVariants:!0}),e((function(n){return Be(Be({},n),{},{selectedFilters:Be(Be({},n.selectedFilters),{},{selectedVariant:s.BJ})})}))})),c),commentHandlers:(0,Re.Zk)({handlers:(l={},(0,i.Z)(l,ke.p.REPORT,(function(n){var e=function(){var e=(0,se.Z)(de().mark((function e(){var t,i,r;return de().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,be.Ov)(Be(Be({},n),{},{language:u,domainExtension:m}));case 2:t=e.sent,i=(null===t||void 0===t?void 0:t.status)||Ee.Q.ERROR,r=null===t||void 0===t?void 0:t.message,E({status:i,message:r,id:y});case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()})),(0,i.Z)(l,ke.p.ADD_USEFUL,(function(n){var t=function(){var t=(0,se.Z)(de().mark((function t(){var i,r,o;return de().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,be.K3)(Be(Be({},n),{},{language:u,domainExtension:m}));case 2:i=t.sent,r=(null===i||void 0===i?void 0:i.status)||Ee.Q.ERROR,o=null===i||void 0===i?void 0:i.message,r!==Ee.Q.ERROR&&e((function(e){return Be(Be({},e),{},{items:e.items.map((function(e){return(0,De.S1)(n.idComment,e)}))})})),E({status:r,message:o,id:y}),n.callback&&n.callback(!!i&&"error"!==i.status);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()})),(0,i.Z)(l,ke.p.OPEN_CLOSE_REPLY,k),(0,i.Z)(l,ke.p.ADD_COMMENT,(function(n){var e=n.idComment;k({idComment:e,open:!1});var t=function(){var t=(0,se.Z)(de().mark((function t(){var i,r,o;return de().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,be.sX)(Be(Be({},n),{},{idComment:e,language:u,domainExtension:m}));case 2:i=t.sent,r=i.message,o=i.status,E({id:y,message:r,status:o});case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()})),(0,i.Z)(l,ke.p.TOGGLE_TRANSLATION,(function(t){var i=t.idComment,r=t.showOriginal,o=n.mostUsefulItem&&n.mostUsefulItem.id===i?n.mostUsefulItem:n.items.find((function(n){return n.id===i}));if(o){if(!r){if(o.currentVersion.comment[v])return e((function(n){return Be(Be({},n),{},{items:n.items.map((function(n){return n.id===i?Be(Be({},n),{},{selectedLanguage:v}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===i&&{mostUsefulItem:Be(Be({},n.mostUsefulItem),{},{selectedLanguage:v})})}));e((function(n){return Be(Be({},n),{},{items:n.items.map((function(n){return n.id===i?Be(Be({},n),{},{loading:!0}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===i&&{mostUsefulItem:Be(Be({},n.mostUsefulItem),{},{loading:!0})})}));var a=function(){var n=(0,se.Z)(de().mark((function n(){var t;return de().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,be.H3)({id:o.id,language:v,headers:{"x-selected-language":u,"x-domain-extension":m}});case 2:if(t=n.sent){n.next=5;break}return n.abrupt("return",e((function(n){return Be(Be({},n),{},{items:n.items.map((function(n){return n.id===i?Be(Be({},n),{},{loading:!1}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===i&&{mostUsefulItem:Be(Be({},n.mostUsefulItem),{},{loading:!1})})})));case 5:e((function(n){return Be(Be({},n),{},{items:n.items.map((function(n){return n.id===i?Be(Be(Be({},n),t),{},{loading:!1,selectedLanguage:v}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===i&&{mostUsefulItem:Be(Be(Be({},n.mostUsefulItem),t),{},{selectedLanguage:v,loading:!1})})}));case 6:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return a()}return e((function(n){return Be(Be({},n),{},{items:n.items.map((function(n){return n.id===i?Be(Be({},n),{},{selectedLanguage:n.currentVersion.language}):n}))},n.mostUsefulItem&&n.mostUsefulItem.id===i&&{mostUsefulItem:Be(Be({},n.mostUsefulItem),{},{selectedLanguage:n.mostUsefulItem.currentVersion.language})})}))}})),l),translationKey:"valoration"})}}(l,c.setState,t);!function(n){var e=(0,r.v9)(o.lE),t=(0,r.v9)(o.Fc),i=(0,Jn.useCallback)((0,se.Z)(de().mark((function i(){var r,o,a,c,s,l;return de().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!(r=sessionStorage.getItem("provide-usefull-valoration-feedback"))){i.next=9;break}if(null===(o=JSON.parse(r))||void 0===o||!o.idComment||null!==o&&void 0!==o&&o.sent){i.next=9;break}return i.next=6,(0,be.K3)({idComment:null===o||void 0===o?void 0:o.idComment,language:e,domainExtension:t});case 6:a=i.sent,n({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 9:if(!(c=sessionStorage.getItem("report-valoration-feedback"))){i.next=19;break}if(null===(s=JSON.parse(c))||void 0===s||!s.idComment||null!==s&&void 0!==s&&s.sent){i.next=19;break}if(null===s||void 0===s||!s.idComment||null!==s&&void 0!==s&&s.sent){i.next=19;break}return i.next=16,(0,be.Ov)({idComment:null===s||void 0===s?void 0:s.idComment,language:e,domainExtension:t});case 16:l=i.sent,n({status:null===l||void 0===l?void 0:l.status,message:null===l||void 0===l?void 0:l.message,id:String(Math.random())}),sessionStorage.removeItem("report-valoration-feedback");case 19:case"end":return i.stop()}}),i)}))),[t,n,e]);(0,Jn.useEffect)((function(){i()}),[])}(null===u||void 0===u?void 0:u.listHandlers[bn.D.ADD_FEEDBACK]);var p=(0,r.v9)(a.CC),m=(0,r.v9)(a.oz),h=(0,W.$G)().t,f=l.product,v=f.id,y=f.media,b=f.slug,w=f.crossedOutPrice,O=f.crossedOutPriceType,P=l.query,Z=l.variants,j=l.language,_=l.selectedFilters,E=u.listHandlers,k=(0,Jn.useMemo)((function(){return(0,ne.B)(w,O)}),[w,O]),I=(0,Jn.useMemo)((function(){return O!==Ve.Sf.PVPR&&O&&h("product.card.".concat(O))||void 0}),[O,h]);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(M,{children:[(0,x.jsx)($,{children:(0,x.jsx)(G.Breadcrumb,{})}),(0,x.jsxs)(U,{children:[(0,x.jsx)(pn,{product:l.product,handleAddToCart:E[bn.D.ADD_TO_CART]||Un.Z,language:j,crossedOutPrice:k,topTextPrice:I}),(0,x.jsx)(ee,{state:l,handlers:u,redirectToValoration:p||"",translationKey:"valoration",domain:m})]}),(null===P||void 0===P?void 0:P.media)&&(0,x.jsx)(H,{noMargin:!0}),(null===P||void 0===P?void 0:P.media)&&(0,x.jsx)(xe,{slug:b,articleId:v,mediaType:"videos"===(null===P||void 0===P?void 0:P.media)?Fe.T.VIDEO:Fe.T.IMAGE,media:null===y||void 0===y?void 0:y.medias,numMedia:null===y||void 0===y?void 0:y.totalMedias,totalPages:null===y||void 0===y?void 0:y.totalPages})]}),l.toasts.map((function(n){return(0,x.jsx)(Ae.Z,{closable:!0,status:n.status,message:n.message,onClose:function(){E[bn.D.REMOVE_TOAST]&&E[bn.D.REMOVE_TOAST](n.id)}},n.id)})),(0,x.jsx)(Le._,{onClose:function(){E[bn.D.OPEN_CLOSE_MODAL_VERIFIED]&&E[bn.D.OPEN_CLOSE_MODAL_VERIFIED](!1)},visible:!!l.isVisibleVerifiedModal}),(0,x.jsx)(Re.hR,{onClose:function(){E[bn.D.OPEN_CLOSE_FILTER_PANEL]&&E[bn.D.OPEN_CLOSE_FILTER_PANEL](!1)},visible:!!l.isVisibleFilterPanel,variants:Z,selectedChannel:Object.keys(g.Y).find((function(n){return(null===_||void 0===_?void 0:_.selectedChannel)===n})),selectedVariant:null===_||void 0===_?void 0:_.selectedVariant,handleApplyFilters:E[bn.D.APPLY_VALORATIONS_FILTERS]})]})};function ze(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function Me(n){for(var e=1;e{t.d(e,{Z:()=>s});var i=t(29439),r=(t(21249),t(83710),t(41539),t(39714),t(28225)),o=t(67141),a=t(63742),c=t(85893);const s=function(n){var e=n.filterBarText,t=n.filterBarOptions,s=n.hasFilterVariants,l=n.handleOpenFilterPanel,d=(0,r.$G)(),u=(0,i.Z)(d,1)[0];return(0,c.jsxs)(o.xr,{children:[(0,c.jsxs)(o.yR,{children:[(0,c.jsxs)(o.$G,{children:[u("cart.total")," "]}),(0,c.jsx)(o.xv,{children:e})]}),(0,c.jsxs)(o.y1,{className:"comment-list-filters-container",children:[s&&(0,c.jsx)(o.CJ,{children:(0,c.jsxs)(o.Sn,{onClick:function(){return l&&l(!0)},secondary:!0,children:[(0,c.jsx)(a.J,{icon:"settings",right:!0}),u("valoration.filter.title")]})}),t.length&&t.map((function(n,e){var i=n.optionSelected,r=n.label,a=n.handleChange,s=n.options,l=n.id;return(0,c.jsx)(o.W$,{id:l,zIndex:t.length-e,defaultValue:i,label:r,small:!0,selectId:Math.random().toString(),handleChange:a,options:s},r)}))]})]})}},67141:(n,e,t)=>{t.d(e,{$G:()=>x,CJ:()=>P,Sn:()=>Z,W$:()=>v,xr:()=>y,xv:()=>w,y1:()=>O,yR:()=>b});var i,r,o,a,c,s,l,d,u,p=t(30168),g=t(71893),m=t(36717),h=t(30305),f=t(46229),v=(g.ZP.h2(i||(i=(0,p.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n margin-bottom: ",";\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.marginBottom?n.theme.spacing.spacing03:n.theme.spacing.spacing02})),(0,g.ZP)(m.m)(r||(r=(0,p.Z)(["\n z-index: ",";\n width: 100%;\n\n "," {\n width: 12.25rem;\n }\n"])),(function(n){return n.zIndex}),h.B.tabletPortrait)),y=g.ZP.div(o||(o=(0,p.Z)(["\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"])),(function(n){return n.theme.colors.environment.percent20}),h.B.tabletPortrait),b=g.ZP.div(a||(a=(0,p.Z)(["\n display: flex;\n margin-bottom: 28px;\n\n "," {\n flex-direction: column;\n }\n"])),h.B.tabletPortrait),x=g.ZP.span(c||(c=(0,p.Z)(["\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"])),(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}),h.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=g.ZP.span(s||(s=(0,p.Z)(["\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),(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=g.ZP.div(l||(l=(0,p.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: row;\n gap: ",";\n }\n"])),h.B.tabletPortrait,(function(n){return n.theme.spacing.spacing02})),P=g.ZP.div(d||(d=(0,p.Z)(["\n margin: "," 0;\n"])),(function(n){return n.theme.spacing.spacing01})),Z=(0,g.ZP)(f.z)(u||(u=(0,p.Z)(["\n height: 2.725rem;\n width: 100%;\n justify-content: center;\n"])))},38859:(n,e,t)=>{var i;t.d(e,{T:()=>i}),function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.IMAGE=1]="IMAGE",n[n.VIDEO=2]="VIDEO"}(i||(i={}))},77357:(n,e,t)=>{t.d(e,{Z:()=>d});var i,r=t(71893),o=t(41810),a=t(30168),c=(t(92222),t(85664)),s=(0,r.ZP)(c.C)(i||(i=(0,a.Z)(["\n height: fit-content;\n display: flex;\n align-items: center;\n padding: 0;\n border: ",";\n > span {\n white-space: nowrap;\n margin: ",";\n }\n"])),(function(n){var e=n.theme;return"".concat(e.spacing.spacing0025," solid ").concat(e.colors.danger.main)}),(function(n){var e=n.theme;return"".concat(e.spacing.spacing0025," ").concat(e.spacing.spacing005)})),l=t(85893);const d=function(n){var e=n.discount,t=n.expirationDate,i=(0,r.Fg)();return(0,l.jsx)(l.Fragment,{children:e&&e>0&&(0,l.jsxs)(s,{bold:!0,bgColor:i.colors.danger.main,textColor:i.colors.white,isolated:!0,children:[(0,l.jsxs)("span",{children:[" - ",e,"%"]}),t&&(0,l.jsx)(o.Z,{expirationDate:t})]})})}},88859:(n,e,t)=>{t.d(e,{Z:()=>N});var i,r,o,a,c,s,l,d,u,p,g,m,h,f=t(29439),v=(t(74916),t(23123),t(56977),t(30168)),y=(t(92222),t(51062)),b=t(30305),x=t(7730),w=t(71893),O=w.ZP.div(i||(i=(0,v.Z)(["\n display: flex;\n flex-direction: column;\n\n &.skeleton {\n position: relative;\n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 2px;\n background: ",";\n background-size: 200% 100%;\n animation: loading 1.5s infinite;\n\n @keyframes loading {\n 0% {\n background-position: 200% 0;\n }\n 100% {\n background-position: -200% 0;\n }\n }\n }\n }\n"])),(function(n){var e=n.theme;return"linear-gradient(90deg, ".concat(e.colors.environment.percent05," 25%, ").concat(e.colors.environment.percent10," 50%, ").concat(e.colors.environment.percent05," 75%)")})),P=w.ZP.div(r||(r=(0,v.Z)(["\n display: flex;\n align-items: center;\n"]))),Z=w.ZP.span(o||(o=(0,v.Z)(["\n display: flex;\n align-items: flex-start;\n margin-right: ",";\n color: ",";\n"])),(function(n){return n.theme.spacing.spacing01}),(function(n){var e=n.theme;return n.highlighted?e.colors.danger.main:e.colors.black})),j=w.ZP.span(a||(a=(0,v.Z)(["\n display: flex;\n ",";\n"])),y.g.header.h1),_=w.ZP.span(c||(c=(0,v.Z)(["\n ",";\n margin-top: ",";\n margin-left: ",";\n"])),y.g.header.h4,(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.spacing.spacing005})),E=w.ZP.span(s||(s=(0,v.Z)(["\n text-decoration: line-through;\n margin-right: ",";\n"])),(function(n){return n.theme.spacing.spacing01})),k=w.ZP.div(l||(l=(0,v.Z)(["\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"])),(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.black}),b.B.tabletPortrait,(function(n){return n.showInlineActive&&(0,w.iv)(d||(d=(0,v.Z)(["\n display: none;\n "])))})),I=w.ZP.div(u||(u=(0,v.Z)(["\n ",";\n color: ",";\n margin-bottom: 0;\n "," {\n margin-right: ",";\n }\n"])),y.g.header.h2,(function(n){return n.theme.colors.environment.percent35}),b.B.desktop,(function(n){return n.theme.spacing.spacing02})),S=w.ZP.span(p||(p=(0,v.Z)(["\n display: block;\n overflow: hidden;\n width: 0;\n height: 0;\n"]))),R=(0,w.ZP)(x.Z)(g||(g=(0,v.Z)(["\n color: ",";\n"])),(function(n){return n.theme.colors.danger.main})),D=w.ZP.div(m||(m=(0,v.Z)(["\n display: flex;\n flex-direction: column;\n"]))),C=(0,w.ZP)(x.Z)(h||(h=(0,v.Z)(["\n font-size: 0.625rem;\n line-height: 0.625rem;\n"]))),T=t(63742),B=t(77357),A=t(28225),L=t(67294),F=t(85893),V=function(n){var e=n.price,t=n.crossedOutPrice,i=n.topText,r=n.discountBadge,o=n.expirationDate,a=n.numberFormatLocale,c=void 0===a?{locale:"de-DE",currency:"EUR"}:a,s=n.notAvailable,l=n.handleClickInfo,d=n.showInfoIcon,u=n.displayPriceInLine,p=n.currentPriceIntegerId,g=n.currentPriceDecimalsId,m=n.originalPriceId,h=n.discountId,v=n.infoIcon,y=void 0===v?"interface_information":v,b=n.showSkeleton,w=void 0!==b&&b,L=(0,A.$G)(),V=(0,f.Z)(L,1)[0];if(s)return(0,F.jsx)(I,{children:V("priceBox.notAvailable")});var N=e.toFixed(2).split("."),z=(0,f.Z)(N,2),M=z[0],U=z[1],H=new Intl.NumberFormat(c.locale,{style:"currency",currency:c.currency}),$=t&&H.format(t.amount);return(0,F.jsxs)(O,{className:w?"skeleton":"",children:[!!i&&(0,F.jsx)(R,{typo:"captionBold",children:i}),(0,F.jsxs)(P,{children:[(0,F.jsx)(Z,{highlighted:!!$,children:(0,F.jsxs)(j,{id:p,children:[M,(0,F.jsxs)(_,{id:g,children:[(0,F.jsx)(S,{children:","}),U,"€"]})]})}),$&&(0,F.jsxs)(D,{children:[(0,F.jsx)(C,{typo:"captionRegular",children:null===t||void 0===t?void 0:t.text}),(0,F.jsx)(x.Z,{id:m,typo:"body2Regular",children:(0,F.jsx)(E,{children:$})})]}),(!!r||!!o)&&(0,F.jsx)("div",{id:h,children:(0,F.jsx)(B.Z,{discount:r,expirationDate:o})}),d&&(0,F.jsx)(k,{onClick:l,showInlineActive:u,"data-wa-hit-type":"event","data-wa-event-category":"product detail page","data-wa-event-action":"price history","data-wa-event-label":"price history","data-wa-event-value":"","data-wa-event-non-interaction":"false",children:(0,F.jsx)(T.J,{icon:y})})]})]})};const N=(0,L.memo)(V)},41810:(n,e,t)=>{t.d(e,{Z:()=>u});var i,r=t(63742),o=t(7730),a=t(30168),c=(t(92222),t(71893).ZP.div(i||(i=(0,a.Z)(["\n display: flex;\n align-items: center;\n border-radius: ",";\n padding: ",";\n background: ",";\n svg {\n fill: ",";\n width: ",";\n height: ",";\n }\n span {\n color: ",";\n }\n"])),(function(n){var e=n.theme;return"0 ".concat(e.spacing.spacing0025," ").concat(e.spacing.spacing0025," 0")}),(function(n){var e=n.theme;return"".concat(e.spacing.spacing0025," ").concat(e.spacing.spacing005)}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.danger.main}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.colors.danger.main}))),s=t(36424),l=t(4400),d=t(85893);const u=function(n){var e=n.expirationDate,t=(0,s.a)(e),i=t.hours,a=t.minutes,u=t.seconds;return(0,d.jsx)(d.Fragment,{children:i+a+u>0&&(0,d.jsxs)(c,{children:[(0,d.jsx)(r.J,{icon:"alarm_clock"}),(0,d.jsxs)(o.Z,{typo:"captionBold",children:[(0,l.V)(i),":",(0,l.V)(a),":",(0,l.V)(u)]})]})})}},55876:(n,e,t)=>{t.d(e,{H:()=>p,L:()=>l});t(47941),t(82526),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var i=t(4942),r=(t(21249),t(18570)),o=t(12049),a=t(85893);function c(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function s(n){for(var e=1;e5&&void 0!==arguments[5]?arguments[5]:"Relevance";return(0,a.jsx)("script",{type:"application/ld+json",id:n,children:JSON.stringify(s({"@context":"http://schema.org"},(0,r.mC)({itemListOrder:l,items:t.map((function(n){return s(s({},n),{},{url:(0,o.K)(e,n.slug),image:n.images.large.path})})),numberOfItems:i,url:c})))})};function d(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function u(n){for(var e=1;e{t.d(e,{_8:()=>d,kK:()=>l,mC:()=>s});t(47941),t(82526),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var i=t(4942),r=t(93433),o=(t(85827),t(68309),t(73210),t(92222),t(74916),t(15306),t(12055));function a(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function c(n){for(var e=1;e{t.d(e,{Z:()=>C});var i,r,o,a,c,s,l=t(29439),d=(t(21249),t(83710),t(41539),t(39714),t(34553),t(67294)),u=t(30168),p=t(71893),g=t(38770),m=t(30305),h=t(42347),f=(0,p.ZP)(g.W)(i||(i=(0,u.Z)(["\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"])),(function(n){return n.theme.spacing.spacing02}),m.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})),v=p.ZP.h2(r||(r=(0,u.Z)(["\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"])),(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}),m.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}),m.B.tabletLandscape),y=p.ZP.div(o||(o=(0,u.Z)(["\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"])),(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}),m.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}),m.B.tabletPortrait,m.B.tabletLandscape,m.B.desktopLarge,(function(n){return n.theme.spacing.spacing03})),b=p.ZP.div(a||(a=(0,u.Z)(["\n position: relative;\n height: 146px;\n"]))),x=p.ZP.h3(c||(c=(0,u.Z)([""]))),w=(0,p.ZP)(h.r)(s||(s=(0,u.Z)(["\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing02})),O=t(64519),P=t(24002),Z=t(63845),j=t(95186),_=t(52997),E=t(30505),k=t(35392),I=t(13398),S=t(28225),R=t(12049),D=t(85893);Z.Z.use([j.Z,_.Z]);const C=function(n){var e,t,i=n.id,r=n.slug,o=n.medias,a=n.title,c=void 0===a?"":a,s=n.settings,u=n.domain,p=(0,S.$G)(),g=(0,l.Z)(p,1)[0],m=(0,d.useState)(!1),h=(0,l.Z)(m,2),Z=h[0],j=h[1],_=(0,d.useState)(),C=(0,l.Z)(_,2),T=C[0],B=C[1],A=(0,I.Z)(),L=A.toastToShow,F=A.setToasts,V=s.loop,N=s.navigation,z=void 0===N||N,M=s.pagination,U=void 0!==M&&M,H=(0,d.useRef)(null);return(0,d.useEffect)((function(){j(!0)}),[]),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(x,{children:g("valoration.media_content_title")}),(0,D.jsxs)(b,{children:[(0,D.jsxs)(f,{id:i,children:[c&&(0,D.jsx)(v,{children:c}),(0,D.jsx)(y,{ref:H,className:Z?"hydrated":"not-hydrated",children:(0,D.jsx)(O.t,{pagination:!!U&&{clickable:!0},navigation:z,loop:V,slidesPerView:"auto",spaceBetween:42,watchOverflow:!0,children:o.map((function(n,e){return(0,D.jsx)(P.o,{style:{width:"auto"},children:(0,D.jsx)(E.Z,{media:n,height:128,width:128,onClick:function(n){return B(n)}})},n.idResource+e.toString()||e)}))})})]}),L,(0,D.jsx)(k.Z,{slug:r,idComment:(null===T||void 0===T||null===(e=T.owner)||void 0===e?void 0:e.id)||"0",amountYes:(null===T||void 0===T||null===(t=T.owner)||void 0===t?void 0:t.likes)||0,medias:o,defaultMediaIndex:null===o||void 0===o?void 0:o.findIndex((function(n){return n.idResource===(null===T||void 0===T?void 0:T.idResource)})),visible:!(null===T||void 0===T||!T.owner),onClose:function(){return B(void 0)},setToasts:F})]}),(0,D.jsx)(w,{onClick:function(n){n.preventDefault(),(null===s||void 0===s?void 0:s.onShowMore)&&s.onShowMore()},href:(0,R.K)(u,"".concat(r,"?media=images")),rel:"nofollow",text:g("valoration.show_all_images"),decorated:!0})]})}},18962:(n,e,t)=>{t.d(e,{G:()=>E});var i,r,o,a,c,s,l,d,u,p=t(29439),g=(t(21249),t(30168)),m=t(30305),h=t(42347),f=t(71893),v=f.ZP.div(i||(i=(0,g.Z)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n "," {\n flex-direction: row;\n flex-wrap: wrap;\n }\n "," {\n gap: ",";\n }\n"])),(function(n){return n.theme.spacing.spacing03}),m.B.tabletPortrait,m.B.desktop,(function(n){return n.theme.spacing.spacing04})),y=f.ZP.div(r||(r=(0,g.Z)(["\n display: flex;\n flex-direction: column;\n"]))),b=f.ZP.div(o||(o=(0,g.Z)(["\n display: flex;\n flex-direction: column;\n gap: ",";\n "," {\n flex-direction: row;\n }\n "," {\n gap: ",";\n }\n"])),(function(n){return n.theme.spacing.spacing03}),m.B.tabletPortrait,m.B.desktop,(function(n){return n.theme.spacing.spacing04})),x=(0,f.ZP)(y)(a||(a=(0,g.Z)(["\n flex: 1;\n min-width: 13.75rem;\n max-width: 13.75rem;\n"]))),w=(0,f.ZP)(y)(c||(c=(0,g.Z)(["\n border: none;\n padding-right: 0;\n max-width: max-content;\n "," {\n ","\n flex: 1;\n }\n\n "," {\n ","\n }\n"])),m.B.tabletPortrait,(function(n){return n.showBorder&&(0,f.iv)(s||(s=(0,g.Z)(["\n border-right: 1px solid ",";\n padding-right: ",";\n "])),(function(n){return n.theme.colors.environment.percent20}),(function(n){return n.theme.spacing.spacing03}))}),m.B.desktop,(function(n){return n.showBorder&&(0,f.iv)(l||(l=(0,g.Z)(["\n padding-right: ",";\n "])),(function(n){return n.theme.spacing.spacing04}))})),O=f.ZP.ul(d||(d=(0,g.Z)(["\n list-style: none;\n"]))),P=(0,f.ZP)(h.r)(u||(u=(0,g.Z)(["\n text-decoration: underline;\n display: inline-block;\n"]))),Z=t(28225),j=(t(47042),t(67294)),_=t(85893),E=function(n){var e=n.opinionSummary,t=(0,Z.$G)(),i=(0,p.Z)(t,1)[0],r=e.summary,o=e.advantages,a=e.disadvantages,c=r.length>375,s=(0,j.useState)(!c),l=(0,p.Z)(s,2),d=l[0],u=l[1],g=(0,j.useMemo)((function(){return e=375,(n=r).length>e?n.slice(0,e-1):n;var n,e}),[r]),m=o.length>0,h=a.length>0,f=m||h;return(0,_.jsxs)(v,{children:[(0,_.jsxs)(w,{showBorder:f,children:[(0,_.jsx)("h5",{children:i("valoration.summary.comment_title")}),(0,_.jsxs)("p",{children:[d?r:g,!d&&c&&(0,_.jsx)(_.Fragment,{children:"… "}),c&&(0,_.jsx)(P,{onClick:function(){return u((function(n){return!n}))},children:i(d?"valoration.summary.see_less_link":"valoration.summary.see_more_link")})]})]}),f&&(0,_.jsxs)(b,{children:[m&&(0,_.jsxs)(x,{children:[(0,_.jsx)("h5",{children:i("valoration.summary.pros_title")}),(0,_.jsx)(O,{children:o.map((function(n,e){return(0,_.jsx)("li",{children:n},e)}))})]}),h&&(0,_.jsxs)(x,{children:[(0,_.jsx)("h5",{children:i("valoration.summary.cons_title")}),(0,_.jsx)(O,{children:a.map((function(n,e){return(0,_.jsx)("li",{children:n},e)}))})]})]})]})}},16695:(n,e,t)=>{t.d(e,{_:()=>u});var i=t(29439),r=(t(67294),t(28225)),o=t(65739),a=t(95703),c={es_ES:a.Z.SUPPORT_CENTER_OPINIONS,fr_FR:a.Z.SUPPORT_CENTER_OPINIONS_FR,it_IT:a.Z.SUPPORT_CENTER_OPINIONS_IT,pt_PT:a.Z.SUPPORT_CENTER_OPINIONS_PT},s=t(86706),l=t(75826),d=t(85893),u=function(n){var e=n.onClose,t=n.visible,u=(0,r.$G)(),p=(0,i.Z)(u,1)[0],g=(0,s.v9)(l.lE);return(0,d.jsx)(o.u,{title:p("opinion.verified.title"),visible:t,actionButtons:[{action:function(){window.location.href=c[g]||a.Z.SUPPORT_CENTER_OPINIONS},displayText:p("opinion.verified.moreInfo")},{action:e,displayText:p("opinion.verified.close_modal"),secondary:!0}],onCancel:e,size:"medium",children:p("opinion.verified.text")})}},76150:(n,e,t)=>{t.d(e,{a:()=>o});t(74916),t(64765),t(66992),t(41539),t(78783),t(33948),t(60285);var i=t(89250),r=t(67294),o=function(){var n=(0,i.TH)().search;return(0,r.useMemo)((function(){return new URLSearchParams(n)}),[n])}},4400:(n,e,t)=>{t.d(e,{V:()=>i});var i=function(n){return n<10?"0".concat(n):String(n)}},32957:(n,e,t)=>{t.d(e,{D:()=>y});var i,r,o,a=t(96891),c=t(39780),s=t(67294),l=t(63742),d=t(82856),u=t(71893),p=u.ZP.span(i||(i=(0,d.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 ")})),g=u.ZP.div(r||(r=(0,d.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=u.ZP.div(o||(o=(0,d.Z)(["\n width: fit-content;\n margin: 0;\n height: 16px;\n"]))),h=["outlined","deletable","clickable","text"];function f(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function v(n){for(var e=1;e{t.d(e,{m:()=>h});var i,r=t(96891),o=t(90542),a=t(39780),c=t(67294),s=t(7898),l=t(7730),d=t(35440),u=t(82856),p=t(71893).ZP.div(i||(i=(0,u.Z)(["\n margin: "," 0;\n position: relative;\n"])),(function(n){return n.theme.spacing.spacing01})),g=["assistiveText","autoFocus","defaultValue","disabled","handleBlur","handleChange","isRequired","label","onSubmitForm","options","placeholder","selectId","small","smallSelectTextOnly","underline","ghost","status","value","right"];function m(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}var h=function(n){var e=n.assistiveText,t=n.autoFocus,i=n.defaultValue,u=n.disabled,h=n.handleBlur,f=n.handleChange,v=n.isRequired,y=n.label,b=n.onSubmitForm,x=n.options,w=n.placeholder,O=n.selectId,P=n.small,Z=n.smallSelectTextOnly,j=n.underline,_=n.ghost,E=n.status,k=n.value,I=n.right,S=(0,a.Z)(n,g),R=(0,c.useState)(!1),D=(0,o.Z)(R,2),C=D[0],T=D[1];return c.createElement(p,function(n){for(var e=1;e