"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[61667],{13150:(e,n,t)=>{t.r(n),t.d(n,{default:()=>Q});t(47941),t(82526),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var a,r,o,i=t(29439),s=t(4942),l=(t(92222),t(21249),t(67294)),c=t(28225),d=t(30168),u=t(71893),p=t(51062),O=t(30305),h=t(42347),E=u.ZP.div(a||(a=(0,d.Z)(["\n display: flex;\n flex-direction: column;\n flex-basis: 100%;\n margin-top: ",";\n"])),(function(e){return e.theme.spacing.spacing06})),m=u.ZP.h3(r||(r=(0,d.Z)(["\n ",";\n "," {\n margin-bottom: ",";\n }\n"])),p.g.header.h5,O.B.desktop,(function(e){return e.theme.spacing.spacing03})),v=(0,u.ZP)(h.r)(o||(o=(0,d.Z)(["\n width: 0;\n height: 0;\n overflow: hidden;\n"]))),f=t(22497),g=t(42631),_=t(39306),P=t(78585),C=t(15861),b=t(64687),D=t.n(b),y=t(67939),L=t(25272),A=t(64815),R=t(18950),T=t(49954),S=t(86706),I=t(75826),j=t(21914),N=t(21055),F=t(12055),x=t(12922);function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function Z(e){for(var n=1;n0,fe=d.length>0,ge=o.length>5,_e=o.length+d.length>=10,Pe=0===o.length&&0===d.length;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(E,{children:[(0,$.jsx)(m,{children:te("valoration.titleValorationsList_plural")}),Pe?(0,$.jsx)($.Fragment,{children:te("valoration.list_empty")}):(0,$.jsx)(g.Z,{filterBarText:te("valoration.amount",{text:h+b}),filterBarOptions:[{optionSelected:z||"",label:te("valoration.sort.title"),options:Y.map((function(e){return{name:te("valoration.sort.".concat(e)),id:e}})),handleChange:Oe[_.D.CHANGE_ORDER]}],hasFilterVariants:ge&&!1,handleOpenFilterPanel:Oe[_.D.OPEN_CLOSE_FILTER_PANEL]}),ve&&(0,$.jsx)(P.o,{itemsProps:p?[]:o.map((function(e){return{slug:w,variants:r,verified:!!e.idPurchase,comment:e,idArticle:O,key:e.id,badges:null!==n&&void 0!==n?n:[],userBadges:null===t||void 0===t?void 0:t[e.user.id],handlers:Ee,replyIdToOpen:de,isTranslationOnDemandActive:!0,handleOpenVerifiedModal:function(){Oe[_.D.OPEN_CLOSE_MODAL_VERIFIED]&&Oe[_.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}}})),itemType:f._o,headerComponent:(0,$.jsx)($.Fragment,{children:(0,$.jsx)("h4",{children:"".concat(te("valoration.titleValorationsList.fromCurrentChannel")," ").concat(me.of(oe.toUpperCase())||"")})}),loading:p,paginationComponent:function(e){var n=e.hasMorePages;return(0,$.jsx)(M.C,{children:n&&!p&&(0,$.jsx)(K.z,{secondary:!0,onClick:function(){window.location.href="".concat(se,"?channel=").concat(oe)},children:"".concat(te("valoration.loadMore_currentChannel")," ").concat(me.of(oe.toUpperCase())||"")})})},options:{pagination:{pageSize:V.I,totalPages:Math.ceil(h/V.I)},styles:{gap:ae.spacing.spacing03,margin:"".concat(ae.spacing.spacing02," 0")}}}),fe&&(0,$.jsx)(P.o,{itemsProps:p?[]:d.map((function(e){return{slug:w,variants:r,verified:!!e.idPurchase,comment:e,idArticle:O,key:e.id,badges:null!==n&&void 0!==n?n:[],userBadges:null===t||void 0===t?void 0:t[e.user.id],handlers:Ee,replyIdToOpen:de,isTranslationOnDemandActive:!0,handleOpenVerifiedModal:function(){Oe[_.D.OPEN_CLOSE_MODAL_VERIFIED]&&Oe[_.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}}})),itemType:f._o,headerComponent:(0,$.jsx)("h4",{children:te("valoration.titleValorationsList.fromOthersChannels")}),loading:p,paginationComponent:function(e){var n=e.hasMorePages;return(0,$.jsx)(M.C,{children:n&&!p&&(0,$.jsx)(K.z,{secondary:!0,onClick:function(){window.location.href=se},children:te("valoration.loadMore_allChannels")})})},options:{pagination:{pageSize:V.I,totalPages:Math.ceil(b/V.I)},styles:{gap:ae.spacing.spacing03,margin:"".concat(ae.spacing.spacing02," 0")}}})]}),_e&&(0,$.jsx)(v,{href:(0,G.K)(re,se),text:te("valoration.loadMore")}),(0,$.jsx)(B._,{onClose:function(){return Oe[_.D.OPEN_CLOSE_MODAL_VERIFIED]&&Oe[_.D.OPEN_CLOSE_MODAL_VERIFIED](!1)},visible:!!Q}),(0,$.jsx)(f.hR,{onClose:function(){return Oe[_.D.OPEN_CLOSE_FILTER_PANEL]&&Oe[_.D.OPEN_CLOSE_FILTER_PANEL](!1)},visible:!!J,variants:a,selectedChannel:W,selectedVariant:ee,handleApplyFilters:function(e){var n=e.channel,t=e.variant;window.location.href="".concat(se,"?channel=").concat(n,"&variant=").concat(t)}})]})};const Q=function(e){return(0,$.jsx)(z.Z,{children:(0,$.jsx)(q,X({},e))})}},39306:(e,n,t)=>{var a;t.d(n,{D:()=>a}),function(e){e.APPLY_VALORATIONS_FILTERS="onApplyValorationsFilters",e.CHANGE_ORDER="onChangeOrder",e.NEXT_PAGE="onNextPage",e.ADD_TO_CART="onAddToCart",e.ADD_FEEDBACK="onAddFeedback",e.REMOVE_TOAST="onRemoveToast",e.OPEN_CLOSE_MODAL_VERIFIED="onOpenCloseModalVerified",e.OPEN_CLOSE_FILTER_PANEL="onOpenCloseFilterPanel",e.REMOVE_CHANNEL_FILTER="onRemoveChannelFilter",e.REMOVE_VARIANT_FILTER="onRemoveVariantFilter"}(a||(a={}))},16695:(e,n,t)=>{t.d(n,{_:()=>u});var a=t(29439),r=(t(67294),t(28225)),o=t(65739),i=t(95703),s={es_ES:i.Z.SUPPORT_CENTER_OPINIONS,fr_FR:i.Z.SUPPORT_CENTER_OPINIONS_FR,it_IT:i.Z.SUPPORT_CENTER_OPINIONS_IT,pt_PT:i.Z.SUPPORT_CENTER_OPINIONS_PT},l=t(86706),c=t(75826),d=t(85893),u=function(e){var n=e.onClose,t=e.visible,u=(0,r.$G)(),p=(0,a.Z)(u,1)[0],O=(0,l.v9)(c.lE);return(0,d.jsx)(o.u,{title:p("opinion.verified.title"),visible:t,actionButtons:[{action:function(){window.location.href=s[O]||i.Z.SUPPORT_CENTER_OPINIONS},displayText:p("opinion.verified.moreInfo")},{action:n,displayText:p("opinion.verified.close_modal"),secondary:!0}],onCancel:n,size:"medium",children:p("opinion.verified.text")})}},36717:(e,n,t)=>{t.d(n,{m:()=>E});var a,r=t(96891),o=t(90542),i=t(39780),s=t(67294),l=t(7898),c=t(7730),d=t(35440),u=t(82856),p=t(71893).ZP.div(a||(a=(0,u.Z)(["\n margin: "," 0;\n position: relative;\n"])),(function(e){return e.theme.spacing.spacing01})),O=["assistiveText","autoFocus","defaultValue","disabled","handleBlur","handleChange","isRequired","label","onSubmitForm","options","placeholder","selectId","small","smallSelectTextOnly","underline","ghost","status","value","right"];function h(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}var E=function(e){var n=e.assistiveText,t=e.autoFocus,a=e.defaultValue,u=e.disabled,E=e.handleBlur,m=e.handleChange,v=e.isRequired,f=e.label,g=e.onSubmitForm,_=e.options,P=e.placeholder,C=e.selectId,b=e.small,D=e.smallSelectTextOnly,y=e.underline,L=e.ghost,A=e.status,R=e.value,T=e.right,S=(0,i.Z)(e,O),I=(0,s.useState)(!1),j=(0,o.Z)(I,2),N=j[0],F=j[1];return s.createElement(p,function(e){for(var n=1;n