(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3455],{5647:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/join-us",function(){return t(3874)}])},999:function(e,n,t){"use strict";t.d(n,{h:function(){return p}});var r=t(6042),i=t(9396),o=t(9534),a=t(5893),s=t(7294),u=t(131),c=t(3253),d=t(5675),l=t(419),f=t(2061),h=(0,c.E)(l.xu);function p(e){var n=e.children,t=e.delay,c=void 0===t?0:t,p=e.duration,v=void 0===p?.4:p,m=e.animations,x=e.delay2,y=void 0===x?.5:x,b=e.topOffset,g=void 0===b?"0px":b,j=e.bottomOffset,w=void 0===j?"0px":j,k=e.containerSx,_=e.sx,V=e.onInView,O=(0,o.Z)(e,["children","delay","duration","animations","delay2","topOffset","bottomOffset","containerSx","sx","onInView"]),C=(0,s.useState)(!0),I=C[0],E=C[1],Z=(0,s.useState)(0),N=Z[0],S=Z[1],M=(0,u.YD)(),R=(0,u.YD)({rootMargin:"".concat(g," 0px ").concat(w," 0px")}),L=M.inView,P=R.inView,T=(0,d._)(),U=(0,s.useRef)();return(0,s.useEffect)((function(){var e;L&&!(null===U||void 0===U||null===(e=U.current)||void 0===e?void 0:e.animated)&&(null===m||void 0===m||m.forEach((function(e){T.start(e)})),U.current.animated=!0),V&&V(P)}),[L,P]),(0,s.useEffect)((function(){setTimeout((function(){var e,n=null===(e=U.current)||void 0===e?void 0:e.getBoundingClientRect().top;N!==n&&S(n);var t=window.innerHeight;N<=t?!0!==I&&E(!0):!1!==I&&E(!1)}),300)}),[I,N]),(0,a.jsx)(l.xu,(0,i.Z)((0,r.Z)({ref:U},O),{sx:(0,r.Z)({},k),children:(0,a.jsx)(h,{ref:function(e){M.ref(e),R.ref(e)},animate:T,custom:{delay:I?c:y,duration:v},variants:f.ZP,sx:(0,r.Z)({opacity:0},_),children:n})}))}},1327:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(5893),i=t(5833),o=t(419);function a(e){var n=e.richtext;return(0,r.jsx)(o.xu,{sx:{a:{color:"blue.primary"}},children:(0,r.jsx)(i.RichText,{render:n})})}},6351:function(e,n,t){"use strict";t.d(n,{G:function(){return h}});var r=t(6042),i=t(9396),o=t(9534),a=t(5893),s=t(7294),u=t(3824),c=t(5697),d=t.n(c),l=t(4851),f=t(1388),h=(0,l.Pi)((function(e){var n=e.children,t=e.dark,c=e.onEnter,d=e.onLeave,l=e.changeOnLeave,h=(0,o.Z)(e,["children","dark","onEnter","onLeave","changeOnLeave"]),p=(0,s.useContext)(f.Ly).getSliceBg;return(0,a.jsx)(u.h,(0,i.Z)((0,r.Z)({topOffset:"5%",bottomOffset:"95%",onEnter:function(e){return p(t?"dark":"light"),c?c(e):null},onLeave:function(e){return l&&p(t?"light":"dark"),d?d(e):null}},h),{children:n}))}));h.propTypes={dark:d().bool,onEnter:d().func,onLeave:d().func}},2061:function(e,n,t){"use strict";t.d(n,{q:function(){return o},xR:function(){return a}});var r=[0,.165,.07,1],i=[.48,.15,.25,.96];n.ZP={moveUp:function(e){return{y:0,transition:{from:20,delay:e.delay,duration:e.duration,ease:r}}},fadeInLeft:function(e){return{x:0,transition:{from:20,delay:e.delay,duration:e.duration,ease:r}}},fade:function(e){return{opacity:1,transition:{from:0,delay:e.delay,duration:e.duration}}}};var o={initial:{scale:.96,y:30,opacity:0},enter:function(e){return{scale:1,y:0,opacity:1,transition:{duration:.4,delay:e.delay,ease:i}}},exit:{scale:.6,y:100,opacity:0,transition:{duration:.2,ease:i}}},a={rest:{},hover:{},exit:{}}},8207:function(e,n,t){"use strict";t.d(n,{$d:function(){return a},fo:function(){return u},i:function(){return s},rJ:function(){return o}});var r=t(5697),i=t.n(r),o={page:i().object,next:i().string,header:i().object,preview:i().bool,metadata:i().object},a={page:i().object,metadata:i().object},s={allItems:i().array,filters:i().array,metadata:i().object},u={items:i().array,primary:i().object}},3874:function(e,n,t){"use strict";t.r(n),t.d(n,{Career:function(){return O},__N_SSG:function(){return V},default:function(){return C}});var r=t(6042),i=t(5893),o=t(1163),a=t(2918),s=t(419),u=t(1955),c=t(4334),d=t(8207),l=t(4851),f=t(999),h=t(6351),p=t(1327),v=t(8904),m=t(9396),x=t(5697),y=t.n(x),b=t(7294),g=function(e){var n=e.sx;return(0,b.useEffect)((function(){var e=document.getElementById("jobvite-script");if(e){var n=document.getElementsByTagName("head")[0],t=document.createElement("script");return t.src=e.src,n.appendChild(t),e.remove(),function(){t.remove()}}}),[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h.G,{children:(0,i.jsx)(s.xu,{sx:(0,m.Z)((0,r.Z)({},n),{" a":{color:"#68c7c1"}}),children:(0,i.jsx)("div",{className:"jv-careersite","data-careersite":"moceanla"})})}),(0,i.jsx)("script",{id:"jobvite-script",async:!0,src:"//jobs.jobvite.com/__assets__/scripts/careersite/public/iframe.js"})]})};g.propTypes={jobs:y().array};var j=g,w=t(7297);function k(){var e=(0,w.Z)(["\n  font-size: 69px;\n  letter-spacing: 4.15px;\n  font-weight: bold;\n  text-transform: uppercase;\n"]);return k=function(){return e},e}var _=t(643).default.h1(k()),V=!0,O=(0,l.Pi)((function(e){var n,t,r,d,l=e.page,m=e.metadata,x=void 0===m?null:m,y=e.global,b=e.nav,g=e.preview,w=e.jobs,k=(0,o.useRouter)();if(!k.isFallback&&!l)return(0,i.jsxs)(i.Fragment,{children:[g&&(0,i.jsx)(v.Z,{}),(0,i.jsx)(a.default,{statusCode:404})]});return(0,i.jsx)(u.A,{metadata:x,nav:b,preview:g,global:y,children:k.isFallback?(0,i.jsx)("div",{children:"Loading\u2026"}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(s.xu,{sx:{position:"relative",px:["1rem","1rem","5rem","5rem"],pt:"2.5rem"},children:[(0,i.jsx)(_,{children:"Join Us"}),(0,i.jsx)(f.h,{delay:1.5,duration:.5,animations:["fade","moveUp"],sx:{opacity:0,display:"flex",width:"100%",flexDirection:"column",justifyContent:"center"},children:(0,i.jsx)(c.mI,{sx:{maxWidth:1412,mx:"auto",mb:"2.4em"},children:(0,i.jsx)(p.Z,{richtext:null===l||void 0===l||null===(n=l.node)||void 0===n?void 0:n.job_intro})})}),(0,i.jsx)(f.h,{delay:2,sx:{mixBlendMode:"multiply"},duration:.5,animations:["fade","moveUp"],children:(0,i.jsx)(j,{jobs:w})}),(0,i.jsx)(h.G,{children:(0,i.jsxs)(s.xu,{sx:{display:"flex",width:"100%",flexDirection:"column",justifyContent:"center"},children:[(0,i.jsx)(f.h,{delay:.5,duration:.5,animations:["fade","fadeInLeft"],children:(0,i.jsx)(c.d1,{sx:{mt:"4em",textTransform:"uppercase"},children:"internships"})}),(0,i.jsx)(f.h,{delay:1,duration:.5,animations:["fade","moveUp"],children:(0,i.jsx)(c.mI,{sx:{maxWidth:1412,mx:"auto",my:"2.4em"},children:(0,i.jsx)(p.Z,{richtext:null===l||void 0===l||null===(t=l.node)||void 0===t?void 0:t.internship_intro})})})]})}),(0,i.jsx)(h.G,{dark:!0,children:(0,i.jsx)(s.xu,{sx:{mx:["1rem","1rem","-5rem","-5rem"]},children:(0,i.jsx)(f.h,{delay:1.5,duration:.5,animations:["fade"],flexWrap:"wrap",sx:{justifyContent:"space-between",display:"flex"},children:[null===l||void 0===l||null===(r=l.node)||void 0===r?void 0:r.internship_image1,null===l||void 0===l||null===(d=l.node)||void 0===d?void 0:d.internship_image2].map((function(e,n){var t=e.url;return(0,i.jsx)(f.h,{delay:1+.05*n,duration:.5,animations:["fade","moveUp"],containerSx:{width:["100%","100%","50%","50%"],pt:["75%","75%","37.5%","37.5%"],backgroundImage:"url(".concat(t,")"),backgroundPosition:"center",backgroundSize:"cover",overflow:"hidden"}},"internship_image"+n)}))})})})]})})})})),C=O;O.propTypes=(0,r.Z)({},d.$d)},2918:function(e,n,t){e.exports=t(9185)},131:function(e,n,t){"use strict";t.d(n,{YD:function(){return v},df:function(){return p}});var r=t(7294);function i(){return i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},i.apply(this,arguments)}function o(e,n){return o=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},o(e,n)}var a=new Map,s=new WeakMap,u=0,c=void 0;function d(e){return Object.keys(e).sort().filter((function(n){return void 0!==e[n]})).map((function(n){return n+"_"+("root"===n?(t=e.root)?(s.has(t)||(u+=1,s.set(t,u.toString())),s.get(t)):"0":e[n]);var t})).toString()}function l(e,n,t,r){if(void 0===t&&(t={}),void 0===r&&(r=c),"undefined"===typeof window.IntersectionObserver&&void 0!==r){var i=e.getBoundingClientRect();return n(r,{isIntersecting:r,target:e,intersectionRatio:"number"===typeof t.threshold?t.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=function(e){var n=d(e),t=a.get(n);if(!t){var r,i=new Map,o=new IntersectionObserver((function(n){n.forEach((function(n){var t,o=n.isIntersecting&&r.some((function(e){return n.intersectionRatio>=e}));e.trackVisibility&&"undefined"===typeof n.isVisible&&(n.isVisible=o),null==(t=i.get(n.target))||t.forEach((function(e){e(o,n)}))}))}),e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),t={id:n,observer:o,elements:i},a.set(n,t)}return t}(t),s=o.id,u=o.observer,l=o.elements,f=l.get(e)||[];return l.has(e)||l.set(e,f),f.push(n),u.observe(e),function(){f.splice(f.indexOf(n),1),0===f.length&&(l.delete(e),u.unobserve(e)),0===l.size&&(u.disconnect(),a.delete(s))}}var f=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function h(e){return"function"!==typeof e.children}var p=function(e){var n,t;function a(n){var t;return(t=e.call(this,n)||this).node=null,t._unobserveCb=null,t.handleNode=function(e){t.node&&(t.unobserve(),e||t.props.triggerOnce||t.props.skip||t.setState({inView:!!t.props.initialInView,entry:void 0})),t.node=e||null,t.observeNode()},t.handleChange=function(e,n){e&&t.props.triggerOnce&&t.unobserve(),h(t.props)||t.setState({inView:e,entry:n}),t.props.onChange&&t.props.onChange(e,n)},t.state={inView:!!n.initialInView,entry:void 0},t}t=e,(n=a).prototype=Object.create(t.prototype),n.prototype.constructor=n,o(n,t);var s=a.prototype;return s.componentDidUpdate=function(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())},s.componentWillUnmount=function(){this.unobserve(),this.node=null},s.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,n=e.threshold,t=e.root,r=e.rootMargin,i=e.trackVisibility,o=e.delay,a=e.fallbackInView;this._unobserveCb=l(this.node,this.handleChange,{threshold:n,root:t,rootMargin:r,trackVisibility:i,delay:o},a)}},s.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},s.render=function(){if(!h(this.props)){var e=this.state,n=e.inView,t=e.entry;return this.props.children({inView:n,entry:t,ref:this.handleNode})}var o=this.props,a=o.children,s=o.as,u=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(o,f);return r.createElement(s||"div",i({ref:this.handleNode},u),a)},a}(r.Component);function v(e){var n=void 0===e?{}:e,t=n.threshold,i=n.delay,o=n.trackVisibility,a=n.rootMargin,s=n.root,u=n.triggerOnce,c=n.skip,d=n.initialInView,f=n.fallbackInView,h=r.useRef(),p=r.useState({inView:!!d}),v=p[0],m=p[1],x=r.useCallback((function(e){void 0!==h.current&&(h.current(),h.current=void 0),c||e&&(h.current=l(e,(function(e,n){m({inView:e,entry:n}),n.isIntersecting&&u&&h.current&&(h.current(),h.current=void 0)}),{root:s,rootMargin:a,threshold:t,trackVisibility:o,delay:i},f))}),[Array.isArray(t)?t.toString():t,s,a,u,c,o,f,i]);(0,r.useEffect)((function(){h.current||!v.entry||u||c||m({inView:!!d})}));var y=[x,v.inView,v.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}p.displayName="InView",p.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}}},function(e){e.O(0,[461,6975,1955,9774,2888,179],(function(){return n=5647,e(e.s=n);var n}));var n=e.O();_N_E=n}]);