"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[21057],{38717:(n,e,t)=>{t.d(e,{t:()=>i});var r=t(67294),i=function(n,e,t){(0,r.useEffect)((function(){var r=function(r){t&&e.current&&!e.current.contains(r.target)&&n()};return document.addEventListener("mouseup",r),document.addEventListener("touchend",r),function(){document.removeEventListener("mouseup",r),document.removeEventListener("touchend",r)}}),[e,t,n])}},22100:(n,e,t)=>{t.d(e,{z:()=>i});var r=t(67294),i=function(n){(0,r.useEffect)((function(){var e=document.body,t=n?"hidden":"auto";return e.style.overflowY=t,function(){e.style.overflowY="auto"}}),[n])}},51376:(n,e,t)=>{t.d(e,{F:()=>p});var r,i,o=t(67294),a=t(82856),l=t(71893),c=t(24265),u=l.ZP.div(r||(r=(0,a.Z)(["\n position: absolute;\n background-color: #ffffffb8;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n text-align: center;\n z-index: ",";\n"])),(function(n){return n.theme.layout.zIndex.overlay})),s=(0,l.ZP)(c.a)(i||(i=(0,a.Z)(["\n position: absolute;\n top: 50%;\n left: 50%;\n width: ",";\n height: ",";\n"])),(function(n){return n.$big?"5rem":"4rem"}),(function(n){return n.$big?"5rem":"4rem"})),f=t(63742),d=t(53397),p=function(n){var e=n.big;return o.createElement(u,{"data-testid":"centeredPccomLoader"},o.createElement(s,{"data-testid":"centeredPccomLoaderSpinner",$big:e,extra:o.createElement(f.J,{big:e,icon:"pcc_icon",fill:d.n.light.colors.brand.main})}))}},63350:(n,e,t)=>{t.d(e,{a:()=>p});var r,i,o=t(96891),a=t(39780),l=t(67294),c=t(82856),u=t(71893),s=u.ZP.div(r||(r=(0,c.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n max-height: -moz-available;\n max-height: -webkit-fill-available;\n max-height: fill-available;\n z-index: ",";\n background-color: rgba(51, 51, 51, 0.24);\n cursor: pointer;\n opacity: 0;\n visibility: hidden;\n transition: opacity 500ms cubic-bezier(0.25, 0.1, 0.25, 1),\n visibility 500ms cubic-bezier(0.25, 0.1, 0.25, 1);\n\n ","\n"])),(function(n){return n.theme.layout.zIndex.overlay}),(function(n){return n.isActive&&(0,u.iv)(i||(i=(0,c.Z)(["\n opacity: 1;\n visibility: visible;\n "])))})),f=["isActive"];function d(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}var p=function(n){var e=n.isActive,t=(0,a.Z)(n,f);return l.createElement(s,function(n){for(var e=1;e{t.d(e,{s:()=>T});var r,i,o,a,l,c,u,s,f,d,p=t(96891),m=t(22100),h=t(67294),g=t(29715),v=t(38717),b=t(50693),y=t(51376),w=t(63350),O=t(7730),E=t(82856),S=t(71893),j=t(30305),P=t(51062),x=t(63742),k=S.ZP.div(r||(r=(0,E.Z)(["\n position: absolute;\n top: 0;\n right: 0;\n width: 100%;\n height: 100%;\n background-color: ",";\n box-shadow: ",";\n overflow: hidden;\n z-index: ",";\n display: flex;\n flex-direction: column;\n transition: all 500ms;\n transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);\n transform: ",";\n\n "," {\n width: ",";\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.elevation.depth.depth16}),(function(n){return n.theme.layout.zIndex.modal}),(function(n){return n.visible?"translateX(0)":"translateX(100%)"}),j.B.tabletPortrait,(function(n){return"small"===n.size?"25rem":"37.5rem"})),A=S.ZP.div(i||(i=(0,E.Z)(["\n display: flex;\n ","\n\n align-items: center;\n padding: ",";\n"])),(function(n){var e=n.closeWithBackIcon,t=n.theme;return e?(0,S.iv)(o||(o=(0,E.Z)(["\n gap: ",";\n "])),t.spacing.spacing005):(0,S.iv)(a||(a=(0,E.Z)(["\n justify-content: space-between;\n "])))}),(function(n){return n.theme.spacing.spacing03})),Z=S.ZP.div(l||(l=(0,E.Z)(["\n ",";\n &&& {\n margin-top: 0;\n }\n margin: 0;\n"])),P.g.header.h4),C=S.ZP.div(c||(c=(0,E.Z)(["\n height: 100%;\n padding: ",";\n margin-bottom: ",";\n overflow-y: auto;\n"])),(function(n){var e=n.theme;return"0 ".concat(e.spacing.spacing03)}),(function(n){return n.theme.spacing.spacing03})),_=S.ZP.div(u||(u=(0,E.Z)(["\n display: flex;\n flex-direction: column;\n box-shadow: ",";\n padding: ",";\n & button:nth-child(2) {\n margin-left: ",";\n }\n"])),(function(n){return n.theme.elevation.depth.depth08}),(function(n){var e=n.theme;return"small"===n.size?"".concat(e.spacing.spacing02," ").concat(e.spacing.spacing03):"".concat(e.spacing.spacing02," ").concat(e.spacing.spacing05)}),(function(n){return n.theme.spacing.spacing02})),I=(0,S.ZP)(x.J)(s||(s=(0,E.Z)(["\n cursor: pointer;\n"]))),z=S.ZP.div(f||(f=(0,E.Z)(["\n display: flex;\n"]))),F=S.ZP.div(d||(d=(0,E.Z)(["\n display: flex;\n justify-content: space-between;\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing02}));function D(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 R(n){for(var e=1;e{t.d(e,{D:()=>b});var r,i,o,a=t(96891),l=t(39780),c=t(67294),u=t(63742),s=t(82856),f=t(71893),d=f.ZP.span(r||(r=(0,s.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 ")})),p=f.ZP.div(i||(i=(0,s.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=f.ZP.div(o||(o=(0,s.Z)(["\n width: fit-content;\n margin: 0;\n height: 16px;\n"]))),h=["outlined","deletable","clickable","text"];function g(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{t.d(e,{XC:()=>r,eT:()=>o,of:()=>i,qd:()=>c,uR:()=>l,ul:()=>a,z3:()=>u});var r="offer_promotional_price",i="marketplace_seller",o="pccomponentes_seller",a={stock:"IN_STOCK"},l={new:"WINS_NEW",refurbished:"WINS_REAC",functional:"WINS_REAC_C"},c={"seller=marketplace":i,"seller=pccomponentes":o},u="304.000"},68685:(n,e,t)=>{t.r(e),t.d(e,{default:()=>gn});var r=t(67294),i=t(28225),o=t(8218),a=t(71893),l=t(30305),c=t(50693);function u(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function s(){var n=u(["\n display: flex;\n flex-direction: column;\n padding: ",";\n "," {\n flex-direction: ",";\n padding: 0 0.625rem 0 0;\n margin-left: 9.5rem;\n justify-content: space-between;\n align-items: ",";\n }\n "," {\n flex-direction: ",";\n align-items: ",";\n margin-left: 11rem;\n padding: 0 3rem 0 0;\n justify-content: space-between;\n }\n"]);return s=function(){return n},n}function f(){var n=u(["\n "," {\n margin-right: ",";\n }\n\n "," {\n display: flex;\n flex-direction: column;\n }\n"]);return f=function(){return n},n}function d(){var n=u(["\n border-radius: 50%;\n position: absolute;\n left: 0.938rem;\n ","\n border: 0.31rem solid ",";\n\n "," {\n top: 50%;\n transform: translateY(-50%);\n width: 8.375rem;\n height: 8.375rem;\n }\n "," {\n width: 9.375rem;\n height: 9.375rem;\n }\n"]);return d=function(){return n},n}function p(){var n=u(["\n font-size: 0.75rem;\n line-height: 1rem;\n margin: 0.625rem 0;\n margin-bottom: ",";\n color: ",";\n "," {\n font-size: 1rem;\n margin-bottom: ",";\n }\n "," {\n font-size: 1.5rem;\n line-height: 2rem;\n }\n"]);return p=function(){return n},n}function m(){var n=u(["\n display: none;\n\n "," {\n display: block;\n padding: 0;\n margin-bottom: ",";\n }\n"]);return m=function(){return n},n}function h(){var n=u(["\n display: flex;\n justify-content: space-between;\n margin-top: ",";\n"]);return h=function(){return n},n}function g(){var n=u(["\n display: flex;\n flex-wrap: wrap;\n gap: ",";\n margin-bottom: ",";\n "," {\n margin-bottom: ",";\n }\n & > span {\n font-size: ",";\n }\n"]);return g=function(){return n},n}function v(){var n=u(["\n padding: 0.31rem 0.625rem;\n min-height: fit-content;\n max-height: 3rem;\n "," {\n padding: 0.6rem 1rem;\n width: fit-content;\n }\n"]);return v=function(){return n},n}function b(){var n=u(["\n margin-bottom: 0;\n "," {\n margin-bottom: ",";\n display: flex;\n justify-content: ",";\n }\n "," {\n align-items: center;\n width: ",";\n }\n"]);return b=function(){return n},n}var y=a.ZP.section(s(),(function(n){return n.$appliedFilters?"1.15rem 0.625rem":"0 0.625rem 0 8rem"}),l.B.tabletPortrait,(function(n){return n.$appliedFilters?"column":"row"}),(function(n){return n.$appliedFilters?"":"center"}),l.B.tabletLandscape,(function(n){return n.$appliedFilters?"column":"row"}),(function(n){return n.$appliedFilters?"":"center"})),w=a.ZP.div(f(),l.B.tabletPortrait,(function(n){return n.theme.spacing.spacing01}),l.B.tabletLandscape),O=a.ZP.img(d(),(function(n){var e=n.$appliedFilters;return"\n top: ".concat(e?"-17%":"50%",";\n transform: ").concat(e?"translateY(0)":"translateY(-50%)",";\n width: ").concat(e?"4.438rem":"6.25rem",";\n height: ").concat(e?"4.438rem":"6.25rem",";\n ")}),(function(n){return n.theme.colors.white}),l.B.tabletPortrait,l.B.tabletLandscape),E=a.ZP.h2(p(),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.colors.black}),l.B.tabletPortrait,(function(n){return n.theme.spacing.spacing01}),l.B.tabletLandscape),S=a.ZP.p(m(),l.B.tabletPortrait,(function(n){return n.theme.spacing.spacing01})),j=a.ZP.div(h(),(function(n){var e=n.theme;return"".concat(e.spacing.spacing005," ").concat(e.spacing.spacing01)})),P=a.ZP.div(g(),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02}),l.B.tabletPortrait,(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.typography.captionRegular.size})),x=(0,a.ZP)(c.z)(v(),l.B.tabletPortrait),k=a.ZP.div(b(),l.B.tabletPortrait,(function(n){var e=n.$appliedFilters,t=n.theme;return e?"".concat(t.spacing.spacing01):"0"}),(function(n){return n.$appliedFilters?"start":"end"}),l.B.tabletLandscape,(function(n){return n.$appliedFilters?"100%":"25%"})),A=t(48899),Z=t(32957),C=t(67294);function _(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0},C.createElement(O,{src:t,alt:e,$appliedFilters:l.length>0}),C.createElement(w,{className:"search-assistant__info-container"},C.createElement(E,null,l.length>0?c("searchAssistant.banner.showResults"):e),C.createElement(S,null,c("searchAssistant.banner.helpedUsers",{helpedUsersCount:A.z3})),l.length>0&&C.createElement(j,null,C.createElement(P,null,l.map((function(n){return C.createElement(Z.D,{outlined:!0,key:n.label,text:n.label})}))))),C.createElement(k,{className:"search-assistant__action-container",$appliedFilters:l.length>0},0===l.length&&C.createElement(x,{id:"start-assistant",onClick:function(){o(),a(!0)}},l.length?c("searchAssistant.banner.openAssistant"):r),l.length>0&&C.createElement(x,{id:"remove-filters-assistant",onClick:function(){o()}},c("searchAssistant.banner.removeFilters"))))};var F=t(60844),D=t(81973);function R(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function T(){var n=R(["\n display: flex;\n flex-direction: column;\n background-color: ",";\n padding: ",";\n border-radius: 8px;\n position: relative;\n margin: 3.125rem 0;\n min-height: 5.563rem;\n "," {\n min-height: 6.75rem;\n justify-content: center;\n }\n"]);return T=function(){return n},n}function $(){var n=R(["\n display: flex;\n flex-direction: column;\n"]);return $=function(){return n},n}function B(){var n=R(["\n font-size: ",";\n line-height: ",";\n color: ",";\n margin-left: ",";\n"]);return B=function(){return n},n}function L(){var n=R(["\n margin-top: ",";\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"]);return L=function(){return n},n}function q(){var n=R([""]);return q=function(){return n},n}function N(){var n=R(["\n & > div {\n "," {\n min-width: 37.5rem;\n }\n }\n"]);return N=function(){return n},n}var M,U=a.ZP.div(T(),(function(n){return n.theme.colors.environment.percent05}),(function(n){return n.theme.spacing.spacing01}),l.B.tabletPortrait),Q=(a.ZP.section($()),a.ZP.h2(B(),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.body1Regular.lineHeight}),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing01})),a.ZP.section(L(),(function(n){return n.theme.spacing.spacing01})),a.ZP.div(q())),W=(0,a.ZP)(D.s)(N(),l.B.tabletPortrait),G=t(86706),X=t(16550),Y=t(65822),H=t(18627),J=t(61434),K=t(22333),V=t(33078);function nn(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t1&&void 0!==arguments[1]?arguments[1]:q,t=n.id,r=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var c=a.value;if(c.id===t)return e;var u=!0,s=!1,f=void 0;try{for(var d,p=c.options[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var m=d.value;if(m.questions){var h=N(n,m.questions);if(h.length>0)return h}}}catch(n){s=!0,f=n}finally{try{u||null==p.return||p.return()}finally{if(s)throw f}}}}catch(n){i=!0,o=n}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return[]}),[q]),U=(0,r.useCallback)((function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,t=n.parentQuestionId,r=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var c=a.value;if(c.id===t)return c;if(c.options){var u=!0,s=!1,f=void 0;try{for(var d,p=c.options[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var m=d.value;if(m.questions){var h=U(n,m.questions);if(h)return h}}}catch(n){s=!0,f=n}finally{try{u||null==p.return||p.return()}finally{if(s)throw f}}}}}catch(n){i=!0,o=n}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}}),[q]),Q=(0,r.useCallback)((function(n){var e=U(n);if(e){var t=N(e),r=t.findIndex((function(n){return n.id===e.id})),i=t[r+1];return i||Q(e)}}),[U,N]),W=(0,r.useCallback)((function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y,r=q[n];if(!e)return x(n+1),w(r);if(e.questions)r=e.questions[0];else{var i=N(t);if(0===i.length)(r=q[n+1])&&x(n+1);else{var o=i.findIndex((function(n){return n.id===t.id})),a=-1!==o&&o===i.length-1;((r=a?Q(t):i[o+1])&&q[o+1]===r||q[n+1]===r)&&x(n+1)}}void 0===r&&($({name:M.END,payload:{total_results:I}}),r=T),w(r)}),[T,y,N,Q,q,E,$,I]),nn=function(n,t){var r,i=rn(tn({},n),{index:P});if(i.filters=(i.filters||[]).map((function(n){return A.qd[n]||n})),!(null===(r=i.filters)||void 0===r?void 0:r.length))return ln(i,t);if(!function(n){var e=!0,t=!0,r=!1,i=void 0;try{for(var o,a=n[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)if("string"!==typeof o.value){e=!1;break}}catch(n){r=!0,i=n}finally{try{t||null==a.return||a.return()}finally{if(r)throw i}}return e}(i.filters))return ln(i,t);var a=i.filters.filter((function(n){return n.includes("=")}));if(a.length>0&&a.length1&&void 0!==arguments[1]?arguments[1]:q,t=0;tn.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{t.d(e,{Q:()=>r,Z:()=>f});var r,i=t(67294),o=t(99426),a=t(67294);function l(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t