!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5bca7874-ab5e-4a8f-9be1-92741b14272f",e._sentryDebugIdIdentifier="sentry-dbid-5bca7874-ab5e-4a8f-9be1-92741b14272f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9695],{53598:function(e,r,n){n.d(r,{B:function(){return y}});var t=n(95235),o=n(82269),i=n(2784),c=n(13980),a=n.n(c),s=n(9046),l=n(7307),d=n(43992),u=n(69549),f=n(52322);const h=["as","text","hiddenText","href","color","icon","iconColor","renderContent","renderBeforeContent","renderAfterContent","children","className"];function p(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function m(e){for(var r=1;r{let{iconColor:r}=e;return r&&"currentColor"!==r&&(0,l.css)(["--icon-color:",";"],(0,u.a)(r))}),(e=>{let{$color:r}=e;return"black"===r?(0,l.css)(["--bg-color:#000;--text-color:#fff;--hover-bg-color:#ccc;--hover-text-color:#000;"]):(0,l.css)(["--bg-color:#ccc;--text-color:#000;--hover-bg-color:#000;--hover-text-color:#fff;"])})),g=l.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;@media (hover:hover){",":hover &{background-color:var(--hover-bg-color);}}"],b),v=(0,i.forwardRef)(((e,r)=>{let{as:n,text:t,hiddenText:c,href:a,color:l,icon:d,iconColor:u,renderContent:p,renderBeforeContent:v,renderAfterContent:y,children:x,className:w}=e,j=(0,o.Z)(e,h);const C=(0,i.useRef)(),O=r||C;return(0,f.jsxs)(b,m(m({className:w,ref:O,as:a?"a":n,href:a,$color:l,iconColor:u},j),{},{children:[v&&v({text:t,hiddenText:c}),p?p({text:t,hiddenText:c}):(0,f.jsxs)(g,{children:[x,(0,f.jsx)("span",{"aria-hidden":c?"true":null,children:t}),c&&(0,f.jsx)(s.S,{children:c})]}),y&&y({text:t,hiddenText:c})]}))}));v.displayName="Button",v.defaultProps={as:"button"},v.propTypes={as:a().oneOf(["button","a","span","div"]),text:a().string.isRequired,hiddenText:a().string,color:a().string,icon:a().string,iconColor:a().string,href:a().string,renderContent:a().func,renderBeforeContent:a().func,renderAfterContent:a().func,children:a().oneOfType([a().node,a().arrayOf(a().node)]),className:a().string};var y=v},27449:function(e,r,n){n.r(r),n.d(r,{default:function(){return t.P}});var t=n(86284);n(97729),n(52322),n(82091),n(2784),n(52049),n(80865),n(84004),n(29650),n(72692),n(30553)},32151:function(e,r,n){n.d(r,{g:function(){return t}});const t=e=>e.assets.map((e=>{let{primary:r,alt:n,caption:t,__entryId:o}=e;return{assetPath:r.assetPath,dimensions:r.dimensions,alt:n,caption:t,id:o}}))},68054:function(e,r,n){function t(e,r){return Math.random()*(r-e)+e}n.d(r,{r:function(){return t}})},70724:function(e,r,n){n.d(r,{w:function(){return t}});var t=".marquee{position:relative;white-space:nowrap}@keyframes scroll{0%{transform:translate(0)}to{transform:translate(calc(var(--marquee-width) * -1px))}}.marquee__slide{display:inline-block;width:max-content}.marquee--ready{animation:scroll var(--duration) linear infinite var(--animation-state, running)}\n"},30553:function(e,r,n){n.d(r,{R:function(){return c}});var t=n(52322),o=n(2784);function i(e=[]){if(!e||!Array.isArray(e)||!e.length)return;const r=[];return e.forEach((e=>{"string"==typeof e&&r.push(e)})),r.flat().join(" ")}function c({speed:e=50,reducedMotionSpeed:r=20,prefersReducedMotion:n=!1,playing:c=!0,children:s,className:l,...d}){const[u,f]=(0,o.useState)(0),[h,p]=(0,o.useState)(0),[m,b]=(0,o.useState)(1),g=(0,o.useRef)(null),v=(0,o.useRef)(null),y=(0,o.useRef)(),x=(0,o.useCallback)((()=>{var t,o;const i=(null==(t=g.current)?void 0:t.clientWidth)||0,c=(null==(o=v.current)?void 0:o.clientWidth)||0,a=n?r:e;let s=2*Math.ceil(i/c)-1;(s<1||isNaN(s))&&(s=1),b(s),f(c),p(c{x();const e=()=>{y.current&&clearTimeout(y.current),y.current=setTimeout(x,200)};window.addEventListener("resize",e);const r=y.current;return()=>{clearTimeout(r),window.removeEventListener("resize",e)}}),[x]),(0,t.jsxs)("div",{...d,ref:g,className:i(["marquee",u>0&&"marquee--ready",l]),style:{"--marquee-width":u,"--duration":h+"s","--animation-state":c?"running":"paused"},children:[(0,t.jsx)("div",{ref:v,className:"marquee__slide",children:s}),(0,t.jsx)(a,{neededAmount:m,children:s})]})}function a({children:e,neededAmount:r}){return(0,t.jsx)(t.Fragment,{children:Array.from({length:r}).map(((r,n)=>(0,t.jsx)("div",{className:"marquee__slide",children:e},n)))})}}}]); //# sourceMappingURL=9695.3e6f79ff02a332d6.js.map