"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[58],{38:(e,t,s)=>{s.d(t,{a:()=>n});const n={sliderContainer:"Uq_vaulr",sliderItem:"C0m7EVOb",embeddedImage:"K93xnXzl",modelOverlay:"wiZ9m0Zl"}},39:(e,t,s)=>{s.d(t,{a:()=>n});const n={container:"uiIFALZT",item:"rkFfQnYn",pswpOverride:"PMoHGRtp"}},157:(e,t,s)=>{var n=s(0),a=s(3),i=s(61),o=s(4);(0,s(1).createEntrypoint)("product_hero_gallery",(function(e){const{selectedVariant:t,product:s}=(0,o.c)((e=>({selectedVariant:e.selectedVariant,product:e.product})));return s&&t?(0,n.jsx)(i.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:()=>o,b:()=>r});var n=s(0),a=s(6),i=s(2);function o({src:e,initialWidth:t,fullSizeWidth:s,cssClass:a,alt:o="",width:l,height:c,style:d}){var u;const m=(0,i.useRef)(null),[p,f]=(0,i.useState)(!1),h=r(e,t,s,p);return(0,i.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]),l&&c?(0,n.jsx)("img",{ref:m,loading:"lazy",src:h,onLoadStart:()=>f(!0),onLoad:()=>f(!0),class:a,alt:o,width:l,height:c,style:d}):(0,n.jsx)("img",{src:h,class:a,alt:o,style:d})}function r(e,t,s,n=!0){const o=(0,a.b)(e,t),r=(0,a.b)(e,s),[l,c]=(0,i.useState)({}),d=(0,i.useMemo)((()=>l[r]?r:o),[e,t,s,l]);return(0,i.useEffect)((()=>{if(n&&document&&d!==r){const e=document.createElement("img");e.src=r,e.onload=()=>c(Object.assign(Object.assign({},l),{[r]:!0}))}}),[n,r]),d}}},e=>{e.O(0,[1,2,3,4,6,5,20,18],(()=>e(e.s=157))),e.O()}]);