"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[68969],{5986:(e,t,r)=>{r.r(t),r.d(t,{FlagShipWrapper:()=>O});r(47941),r(82526),r(57327),r(38880),r(89554),r(54747),r(49337),r(33321),r(69070);var n,i=r(4942),o=(r(69826),r(67294)),a=r(86706),d=r(13428),c=r(33799),u=r(13010),s=r(18129),l=r(4897),v=r(87973),p=r(90440),f=r(30168),g=r(71893).ZP.div(n||(n=(0,f.Z)(["\n max-width: 97.5rem;\n margin: 0 auto;\n"]))),m=r(85893);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t{r.d(t,{m:()=>m});var n=r(4942),i=r(15861),o=r(64687),a=r.n(o),d=(r(83710),r(41539),r(39714),r(68309),r(9653),r(92087),r(56977),r(47941),r(82526),r(57327),r(38880),r(89554),r(54747),r(49337),r(33321),r(69070),r(69119)),c=r(21055),u=r(678),s=r(12049),l=r(86706),v=r(18129),p=r(13010);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t0?1:0),parent_id:P.id,type:(0,p.Z8)(P.flags),marketplace:P.isPCC?"PcComponentes":void 0,promotion_ids:void 0,campaigns:void 0,is_on_sale:void 0,stock_shop:void 0,financing:void 0,reconditioned:void 0,reconditioned_type:void 0,other_vendors:void 0,image_url:P.images.large.path,image_url_thumb:void 0,rating_avg:null===(m=P.ratingAvg)||void 0===m?void 0:m.toString(),rating_count:null===(y=P.ratingCount)||void 0===y?void 0:y.toString(),description:void 0,original_price:null===(b=P.originalPrice)||void 0===b?void 0:b.toString(),added_date:void 0,url:(0,s.K)(e,P.slug),total_discount:!P.isPCC&&P.recommendedPrice?(P.recommendedPrice-(P.promotionalPrice||P.originalPrice)).toFixed(2):(P.originalPrice-(P.promotionalPrice||P.originalPrice)).toFixed(2),ean:void 0,part_number:void 0,marketplaces:[],recommended_price:null===(O=P.recommendedPrice)||void 0===O?void 0:O.toString(),is_in_liquidation:void 0,total_discount_percent:(null===(_=P.discount)||void 0===_?void 0:_.toString())||"0"},r.prev=3,r.next=6,n({idArticle:P.id,qty:"1",idOffer:P.offerId});case 6:t.eecAddToCartEvent(g(g({},j),{},{quantity:1}),C||w&&"list #".concat(w)||void 0),r.next=12;break;case 9:r.prev=9,r.t0=r.catch(3),d.ZT;case 12:case"end":return r.stop()}}),r,null,[[3,9]])})));return function(e){return r.apply(this,arguments)}}();return{addProductToCart:f,isAddingToCart:o}}},22981:(e,t,r)=>{r.d(t,{GS:()=>c,EB:()=>u});var n=r(90542),i=r(67294);var o=r(29715),a={media:"",matches:!1,onchange:o.Z,addListener:o.Z,removeListener:o.Z,addEventListener:o.Z,removeEventListener:o.Z,dispatchEvent:function(e){return!0}},d=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,i.useState)(r),d=(0,n.Z)(o,2),c=d[0],u=d[1],s=function(e){return"string"===typeof e?e.replace(/@media\s/,""):Object.entries(e).map((function(e){var t=(0,n.Z)(e,2),r=t[0],i=t[1],o=r.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})).toLowerCase(),a=i;return"boolean"===typeof a?a?o:"not ".concat(o):("number"===typeof a&&/[height|width]$/.test(o)&&(a="".concat(a,"px")),"(".concat(o,": ").concat(a,")"))})).join(" and ")}(t);return e((function(){var e=!0,t="undefined"===typeof window?a:window.matchMedia(s),r=function(){e&&u(Boolean(t.matches))};return t.addListener(r),u(t.matches),function(){e=!1,t.removeListener(r)}}),[s]),c}},c=d(i.useEffect),u=d("undefined"!==typeof window?i.useLayoutEffect:i.useEffect)},29715:(e,t,r)=>{r.d(t,{Z:()=>n});var n=function(){}}}]); //# sourceMappingURL=FlagShipWrapperComponent.js.map