"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6198],{3377:function(e,r,t){t.d(r,{B:function(){return _}});var n=t(95235),o=t(82269),i=t(2784),a=t(13980),s=t.n(a),c=t(91383),u=t(7307),l=t(80692),p=t(4215),d=t(52322);const f=["as","text","hiddenText","href","color","icon","iconColor","renderContent","renderBeforeContent","renderAfterContent","children","className"];function y(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function h(e){for(var r=1;r{let{iconColor:r}=e;return r&&(0,u.css)(["--icon-color:",";"],(0,p.b)(r))}),(e=>{let{$color:r}=e;return"black"===r?(0,u.css)(["--bg-color:#000;--text-color:#fff;--hover-bg-color:#ccc;--hover-text-color:#000;"]):(0,u.css)(["--bg-color:#ccc;--text-color:#000;--hover-bg-color:#000;--hover-text-color:#fff;"])})),v=u.default.span.withConfig({componentId:"pmp-module__sc-1dwtk0t-1"})(["align-items:center;background-color:var(--bg-color);display:flex;justify-content:center;line-height:1;padding:0.6em 0.8em;text-transform:uppercase;transition:background-color 0.2s ease;",":hover &{background-color:var(--hover-bg-color);}"],m),b=(0,i.forwardRef)(((e,r)=>{let{as:t,text:n,hiddenText:a,href:s,color:u,icon:l,iconColor:p,renderContent:y,renderBeforeContent:b,renderAfterContent:_,children:g,className:O}=e,x=(0,o.Z)(e,f);const R=(0,i.useRef)(),T=r||R;return(0,d.jsxs)(m,h(h({className:O,ref:T,as:s?"a":t,href:s,$color:u,iconColor:p},x),{},{children:[b&&b({text:n,hiddenText:a}),y?y({text:n,hiddenText:a}):(0,d.jsxs)(v,{children:[g,(0,d.jsx)("span",{"aria-hidden":a?"true":null,children:n}),a&&(0,d.jsx)(c.S,{children:a})]}),_&&_({text:n,hiddenText:a})]}))}));b.displayName="Button",b.defaultProps={as:"button"},b.propTypes={as:s().oneOf(["button","a","span","div"]),text:s().string.isRequired,hiddenText:s().string,color:s().string,icon:s().string,iconColor:s().string,href:s().string,renderContent:s().func,renderBeforeContent:s().func,renderAfterContent:s().func,children:s().oneOfType([s().node,s().arrayOf(s().node)]),className:s().string};var _=b},3697:function(e,r,t){t.r(r),t.d(r,{default:function(){return n.P}});var n=t(63426);t(97729),t(52322),t(34693),t(2784),t(52049),t(80865),t(84004),t(29650),t(72692),t(30553)},57736:function(e,r,t){t.d(r,{g:function(){return n}});const n=e=>e.assets.map((e=>{let{primary:r,alt:t,caption:n}=e;return{assetPath:r.assetPath,alt:t,caption:n}}))},23357:function(e,r,t){t.d(r,{a:function(){return n}});var n='.autoplay-video-util-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.autoplay-video{position:relative}.autoplay-video:before{content:"";display:block;padding-top:var(--aspect-ratio, 56.25%)}.autoplay-video__media{position:absolute}.autoplay-video__media,.autoplay-video__media img{height:100%;left:0;object-fit:cover;top:0;width:100%}\n'},29650:function(e,r,t){t.d(r,{o:function(){return v}});var n=t(2784);function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i,a={exports:{}},s={};a.exports=function(){if(i)return s;i=1;var e=n,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var i,s={},u=null,l=null;for(i in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,i)&&!c.hasOwnProperty(i)&&(s[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===s[i]&&(s[i]=t[i]);return{$$typeof:r,type:e,key:u,ref:l,props:s,_owner:a.current}}return s.Fragment=t,s.jsx=u,s.jsxs=u,s}();var c=a.exports,u={exports:{}};var l,p,d,f;function y(){if(p)return l;p=1;return l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}u.exports=function(){if(f)return d;f=1;var e=y();function r(){}function t(){}return t.resetWarningCache=r,d=function(){function n(r,t,n,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return n}n.isRequired=n;var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:r};return i.PropTypes=i,i}}()();const h=o(u.exports);(0,n.createContext)({});const m=(e=[])=>{if(!e||!Array.isArray(e)||!e.length)return null;let r=[];return e.forEach((e=>{"string"==typeof e&&r.push(e)})),r.join(" ")},v=(0,n.forwardRef)((({className:e,description:r,paused:t,posterImg:o,prefersReducedMotion:i,renderReducedMotionFallback:a,src:s,loop:u=!0},l)=>{const[p,d]=(0,n.useState)(!1),[f,y]=function(e=.3,r=!0,t=!1){const[o,i]=(0,n.useState)(!1),[a,s]=(0,n.useState)(),c=(0,n.useRef)(),u=(0,n.useCallback)((([e],n)=>{const o=e.isIntersecting||t&&e.boundingClientRect.top<0;i(o),r&&o&&n.unobserve(e.target)}),[r,t]);return(0,n.useEffect)((()=>{if(c.current||!a)return;const r="number"==typeof e?{threshold:e}:e;return c.current=new IntersectionObserver(u,r),c.current.observe(a),()=>{c.current&&c.current.unobserve(a)}}),[u,a,e]),[s,o,a]}(0),h=r?`autoplay-video-desc-${(e=>{let r,t,n=0;if(0===e.length)return n;for(r=0;r{b.current&&b.current.pause()};return(0,n.useEffect)((()=>{y&&d(!0)}),[y]),(0,n.useEffect)((()=>{p&&(t?_():y&&!t?!b.current||t||b.current.play():_())}),[y,p,t,i]),c.jsx("div",{ref:f,className:m(["autoplay-video",e]),children:i&&a?c.jsx("div",{className:"autoplay-video__media",children:a()}):c.jsxs(c.Fragment,{children:[h&&c.jsx("p",{id:h,className:"autoplay-video-util-visually-hidden",children:r}),c.jsx("video",{"aria-describedby":h,autoPlay:!0,className:"autoplay-video__media",loop:u,muted:!0,playsInline:!0,poster:o,ref:b,src:p?s:null})]})})}));v.defaultProps={description:"",inViewRootMargin:"0px 0px 400px 0px",paused:!1,prefersReducedMotion:!1,loop:!0},v.propTypes={className:h.string,description:h.string,paused:h.bool,posterImg:h.string,prefersReducedMotion:h.bool.isRequired,renderReducedMotionFallback:h.func,src:h.string,loop:h.bool},v.displayName="AutoplayVideo"},30553:function(e,r,t){t.d(r,{R:function(){return v}});var n=t(2784);function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i,a={exports:{}},s={};a.exports=function(){if(i)return s;i=1;var e=n,r=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var i,s={},u=null,l=null;for(i in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,i)&&!c.hasOwnProperty(i)&&(s[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===s[i]&&(s[i]=t[i]);return{$$typeof:r,type:e,key:u,ref:l,props:s,_owner:a.current}}return s.Fragment=t,s.jsx=u,s.jsxs=u,s}();var c=a.exports,u={exports:{}};var l,p,d,f;function y(){if(p)return l;p=1;return l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}u.exports=function(){if(f)return d;f=1;var e=y();function r(){}function t(){}return t.resetWarningCache=r,d=function(){function n(r,t,n,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return n}n.isRequired=n;var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:r};return i.PropTypes=i,i}}()();const h=o(u.exports);function m(e){return e?"string"==typeof e?e.trim():Array.isArray(e)?e.flat().filter((e=>"string"==typeof e)).join(" "):null:null}function v({speed:e=50,reducedMotionSpeed:r=20,prefersReducedMotion:t=!1,playing:o=!0,children:i,className:a,...s}){const[u,l]=(0,n.useState)(0),[p,d]=(0,n.useState)(0),[f,y]=(0,n.useState)(1),h=(0,n.useRef)(),v=(0,n.useRef)(),b=(0,n.useRef)(),_=(0,n.useCallback)((()=>{const n=h.current.clientWidth,o=v.current.clientWidth,i=t?r:e;let a=2*Math.ceil(n/o)-1;(a<1||isNaN(a))&&(a=1),y(a),l(o),d(o{let e=[];for(let r=0;r{_();const{current:e}=h,r=()=>{e&&clearTimeout(e),b.current=setTimeout((()=>{_()}),200)};return window.addEventListener("resize",r),()=>{clearTimeout(e),window.removeEventListener("resize",r)}}),[_]),c.jsxs("div",{...s,ref:h,className:m(["marquee",u>0&&"marquee--ready",a]),style:{"--marquee-width":u,"--duration":p+"s","--animation-state":o?"running":"paused"},children:[c.jsx("div",{ref:v,className:"marquee__slide",children:i}),g]})}v.propTypes={prefersReducedMotion:h.bool,playing:h.bool,className:h.string,speed:h.number,reducedMotionSpeed:h.number,children:h.oneOfType([h.node,h.arrayOf(h.node)])}}}]);