"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[93],{7:(e,i,t)=>{t.r(i)},24:(e,i,t)=>{t.r(i)},991:(e,i,t)=>{t.r(i),t.d(i,{default:()=>n});const n={wrapper:"rdQxl3GA",wrapperControls:"KfjCtEUV"}},993:(e,i,t)=>{t.r(i),t.d(i,{default:()=>n});const n={wrapper:"Ts_3lCbi",wrapperText:"jPQGEtG2",wrapperVideo:"cdD7qBle",wrapperVideoControls:"MD11DMNs",wrapperRounded:"FgQYV4Uq",wrapperVideoRounded:"TaGL2zjB"}},989:(e,i,t)=>{t.r(i),t.d(i,{default:()=>n});const n={wrapper:"IB0WJJ8T","navigation-wrapper":"KtertqLJ",nojs:"fbhLSXdx","keen-slider__slide":"n8yVwDQw",wrapperNav:"lbBZ41VF",wrapperNavImage:"V3y_M4Ct",wrapperNavArrow:"QYOuucKP","arrow--left":"jtzKrrFC","arrow--right":"c3yQu3y4",wrapperNavArrowLeft:"a7OWLu9l",wrapperNavArrowRight:"oy4IB9Kl",wrapperNavDots:"cMmylO6z",wrapperNavDotsSingleDot:"DW4_gSR_",wrapperNavDotsSingleDotActive:"uiSjb0c6"}},9:(e,i,t)=>{t.r(i),t.d(i,{default:()=>n});const n={wrapper:"jeoYiegV",wrapperRight:"AIokLt1C",wrapperLeft:"NihyFReM"}},8:(e,i,t)=>{t.r(i),t.d(i,{default:()=>n});const n={wrapper:"NxzIhXo4"}},987:(e,i,t)=>{const n=t(988);(0,t(5).createEntrypoint)("media-content-carousel",n.MediaContentCarouselContainer)},988:(e,i,t)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.MediaContentCarouselContainer=void 0;const n=t(0),o=(t(1),t(380)),s=t(381),r=t(382),l=t(35),d=t(69);i.MediaContentCarouselContainer=function({isHeroSlideshow:e,isMobile:i,video:t,banner:a,isVideoWithBanner:c,videoVersion:u}){var v,p,j,f,g,w,b,m,h;if(c&&t){const e={mobile:null===(v=null==t?void 0:t.mobile)||void 0===v?void 0:v.src,desktop:null===(p=null==t?void 0:t.desktop)||void 0===p?void 0:p.src};return(0,n.jsx)(r.Blendjet2VideoNew,{video:e,isMobile:i,videoWiseCode:null!==(f=null===(j=null==t?void 0:t.desktop)||void 0===j?void 0:j.videoWiseCode)&&void 0!==f?f:"",videoWiseId:null!==(g=null==t?void 0:t.desktop.videoWiseId)&&void 0!==g?g:"",banner:a,videoVersion:u})}if(e&&t){const e={mobile:null===(w=null==t?void 0:t.mobile)||void 0===w?void 0:w.src,desktop:null===(b=null==t?void 0:t.desktop)||void 0===b?void 0:b.src};return(0,n.jsx)(s.Blendjet2Video,{video:e,isMobile:i,videoWiseCode:null!==(h=null===(m=null==t?void 0:t.desktop)||void 0===m?void 0:m.videoWiseCode)&&void 0!==h?h:""})}const x=(0,l.useSharedState)()((e=>{var t,n,o,s,r,l;return e.currentJetpackVariant.id?null!==(l=null!==(s=null===(o=null===(n=null===(t=e.currentJetpackVariant)||void 0===t?void 0:t.heroImages)||void 0===n?void 0:n.slice(1))||void 0===o?void 0:o.map((e=>Object.assign(Object.assign({},e),{src:(0,d.changeToFastImage)(e.src,i?600:1100)}))))&&void 0!==s?s:null===(r=e.currentVariant.heroImages.slice(1))||void 0===r?void 0:r.map((e=>Object.assign(Object.assign({},e),{src:(0,d.changeToFastImage)(e.src,i?600:1100)}))))&&void 0!==l?l:[]:e.currentVariant.heroImages.slice(1)}));return(0,n.jsx)(o.MediaContentCarousel,{images:x})}},990:(e,i,t)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.useBlendjet2Video=void 0;const n=t(3);i.useBlendjet2Video=({isMobile:e,video:i})=>{const[t,o]=(0,n.useState)(e?i.mobile:i.desktop);(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=window.matchMedia("(min-width: 1024px)"),t=()=>{const t=e.matches;o(t?i.desktop:i.mobile)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[]);const s=(0,n.useRef)(null),[r,l]=(0,n.useState)(!0),[d,a]=(0,n.useState)(!0);return{toggleMute:()=>{a((e=>!e))},togglePlay:()=>{s.current&&(r?(l(!1),s.current.pause()):(l(!0),s.current.play()))},isMuted:d,isPlaying:r,src:t,videoRef:s}}},381:function(e,i,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.Blendjet2Video=void 0;const o=t(0),s=(t(1),t(4)),r=t(990),l=n(t(991)),{wrapper:d,wrapperControls:a}=l.default;i.Blendjet2Video=e=>{const{isMuted:i,isPlaying:t,src:n,toggleMute:l,togglePlay:c,videoRef:u}=(0,r.useBlendjet2Video)(e);return(null==e?void 0:e.videoWiseCode)?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:null==e?void 0:e.videoWiseCode}}):(0,o.jsxs)("div",Object.assign({className:d},{children:[(0,o.jsx)("video",Object.assign({id:"blendjet2-video",ref:u,autoPlay:!0,loop:!0,muted:i,"webkit-playsinline":"",playsInline:!0},{children:(0,o.jsx)("source",{src:n})})),(0,o.jsxs)("div",Object.assign({className:a},{children:[!e.isMobile&&(0,o.jsx)("button",Object.assign({onClick:()=>{const e=null===document||void 0===document?void 0:document.getElementById("blendjet2-video");e&&e.requestFullscreen&&e.requestFullscreen()}},{children:(0,o.jsx)(s.Icons.FullScreenCircle,{})})),(0,o.jsx)("button",Object.assign({onClick:c},{children:t?(0,o.jsx)(s.Icons.VideoPauseCircle,{}):(0,o.jsx)(s.Icons.VideoPlayCircle,{})})),(0,o.jsx)("button",Object.assign({onClick:l},{children:i?(0,o.jsx)(s.Icons.VideoVolumeOffCircle,{}):(0,o.jsx)(s.Icons.VideoVolumeOnCircle,{})}))]}))]}))}},992:(e,i,t)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.useBlendjet2Video=void 0;const n=t(3);i.useBlendjet2Video=({isMobile:e,video:i})=>{const[t,o]=(0,n.useState)(e?i.mobile:i.desktop);(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=window.matchMedia("(min-width: 1024px)"),t=()=>{const t=e.matches;o(t?i.desktop:i.mobile)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[]);const s=(0,n.useRef)(null),[r,l]=(0,n.useState)(!0),[d,a]=(0,n.useState)(!0);return{toggleMute:()=>{a((e=>!e))},togglePlay:()=>{s.current&&(r?(l(!1),s.current.pause()):(l(!0),s.current.play()))},isMuted:d,isPlaying:r,src:t,videoRef:s}}},382:function(e,i,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.Blendjet2VideoNew=void 0;const o=t(0),s=(t(1),t(2)),r=t(4),l=t(992),d=n(t(993)),{wrapper:a,wrapperRounded:c,wrapperText:u,wrapperVideo:v,wrapperVideoRounded:p,wrapperVideoControls:j}=d.default;i.Blendjet2VideoNew=e=>{var i;const{isMuted:t,isPlaying:n,src:d,toggleMute:f,togglePlay:g,videoRef:w}=(0,l.useBlendjet2Video)(e);return(0,o.jsxs)("div",Object.assign({className:(0,s.cx)(a,"rounded"===e.videoVersion&&c)},{children:[(0,o.jsx)("div",{className:u,dangerouslySetInnerHTML:{__html:e.banner.content}}),(null==e?void 0:e.videoWiseCode)?(0,o.jsx)("div",{id:null!==(i=e.videoWiseId)&&void 0!==i?i:"defaultBlendjet2VideoWiseID",dangerouslySetInnerHTML:{__html:null==e?void 0:e.videoWiseCode}}):(0,o.jsxs)("div",Object.assign({className:(0,s.cx)(v,"rounded"===e.videoVersion&&p)},{children:[(0,o.jsx)("video",Object.assign({id:"blendjet2-video",ref:w,autoPlay:!0,loop:!0,muted:t,"webkit-playsinline":"",playsInline:!0},{children:(0,o.jsx)("source",{src:d})})),(0,o.jsxs)("div",Object.assign({className:j},{children:[!e.isMobile&&(0,o.jsx)("button",Object.assign({onClick:()=>{const e=null===document||void 0===document?void 0:document.getElementById("blendjet2-video");e&&e.requestFullscreen&&e.requestFullscreen()}},{children:(0,o.jsx)(r.Icons.FullScreenCircle,{})})),(0,o.jsx)("button",Object.assign({onClick:g},{children:n?(0,o.jsx)(r.Icons.VideoPauseCircle,{}):(0,o.jsx)(r.Icons.VideoPlayCircle,{})})),(0,o.jsx)("button",Object.assign({onClick:f},{children:t?(0,o.jsx)(r.Icons.VideoVolumeOffCircle,{}):(0,o.jsx)(r.Icons.VideoVolumeOnCircle,{})}))]}))]}))]}))}},380:function(e,i,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0}),i.MediaContentCarousel=void 0;const o=t(0),s=t(1),r=t(3),l=t(10),d=t(14);t(7);const a=t(2),c=n(t(989)),{wrapper:u,wrapperNav:v,wrapperNavImage:p,wrapperNavArrow:j,wrapperNavArrowRight:f,wrapperNavArrowLeft:g,wrapperNavDots:w,wrapperNavDotsSingleDot:b,wrapperNavDotsSingleDotActive:m}=c.default;i.MediaContentCarousel=function({images:e}){var i;const[t,n]=(0,r.useState)(0),[c,h]=(0,r.useState)(!1),[x,C]=(0,r.useState)(),y={initial:t,loop:!0,created(e){C(Object.assign({},e))},slideChanged(e){C(Object.assign({},e)),n(e.track.details.rel)}},[_]=(0,l.useKeenSlider)(y),O=null!==x;return(0,r.useEffect)((()=>{x&&x.moveToIdx(0,!1,{duration:0})}),[null===(i=e[0])||void 0===i?void 0:i.src]),(0,r.useEffect)((()=>{O&&x&&x.update()}),[e.length,O]),(0,r.useEffect)((()=>{h(!0)}),[]),(0,o.jsx)(s.Fragment,{children:e.length>0&&(0,o.jsx)("div",Object.assign({className:(0,a.cx)(u,!c&&"nojs")},{children:(0,o.jsxs)("div",Object.assign({className:v},{children:[(0,o.jsx)("div",Object.assign({ref:_,class:"keen-slider"},{children:e.map(((e,i)=>(0,o.jsx)("div",Object.assign({class:"keen-slider__slide",style:{minWidth:"100%"}},{children:(0,o.jsx)("img",Object.assign({},e,{className:p,loading:"lazy"}))}),i)))})),x&&e.length>1&&(0,o.jsxs)(s.Fragment,{children:[(0,o.jsx)(d.ArrowLeftButton,{className:(0,a.cx)(j,g),onClick:()=>{null==x||x.prev()}}),(0,o.jsx)(d.ArrowRightButton,{className:(0,a.cx)(j,f),onClick:()=>{null==x||x.next()}}),(0,o.jsx)("div",Object.assign({className:w},{children:Array.from(Array(e.length).keys()).map((e=>(0,o.jsx)("button",{onClick:()=>{null==x||x.moveToIdx(e)},className:(0,a.cx)(b,t===e&&m)},e)))}))]})]}))}))})}},4:function(e,i,t){var n=this&&this.__createBinding||(Object.create?function(e,i,t,n){void 0===n&&(n=t);var o=Object.getOwnPropertyDescriptor(i,t);o&&!("get"in o?!i.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return i[t]}}),Object.defineProperty(e,n,o)}:function(e,i,t,n){void 0===n&&(n=t),e[n]=i[t]}),o=this&&this.__setModuleDefault||(Object.create?function(e,i){Object.defineProperty(e,"default",{enumerable:!0,value:i})}:function(e,i){e.default=i}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&n(i,e,t);return o(i,e),i};Object.defineProperty(i,"__esModule",{value:!0}),i.Icons=void 0;const r=s(t(11));i.Icons=r}},e=>{e.O(0,[1,2,4,3,5,6,7,8,9,10,13,28],(()=>(987,e(e.s=987)))),e.O()}]);