"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3010],{15756:(n,e,i)=>{i.d(e,{$0:()=>v,W2:()=>h,b4:()=>_,fN:()=>x,qt:()=>k,wh:()=>b,xL:()=>Z});var t,o,r,c,a,s,l,d=i(30168),u=i(30305),p=i(63742),g=i(51062),m=i(7730),f=i(71893),h=f.ZP.div(t||(t=(0,d.Z)(["\n width: 100%;\n margin-bottom: ",";\n\n "," {\n margin-top: ",";\n }\n"])),(function(n){return n.theme.spacing.spacing07}),u.B.tabletLandscape,(function(n){return n.theme.spacing.spacing04})),v=f.ZP.div(o||(o=(0,d.Z)(["\n display: flex;\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing02})),Z=(0,f.ZP)(p.J)(r||(r=(0,d.Z)(["\n margin-right: ",";\n fill: ",";\n"])),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.color})),b=f.ZP.div(c||(c=(0,d.Z)(["\n ","\n margin-top: 0;\n margin-bottom: ",";\n"])),g.g.header.h4,(function(n){return n.theme.spacing.spacing02})),x=(0,f.ZP)(m.Z)(a||(a=(0,d.Z)(["\n margin-right: ",";\n text-wrap: none;\n"])),(function(n){return n.theme.spacing.spacing005})),k=f.ZP.div(s||(s=(0,d.Z)(["\n cursor: pointer;\n display: flex;\n"]))),_=(0,f.ZP)(x)(l||(l=(0,d.Z)(["\n text-decoration: underline;\n cursor: pointer;\n &:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.brand.main}))},88711:(n,e,i)=>{i.r(e),i.d(e,{default:()=>b});var t,o,r,c=i(29439),a=(i(68309),i(67294)),s=i(42347),l=i(71893),d=i(28225),u=i(15756),p=i(64815),g=i(30168),m=(i(92222),i(63742)),f=l.ZP.div(t||(t=(0,g.Z)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: ",";\n padding: ",";\n margin-bottom: ",";\n border-radius: ",";\n border: ",";\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){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing01}),(function(n){var e=n.theme;return"1px solid ".concat(e.colors.environment.percent20)}),(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%)")})),h=l.ZP.div(o||(o=(0,g.Z)(["\n width: 100%;\n display: flex;\n align-items: center;\n"]))),v=(0,l.ZP)(m.J)(r||(r=(0,g.Z)(["\n margin-right: ",";\n fill: ",";\n"])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.color})),Z=i(85893);const b=function(n){var e,i,t=n.winner,o=n.eventName,r=void 0===o?"MarketplaceVendors.click.info":o,g=n.sectionId,m=n.showSkeleton,b=(0,l.Fg)(),x=(0,d.$G)(),k=(0,c.Z)(x,1)[0],_=(0,p.v)(),P="PcComponentes"===t.name,w=(0,a.useCallback)((function(){return _.publish({name:r})}),[_,r]);return(0,Z.jsx)(f,{id:g,children:(0,Z.jsxs)(h,{className:m?"skeleton":"",children:[(0,Z.jsx)(v,{icon:(null===t||void 0===t||null===(e=t.icon)||void 0===e?void 0:e.icon)||"store",color:(null===t||void 0===t||null===(i=t.icon)||void 0===i?void 0:i.color)||b.colors.black}),(0,Z.jsx)(u.fN,{typo:"body2Regular",children:k("productDetail.marketplaceVendors.winnerVendor")}),(0,Z.jsx)(u.fN,{typo:"body2Bold",children:t.href?(0,Z.jsx)(s.r,{decorated:!0,href:t.href,rel:"nofollow",title:t.name,children:t.name}):t.name}),!P&&(0,Z.jsx)(u.qt,{onClick:w,"data-testid":"icon-info",children:(0,Z.jsx)(v,{icon:"interface_information",color:b.colors.environment.percent40})})]})})}}}]); //# sourceMappingURL=WinnerVendor.js.map