(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6341],{79361:function(e,t){"use strict";t.Z=function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}},28045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(79361).Z,o=n(94941).Z,r=n(53929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,s=e.unoptimized,l=void 0!==s&&s,v=e.priority,m=void 0!==v&&v,w=e.loading,S=e.lazyRoot,_=void 0===S?null:S,I=e.lazyBoundary,R=e.className,k=e.quality,x=e.width,C=e.height,P=e.style,L=e.objectFit,M=e.objectPosition,N=e.onLoadingComplete,T=e.placeholder,V=void 0===T?"empty":T,q=e.blurDataURL,Z=c(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),W=u.useContext(h.ImageConfigContext),B=u.useMemo((function(){var e=g||W||d.imageConfigDefault,t=r(e.deviceSizes).concat(r(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return a({},e,{allSizes:t,deviceSizes:n})}),[W]),H=Z,D=n?"responsive":"intrinsic";"layout"in H&&(H.layout&&(D=H.layout),delete H.layout);var U=A;if("loader"in H){if(H.loader){var F=H.loader;U=function(e){e.config;var t=c(e,["config"]);return F(t)}}delete H.loader}var G="";if(function(e){return"object"===typeof e&&(E(e)||function(e){return void 0!==e.src}(e))}(t)){var J=E(t)?t.default:t;if(!J.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(J)));if(q=q||J.blurDataURL,G=J.src,(!D||"fill"!==D)&&(C=C||J.height,x=x||J.width,!J.height||!J.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(J)))}var $=!m&&("lazy"===w||"undefined"===typeof w);((t="string"===typeof t?t:G).startsWith("data:")||t.startsWith("blob:"))&&(l=!0,$=!1);y.has(t)&&($=!1);B.unoptimized&&(l=!0);var Q,Y=o(u.useState(!1),2),K=Y[0],X=Y[1],ee=o(p.useIntersection({rootRef:_,rootMargin:I||"200px",disabled:!$}),3),te=ee[0],ne=ee[1],ie=ee[2],oe=!$||ne,re={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ae={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},se=!1,le={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:L,objectPosition:M},ce=z(x),ue=z(C),fe=z(k);0;var de=Object.assign({},P,le),pe="blur"!==V||K?{}:{backgroundSize:L||"cover",backgroundPosition:M||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(q,'")')};if("fill"===D)re.display="block",re.position="absolute",re.top=0,re.left=0,re.bottom=0,re.right=0;else if("undefined"!==typeof ce&&"undefined"!==typeof ue){var he=ue/ce,ve=isNaN(he)?"100%":"".concat(100*he,"%");"responsive"===D?(re.display="block",re.position="relative",se=!0,ae.paddingTop=ve):"intrinsic"===D?(re.display="inline-block",re.position="relative",re.maxWidth="100%",se=!0,ae.maxWidth="100%",Q="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(ce,"%27%20height=%27").concat(ue,"%27/%3e")):"fixed"===D&&(re.display="inline-block",re.position="relative",re.width=ce,re.height=ue)}else 0;var me={src:b,srcSet:void 0,sizes:void 0};oe&&(me=O({config:B,src:t,unoptimized:l,layout:D,width:ce,quality:fe,sizes:n,loader:U}));var ge=t;0;var ye;0;var be=(i(ye={},"imagesrcset",me.srcSet),i(ye,"imagesizes",me.sizes),i(ye,"crossOrigin",H.crossOrigin),ye),we=u.default.useLayoutEffect,Ee=u.useRef(N),Oe=u.useRef(t);u.useEffect((function(){Ee.current=N}),[N]),we((function(){Oe.current!==t&&(ie(),Oe.current=t)}),[ie,t]);var ze=a({isLazy:$,imgAttributes:me,heightInt:ue,widthInt:ce,qualityInt:fe,layout:D,className:R,imgStyle:de,blurStyle:pe,loading:w,config:B,unoptimized:l,placeholder:V,loader:U,srcString:ge,onLoadingCompleteRef:Ee,setBlurComplete:X,setIntersection:te,isVisible:oe,noscriptSizes:n},H);return u.default.createElement(u.default.Fragment,null,u.default.createElement("span",{style:re},se?u.default.createElement("span",{style:ae},Q?u.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:Q}):null):null,u.default.createElement(j,Object.assign({},ze))),m?u.default.createElement(f.default,null,u.default.createElement("link",Object.assign({key:"__nimg-"+me.src+me.srcSet+me.sizes,rel:"preload",as:"image",href:me.srcSet?void 0:me.src},be))):null)};var a=n(6495).Z,s=n(92648).Z,l=n(91598).Z,c=n(17273).Z,u=l(n(67294)),f=s(n(5443)),d=n(99309),p=n(57190),h=n(59977),v=(n(63794),n(82392));function m(e){return"/"===e[0]?e.slice(1):e}var g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1},y=new Set,b=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var w=new Map([["default",function(e){var t=e.config,n=e.src,i=e.width,o=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(v.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(i,"&q=").concat(o||75)}],["imgix",function(e){var t=e.config,n=e.src,i=e.width,o=e.quality,r=new URL("".concat(t.path).concat(m(n))),a=r.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||i.toString()),o&&a.set("q",o.toString()),r.href}],["cloudinary",function(e){var t=e.config,n=e.src,i=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(i).concat(m(n))}],["akamai",function(e){var t=e.config,n=e.src,i=e.width;return"".concat(t.path).concat(m(n),"?imwidth=").concat(i)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function E(e){return void 0!==e.default}function O(e){var t=e.config,n=e.src,i=e.unoptimized,o=e.layout,a=e.width,s=e.quality,l=e.sizes,c=e.loader;if(i)return{src:n,srcSet:void 0,sizes:void 0};var u=function(e,t,n,i){var o=e.deviceSizes,a=e.allSizes;if(i&&("fill"===n||"responsive"===n)){for(var s,l=/(^|\s)(1?\d?\d)vw/g,c=[];s=l.exec(i);s)c.push(parseInt(s[2]));if(c.length){var u,f=.01*(u=Math).min.apply(u,r(c));return{widths:a.filter((function(e){return e>=o[0]*f})),kind:"w"}}return{widths:a,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:o,kind:"w"}:{widths:r(new Set([t,2*t].map((function(e){return a.find((function(t){return t>=e}))||a[a.length-1]})))),kind:"x"}}(t,a,o,l),f=u.widths,d=u.kind,p=f.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:f.map((function(e,i){return"".concat(c({config:t,src:n,quality:s,width:e})," ").concat("w"===d?e:i+1).concat(d)})).join(", "),src:c({config:t,src:n,quality:s,width:f[p]})}}function z(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function A(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",i=w.get(n);if(i)return i(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(d.VALID_LOADERS.join(", "),". Received: ").concat(n))}function S(e,t,n,i,o,r){e&&e.src!==b&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(y.add(t),"blur"===i&&r(!0),null==o?void 0:o.current)){var n=e.naturalWidth,a=e.naturalHeight;o.current({naturalWidth:n,naturalHeight:a})}})))}var j=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),i=e.qualityInt,o=e.layout,r=e.className,s=e.imgStyle,l=e.blurStyle,f=e.isLazy,d=e.placeholder,p=e.loading,h=e.srcString,v=e.config,m=e.unoptimized,g=e.loader,y=e.onLoadingCompleteRef,b=e.setBlurComplete,w=e.setIntersection,E=e.onLoad,z=e.onError,A=(e.isVisible,e.noscriptSizes),j=c(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return p=f?"lazy":p,u.default.createElement(u.default.Fragment,null,u.default.createElement("img",Object.assign({},j,t,{decoding:"async","data-nimg":o,className:r,style:a({},s,l),ref:u.useCallback((function(e){w(e),(null==e?void 0:e.complete)&&S(e,h,0,d,y,b)}),[w,h,o,d,y,b]),onLoad:function(e){S(e.currentTarget,h,0,d,y,b),E&&E(e)},onError:function(e){"blur"===d&&b(!0),z&&z(e)}})),(f||"blur"===d)&&u.default.createElement("noscript",null,u.default.createElement("img",Object.assign({},j,O({config:v,src:h,unoptimized:m,layout:o,width:n,quality:i,sizes:A,loader:g}),{decoding:"async","data-nimg":o,style:s,className:r,loading:p}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25675:function(e,t,n){e.exports=n(28045)},82191:function(e,t,n){"use strict";var i=n(87462),o=n(63366),r=n(67294),a=r.useLayoutEffect;function s(){return!0}t.Z=function(e){var t=(0,r.useRef)(null),n=(0,r.useReducer)(s,!1),l=n[0],c=n[1],u=e.noWrapper,f=e.ssrOnly,d=e.whenIdle,p=e.whenVisible,h=e.promise,v=e.on,m=void 0===v?[]:v,g=e.children,y=e.didHydrate,b=(0,o.Z)(e,["noWrapper","ssrOnly","whenIdle","whenVisible","promise","on","children","didHydrate"]);a((function(){t.current.hasChildNodes()||c()}),[]),(0,r.useEffect)((function(){l&&y&&y()}),[l]),(0,r.useEffect)((function(){if(!f&&!l){var e=t.current,n=[];if(h&&h.then(c,c),p){var i=u?e:e.firstElementChild;if(!i||"undefined"===typeof IntersectionObserver)return c();var o=new IntersectionObserver((function(e){e.forEach((function(e){(e.isIntersecting||e.intersectionRatio>0)&&c()}))}),"object"===typeof p?p:{rootMargin:"250px"});o.observe(i),n.push((function(){o.disconnect()}))}if(d)if("undefined"!==typeof requestIdleCallback){var r=requestIdleCallback(c,{timeout:500});n.push((function(){cancelIdleCallback(r)}))}else{var a=setTimeout(c,2e3);n.push((function(){clearTimeout(a)}))}return[].concat(m).forEach((function(t){e.addEventListener(t,c,{once:!0,passive:!0}),n.push((function(){e.removeEventListener(t,c,{})}))})),function(){n.forEach((function(e){e()}))}}}),[l,m,f,d,p,y,h,u]);var w="string"===typeof u?u:"div";return l?u?g:(0,r.createElement)(w,(0,i.Z)({ref:t,style:{display:"contents"}},b),g):(0,r.createElement)(w,(0,i.Z)({},b,{ref:t,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:""}}))}},1216:function(e,t,n){"use strict";var i=function(){function e(e,t){for(var n=0;n=0&&A-S[0]<=p&&A+E+S[1]>=0}(e,n):function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,i=void 0;try{var o=t.getBoundingClientRect();n=o.top,i=o.height}catch(C){n=v,i=y}var r=window.innerHeight||document.documentElement.clientHeight,a=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-a[0]<=r&&n+i+a[1]>=0}(e);i?e.visible||(e.props.once&&E.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},j=function(){E.forEach((function(e){var t=w.indexOf(e);-1!==t&&w.splice(t,1)})),E=[]},_=function(){for(var e=0;e=0?i=setTimeout(l,t-c):(i=null,n||(s=e.apply(r,o),i||(r=null,o=null)))};return function(){r=this,o=arguments,a=+new Date;var c=n&&!i;return i||(i=setTimeout(l,t)),c&&(s=e.apply(r,o),r=null,o=null),s}}},54081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,n,i){i=i||!1,e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,(function(t){n.call(e,t||window.event)}))},t.off=function(e,t,n,i){i=i||!1,e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)}},38315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,i=e;i;){if(!i.parentNode)return e.ownerDocument||document.documentElement;var o=window.getComputedStyle(i),r=o.position,a=o.overflow,s=o["overflow-x"],l=o["overflow-y"];if("static"===r&&t)i=i.parentNode;else{if(n.test(a)&&n.test(s)&&n.test(l))return i;i=i.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},40821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i,o;return t||(t=250),function(){var r=n||this,a=+new Date,s=arguments;i&&a(((e,t,n)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n),a=new Map,s=new WeakMap,l=0,c=void 0;function u(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(s.has(n)||(l+=1,s.set(n,l.toString())),s.get(n)):"0"):e[t]}`;var n})).toString()}function f(e,t,n={},i=c){if("undefined"===typeof window.IntersectionObserver&&void 0!==i){const o=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}const{id:o,observer:r,elements:s}=function(e){let t=u(e),n=a.get(t);if(!n){const i=new Map;let o;const r=new IntersectionObserver((t=>{t.forEach((t=>{var n;const r=t.isIntersecting&&o.some((e=>t.intersectionRatio>=e));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=r),null==(n=i.get(t.target))||n.forEach((e=>{e(r,t)}))}))}),e);o=r.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:r,elements:i},a.set(t,n)}return n}(n);let l=s.get(e)||[];return s.has(e)||s.set(e,l),l.push(t),r.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(s.delete(e),r.unobserve(e)),0===s.size&&(r.disconnect(),a.delete(o))}}i.Component;function d({threshold:e,delay:t,trackVisibility:n,rootMargin:o,root:r,triggerOnce:a,skip:s,initialInView:l,fallbackInView:c,onChange:u}={}){var d;const[p,h]=i.useState(null),v=i.useRef(),[m,g]=i.useState({inView:!!l,entry:void 0});v.current=u,i.useEffect((()=>{if(s||!p)return;let i;return i=f(p,((e,t)=>{g({inView:e,entry:t}),v.current&&v.current(e,t),t.isIntersecting&&a&&i&&(i(),i=void 0)}),{root:r,rootMargin:o,threshold:e,trackVisibility:n,delay:t},c),()=>{i&&i()}}),[Array.isArray(e)?e.toString():e,p,r,o,a,s,n,c,t]);const y=null==(d=m.entry)?void 0:d.target,b=i.useRef();p||!y||a||s||b.current===y||(b.current=y,g({inView:!!l,entry:void 0}));const w=[h,m.inView,m.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}}}]);