-
Notifications
You must be signed in to change notification settings - Fork 0
/
7731.90ac208902813371d431.js
1 lines (1 loc) · 16.1 KB
/
7731.90ac208902813371d431.js
1
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7731],{26075:function(e,t,r){r.r(t),r.d(t,{getLogos:function(){return j},LogoSaladModule:function(){return P}});var n=r(1717),o=(r(27378),r(24152)),a=r(54462),i=r(37305),c=r(53269),s=r(61514),l=r(53169),u=r(99302),d=r(99318),p=r(35794),f=r(47331),m=r(24246);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var g=(0,l.css)(["[data-module='header-module'] + [data-module='","']{.module-spacing{","}}"],(function(e){return e.name}),(0,u.B)({cmt:{0:-4,768:-1.5}})),b=(0,l.createGlobalStyle)(["",""],g);function O(e){var t=e.layout,r=e.parentWidth;switch(t){case"useParentWidth":return{maxw:r};case"HeroHatteras":return{cw:34};case"fill":return{cw:36};default:return{}}}var y=function(e){var t=e.name,r=function(e){var t=e.logo,r=e.logoDark,n=e.logoLight,o=e.logoSaladTheme,a=e.sectionTheme,i=t,c="none";function s(){n?i=n:r?(i=r,c="light"):t&&(i=t,c="light")}function l(){r?i=r:n?(i=n,c="dark"):t&&(i=t,c="dark")}switch(o){case"auto":"light"===a?l():s();break;case"color":!t&&r?i=r:!t&&n&&(i=r,c="dark");break;case"dark":s();break;case"light":l()}return h(h({},i||{}),{},{filter:c})}({logo:e.logo,logoDark:e.logoDark,logoLight:e.logoLight,logoSaladTheme:e.logoSaladTheme,sectionTheme:e.sectionTheme})||{},n=r.asset,a=r.dimensions,i=r.filter,c=void 0===i?"none":i;return(0,m.jsx)(o.S,h(h({},(0,s.S)({asset:n,dimensions:a,placeholderParams:{src:null}})),{},{alt:t,className:"filter-".concat(c)}))};function j(e){for(var t=e.logos,r=e.logoSaladTheme,n=e.sectionTheme,o=[],a=function(e){var a=t[e],i=a.width,c=a.company;o.push({logo:function(){return(0,m.jsx)(y,h(h({},c),{},{logoSaladTheme:r,sectionTheme:n}))},initialWidth:i})},i=0;i<t.length;i+=1)a(i);return o}var P=function(e){var t=e.fields,r=void 0===t?{}:t,n=e.name,o=e.sectionSettings,s=void 0===o?{}:o,l=r.logoSalad,u=l.companyCollection,v=l.logos,g=void 0===v?[]:v,y=l.mobileScale,P=void 0===y?1.5:y,w=l.mobileBreakpoint,x=void 0===w?767:w,k=l.parentWidth,S=l.columns,D=l.logoSaladTheme,T=void 0===D?"auto":D,C=l.layout,N=void 0===C?"useParentWidth":C,E=s.theme,W=void 0===E?"light":E,q=u||{},B=q.companyItems,M=void 0===B?[]:B,H=q.parentWidth,I=u?M:g,Z=k||(u?void 0===H?944:H:944);return(0,m.jsxs)(d.K,{name:n,children:[(0,m.jsx)(p.y,{children:(0,m.jsx)(f.I,{className:"spacing--full-page-x",cmy:{0:6,768:5,1280:3},css:"\n .filter-dark {\n filter: ".concat((0,a.z)("black"),";\n }\n .filter-light {\n filter: ").concat((0,a.z)("white"),";\n }\n "),children:(0,m.jsx)(i.W,h(h({},O({layout:N,parentWidth:Z})),{},{m:"auto",children:(0,m.jsx)(c.default,{logos:j({logos:I,logoSaladTheme:T,sectionTheme:W}),columns:S||g.length,parentWidth:Z,mobileScale:P,mobilePaddingScale:1.5,mobileBreakpoint:x,mobileAlign:"center"})}))})}),(0,m.jsx)(b,{name:n})]})};P.defaultProps={},P.displayName="LogoSaladModule",t.default=P},35794:function(e,t,r){r.d(t,{y:function(){return u}});var n=r(1717),o=r(31750),a=(r(27378),r(37305)),i=r(24246),c=["children","componentClassName","className","css"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=function(e){var t=e.children,r=e.componentClassName,n=e.className,s=void 0===n?"":n,u=e.css,d=void 0===u?"":u,p=(0,o.Z)(e,c);return(0,i.jsx)(a.W,l(l({className:"".concat(r," ").concat(s).trim(),position:"static",css:"\n width: 100%;\n max-width: 2000px;\n margin-left: auto;\n margin-right: auto;\n\n ".concat(d,"\n ")},p),{},{children:t}))};u.defaultProps={componentClassName:"module-max-width"},u.displayName="ModuleMaxWidth"},47331:function(e,t,r){r.d(t,{I:function(){return d}});var n=r(1717),o=r(31750),a=(r(27378),r(37305)),i=r(85794),c=r(24246),s=["children","className","prefix","spacialAwareness"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=function(e){var t=e.children,r=e.className,n=void 0===r?"":r,l=e.prefix,d=void 0===l?"":l,p=e.spacialAwareness,f=(0,o.Z)(e,s);return(0,c.jsx)(a.W,u(u(u({className:"".concat(d?"".concat(d,"-"):"","module-spacing ").concat(n," ").concat(p&&!(0,i.Q)(p)?"spacial-awareness":"").trim()},f),p),{},{children:t}))};d.defaultProps={componentClassName:"module-spacing"},d.displayName="ModuleSpacing"},99318:function(e,t,r){r.d(t,{K:function(){return u}});var n=r(1717),o=r(31750),a=(r(27378),r(37305)),i=r(24246),c=["name","children","className","customName"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=function(e){var t=e.name,r=e.children,n=e.className,s=void 0===n?"":n,u=e.customName,d=(0,o.Z)(e,c);return(0,i.jsx)(a.W,l(l({className:"module-wrapper ".concat(s).trim(),"data-module":t,"data-custom-module":u,position:"static"},d),{},{children:r}))};u.defaultProps={componentClassName:"module-wrapper"},u.displayName="ModuleWrapper"},47731:function(e,t,r){r.r(t),r.d(t,{HeroHatterasModule:function(){return E}});var n=r(1717),o=(r(27378),r(85794)),a=r(27107),i=r(66037),c=r(54462),s=r(72874),l=r(37305),u=r(34811),d=r(15259),p=r(36173),f=r(635),m=r(92361),v=r(40389),h=r(17071),g=r(45243),b=r(89727),O=r(50076),y=r(32302),j=r(30932),P=r(89754),w=r(99318),x=r(47331),k=r(26075),S=r(24246);function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(e){var t=e.ctaText,r=e.ctaUrl;return T({text:t},(0,h.Y)({url:r}))}function N(e){var t=e.imageBackground,r=e.videoBackground,n=e.colorOverlay,o=e.mobileImageBackground;if(t){var a=t.asset,i=t.lqip,c=t.dimensions;return i?{sanityBackgroundProps:(0,g.q)({asset:a,lqip:i,dimensions:c})}:{backgroundProps:{src:(0,b.M)({src:a,width:3600}),placeholder:(0,O.p)({src:a})}}}if(r){var s=r.placeholder,l=(s=void 0===s?{}:s).asset,u=void 0===l?{}:l,d=s.lqip,p=void 0===d?null:d,f=s.dimensions,m=void 0===f?{}:f,v=r.src,h=(v=void 0===v?{}:v).assetUrl,P=void 0===h?"":h,w={videoProps:{}};if(w.videoProps.src=(0,y.g)({assetUrl:P}),p?w.videoProps.sanityPlaceholderImageProps=(0,g.q)({asset:u,lqip:p,dimensions:m}):w.videoProps.poster=(0,j.l)({src:u,width:1800}),n){var x=function(e){var t=e.r,r=void 0===t?12:t,n=e.g,o=void 0===n?13:n,a=e.b,i=void 0===a?17:a,c=e.a;return{transparent:"rgba(".concat([r,o,i,void 0===c?.75:c].join(","),")"),nonTransparent:"rgba(".concat([r,o,i,1].join(","),")")}}(n),k=x.transparent,S=x.nonTransparent;w.bg=S,w.videoProps.colorOverlay=k}if(o){var D=o.asset,T=o.lqip,C=o.dimensions;T&&(w.videoProps.sanityMobileImageProps=(0,g.q)({asset:D,lqip:T,dimensions:C,renderedSizes:{0:"500vw"}}))}return w}return{}}var E=function(e){var t=e.fields,r=void 0===t?{}:t,n=e.name,h=r.copy,g=r.copyVariant,b=r.header,y=r.headerTextVariants,j=r.headerVariant,D=r.imageBackground,E=r.logoSalad,W=void 0===E?{}:E,q=r.mobileImageBackground,B=r.primaryCtaText,M=r.primaryCtaUrl,H=r.secondaryCtaText,I=r.secondaryCtaUrl,Z=r.settings,L=void 0===Z?{}:Z,U=r.videoBackground,K=r.videoCtaMedia,z=void 0===K?{}:K,V=r.videoCtaText,A=void 0===V?"Watch video":V,Q="hero-hatteras-modal--".concat((0,i.E)()),_=z.name,F=z.url,G=z.placeholder,Y=(G=void 0===G?{}:G).asset,J=void 0===Y?{}:Y,R=W.companyCollection,X=W.logos,$=void 0===X?[]:X,ee=W.parentWidth,te=void 0===ee?1370:ee,re=L.colorOverlay,ne=L.headerCssStyle,oe=L.copyCssStyle,ae=function(e){for(var t=e.headerTextVariants,r=void 0===t?[]:t,n={},i=0;i<r.length;i+=1){var c=r[i],s=c.breakpoint,l=c.variant;l&&(n[s]=l)}return T({},(0,o.Q)(n)?{}:{variants:n,HeaderComponent:a.F})}({headerTextVariants:y}),ie=ae.variants,ce=ae.HeaderComponent,se=R?R.companyItems:$;return(0,S.jsx)(w.K,{name:n,children:(0,S.jsx)(x.I,{className:"spacing--component-y",css:"\n .filter-dark {\n filter: ".concat((0,c.z)("black"),";\n }\n .filter-light {\n filter: ").concat((0,c.z)("white"),";\n }\n "),children:(0,S.jsxs)(s.M,T(T(T({element:"div",id:null},N({imageBackground:D,videoBackground:U,colorOverlay:re,mobileImageBackground:q})),{},{logoGridProps:0!==se.length?{logos:(0,k.getLogos)({logos:se,logoSaladTheme:"light",sectionTheme:"auto"}),parentWidth:te,columns:se.length,mobileAlign:"center"}:null,headerProps:T(T(T({text:null,dangerousText:b,smartQuotes:!1,element:"h1",variant:"display-400"},j?{variant:j}:{}),ie?{variants:ie}:{}),ne?{css:"".concat((0,P.H)(ne))}:{})},ce?{HeaderComponent:ce}:{}),{},{copy:h,copyProps:T(T({},g?{variant:g}:{}),oe?{css:"".concat((0,P.H)(oe))}:{}),children:[B&&M&&(0,S.jsx)(l.W,{cmt:{0:6,768:2,1024:1},cmx:{0:0,325:2,414:4,800:-4},children:(0,S.jsxs)(u.k,{align:"center",wrap:{0:"wrap",900:"nowrap"},children:[(0,S.jsx)(u.k.Item,{w:{"0-899":"100%"},children:(0,S.jsx)(d.K,T({location:"hero"},C({ctaText:B,ctaUrl:M})))}),H&&I&&(0,S.jsx)(u.k.Item,{w:{"0-899":"100%"},mt:{"0-899":20},ml:{900:20},children:(0,S.jsx)(d.K,T({location:"hero",appearance:"outline-white"},C({ctaText:H,ctaUrl:I})))})]})}),A&&_&&F&&J&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(l.W,{cmt:{0:6,768:2,1024:1},children:[(0,S.jsx)(p.J,{secondary:!0,appearance:"outline-white",align:"center",onClick:function(){return(0,f.h)(Q)},location:"hero"}),(0,S.jsx)(m.x,{text:A,mx:"auto",color:"white",variant:"sub-heading-300",p:15,css:"\n cursor: pointer;\n ",onClick:function(){(0,f.h)(Q),(0,f.h)("inv-site-select-clicked",{actionType:"interact",ariaLabel:A,component:"Text",eventType:"Marketing.Site.Selected",key:"auto",location:"hero",href:""})},maxw:200})]}),(0,S.jsx)(v.K,{eventName:Q,url:F,videoProps:{image:(0,O.p)({src:J}),playButtonProps:{hoverTextColor:"white"},name:_,location:"modal"}})]})]}))})})};E.displayName="HeroHatterasModule",t.default=E},89754:function(e,t,r){r.d(t,{H:function(){return n}});var n=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t="",r=e.properties,n=void 0===r?[]:r,o=0;o<n.length;o+=1)for(var a=n[o],i=a.name,c=a.mediaQueries,s=0;s<c.length;s+=1){var l=c[s],u=l.breakpoint,d=l.value;t+=0===u?"".concat(i,":").concat(d,";"):"@media(min-width:".concat(u,"px){").concat(i,":").concat(d,"}")}return t}},17071:function(e,t,r){r.d(t,{Y:function(){return c}});var n=r(1717),o=r(78691);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e){var t=e.url,r=e.dispatchCustomEventName,n=void 0===r?void 0:r,a=(0,o.c)({url:t,dispatchCustomEventName:n})||{},c=a.href,s=a.onClick,l=a.throwsCustomEvent,u=void 0!==l&&l;return i(i({href:c||t},s?{onClick:s}:{}),u?{href:"#"}:{})}},45243:function(e,t,r){r.d(t,{q:function(){return s}});var n=r(1717),o=r(31750),a=r(30932),i=["asset","dimensions","lqip"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var s=function(e){var t=e.asset,r=void 0===t?{}:t,s=e.dimensions,l=(s=void 0===s?{}:s).width,u=void 0===l?200:l,d=s.height,p=void 0===d?200:d,f=e.lqip,m=(0,o.Z)(e,i);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({srcWithFormat:(0,a.l)({src:r}),initialWidth:u,initialHeight:p,placeholder:f},m)}},30932:function(e,t,r){r.d(t,{l:function(){return a}});var n=r(48706),o=r(8742),a=function(e){var t=e.src,r=e.format,a=void 0===r?"auto":r,i=e.useCdn,c=void 0===i||i,s=e.width,l=void 0===s?void 0:s;if(!t)return null;var u=(0,n.u)(t).image(t);a&&(u="auto"===a?u.auto("format"):u.format(a)),l&&(u=u.width(l));var d=u.url();return c?(0,o.s)(d):d}},61514:function(e,t,r){r.d(t,{S:function(){return l}});var n=r(1717),o=r(78774),a=function(e){var t=e.src,r=e.width,n=void 0===r?50:r,a=e.format,i=void 0===a?"png":a;return t&&(0,o.i)({src:t,width:n,format:i})},i=r(55414);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var l=function(e){var t=e.asset,r=void 0===t?{}:t,n=e.dimensions,o=void 0===n?{}:n,c=e.srcParams,l=void 0===c?{}:c,u=e.placeholderParams;return s({placeholder:a(s({src:r},void 0===u?{}:u)),src:(0,i.P)(s({src:r},l))},o)}},50076:function(e,t,r){r.d(t,{p:function(){return o}});var n=r(78774),o=function(e){var t=e.src,r=e.width,o=void 0===r?100:r,a=e.blur,i=void 0===a?20:a,c=e.quality,s=void 0===c?90:c,l=e.format,u=void 0===l?"jpg":l;return t&&(0,n.i)({src:t,width:o,blur:i,quality:s,format:u})}},89727:function(e,t,r){r.d(t,{M:function(){return o}});var n=r(78774),o=function(e){var t=e.src,r=e.height,o=e.width,a=void 0===o?1e3:o,i=e.blur,c=void 0===i?0:i,s=e.quality,l=void 0===s?90:s,u=e.format,d=void 0===u?"jpg":u;return t&&(0,n.i)({src:t,width:a,height:r,blur:c,quality:l,format:d})}},32302:function(e,t,r){r.d(t,{g:function(){return o}});var n=r(8742),o=function(e){var t=e.assetUrl,r=e.useCdn;return t?void 0===r||r?(0,n.s)(t):t:null}}}]);