-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5872.cf5ef562930c4ba324ed.js
1 lines (1 loc) · 5.71 KB
/
5872.cf5ef562930c4ba324ed.js
1
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5872,377],{98238:function(e,t,n){n.d(t,{z:function(){return v}});var a=n(22951),r=n(91976),o=n(47169),i=n(67132),c=n(99492),s=n(27597),l=n(64649),u=n(27378),d=n(23615),m=n.n(d),p=n(34663),f=n(43195);function h(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,s.Z)(e);if(t){var r=(0,s.Z)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,c.Z)(this,n)}}var v=function(e){(0,i.Z)(n,e);var t=h(n);function n(e){var r;return(0,a.Z)(this,n),r=t.call(this,e),(0,l.Z)((0,o.Z)(r),"onMediaChange",(function(){r.setState({matched:r.mql.matches})})),r.state={matched:!1,loaded:!1},r.mql=null,r}return(0,r.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.media,t=this.state.loaded;this.mql=window.matchMedia(e),this.mql.addListener(this.onMediaChange),this.mql.matches&&this.setState({matched:!0}),!t&&this.setState({cdm:!0})}},{key:"componentWillUnmount",value:function(){this.mql.removeListener(this.onMediaChange)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.predictedMatch,a=this.state,r=a.matched;return a.cdm||(0,p.o)(n)?(0,f.W)(t)?t(r):r?t:null:(0,f.W)(t)?t(n):!!n&&t}}]),n}(u.PureComponent);v.displayName="MediaQuery",v.defaultProps={media:"(min-width: 767px)",predictedMatch:void 0},v.propTypes={children:m().oneOfType([m().node,m().func]).isRequired,media:m().string,predictedMatch:m().bool}},65529:function(e,t,n){n.d(t,{C:function(){return s}});var a=n(25773),r=n(18808),o=n(27378),i=n(55175),c=n(8016),s=function(e){var t=e.className,n=e.componentClassName,s=e.placeholder,l=e.bgPosition,u=e.bgSize,d=e.src,m=e.transitionSpeed,p=(0,r.Z)(e,["className","componentClassName","placeholder","bgPosition","bgSize","src","transitionSpeed"]);return o.createElement(c.G,(0,a.Z)({className:(0,i.A)(n,t),position:"absolute !important",bgPosition:l,bgSize:u,placeholder:s,src:d,transitionSpeed:m,z:50},p))};s.displayName="SectionBackgroundImage",s.defaultProps={bgPosition:"center center",bgSize:"cover",componentClassName:"background-image-loader",transitionSpeed:"400ms"},s.displayName="SectionBackgroundImage"},27107:function(e,t,n){n.d(t,{F:function(){return h}});var a=n(25773),r=n(64649),o=n(18808),i=n(85327),c=n(34864),s=n(55175),l=n(27378),u=n(92361),d=n(56131),m=n(27992);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=e.className,n=e.color,r=e.componentClassName,p=e.css,h=e.defaultMargins,v=e.element,y=e.TextComponent,g=e.variants,b=(0,o.Z)(e,["className","color","componentClassName","css","defaultMargins","element","TextComponent","variants"]),C=y||u.x,N=C.displayName,P=function(e){for(var t=e.variants,n=e.usingGradientText,a=e.defaultMargins,r=void 0!==a&&a,s=e.color,l=(0,i.A)(t),u=[],p=[],h=0;h<l.length;h+=1){var v=l[h]||0,y=l[h+1]||9999,g=t[v];if(u.push("".concat(v,"-").concat(g)),(0,c.w)(m.yr,g)){var b=m.yr[g].style,C=b.color,N=b.margin,P=(0,o.Z)(b,["color","margin"]);n||0!==h||p.push("".concat((0,d.w)({color:s||C}))),p.push("@media (min-width: ".concat(v,"px) and (max-width: ").concat(y,"px) { ").concat((0,d.w)(f(f({},P),r?{margin:N}:{}))," }"))}}return{textVariants:u,customVariantCss:p}}({variants:g,usingGradientText:"GradientText"===(void 0===N?"Text":N),defaultMargins:h,color:n}),w=P.textVariants,x=P.customVariantCss,O=void 0===x?[""]:x;return l.createElement(C,(0,a.Z)({className:(0,s.A)(r,t),"data-text-variants":"".concat(w.join("__")),element:v,customVariantObject:{"text-variant-switcher":{}},customVariantKey:"text-variant-switcher",css:"\n ".concat(O.join(" "),"\n ").concat(p||"","\n ")},b))};h.displayName="TextVariantSwitcher",h.defaultProps={componentClassName:"text-variant-switcher",element:"div",variants:{0:"display-400",768:"display-500",1280:"display-600"}},h.displayName="TextVariantSwitcher"},40389:function(e,t,n){n.d(t,{K:function(){return d}});var a=n(25773),r=n(18808),o=n(27378),i=n(55175),c=n(37305),s=n(28318),l=n(70839),u=function(e){var t=e.beforeContent,n=e.url,i=e.videoProps,l=e.afterContent,u=(0,r.Z)(e,["beforeContent","url","videoProps","afterContent"]);return o.createElement(c.W,{className:"modal-video"},t,o.createElement(s.Y,(0,a.Z)({location:"modal",url:n,proportionalCw:{0:34,768:30},syncPlaybackToModalEvents:!0},i,u)),l)};u.displayName="ModalChildren";var d=function(e){var t=e.afterContent,n=e.beforeContent,c=e.className,s=e.componentClassName,d=e.eventName,m=e.url,p=e.videoProps,f=(0,r.Z)(e,["afterContent","beforeContent","className","componentClassName","eventName","url","videoProps"]);return o.createElement(l.u,(0,a.Z)({className:(0,i.A)(s,c),eventName:d,variant:"blackout",showCloseButton:!0},f),o.createElement(u,{beforeContent:n,url:m,videoProps:p,afterContent:t}))};d.displayName="VideoModal",d.defaultProps={componentClassName:"video-modal"},d.displayName="VideoModal"},43195:function(e,t,n){n.d(t,{W:function(){return a}});var a=function(e){return"function"===typeof e}},66037:function(e,t,n){n.d(t,{E:function(){return a}});var a=function(){return Math.random().toString(36).substr(2,5)}}}]);