www.fcpr.eu Open in urlscan Pro
5.196.92.32  Public Scan

Submitted URL: http://fcpr.eu/_next/static/chunks/4275.5a24e273478b3075.js
Effective URL: https://www.fcpr.eu/_next/static/chunks/4275.5a24e273478b3075.js
Submission: On November 10 via api from US — Scanned from FR

Form analysis 0 forms found in the DOM

Text Content

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4275],{24275:function(e,t,n){n.r(t),n.d(t,{default:function(){return I}});var r=n(59499),o=n(67294),c=n(8920),i=n(89413),u=n(13457),a=n(10369),l=n(12894),s=n(85893);function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e){var t=e.section,n=e.children,r=(0,l.Df)().modes,o=(0,c.Z)(),d=p(p({},r.find((function(e){return e.type===t.mode.type}))),t.mode?p({},t.mode):{}),f=(0,i.Z)(o,{props:{sectionMode:d},palette:{primary:{light:d.accent,main:d.accent,dark:d.accent},secondary:{light:d.text_background,main:d.text_background,dark:d.text_background},text:{default:d.text_background}},overrides:{MuiButton:p({},(0,a.MK)(d)),MuiTabs:p({},(0,a.P7)(d)),MuiPaper:{root:{backgroundColor:d.card}},MuiOutlinedInput:{notchedOutline:{borderColor:d.text_background}},MuiSelect:{icon:{color:d.text_background}},MuiInputBase:{input:{color:d.text_background}},MuiListItem:{root:{color:d.text_background}},MuiFormLabel:{root:{color:d.text_background}},MuiPaginationItem:{root:{color:d.text_background}}}});return(0,s.jsx)(u.Z,{theme:f,children:n})}var b=n(16835),g=n(41120),h=n(43832),m=n(25675),v=n(48433),x=n(2565),y=n(60420),j=n(52995),k=n(4132);var O=(0,g.Z)((function(e){return{section:{backgroundColor:e.props.sectionMode.background,position:"relative",zIndex:0},backgroundImage:{position:"absolute",zIndex:-1,inset:0,maxHeight:"100%",overflowY:"hidden","& img":{width:"100%",height:"100%",objectFit:"cover"}},sectionGutter:{padding:e.spacing(7,4)}}}));function M(e){var t,n,r=e.section,c=e.children,i=e.clubId,u=(null===r||void 0===r||null===(t=r.customize)||void 0===t?void 0:t.background)||{},a=u.type,l=u.url,d=(0,o.useState)(null),p=d[0],f=d[1],g=(0,y.qt)().sections,M=(0,o.useState)(),I=M[0],_=M[1],w=(0,j.EN)(),P=(0,k.Z)(),E=(0,b.Z)(P,2),S=E[0],C=E[1].height,Z=(0,o.useCallback)(function(e,t){var n;return function(){for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}}((function(e){_(e)}),200),[_]);(0,o.useEffect)((function(){var e=a===v.pj.IMAGE&&l&&(0,x.X0)(l,i)||null;f(e)}),[l]),(0,o.useEffect)((function(){var e;w>=C&&1===g.length&&(null===(e=g[0])||void 0===e?void 0:e.origin)===v.Mu.CUSTOM&&w<500?Z(w):Z(void 0)}),[C,w,g]);var D=O({height:I}),N=(0,s.jsxs)(s.Fragment,{children:[a===v.pj.IMAGE&&p&&(0,s.jsx)("div",{className:D.backgroundImage,children:(0,s.jsxs)("picture",{children:[(0,s.jsx)("source",{srcSet:p.webp.url,type:p.webp.type}),(0,s.jsx)("source",{srcSet:p.default.url,type:p.default.type}),(0,s.jsx)(m.default,{src:p.default.url,alt:r.name||"",layout:"fill",loader:function(e){var t=e.src;return"".concat(t,"?q=75")}})]})}),(0,s.jsx)(h.Z,{className:(null===r||void 0===r||null===(n=r.system_section)||void 0===n?void 0:n.type)!==v.bA.DIVIDER?D.sectionGutter:"",maxWidth:"lg",children:c})]});return r.origin===v.Mu.CUSTOM?(0,s.jsx)("section",{ref:S,style:{minHeight:I},className:D.section,children:N}):(0,s.jsx)("main",{ref:S,style:{minHeight:I},className:D.section,children:N})}function I(e){var t=e.section,n=e.children,r=e.clubId;return(0,s.jsx)(f,{section:t,children:(0,s.jsx)(M,{section:t,clubId:r,children:n})})}}}]);
//# sourceMappingURL=4275.5a24e273478b3075.js.map