1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6474],{56474:function(e,n,t){"use strict";t.r(n);var i=t(85893),s=t(20181),a=t.n(s),r=t(86202),o=t(21608),l=t(31555),d=t(78380),c=t(67294),m=t(41194),u=t(76097);function g(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function v(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){g(e,n,t[n])}))}return e}var h=(0,r.ss)(a());n.default=function(e){var n,t=undefined,s=(0,c.useContext)(u.Z),g=s.canUseH1,x=(0,c.useState)({videoPlaying:!1,mobileWidth:!1}),_=x[0],j=x[1],f=(0,c.useRef)(null),b=function(){window.innerWidth<768?j(v({},_,{mobileWidth:!0})):j(v({},_,{mobileWidth:!1}))},p=function(){return j(v({},_,{videoPlaying:!1}))},y=function(){j(v({},_,{videoPlaying:!_.videoPlaying})),f.current&&(_.videoPlaying?f.current.play():f.current.pause())};(0,c.useEffect)((function(){return f.current&&f.current.addEventListener("ended",p),window.addEventListener("resize",b.bind(t)),b(),function(){f.current&&f.current.removeEventListener("ended",p),window.removeEventListener("resize",b.bind(undefined))}}),[f]);var N=e.item,I=e.rootAttributes,w=e.depth,T=N.fields,P=T.caption,S=T.content,Z=void 0===S?"":S,L=T.parentClass,H=void 0===L?"":L,M=T.custom,C=void 0===M?{}:M,A=T.image,E=C.columnSize,k=C.floatingContent,B=void 0===k?"":k,G=C.imagePosition,O=C.layout,F=void 0===O?"default":O,W=C.video,z=(void 0!=s&&s.pageProps.supportsWebp,"right"===G);"inset"===F&&(F+=" layout-card section-margin-60");var R,X,D={className:r.ZP.getEntryClassesStrFromModuleCss(N,a(),h("text-side-image-section",H,{layout:1===w}))},J=(E||"7-5").split("-");R=Number(J[0]),X=Number(J[1]);var Q=_.videoPlaying?"pause-btn":"play-btn",U=(0,i.jsx)(l.Z,{md:R,className:a()["video-side"],children:W?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("video",v({ref:f},{},{src:W,onClick:y})),(0,i.jsx)("div",{className:a()["custom-controls"],onClick:y,children:(0,i.jsx)("button",{className:"controls ".concat(Q)})})]}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(d.ZP,{image:null===(n=N.fields.image)||void 0===n?void 0:n[0]})})}),Y=(0,i.jsx)(l.Z,{md:X,className:a()["content-side"],children:(0,i.jsxs)("div",{className:a()["content-wrap"],children:["default"===F?(0,i.jsx)(i.Fragment,{children:!!P&&(g(N.id)?(0,i.jsx)("h1",{dangerouslySetInnerHTML:{__html:P}}):(0,i.jsx)("h2",{"data-replace":"replaceH1s",dangerouslySetInnerHTML:{__html:P}}))}):(0,i.jsx)(i.Fragment,{children:!!P&&(0,i.jsx)("h2",{dangerouslySetInnerHTML:{__html:P}})}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:Z}}),!!(null===C||void 0===C?void 0:C.additionals)&&(0,i.jsx)("div",{className:a()["get-start"],children:(0,i.jsx)("a",{className:a()["btn-blue"],onClick:undefined,children:C.additionals})})]})});return"four-image"===H?(0,i.jsxs)("div",v({},I,D,{children:[(0,i.jsxs)(o.Z,{className:"".concat(G),children:[(0,i.jsxs)(l.Z,{md:6,className:a()["left-no-padding"],children:[(0,i.jsx)(d.ZP,{alt:"fourImage",image:null===A||void 0===A?void 0:A[0],width:"100%"}),(0,i.jsxs)("div",{className:a()["content-wrap no-desktop content"],
1children:[!!P&&(g(N.id)?(0,i.jsx)("h1",{dangerouslySetInnerHTML:{__html:P},className:a().title}):(0,i.jsx)("h2",{"data-replace":"replaceH1s",dangerouslySetInnerHTML:{__html:P},className:a().title})),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:Z||""}})]}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:B},className:a()["content-wrap additional-content"]})]}),(0,i.jsxs)(l.Z,{md:6,className:a()["right-no-padding"],children:[!!P&&(0,i.jsx)("h1",{dangerouslySetInnerHTML:{__html:P},style:{color:"#009ACE",fontSize:"45px",fontWeight:500},className:a()["no-mobile"]}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:Z},className:a()["no-mobile"]}),(0,i.jsx)(d.ZP,{alt:"fourImage",image:null===A||void 0===A?void 0:A[1],width:"100%"}),(0,i.jsxs)("div",{className:a()["row no-gutters no-mobile"],children:[(0,i.jsx)("div",{className:a()["col-6"],children:(0,i.jsx)(d.ZP,{alt:"fourImage",image:null===A||void 0===A?void 0:A[2],width:"100%"})}),(0,i.jsx)("div",{className:a()["col-6"],children:(0,i.jsx)(d.ZP,{alt:"fourImage",image:null===A||void 0===A?void 0:A[3],width:"100%"})})]})]})]}),(0,i.jsx)(m.Z,v({},e))]})):(0,i.jsxs)("div",v({},I,D,{children:[(0,i.jsx)(o.Z,{className:h("hero-sec no-box-shadow",G),children:z?(0,i.jsxs)(i.Fragment,{children:[Y,U]}):(0,i.jsxs)(i.Fragment,{children:[U,Y]})}),(0,i.jsx)(m.Z,v({},e)),!!B&&(0,i.jsx)("div",{className:a()["floating-content"],dangerouslySetInnerHTML:{__html:B}})]}))}},20181:function(e){e.exports={root:"TextAndBGImage_root__X4_4a","vivera-retainers-section":"TextAndBGImage_vivera-retainers-section__XNZ_B","content-wrap":"TextAndBGImage_content-wrap__PvoTm","orange-bullet-points":"TextAndBGImage_orange-bullet-points___TbRP","hero-sec":"TextAndBGImage_hero-sec__JobfY","text-side-image-section":"TextAndBGImage_text-side-image-section__MbiWC","video-side":"TextAndBGImage_video-side__Qr8Is","vivera-bgimage":"TextAndBGImage_vivera-bgimage__g82oM"}}}]);
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.