-
Notifications
You must be signed in to change notification settings - Fork 0
/
8279.d2c6164a1ba4d39da6cd.js
1 lines (1 loc) · 12.1 KB
/
8279.d2c6164a1ba4d39da6cd.js
1
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8279],{24152:function(e,t,n){n.d(t,{S:function(){return s}});var r=n(65809),a=n(27378),o=n(55175),i=n(55970),c=n(37305),s=function(e){var t=e.alt,n=e.className,s=e.componentClassName,l=e.disableLazyLoad,u=e.height,p=e.overflowHidden,m=e.placeholder,d=e.src,f=e.width,h=a.useState(!1),v=(0,r.Z)(h,2),b=v[0],g=v[1],w=a.useRef(null);return a.useEffect((function(){if(!l){var e=w.current;if(e){var t=new IntersectionObserver((function(n){n.forEach((function(n){if(n.isIntersecting){t.unobserve(e);var r=new Image;r.src=d,r.onload=function(){return g(!0)}}}))}),{threshold:.25});return t.observe(e),function(){return t.unobserve(e)}}}})),a.createElement(c.W,{forwardRef:w,className:(0,o.A)(s,n),css:"\n .imgwrap {\n width: 100%;\n max-width: 100%;\n }\n .imgpre {\n transition: visibility 0ms ease 400ms;\n }\n .imgsrc {\n transition: opacity 400ms ease 0ms;\n opacity: 0;\n }\n .ipw {\n transition: opacity 100ms ease 400ms;\n }\n .fl {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n }\n .oh {\n overflow: hidden;\n }\n .w1 {\n width: 100%;\n }\n .ld {\n .ipw {\n opacity: 0;\n }\n .imgpre {\n visibility: hidden;\n }\n .imgsrc {\n opacity: 1;\n }\n }\n "},a.createElement("div",{className:l||b?"ld":""},a.createElement("div",{className:"imgwrap ".concat(p?"oh":"").trim()},a.createElement(c.W,{className:"w1",pt:(0,i.o)(f,u)},!l&&m&&a.createElement("div",{className:"ipw fl"},a.createElement("img",{className:"imgpre fl",src:m,role:"presentation",width:f,height:u,alt:t,"aria-disabled":"true"})),a.createElement("img",{className:"imgsrc fl",src:l||b?d:"",role:"presentation",width:f,height:u,alt:t})))))};s.displayName="ImageLoader",s.defaultProps={componentClassName:"image-loader",disableLazyLoad:!1,height:533,overflowHidden:!1,width:800},s.displayName="ImageLoader"},48023:function(e,t,n){n.d(t,{V:function(){return h}});var r=n(25773),a=n(18808),o=n(4340),i=n(55175),c=n(93219),s=n(27378),l=n(34811),u=n(37305),p=n(24152),m=n(8016),d=n(50969),f=n(92361),h=function(e){e.children;var t=e.className,n=e.componentClassName,h=e.css,v=e.itemMediaAspectRatio,b=e.items,g=e.stackOnMobile,w=e.wrapperProps,y=(0,a.Z)(e,["children","className","componentClassName","css","itemMediaAspectRatio","items","stackOnMobile","wrapperProps"]);if(!b)return null;for(var O=(0,o.d)(v),j=b.length>3?3:b.length,N=[],P=1===j?1:2===j?17/36:11/36,x=g?{0:"100%",768:P}:P,E=0;E<j;E+=1){var k=b[E],Z=k.text,U=k.textProps,C=k.imageProps,D=k.itemProps,M=k.videoProps,S=k.children,W=k.blockContent;N.push(s.createElement(l.k.Item,(0,r.Z)({className:"item",element:"figure",m:0,p:0,key:"item-".concat(E),w:x},D),W&&s.createElement(u.W,(0,r.Z)({className:"item-block-content ".concat(1!==j?"block-style":"").trim()},!g||Z||U?{}:{cmb:{0:6,768:0}}),W),(C||M)&&s.createElement(u.W,(0,r.Z)({className:"item-media ".concat(1!==j?"block-style":"").trim()},W?{cmt:{0:2,768:1,1280:.75}}:{}),C?1===j?s.createElement(p.S,(0,r.Z)({maxWidth:!1},C)):s.createElement(m.G,(0,r.Z)({withInlineImage:!0},C)):M?s.createElement(d.z,M):null),(Z||U)&&s.createElement(u.W,{element:"figcaption",className:"item-text",cmt:{0:2,768:1,1280:.75},cmb:g?{0:6,768:0}:void 0},s.createElement(f.x,(0,r.Z)({variant:1===j?"sub-heading-500":2===j?"sub-heading-400":"sub-heading-300",text:Z,fixOrphans:!1},U))),S&&s.createElement("div",{className:"item-extra"},S)))}return s.createElement(u.W,(0,r.Z)({className:(0,i.A)(n,"is-".concat(j,"-up ").concat(t||"").trim()),css:"\n .block-style {\n ".concat((0,c.V)(O[0]||1,O[1]||1),"\n }\n\n .block-style > * {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n\n ").concat(h||"","\n ")},y),s.createElement(l.k,(0,r.Z)({className:"wrapper wrap-".concat(j,"-up}"),mx:.05,wrap:g?{0:"wrap",768:"nowrap"}:"nowrap",align:"space-between"},w),N))};h.displayName="OneUpTwoUpThreeUp",h.defaultProps={componentClassName:"one-up-two-up-three-up",stackOnMobile:!1,itemMediaAspectRatio:"1:1"},h.displayName="OneUpTwoUpThreeUp"},93219:function(e,t,n){n.d(t,{V:function(){return a}});var r=n(55970),a=function(e,t){return"\n\t&:before {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\tpadding-top: ".concat((0,r.o)(e,t),";\n\t}\n")}},4340:function(e,t,n){n.d(t,{d:function(){return r}});var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"16:9";return e.split(":").map((function(e){return parseInt(e,10)}))}},88279:function(e,t,n){n.r(t),n.d(t,{OneUpTwoUpThreeUpModule:function(){return j}});var r=n(1717),a=(n(27378),n(37305)),o=n(48023),i=n(50076),c=n(89727),s=n(32302),l=n(53169),u=n(99302),p=n(99318),m=n(35794),d=n(47331),f=n(24246);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=(0,l.css)(["[data-module='header-module'] + [data-module='","'],[data-module='header-logo-module'] + [data-module='","']{.module-spacing{","}}"],(function(e){return e.name}),(function(e){return e.name}),(0,u.B)({cmt:{0:-2.5,768:-1.25,1280:-1.5}})),g=(0,l.createGlobalStyle)(["",""],b),w=[2e3,1500,1e3];function y(e){for(var t=[],n=function(){return w[(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)-1]||w[2]}(e.length),r=0;r<e.length;r+=1){var a=e[r],o=a.copy,l=a.image,u=a.video,p=a.hideText,m=void 0!==p&&p,d=void 0,f=void 0;if(l){var h=l.asset,b=l.dimensions;d=v({placeholder:(0,i.p)({src:h}),src:(0,c.M)({src:h,width:n}),alt:o},b)}if(u){var g=u.placeholder,y=g.asset,O=g.dimensions,j=u.src.assetUrl;f=v({placeholder:(0,i.p)({src:y}),src:(0,s.g)({assetUrl:j}),videoProps:{"aria-label":o}},O)}t.push(v(v({},m?{}:{text:o}),{},{imageProps:d,videoProps:f}))}return t}function O(e){var t=e.widthVariant,n=e.align;return v(v({},function(){switch(t){case"large":return{cw:{0:"100%",768:28,1280:24}};case"medium":return{cw:{0:"100%",768:24,1280:20}};case"small":return{cw:{0:"100%",768:20,1280:16}};case"full":default:return{}}}()),function(){switch(n){case"center":return{mx:"auto"};case"left":return{mr:"auto"};case"right":return{ml:"auto"};default:return{}}}())}var j=function(e){var t=e.fields,n=void 0===t?{}:t,r=e.name,i=e.sectionSettings,c=n.items,s=n.stackOnMobile,l=void 0!==s&&s,u=n.widthVariant,h=void 0===u?"full":u,b=n.align,w=void 0===b?"center":b,j=i.theme,N=void 0===j?"light":j;return(0,f.jsxs)(p.K,{name:r,children:[(0,f.jsx)(m.y,{children:(0,f.jsx)(d.I,{className:"spacing--component-y",css:"dark"===N?".item-text .__ds_text {color: #FFF}":"",children:(0,f.jsx)(a.W,{cmx:{0:0,768:.5,1280:1},children:(0,f.jsx)(a.W,v(v({},O({widthVariant:h,align:w})),{},{children:(0,f.jsx)(o.V,{stackOnMobile:l,items:y(c)})}))})})}),(0,f.jsx)(g,{name:r})]})};j.displayName="OneUpTwoUpThreeUpModule",t.default=j},35794:function(e,t,n){n.d(t,{y:function(){return u}});var r=n(1717),a=n(31750),o=(n(27378),n(37305)),i=n(24246),c=["children","componentClassName","className","css"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e){var t=e.children,n=e.componentClassName,r=e.className,s=void 0===r?"":r,u=e.css,p=void 0===u?"":u,m=(0,a.Z)(e,c);return(0,i.jsx)(o.W,l(l({className:"".concat(n," ").concat(s).trim(),position:"static",css:"\n width: 100%;\n max-width: 2000px;\n margin-left: auto;\n margin-right: auto;\n\n ".concat(p,"\n ")},m),{},{children:t}))};u.defaultProps={componentClassName:"module-max-width"},u.displayName="ModuleMaxWidth"},47331:function(e,t,n){n.d(t,{I:function(){return p}});var r=n(1717),a=n(31750),o=(n(27378),n(37305)),i=n(85794),c=n(24246),s=["children","className","prefix","spacialAwareness"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e){var t=e.children,n=e.className,r=void 0===n?"":n,l=e.prefix,p=void 0===l?"":l,m=e.spacialAwareness,d=(0,a.Z)(e,s);return(0,c.jsx)(o.W,u(u(u({className:"".concat(p?"".concat(p,"-"):"","module-spacing ").concat(r," ").concat(m&&!(0,i.Q)(m)?"spacial-awareness":"").trim()},d),m),{},{children:t}))};p.defaultProps={componentClassName:"module-spacing"},p.displayName="ModuleSpacing"},99318:function(e,t,n){n.d(t,{K:function(){return u}});var r=n(1717),a=n(31750),o=(n(27378),n(37305)),i=n(24246),c=["name","children","className","customName"];function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e){var t=e.name,n=e.children,r=e.className,s=void 0===r?"":r,u=e.customName,p=(0,a.Z)(e,c);return(0,i.jsx)(o.W,l(l({className:"module-wrapper ".concat(s).trim(),"data-module":t,"data-custom-module":u,position:"static"},p),{},{children:n}))};u.defaultProps={componentClassName:"module-wrapper"},u.displayName="ModuleWrapper"},50076:function(e,t,n){n.d(t,{p:function(){return a}});var r=n(78774),a=function(e){var t=e.src,n=e.width,a=void 0===n?100:n,o=e.blur,i=void 0===o?20:o,c=e.quality,s=void 0===c?90:c,l=e.format,u=void 0===l?"jpg":l;return t&&(0,r.i)({src:t,width:a,blur:i,quality:s,format:u})}},89727:function(e,t,n){n.d(t,{M:function(){return a}});var r=n(78774),a=function(e){var t=e.src,n=e.height,a=e.width,o=void 0===a?1e3:a,i=e.blur,c=void 0===i?0:i,s=e.quality,l=void 0===s?90:s,u=e.format,p=void 0===u?"jpg":u;return t&&(0,r.i)({src:t,width:o,height:n,blur:c,quality:l,format:p})}},32302:function(e,t,n){n.d(t,{g:function(){return a}});var r=n(8742),a=function(e){var t=e.assetUrl,n=e.useCdn;return t?void 0===n||n?(0,r.s)(t):t:null}},99302:function(e,t,n){n.d(t,{B:function(){return d}});var r=n(30126),a=n(55133),o=n(14753),i=n(60939),c=n(73056),s=n(34291),l=[].concat((0,r.Z)(a.R),(0,r.Z)(o.G),(0,r.Z)(i.U),(0,r.Z)(c.R),(0,r.Z)(s.U)),u=n(19125),p=n(66426),m=n(40674),d=function(e){return(0,u.l)(e)?"":l.map((function(t){var n=t.prop,r=t.property,a=t.propertyTwo,o=t.propertyThree,i=t.conversionType;if((0,u.l)(e[n]))return"";for(var c=[r,a,o],s=i?(0,p.A)(e[n],i):e[n],l="",d=0;d<c.length;d++)c[d]&&("getCells"===i&&(l+=(0,m.w)({property:c[d],value:(0,p.A)(e[n],"getCellsFallback")})),l+=(0,m.w)({property:c[d],value:s}));return l})).join("").trim()}}}]);