PageSourceSearch

https://vox.pl/_next/static/chunks/3w3t_iqu_hcg_.js

js vox.pl collected 2026-09-24 20:22:45 UTC 27,991 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,752271,e=>{"use strict";var t=e.i(857792),r=e.i(903275),i=e.i(322153),a=e.i(877072),o=e.i(681859),l=e.i(28059);let s=e=>{if(!e||!Array.isArray(e))return[];let t=[];return e.forEach(e=>{if(!e||!e.code)return;let r=e.code,i="PHOTO"===e.type?"IMAGE":"VIDEO",a=e.url||"",o={};if(e.thumbnails&&"object"==typeof e.thumbnails){let t=(e=>{if(!e)return null;let t={};for(let r of["webp","avif","jpg"])if(e[r]?.variants){let i=e[r].variants,a={};i["1x"]?.url&&(a["1x"]=i["1x"].url),i["2x"]?.url&&(a["2x"]=i["2x"].url),Object.keys(a).length>0&&(t[r]=a)}return Object.keys(t).length>0?t:null})(e.thumbnails["ECOMMERCE-500_500"]);t&&(o["ECOMMERCE-500_500"]=t);let r=(e=>{if(!e)return"";for(let t of["webp","avif","jpg"])if(e[t])return e[t]?.["1x"]||e[t]?.["2x"]||"";return""})(t);r&&(a=r)}a&&t.push({code:r,type:i,url:a,...Object.keys(o).length>0?{thumbnails:o}:{}})}),t},n=class{id;name;slug;manufacturer;files;flags;configurable;colorSwatch;price;prices;basePrice;currentPrice;omnibusPrice;index;uuid;features=void 0;rap=void 0;priceUnit;gpsr=void 0;constructor(e){this.id=e.id,this.name=e.name,this.slug=e.slug,this.manufacturer=e.manufacturer,e.filesV2?this.files=s(e.filesV2):e.files&&Array.isArray(e.files)&&e.files.length>0&&e.files.some(e=>e&&e.thumbnails&&"object"==typeof e.thumbnails)?this.files=s(e.files):this.files=e.files||[],this.flags=e.flags,this.price=e.price,this.prices=e.prices,this.basePrice=e.basePrice,this.currentPrice=e.currentPrice,this.omnibusPrice=e.omnibusPrice,this.configurable=function(e){if("string"==typeof e)return e;if((0,r.default)(e)&&"value"in e){let t=e.value;return"string"==typeof t?t:void 0}}(e.behaviour)===i.PRODUCT_BEHAVIOUR_MEBLE_PW_TAPICERKA||!0===e.configurable,this.colorSwatch=e.colorSwatch,this.index=e.index??0,this.uuid=e.uuid??void 0,this.priceUnit=e.priceUnit??e.prices?.priceUnit??void 0,this.gpsr=e.gpsr??void 0,e.features&&(this.features=e.features),e.rap&&(this.rap=e.rap),(0,t.makeAutoObservable)(this)}checkFlagActive=e=>{let{flags:t}=this,r=t&&t.find(t=>t.key===e);return!!r&&!0===r.value};get colors(){let e=[];
1if(this.features?.FEATURE__COLOR_MAIN){let t=this.features.FEATURE__COLOR_MAIN;return t&&Object.keys(t).forEach(r=>e.push(t[r])),e}return this.colorSwatch&&this.colorSwatch.featured&&this.colorSwatch.totalCount&&0!==this.colorSwatch.totalCount?(this.colorSwatch.featured.forEach(t=>{e.push({featureValue:t.rawFeatureValueCode,featureValueDescriptive:t.rawFeatureValueName,featureName:t.rawFeatureValueName,featureKey:t.rawFeatureValueCode,value:t.marketingColors.length?t.marketingColors[0].hex:"",featureImageUrl:t.rawFeatureValueFile})}),e):[]}get colorsCount(){return this.colorSwatch?.totalCount?this.colorSwatch.totalCount:this.colors?this.colors.length:0}getPrice=e=>{if("true"!==o.IS_SHOP)return"";if(this.prices){let e=this.prices?.currentPrice?.value,t=this.prices?.basePrice?.value,r=this.prices?.basePrice?.currency;return e&&t?`${(0,a.default)(100*(t>e?t:e),r)}`:""}if(this.rap){let[t]=(0,l.default)(),{rap:i,price:o}=this,s=i?.prices[t]?.prices[e]?i.prices[t].prices[e].currency:"MXN";if(!i?.prices[t]?.prices[e])return(0,r.default)(o)&&o[t]?.gross.amount?`${o[t].gross.amount} ${s}`:"";let{current:n,base:u}=i.prices[t].prices[e];if(!n||!u)return"";let{amount:c}=n.gross,{amount:d}=u.gross;return`${(0,a.default)(100*(d>c?d:c),s)}`}let{price:t,currentPrice:i,basePrice:s}=this;if(!t||!i||!s||!t.priceList.includes(e)||!i.priceList.includes(e)||!s.priceList.includes(e))return"";let{currency:n}=t,u=i.value,c=s.value;return`${(0,a.default)(100*(c>u?c:u),n)}`};getPromoPrice=e=>{if("true"!==o.IS_SHOP)return"";if(this.prices){let e=this.prices?.currentPrice?.value,t=this.prices?.basePrice?.value,r=this.prices?.basePrice?.currency;if(!e||!t)return"";let i=(0,a.default)(100*e,r);return e<t?i:""}if(this.rap){let[t]=(0,l.default)(),{rap:r}=this,i=r?.prices[t]?.prices[e]?r.prices[t].prices[e].currency:"MXN";if(!r?.prices[t]?.prices[e])return"";let{current:o,base:s}=r.prices[t].prices[e];if(!o||!s)return"";let{amount:n}=o.gross,{amount:u}=s.gross,c=(0,a.default)(100*n,i);return n<u?c:""}let{price:t,currentPrice:r,basePrice:i}=this;if(!t||!r||!i||t.priceList!==e||r.priceList!==e||i.priceList!==e)return"";let{currency:s}=t,n=r.value,u=i.value,c=(0,a.default)(100*n,s);return n<u?c:""};getPromoPercent=e=>{if("true"!==o.IS_SHOP)return"";if(this.prices){let e=this.prices?.currentPrice?.value,t=this.prices?.basePrice?.value;return e&&t&&e<t?`-${Math.round(100-e/t*100)}%`:""}if(this.rap){let[t]=(0,l.default)(),{rap:r}=this;if(!r?.prices[t]?.prices[e])return"";let{current:i,base:a}=r.prices[t].prices[e];if(!i||!a)return"";let{amount:o}=i.gross,{amount:s}=a.gross;return o<s?`-${Math.round(100-o/s*100)}%`:""}let{price:t,currentPrice:r,basePrice:i}=this;if(!t||!r||!i)return"";let a=r.value,s=i.value;return a<s?`-${Math.round(100-a/s*100)}%`:""};getOmnibusPrice=e=>{if("true"!==o.IS_SHOP)return"";if(this.prices){let e=this.prices?.omnibusPrice?.value;if(e){let t=this.prices?.basePrice?.currency;return`${(0,a.default)(100*e,t)}`}}if(this.rap){let[t]=(0,l.default)(),{rap:r}=this,i=r?.prices[t]?.prices[e]?r.prices[t].prices[e].currency:"MXN";if(!r?.prices[t]?.prices[e])return"";let{omnibus:o,base:s}=r.prices[t].prices[e];if(!s)return"";if(!o){let{amount:e}=s.gross;return(0,a.default)(100*e,i)}let{amount:n}=o.gross,u=(0,a.default)(100*n,i);return n&&"PLN"===i?u:""}let{price:t,omnibusPrice:r,basePrice:i}=this;if(!t||!r||!i||t.priceList!==e||r.priceList!==e||i.priceList!==e)return"";let{currency:s}=t;if(!r){let{value:e}=i;return(0,a.default)(100*e,s)}let{value:n}=r,u=(0,a.default)(100*n,s);return n&&("PLN"===s||"EUR"===s)?u:""};getFromFlag=e=>{if("true"!==o.IS_SHOP)return!1;if(this.prices)return this.prices.from??!1;if(this.rap){let[t]=(0,l.default)(),{rap:r}=this;return r?.prices[t]?.prices[e]?.from??!1}let{price:t}=this;return!!t&&e===t.priceList&&(t.from??!1)};get packshots(){let e={mainShadow:[],mainVideo:[],main:[],arrangement:[],hover:[],hoverOpened:[],hoverVideo:[]};return this.files&&this.files.forEach(t=>{if(t.code&&t.url)switch(t.code){case i.PRODUCT_ARRANGEMENT_PHOTO:e.arrangement.push(t);break;case i.PRODUCT_MAIN_PHOTO:e.main.push(t);break;case i.PRODUCT_HOVER_PHOTO:e.hover.push(t);break;
1case i.PRODUCT_MAIN_PHOTO_WITH_SHADOW:e.mainShadow.push(t);break;case i.PRODUCT_MAIN_VIDEO:e.mainVideo.push(t);break;case i.PRODUCT_LIST_VIDEO:e.hoverVideo.push(t);break;case i.PRODUCT_LIST_HOVER_OPENED_PACKSHOT:e.hoverOpened.push(t)}}),e}get swatches(){return this.colors&&this.colors.length?this.colors.map(e=>({shape:"circle",active:!1,hoverable:!1,size:"small",image:e.featureImageUrl||"",color:e.value||void 0})):[]}get gpsrObject(){return this.gpsr??void 0}};e.s(["default",0,n])},685581,467860,405200,e=>{"use strict";e.i(498849);var t=e.i(756432),r=e.i(41158),i=e.i(191788),a=e.i(472816);let o={productCard:{width:"100%",height:"auto",display:"block",textDecoration:"none",position:"relative","&:hover .hoverImage":{opacity:1,pointerEvents:"auto"},"&:hover .bottom_labels span":{transform:"translateY(-10px)"},"&.product-card-has-hover:hover .product-config-button span":{borderColor:a.default.rawColors.neutralWhite,transition:"border-color 0.2s ease"},"&.product-card-has-hover:hover .product-config-button p":{color:a.default.rawColors.neutralWhite,transition:"color 0.2s ease"},"&.product-card-has-hover:hover .product-config-button svg path, &.product-card-has-hover:hover .product-config-button svg rect":{fill:a.default.rawColors.neutralWhite,transition:"fill 0.2s ease"}},productCardInner:{width:"100%",height:"100%"},visualArea:(e=!1,t=!1)=>({bg:e?"transparent":t?a.default.rawColors.neutralWhite:a.default.rawColors.lightGreyBgProduct,position:"relative"}),imageLink:{display:"block",width:"100%",height:"100%",outline:"none","&:focus-visible":{outline:`2px solid ${a.default.rawColors.blue500}`,outlineOffset:"2px"}}};var l=e.i(783682);e.i(664157);var s=e.i(271179),n=e.i(435765);let u={mainImageSkeleton:{position:"absolute",top:"50%",left:"50%",zIndex:a.default.zIndex.documentHigh,transform:"translate(-50%, -50%)",width:"100%",height:"100%",pointerEvents:"none"},visualContainer:{position:"relative"}};var c=e.i(322153),d=e.i(62989);let p={width:"100%",maxWidth:"442px",height:"100%",maxHeight:"442px",display:"flex",justifyContent:"center",position:"absolute",top:0,left:0},h={margin:["8px 16px","8px 16px","8px 16px","8px 16px","16px 32px"]},f=()=>(0,t.jsx)("div",{sx:p,children:(0,t.jsx)(d.default,{icon:"EmptyPicture",size:"442px",color:a.default.rawColors.lightGrey700,addSx:h})});var x=e.i(282182);let m=(0,i.memo)(({url:e,alt:r,thumbnailFormats:i,thumbnails:a,onLoadFunc:o,onErrorFunc:l,standardLoaded:s=!0,showPlaceholder:n=!1,isBig:u=!1,isSmall:c=!1,isSlider:d=!1,isSearch:p=!1})=>((!e||""===e)&&l&&l(),(0,t.jsx)("div",{sx:((e,t,r,i=!1)=>i?{padding:32*!e}:{padding:({big:0,small:r?[32,32,32,64]:32,normal:[32,32,64,"4.1666667vw"]})[e?"big":t?"small":"normal"]})(u,c,d,p),children:(0,t.jsxs)("div",{sx:{position:"relative",pb:"100%",img:{maxWidth:"100%",width:"100%",height:"100%",objectFit:"contain",aspectRatio:"1 / 1",mixBlendMode:"multiply",opacity:+!!s}},children:[!s&&n&&(0,t.jsx)(f,{}),(0,t.jsx)(x.default,{image:e,thumbnailFormats:i,thumbnails:a,alt:r,objectFit:"contain",onLoad:o,onError:l})]})})));m.displayName="PackshotImage";var g=e.i(940272),b=e.i(198112);let S=(0,i.memo)(({url:e,poster:r="",onLoadFunc:i,onErrorFunc:o,isHover:l=!1,alt:s})=>e&&""!==e?(0,t.jsx)("div",{sx:((e=!1)=>({position:e?"absolute":"relative",opacity:+!e,pointerEvents:e?"none":"auto",...b.default.mainTransition("opacity",a.default.transitions.animation.atomCurve,a.default.transitions.time.normal),top:0,left:0,right:0,bottom:0,pb:"100%",div:{position:"absolute",top:0,left:0,right:0,bottom:0,video:{objectFit:"cover"}}}))(l),className:l?"hoverImage":"",children:(0,t.jsx)(g.default,{video:e,playVideo:!0,poster:r,loop:!0,onLoaded:i,onErrorFunc:o,alt:s,allowContextMenu:l})}):(o&&o(),null));S.displayName="PackshotVideo";let v=(0,i.memo)(({url:e,alt:r,thumbnailFormats:i,thumbnails:o,isOpened:l=!1,isSmall:s=!1,isSlider:n=!1})=>{let u,c;return e&&""!==e?(0,t.jsx)(x.default,{image:e,thumbnailFormats:i,thumbnails:o,alt:r,objectFit:"contain",sx:(u=l,c=s,{padding:({standard:0,small:n?[32,32,32,64]:32,normal:[32,32,64,"4.1666667vw"]})[u?c?"small":"normal":"standard"],opacity:0,bg:u?a.default.rawColors.lightGreyBgProduct:"transparent",objectFit:"cover",...b.default.mainTransition("opacity",a.default.transitions.animation.atomCurve,a.default.transitions.time.normal)}),className:"hoverImage"}):null});v.displayName="PackshotImageHover";let C=({packshots:e,alt:r,setIsLoading:a=()=>null,isSmall:o,isSlider:l,isSearch:d=!1})=>{let{t:p}=(0,s.useTranslation)("common"),[h,f]=(0,i.useState)(!1),[x,g]=(0,i.useState)(!1),{main:b,hover:C,mainShadow:w,mainVideo:j,hoverVideo:P,hoverOpened:k}=e,_=(0,i.useCallback)(()=>{f(!0),a(!1)},[a]),y=(0,i.useCallback)(()=>{f(!1),g(!0),a(!1)},[a]),A=(0,i.useCallback)(()=>w.length?w[0].url:b.length?b[0].url:"",[w,b]),E=(0,i.useMemo)(()=>j.length?j.slice(0,c.NUM_OF_PACKSHOTS).map(e=>(0,t.jsx)(S,{url:e.url,poster:A(),onLoadFunc:_,onErrorFunc:y,alt:r},e.code)):w.length?w.slice(0,c.NUM_OF_PACKSHOTS).map(e=>(0,t.jsx)(m,{url:e.url,thumbnailFormats:e.thumbnails?.[c.PRODUCT_CARD_THUMBNAIL_SIZE],alt:r,showPlaceholder:x,onLoadFunc:_,onErrorFunc:y,standardLoaded:h,isBig:!0,isSearch:d},e.code)):b.length?b.slice(0,c.NUM_OF_PACKSHOTS).map(e=>(0,t.jsx)(m,{url:e.url,thumbnailFormats:e.thumbnails?.[c.PRODUCT_CARD_THUMBNAIL_SIZE],alt:r,onLoadFunc:_,onErrorFunc:y,showPlaceholder:x,isSlider:l,isSmall:o,standardLoaded:h,isSearch:d},e.code)):(0,t.jsx)(m,{url:"",alt:r||p("productImageNotAvailable"),onLoadFunc:_,onErrorFunc:y,showPlaceholder:!0,isSlider:l,isSmall:o,standardLoaded:!1,isSearch:d}),[b,j,w,h,x,r,p,A,_,y,l,o,d]),O=(0,i.useMemo)(()=>P.length?P.slice(0,c.NUM_OF_PACKSHOTS).map(e=>(0,t.jsx)(S,{url:e.url,isHover:!0,alt:r},e.code)):C.length?C.slice(0,c.NUM_OF_PACKSHOTS).map(e=>(0,t.jsx)(v,{alt:`${r} ${p("arrangement.single")}`,url:e.url,thumbnailFormats:e.thumbnails?.[c.PRODUCT_CARD_THUMBNAIL_SIZE]},e.code)):k.length?k.slice(0,c.NUM_OF_PACKSHOTS).map(e=>(0,t.jsx)(v,{alt:`${r} ${p("arrangement.single")}`,url:e.url,thumbnailFormats:e.thumbnails?.[c.PRODUCT_CARD_THUMBNAIL_SIZE],isOpened:!0,isSmall:o,isSlider:l},e.code)):null,[k,C,P,r,p,o,l]);return(0,t.jsxs)(i.Fragment,{children:[!h&&!x&&(0,t.jsx)(n.default,{count:1,sx:u.mainImageSkeleton,enableAnimation:!0}),(0,t.jsxs)("div",{sx:u.visualContainer,children:[E,O]})]})},w=e=>({padding:["4px 8px","4px 8px","4px 8px","4px 8px 2px"],textTransform:"uppercase",letterSpacing:"0.6px",fontFamily:a.default.fonts.uniformMedium,fontSize:e?a.default.fontSizes.omnibus:[a.default.fontSizes.omnibus,a.default.fontSizes.omnibus,a.default.fontSizes.caption],lineHeight:"140%",fontWeight:500,bg:a.default.rawColors.accent700,color:a.default.rawColors.neutralWhite}),j=(e=!1)=>({position:"absolute",zIndex:a.default.zIndex.documentHigh,maxHeight:"40px",top:e?"8px":["8px","8px","8px","16px"],left:e?"8px":["8px","8px","8px","16px"]}),P={position:"absolute",left:"8px",bottom:0,display:"flex",flexDirection:"column",alignItems:"flex-start",ga
1p:"8px"},k=(e,t)=>({...w(t),color:a.default.rawColors.darkGrey700,bg:e?"transparent":a.default.rawColors.neutralWhite,fontWeight:500,transform:"translateY(0)",...b.default.mainTransition("transform")}),_=e=>({...w(e),WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility"}),y=e=>({...w(e),bg:a.default.rawColors.darkGrey700,color:a.default.rawColors.neutralWhite,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility"});var A=a;let E=({hoverRef:e,background:r=A.default.rawColors.neutralWhite,isCardHovered:o=!1})=>{let l,[n,u]=(0,i.useState)(!1),{t:c}=(0,s.useTranslation)("common"),p=()=>{u(!0)},h=()=>{u(!1)};(0,i.useEffect)(()=>{let t=e.current;return t?(t.addEventListener("mouseenter",p),t.addEventListener("mouseleave",h),()=>{t.removeEventListener("mouseenter",p),t.removeEventListener("mouseleave",h)}):()=>null},[e]);let f=(0,i.useMemo)(()=>(0,t.jsx)(d.default,{icon:"FilterUnselected",size:"18px"}),[]);return(0,t.jsxs)("span",{sx:(l=n||o,{display:"flex",alignItems:"center",bg:r,backgroundColor:"transparent",border:l?`0.5px dashed ${a.default.rawColors.dashColor}`:"0.5px dashed transparent",borderRadius:"40px",position:"relative",zIndex:a.default.zIndex.documentHigh,cursor:"pointer",...b.default.mainTransition("border-color",a.default.transitions.animation.atomCurve,a.default.transitions.time.fast),height:["32px","32px","32px","40px"],padding:["7px 7px 7px 6px","7px 7px 7px 6px","7px 7px 7px 6px","10px 10px 10px 9px"],width:l?["32px","32px","32px","100%"]:["32px","32px","32px","40px"],...b.default.mainTransition("width",a.default.transitions.animation.atomCurve,a.default.transitions.time.fast),"span svg":{width:[18,18,18,22],height:[18,18,18,22]},p:{color:a.default.rawColors.darkGrey700,textTransform:"capitalize",pl:["4px","4px","4px","8px"],fontSize:a.default.fontSizes.smallText,overflowX:"hidden",width:l?[0,0,0,"100%"]:"0%","&:hover":{color:a.default.rawColors.darkGrey700},...b.default.mainTransition("width")}}),"aria-hidden":"true",children:[f,(0,t.jsx)("p",{children:c("customize")})]})};var O=e.i(197516);let T=({children:e})=>"true"===(0,O.default)("NEXT_PUBLIC_IS_SHOP")?(0,t.jsx)(i.Fragment,{children:e}):(0,t.jsx)(i.Fragment,{});e.s(["default",0,T],467860);let F=({configurable:e,productUrl:o,onConfigClick:l,pricePromoPercent:n,checkFlagActive:u,isSmall:d=!1,transparent:p=!1,hasHoverImage:h=!1,isCardHovered:f=!1,className:x,isBlock:m=!1})=>{let g,{t:S}=(0,s.useTranslation)("common"),v=(0,i.useRef)(null),C=u(c.FLAGS_TYPES_NAMES.novelty)&&!m,A=u(c.FLAGS_TYPES_NAMES.novelty)&&m,O=u(c.FLAGS_TYPES_NAMES.hotSale),F=u(c.FLAGS_TYPES_NAMES.goodSale)&&!O,I=u(c.FLAGS_TYPES_NAMES.surpriseSale)&&!O&&!F,L=n&&!O&&!F&&!I||u(c.FLAGS_TYPES_NAMES.promotion),M=u(c.FLAGS_TYPES_NAMES.blackFriday),N=u(c.FLAGS_TYPES_NAMES.fastShipping)&&!M,$=u(c.FLAGS_TYPES_NAMES.bestseller)&&!M&&!N;return(0,t.jsxs)(T,{children:[e&&(o?(0,t.jsx)(r.default,{ref:v,href:o,onClick:l,sx:j(d),className:h?"product-config-button":void 0,"aria-label":S("customize"),children:(0,t.jsx)(E,{hoverRef:v,background:p?a.default.rawColors.neutralWhite:a.default.rawColors.lightGreyBgProduct,isCardHovered:f})}):(0,t.jsx)("div",{ref:v,sx:j(d),className:h?"product-config-button":void 0,children:(0,t.jsx)(E,{hoverRef:v,background:p?a.default.rawColors.neutralWhite:a.default.rawColors.lightGreyBgProduct,isCardHovered:f})})),(F||I||O||L||M||N||$||A)&&(0,t.jsxs)("div",{sx:((e=!1)=>({position:"absolute",top:e?"8px":["8px","8px","8px","16px"],right:e?"8px":["8px","8px","8px","16px"],transform:"translateY(-100%) rotate(-90deg)",transformOrigin:"bottom right",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:"8px",backfaceVisibility:"hidden",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",zIndex:a.default.zIndex.documentHigh}))(d),role:"group","aria-label":S("productPromotionalLabels"),className:x,children:[F&&(0,t.jsx)("span",{sx:_(d),role:"status","aria-label":S("goodSale"),children:S("goodSale")}),I&&(0,t.jsx)("span",{sx:_(d),role:"status","aria-label":S("surprise"),children:S("surprise")}),O&&(0,t.jsx)("span",{sx:_(d),role:"status","aria-label":S("hotSale"),children:S("hotSale")}),L&&(0,t.jsx)("span",{sx:_(d),role:"status","aria-label":S("specialOffer"),children:S("specialOffer")}),M&&(0,t.jsx)("span",{sx:y(d),role:"status","aria-label":S("blackFriday"),children:S("blackFriday")}),N&&(0,t.jsx)("span",{sx:y(d),role:"status","aria-label":S("fastShipping"),children:S("fastShipping")}),$&&(0,t.jsx)("span",{sx:y(d),role:"status","aria-label":S("bestseller"),children:S("bestseller")}),A&&(0,t.jsx)("span",{sx:k(p,d),role:"status","aria-label":S("new"),children:S("new")})]}),(n||C)&&(0,t.jsxs)("div",{sx:P,className:x?`${x} bottom_labels`:"bottom_labels",role:"group","aria-label":S("productAdditionalInformation"),children:[n&&(0,t.jsx)("span",{sx:(g=p,{...w(!1),bg:g?"transparent":a.default.rawColors.neutralWhite,fontFamily:a.default.fonts.uniformExtra,letterSpacing:"0.9px",fontSize:a.default.fontSizes.bigText,color:a.default.rawColors.darkGrey700,fontWeight:a.default.fontWeights.normal,transform:"translateY(0)",...b.default.mainTransition("transform")}),role:"status","aria-label":`${S("discount")}: ${n}`,children:n}),C&&(0,t.jsx)("span",{sx:k(p,d),role:"status","aria-label":S("new"),children:S("new")})]})]})};e.s(["default",0,F],405200);let I={newLabel:{display:"block",fontFamily:a.default.fonts.uniformMedium,fontWeight:500,fontSize:a.default.fontSizes.omnibus,textTransform:"uppercase",letterSpacing:"0.6px",color:a.default.rawColors.neutralBlack,marginBottom:"4px"},descriptionArea:(e=!1)=>({position:"relative",p:e?"8px 16px 24px":["8px 16px 24px","8px 16px 24px","8px 16px 24px","16px 16px 40px"]}),descriptionSkeletonContainer:{position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:a.default.zIndex.documentHigh,bg:a.default.rawColors.neutralWhite,p:"8px 16px 24px"},infoNameSkeleton:{mb:"4px"},infoPriceSkeleton:{mb:"4px"},infoColorSkeleton:{mr:"calc(1rem / 4)"},nameLink:{display:"block",textDecoration:"none",color:"inherit",outline:"none","&:hover":{textDecoration:"underline"},"&:focus-visible":{outline:`2px solid ${a.default.rawColors.blue500}`,outlineOffset:"2px"}}},L={priceArea:{pt:"10px"},priceRow:{position:"relative",display:"flex",flexWrap:"wrap",columnGap:"8px",rowGap:"4px"},productCardInfoPrice:(e=!1)=>({fontFamily:a.default.fonts.uniformExtra,letterSpacing:"0.05em",fontSize:a.default.fontSizes.bigText,color:e?a.default.rawColors.accent700:a.default.rawColors.neutralBlack,span:{textWrap:"nowrap"},small:{color:a.default.rawColors.omnibus,fontSize:a.default.fontSizes.smallText,ml:"4px",position:"relative",textWrap:"nowrap","&:after":{content:'""',position:"absolute",height:"1px",left:"50%",top:"50%",transform:"translate(-50%, -50%)",background:a.default.rawColors.darkGrey300,width:"100%"}}}),priceLink:(e=!1)=>({fontFamily:a.default.fonts.uniformExtra,letterSpacing:"0.05em",fontSize:a.default.fontSizes.bigText,textDecoration:"none",outline:"none","&&":{color:e?a.default.rawColors.accent700:a.default.rawColors.neutralBlack},"&:visited":{color:e?a.default.rawColors.accent700:a.default.rawColors.neutralBlack},"&:hover":{textDecoration:"underline"},"&:focus-visible":{outline:`2px solid ${a.default.rawColors.blue500}`,outlineOffset:"2px"},span:{textWrap:"nowrap"},small:{color:a.default.rawColors.omnibus,fontSize:a.default.fontSizes.smallText,ml:"4px",position:"relative",textWrap:"nowrap","&:after":{content:'""',position:"absolute",height:"1px",left:"50%",top:"50%",transform:"translate(-50%, -50%)",background:a.default.rawColors.darkGrey300,width:"100%"}}}),omnibus:{width:"100%"},technicalCard:{position:"relative",display:"flex",alignItems:"flex-start",ga
1p:"4px",width:"100%",fontSize:a.default.fontSizes.omnibus,textDecoration:"underline"},gpsr:{position:"absolute",width:"43px",height:"24px",top:0,right:0,zIndex:a.default.zIndex.documentHigh}};var M=e.i(512370);let N=({price:e,priceUnit:a,promoPrice:o,omnibusPrice:l,showFrom:n,gpsr:u,productUrl:c,onLinkClick:d,onAuxClick:p})=>{let{t:h}=(0,s.useTranslation)("common"),f=()=>(e||o)&&a&&"M2"===a?(0,t.jsxs)(i.Fragment,{children:["/m",(0,t.jsx)("sup",{children:"2"})]}):null,m=()=>{if(o){let t=n?`${h("product.productCostFrom")} `:"";return`${t}${h("promotionalPrice")}: ${o}${"M2"===a?" /m²":""}, ${h("originalPrice")}: ${e}${"M2"===a?" /m²":""}`}let t=n?`${h("product.productCostFrom")} `:"";return`${t}${h("price")}: ${e}${"M2"===a?" /m²":""}`},g=()=>(0,t.jsxs)(i.Fragment,{children:[n&&(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("span",{children:h("product.productCostFrom")})," "," "]}),o?(0,t.jsxs)(i.Fragment,{children:[(0,t.jsxs)("span",{"aria-hidden":"true",children:[" ",o,f()]}),(0,t.jsxs)("small",{"aria-hidden":"true",children:[e,f()]})]}):(0,t.jsx)(i.Fragment,{children:(0,t.jsxs)("span",{"aria-hidden":"true",children:[" ",e,f()]})})]});return(0,t.jsx)(T,{children:(0,t.jsx)("div",{sx:L.priceArea,role:"group","aria-label":h("productPricing"),children:(0,t.jsxs)("div",{sx:L.priceRow,children:[c?(0,t.jsx)(r.default,{href:c,onClick:d,onAuxClick:p,sx:L.priceLink(!!o),"aria-label":m(),tabIndex:0,children:g()}):(0,t.jsx)("span",{sx:L.productCardInfoPrice(!!o),"aria-label":m(),children:g()}),(0,t.jsx)("div",{sx:L.omnibus,children:l&&o&&(0,t.jsxs)("p",{className:"omnibus",role:"status","aria-label":`${h("omnibusText")} ${l}${"M2"===a?" /m²":""}`,children:[`${h("omnibusText")} ${l}`,f()]})}),(0,t.jsxs)("div",{sx:L.technicalCard,children:[u?.informationSheetUrl?(0,t.jsx)("a",{href:u?.informationSheetUrl,target:"_blank",rel:"noreferrer",children:h("technicalCard")}):null," ",u?.energyClassCode&&u.energyClassIcon&&u.informationLabelUrl?(0,t.jsx)("div",{sx:L.gpsr,children:(0,t.jsx)(M.default,{variant:"iconOnly",variantColor:"brand",onClick:e=>{e.preventDefault(),e.stopPropagation(),window.open(u?.informationLabelUrl,"_blank")},size:"small",children:(0,t.jsx)(x.default,{image:u?.energyClassIcon,alt:u?.energyClassCode,width:43,height:24})})}):null]})]})})})};var $=e.i(349531);let U={productCardInfoSwatches:{display:"flex",flexDirection:"row",mt:"12px",alignItems:"flex-start",gap:"8px"},productCardInfoSwatch:(e,t)=>{let r={};return e&&(r={background:`url(${e})`,backgroundPosition:"center",backgroundSize:"contain"}),t&&(r={...r,backgroundColor:t}),{borderRadius:"50%",border:`0.1px solid  ${a.default.rawColors.lightGreyBorder}`,...r,display:"inline-flex",flexShrink:0,width:"16px",height:"16px"}},swatchLink:{display:"inline-flex",flexShrink:0,height:"16px",borderRadius:"50%",outline:"none"},swatchWrapper:{display:"inline-flex",flexShrink:0,height:"16px"},remainingCount:{display:"flex",flexDirection:"column",justifyContent:"flex-end",flexShrink:0,minWidth:"18px",height:"16px",fontSize:a.default.fontSizes.smallText,lineHeight:1,fontFamily:a.default.fonts.uniformExtra,fontWeight:a.default.fontWeights.normal,letterSpacing:"0.05em"}},H=({swatches:e,totalColorsCount:a,productUrl:o,onLinkClick:l,onAuxClick:n})=>{let{t:u}=(0,s.useTranslation)("common"),c=a&&a>$.MAX_SWATCHES_NUMBER?`+${a-$.MAX_SWATCHES_NUMBER}`:e.length>$.MAX_SWATCHES_NUMBER?`+${e.length-$.MAX_SWATCHES_NUMBER}`:"";return e.length?(0,t.jsxs)("div",{sx:U.productCardInfoSwatches,role:"group","aria-label":u("availableColors"),children:[e.map((e,i)=>{if(i<$.MAX_SWATCHES_NUMBER){let a,s;return a=e.color||u("colorAvailable"),s=(0,t.jsx)("span",{sx:U.productCardInfoSwatch(e.image,e.color),role:"img","aria-label":`${u("colorVariant")}: ${a}`}),o?(0,t.jsx)(r.default,{href:o,onClick:l,onAuxClick:n,sx:U.swatchLink,"aria-label":`${u("colorVariant")}: ${a}`,tabIndex:0,children:s},`swatch-${e.image}-${i}`):(0,t.jsx)("span",{sx:U.swatchWrapper,children:s},`swatch-${e.image}-${i}`)}return null}),c&&(0,t.jsx)("span",{sx:U.remainingCount,children:c})]}):(0,t.jsx)(i.Fragment,{})},z=()=>(0,t.jsxs)("div",{sx:I.descriptionSkeletonContainer,children:[(0,t.jsx)(n.default,{count:1,height:18,width:100,sx:I.infoNameSkeleton}),(0,t.jsx)(n.default,{count:1,height:18,width:60,sx:I.infoPriceSkeleton}),(0,t.jsx)(n.default,{count:1,height:12,width:140,sx:I.infoPriceSkeleton}),(0,t.jsx)(n.default,{sx:I.infoColorSkeleton,height:16,width:16,count:3,circle:!0,inline:!0})]}),R=({name:e,price:i,priceUnit:a,promoPrice:o,omnibusPrice:l,showFrom:n,swatches:u,totalColorsCount:c,isSmall:d=!1,searchHightlight:p,isLoading:h=!1,productUrl:f,onLinkClick:x,onAuxClick:m,gpsr:g})=>{let{t:b}=(0,s.useTranslation)("common");return(0,t.jsxs)("div",{sx:I.descriptionArea(d),children:[f?(0,t.jsx)(r.default,{href:f,onClick:x,onAuxClick:m,sx:I.nameLink,tabIndex:0,children:p||e}):(0,t.jsx)("span",{children:p||e}),(0,t.jsx)(N,{price:i,promoPrice:o,omnibusPrice:l,showFrom:n,priceUnit:a,productUrl:f,onLinkClick:x,onAuxClick:m,gpsr:g}),(0,t.jsx)(H,{swatches:u,totalColorsCount:c}),h&&(0,t.jsx)("div",{role:"status","aria-live":"polite","aria-label":b("loadingProductInformation"),children:(0,t.jsx)(z,{})})]})};var W=e.i(404209);e.s(["default",0,({product:e,selectFunction:a=()=>null,fromModal:s=!1,isSmall:n=!1,transparent:u=!1,isSlider:c=!1,searchUrl:d="",searchHightlight:p,onAuxClick:h=()=>null,isSearch:f=!1,isWhiteBg:x=!1})=>{let{id:m,name:g,uuid:b,packshots:S,configurable:v,getPromoPercent:w,getPrice
1:j,getOmnibusPrice:P,getPromoPrice:k,checkFlagActive:_,getFromFlag:y,swatches:A,colorsCount:E,priceUnit:O,gpsr:T}=e,[I,L]=(0,i.useState)(!0),[M,N]=(0,i.useState)(!1),$=(0,i.useRef)(null),[U,H]=(0,W.useOffer)(),z=(0,i.useCallback)(()=>{a&&a()},[a]),D=(()=>{if(d)return d;let e=(0,l.default)(g,m);return void 0!==b?`${e}?objectUuid=${b}`:e})(),B=(S?.hover?.length??0)>0||(S?.hoverVideo?.length??0)>0||(S?.hoverOpened?.length??0)>0;return(0,t.jsx)("article",{"data-testid":"ListingProductCard",sx:o.productCard,className:[s?"product_from_photo":"",B?"product-card-has-hover":""].filter(Boolean).join(" "),children:(0,t.jsxs)("div",{role:"presentation",sx:o.productCardInner,onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),"data-testid":"product-card-inner",children:[(0,t.jsxs)("div",{sx:o.visualArea(u,x),title:g||"",children:[(0,t.jsx)(r.default,{href:D,ref:$,onClick:z,onAuxClick:h,"aria-label":g,sx:o.imageLink,tabIndex:0,"data-testid":"product-card-image-link",children:(0,t.jsx)(C,{packshots:S,alt:g||"",setIsLoading:L,isSmall:n,isSlider:c,isSearch:f,"data-testid":"product-card-image"})}),(0,t.jsx)(F,{configurable:v,productUrl:D,onConfigClick:z,pricePromoPercent:w(H),checkFlagActive:_,isSmall:n,transparent:u,hasHoverImage:B,isCardHovered:M})]}),(0,t.jsx)(R,{name:g,searchHightlight:p,price:j(H),priceUnit:O,promoPrice:k(H),omnibusPrice:P(H),showFrom:y(H),swatches:A,totalColorsCount:E,isSmall:n,isLoading:I,gpsr:T,productUrl:D,onLinkClick:z,onAuxClick:h})]})})}],685581)}]);
2
3//# sourceMappingURL=2c3u75bkmnk-9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.