"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[62],{46:(e,t,s)=>{s.d(t,{a:()=>n});const n={sliderContainer:"Uq_vaulr",sliderItem:"C0m7EVOb",embeddedImage:"K93xnXzl",modelOverlay:"wiZ9m0Zl"}},47:(e,t,s)=>{s.d(t,{a:()=>n});const n={container:"uiIFALZT",item:"rkFfQnYn",pswpOverride:"PMoHGRtp"}},179:(e,t,s)=>{var n=s(0),a=s(4),l=s(69),i=s(3);(0,s(1).createEntrypoint)("product_hero_gallery",(function(e){const{selectedVariant:t,product:s}=(0,i.c)((e=>({selectedVariant:e.selectedVariant,product:e.product})));return s&&t?(0,n.jsx)(l.a,{product:s,selectedVariant:t,pdpVideo:e.pdpVideo,isDesktop:e.isDesktop,showModelInformation:e.showModelInformation,includeDefaultImages:e.includeDefaultImages}):(0,n.jsx)(a.Fragment,{})}))},5:(e,t,s)=>{s.d(t,{a:()=>i,b:()=>o});var n=s(0),a=s(6),l=s(2);function i({src:e,initialWidth:t,fullSizeWidth:s,cssClass:a,alt:i,width:r,height:c,style:d}){var u;const m=(0,l.useRef)(null),[p,f]=(0,l.useState)(!1),h=o(e,t,s,p);return(0,l.useEffect)((()=>{var e;!p&&(null===(e=m.current)||void 0===e?void 0:e.complete)&&f(!0)}),[null===(u=m.current)||void 0===u?void 0:u.complete]),r&&c?(0,n.jsx)("img",{ref:m,loading:"lazy",src:h,onLoadStart:()=>f(!0),onLoad:()=>f(!0),class:a,alt:null!=i?i:"",width:r,height:c,style:d}):(0,n.jsx)("img",{src:h,class:a,alt:null!=i?i:"",style:d})}function o(e,t,s,n=!0){const i=(0,a.b)(e,t),o=(0,a.b)(e,s),[r,c]=(0,l.useState)({}),d=(0,l.useMemo)((()=>r[o]?o:i),[e,t,s,r]);return(0,l.useEffect)((()=>{if(n&&document&&d!==o){const e=document.createElement("img");e.src=o,e.onload=()=>c(Object.assign(Object.assign({},r),{[o]:!0}))}}),[n,o]),d}}},e=>{e.O(0,[1,2,3,4,6,5,22,20],(()=>e(e.s=179))),e.O()}]);