1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{5844:(e,t,n)=>{n.d(t,{Es:()=>a,N$:()=>r,PT:()=>c,s7:()=>h,w8:()=>m});var o=n(67684),l=n(20294),i=n(37876),s=n(14232),a=s.useLayoutEffect;function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,l._)((0,s.useState)(t),2),o=n[0],i=n[1];return(0,s.useEffect)(function(){var t=function(e){i(e.matches)};if(window.matchMedia){var n=window.matchMedia(e);return i(n.matches),n.addListener(t),function(){n.removeListener(t)}}},[e]),o}var c=function(e){return function(t){var n=r("(max-width: 375px)"),l=r("(max-width: 479px)"),s=r("(max-width: 767px)"),a=r("(max-width: 991px)"),c=r("(max-width: 1023px)");return(0,i.jsx)(e,(0,o._)({isXSmall:n,isSmall:l,isMedium:s,isLarge:a,isXLarge:c},t))}},d={currentProductIndex:0},u=function(e){d=(0,o._)({},d,e)},h=function(){return[d,u]},m=function(){var e=(0,s.useRef)(!1);return[function(){if(!("u"<typeof document)){var t=document.documentElement,n=document.body;if((null==n?void 0:n.style)&&!e.current){var o=window.innerWidth-t.clientWidth,l=parseInt(window.getComputedStyle(n).getPropertyValue("padding-right"))||0;Object.assign(t.style,{position:"relative",overflow:"hidden"}),Object.assign(n.style,{position:"relative",overflow:"hidden",paddingRight:"".concat(l+o,"px")}),e.current=!0}}},function(){if(!("u"<typeof document)){var t=document.documentElement,n=document.body;(null==n?void 0:n.style)&&e.current&&(Object.assign(t.style,{position:"",overflow:""}),Object.assign(n.style,{position:"",overflow:"",paddingRight:""}),e.current=!1)}}]}},48238:(e,t,n)=>{n.d(t,{A:()=>o});let o=n(14232).createContext()},50165:(e,t,n)=>{n.r(t),n.d(t,{SpotlightContestThankYouTest:()=>x,default:()=>v});var o=n(37876),l=n(14232),i=n(14305),s=n(95062),a=n.n(s),r=n(48238),c=n(5844),d=n(68613),u=n(11944),h=n(18847),m=n.n(h),g=m()(function(){return n.e(2945).then(n.bind(n,92945))},{loadableGenerated:{webpack:function(){return[92945]}}}),p=m()(function(){return Promise.all([n.e(3716),n.e(8314),n.e(4587),n.e(7644),n.e(5969),n.e(2154),n.e(8348)]).then(n.bind(n,2154))},{loadableGenerated:{webpack:function(){return[2154]}}}),f=m()(function(){return Promise.all([n.e(8230),n.e(5154)]).then(n.bind(n,32249))},{loadableGenerated:{webpack:function(){return[32249]}}});function b(e){var t,n,s,a,c,h,m,b,v,x,_,j,w,y,k,N,T,L,S=e.document,M=e.isMedium,z=new i.A(S),C=null==e||null==(n=e.document)||null==(t=n.fields)?void 0:t.bannerAssetMobile,H=null==e||null==(a=e.document)||null==(s=a.fields)?void 0:s.bannerAsset,E=null==e||null==(h=e.document)||null==(c=h.fields)?void 0:c.backgroundAsset,I=null==e||null==(b=e.document)||null==(m=b.fields)?void 0:m.thankYouTitle,A=null==e||null==(x=e.document)||null==(v=x.fields)?void 0:v.arrowTitle,P=null==e||null==(j=e.document)||null==(_=j.fields)?void 0:_.title,O=null==e||null==(y=e.document)||null==(w=y.fields)?void 0:w.thankYouSubtitle,R=null==e||null==(N=e.document)||null==(k=N.fields)?void 0:k.thankYouDescription,V=z.getFieldValue(d.ed.oralBLogoAsset),Y=z.getFieldValue(d.ed.copyrightLabel),F=z.getFieldValue(d.ed.socialLinks),B=(0,l.useContext)(r.A).onContestScrollDown,D=z.getFieldValue(d.ed.backToOralbLink),G=!1,W=null,X=function(){G?(G=!1,B()):$()},$=function(){W&&clearTimeout(W),W=setTimeout(function(){G=!0},150)};return(0,o.jsxs)("div",{onWheel:function(e){var t=e.currentTarget,n=e.deltaY;t.scrollHeight-t.scrollTop===t.clientHeight?n>=100&&X():G=!1},onTouchEnd:function(e){var t=e.currentTarget;t.scrollHeight-t.scrollTop===t.clientHeight?X():G=!1},className:"ob-spotlightContentBlock ob-spotlight-contest js-modal-container ob-spotlight-thankyou",children:[(0,o.jsx)("div",{className:"ob-spotlight_contest-background",style:{position:"absolute",top:"0",bottom:"0",width:"100%",height:"110%",zIndex:"0"},children:(0,o.jsx)(p,{forceBackground:!0,image:E,customStyles:{backgroundRepeat:"no-repeat"}})}),(0,o.jsx)("div",{className:"ob-spotlight_banner",children:(0,o.jsx)(p,{image:H&&!M?H:C,customStyles:{backgroundRepeat:"no-repeat"}})}),(0,o.jsxs)("div",{className:"ob-spotlight_contest-container",children:[(0,o.jsx)("div",{className:"ob-spotlight-contest__title-image-buffer",children:(0,o.jsx)("span",{className:"visuallyhidden",children:P})}),(0,o.jsxs)("div",{className:"ob-spotlight-contest__contest-title-container",children:[(0,o.jsxs)("h1",{className:"ob-spotlight-contest__contest-title-text",children:[(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,u.sanitize)(I)}}),(0,o.jsx)("span",{className:"ob-spotlight-contest__contest-title-io-logo"})]}),(0,o.jsx)("div",{className:"ob-spotlight-thankyou_subtitle",children:(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,u.sanitize)(O)}})})]}),(0,o.jsx)("div",{className:"ob-spotlight-thankyou_hero",children:(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,u.sanitize)(R)}})}),(0,o.jsxs)("div",{className:"ob-spotlight-contest__wrapper",children:[(V||F||Y)&&(0,o.jsxs)("div",{className:"ob-spotlight-contest__footer",children:[F&&(0,o.jsx)("div",{className:"ob-spotlight-contest__footer-social-links",children:F.map(function(e,t){return(0,o.jsx)("div",{className:"ob-spotlight-contest__footer-social-links-item",children:(0,o.jsx)("a",{href:e.fields.url,target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(p,{image:e.fields.image,noLazyLoad:!0})})},t)})}),(0,o.jsx)("div",{className:"ob-spotlight-contest__footer-oralb-logo",children:(0,o.jsx)(f,{tag:"a",href:null==D||null==(T=D.fields)?void 0:T.url,children:(0,o.jsx)(p,{image:null==D||null==(L=D.fields)?void 0:L.image,noLazyLoad:!0})})}),Y&&(0,o.jsx)("div",{className:"ob-spotlight-contest__footer-copyright",dangerouslySetInnerHTML:{__html:(0,u.sanitize)(Y)}})]}),(0,o.jsx)("div",{className:"ob-spotlight-contest__button-scroll-down-container",children:(0,o.jsxs)("button",{className:"ob-spotlight-contest__button-scroll-down",onClick:B,children:[(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,u.sanitize)(A)}}),(0,o.jsx)(g,{name:d.ed.chevronDown,size:M?"4":"5.8",color:"white"})]})})]})]})]})}let v=(0,c.PT)(b);var x=b;
1b.propTypes={document:a().object,isMedium:a().bool,index:a().any}}}]);
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.