1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3471],{60165:function(e,l,t){t.r(l),t.d(l,{default:function(){return m}});var a=t(57437),n=t(56800),r=t.n(n),o=t(79838),s=e=>{let{className:l,currentFilterItems:t,buttonRef:n,...s}=e;return(0,a.jsxs)("button",{ref:n,type:"button",className:r()(l,"relative flex h-full w-full items-center justify-between border border-basic-greyLight p-4 text-left",{"border-thematique-greyBlueLight":null==t?void 0:t.length}),...s,children:[s.children&&(0,a.jsx)("span",{className:r()({"typo-cta-regular-s -translate-x-4 -translate-y-10 pb-5 uppercase":null==t?void 0:t.length,"typo-body-m":!(null==t?void 0:t.length)},"pointer-events-none absolute inset-0 flex h-full w-full flex-col justify-center p-4 text-thematique-lightBlue duration-4 ease-defaultTransition"),children:s.children}),(0,a.jsx)("span",{className:"relative block h-6 w-full",children:(0,a.jsx)("span",{className:"absolute inset-0 block w-full overflow-hidden text-ellipsis whitespace-nowrap pr-2",children:t&&(null==t?void 0:t.length)>0&&(null==t?void 0:t.map((e,l)=>l+1===t.length?e:"".concat(e,", ")))})}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[t&&(null==t?void 0:t.length)>0&&(0,a.jsx)("span",{className:"typo-body-s flex h-6 w-6 items-center justify-center bg-corporate-ultraLightWarmWhite",children:null==t?void 0:t.length}),(0,a.jsx)("div",{children:t&&(null==t?void 0:t.length)>0?(0,a.jsx)(o.Z,{icon:"chevronDown",small:!0}):(0,a.jsx)(o.Z,{icon:"chevronRight",small:!0})})]})]})},i=t(18087),u=t(2265),c=t(17675),d=t(60822),f=t(78650),m=e=>{let{children:l,buttonContent:t,popoverProps:n,id:r,containerClassname:o,additonnalContent:m,renderHiddenChildren:h,inputButton:v,currentFilterItems:p,contentTraduction:x,hideTextMobile:y,eventName:g="cta_click",endIcon:b,startIcon:j,animationDirection:w,smallIcon:N,spanClassName:C,iconsClassName:k,iconOnly:I,buttonRef:P,buttonTitle:R,...S}=e,T=(0,f.yK)(),{openPopover:A}=(0,d.T)(),L=(0,i.useTranslations)(),Z=(0,u.useRef)(null),_=(0,u.useCallback)(e=>{e.stopPropagation(),l&&A({...n,content:l,openerRef:null!=P?P:Z})},[l,A,n,P]);return(0,a.jsxs)("div",{className:o,children:[v&&t?(0,a.jsx)(s,{currentFilterItems:p,onClick:_,...S,buttonRef:null!=P?P:Z,children:t}):(0,a.jsx)(c.Z,{id:r,onClick:_,...S,buttonRef:null!=P?P:Z,iconOnly:(void 0===T||!!T)&&!!y,allowGTM:!0,linkTitle:x?L(x):R,eventName:g,endIcon:b,startIcon:j,smallIcon:N,spanClassName:C,animationDirection:w,iconsClassName:k,children:x?L(x):t}),m,!!h&&(0,a.jsx)("div",{"aria-hidden":"true",className:"hidden",children:"boolean"==typeof h?l:h})]})}},67695:function(e,l,t){t.d(l,{G:function(){return n}});var a=t(65132);let n=e=>{if("string"==typeof e)return e;let l=Object.entries(e).sort((e,l)=>{let[t]=e,[n]=l;return a.f0[t]-a.f0[n]});return l.reduce((e,t,n)=>{let[r,o]=t;if(n===l.length-1)return"".concat(e).concat(o);{let l=a.f0[r];return l?"".concat(e,"(max-width: ").concat(l,"px) ").concat(o,", "):e}},"")}},54695:function(e,l,t){t.r(l),t.d(l,{FreecasterContext:function(){return j},default:function(){return N},useFreecasterContext:function(){return w}});var a=t(57437),n=t(13551),r=t(80702),o=t(29906),s=t(34392),i=t(56800),u=t.n(i),c=t(49582),d=t(71204),f=t(2265),m=t(70750),h=t(17675),v=t(60822),p=t(78650),x=t(79838),y=t(18853),g=e=>{let{playing:l,togglePlay:t}=e;return(0,a.jsx)("div",{className:"absolute left-0 top-0 z-50 flex h-full max-h-full w-full justify-center",children:(0,a.jsx)(y.default,{contentClassName:"w-full h-full relative",children:t&&(0,a.jsxs)("button",{type:"button",onClick:t,className:"iconOnly_button dark absolute left-6 top-6 sm:left-12 sm:top-12",children:[(0,a.jsx)(x.Z,{icon:l?"pause":"play",className:"h-6 w-6"}),(0,a.jsx)("span",{className:"sr-only",children:(0,a.jsx)(n.default,{word:l?"a11yPauseButtonDecorVideo":"a11yPlayButtonDecorVideo"})})]})})})},b=t(15795);c.ZP.registerPlugin(d.i);let j=(0,f.createContext)({}),w=()=>(0,f.useContext)(j);var N=e=>{var l;let{containerClassName:t,additionnalClassName:i,freecasterId:c,freecasterMobileId:d,mobileImageReplacement:x,muted:y=!0,autoplay:w=!1,controls:N=!1,loop:C=!1,isInformative:k=!1,informativeTranscript:I,videoMask:P,coverSpace:R,fullScreen:S,forcedPause:T,restartOnPause:A}=e,L=(0,f.useId)(),Z=(0,p.yK)(),{state:{open:_}}=(0,v.T)(),{synchronizedPlaying:B,setSynchronizedPlaying:D,setSynchronizedMuted:E,synchronizedMuted:F}=(0,o.n)(),O=Z&&null!=d?d:c,[z]=(0,m._)("preventAnimation",!1),q=(0,f.useMemo)(()=>!!z,[z,T]),[M,V]=(0,f.useState)(!1),[G,K]=(0,f.useState)(q||w&&!1!==B),[U,W]=(0,f.useState)(!w&&!y&&!1!==F),[H,J]=(0,f.useState)(!0),Q=null===(l=window)||void 0===l?void 0:l.fcplayer,X=Q&&L?Q(L):void 0;(0,f.useEffect)(()=>{X&&(K(!X.paused),W(!X.muted))},[X]),(0,f.useEffect)(()=>{!1===B&&G?(null==X||X.pause(),K(!1)):!0!==B||G||(null==X||X.play(),K(!0)),!1===F&&U?(null==X||X.setConfig({muted:!0}
1),W(!1)):!0!==F||U||(null==X||X.setConfig({muted:!1}),W(!0))},[X,G,U,B,F]);let Y=()=>{null==X||X.togglePlay(),K(e=>!e),null==D||D(!G)};null==X||X.on("play",()=>{H&&J(!1),K(!0)}),null==X||X.on("pause",()=>{K(!1),A&&(null==X||X.seek(0),J(!0))});let $=(0,f.useRef)(null),ee=(0,f.useRef)(null);return(0,f.useEffect)(()=>{q||_?null==X||X.pause():!q&&w&&(null==X||X.play())},[w,q,_,X]),(0,f.useEffect)(()=>{var e;let l=null==ee?void 0:null===(e=ee.current)||void 0===e?void 0:e.querySelector("video");null==l||l.setAttribute("aria-hidden","true"),null==l||l.setAttribute("tabindex","-1")},[M]),(0,a.jsxs)(j.Provider,{value:{playing:G,togglePlay:Y,playingWithSound:U,toggleSound:()=>{null==X||X.setConfig({muted:U}),W(e=>!e),null==E||E(!U)}},children:[N&&!G&&H&&(0,a.jsx)(h.Z,{onClick:()=>null==X?void 0:X.play(),blockAnimation:!0,className:"absolute left-1/2 top-1/2 z-10 -translate-x-1/2 -translate-y-1/2",variation:"BLURRED",startIcon:"play",children:(0,a.jsx)("span",{className:"typo-cta-regular",children:(0,a.jsx)(n.default,{word:"playerPlay"})})}),O&&(0,a.jsx)("div",{ref:$,className:u()("z-0 max-h-inherit",{relative:!R,overlayFullScreenPlayer:S,"freecaster-hide-controls":!N||H,"flex h-full max-h-full w-full max-w-full items-center justify-center overflow-hidden":!t,["".concat(t)]:t}),children:Z&&!d&&s.BH(x)?(0,a.jsx)(r.default,{fill:!0,image:x}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:u()("h-full min-h-full w-full min-w-full",G&&N&&"!transform-none"),ref:ee,children:(0,a.jsx)("div",{onLoadCapture:()=>{V(!0)},id:L,className:u()("freecaster-player",S&&"max-h-screen",i,t," !block min-h-full"),"data-dnt":"true","data-video-id":O,"data-controls":N.toString(),"data-loop":C.toString(),"data-multiplay":"true","data-stretching":S?void 0:"cover","data-autoplay":q?"false":!1===B?"false":w.toString(),"data-muted":w?w.toString():y.toString(),children:k&&(0,a.jsx)("div",{className:"sr-only",children:(0,a.jsx)(b.v,{field:I})})})}),"none"===P?void 0:null!=P?P:(0,a.jsx)(g,{playing:G,togglePlay:Y})]})})]})}},3471:function(e,l,t){t.r(l),t.d(l,{default:function(){return v}});var a=t(57437),n=t(18087),r=t(34455),o=t(60165),s=t(13551),i=t(64596),u=t(56800),c=t.n(u),d=t(17675),f=t(26850),m=t(18853),h=e=>{let{title:l,video:t}=e,r=(0,n.useTranslations)();return(0,a.jsx)("div",{className:"h-screen w-screen ",children:(0,a.jsx)(m.default,{fullWidth:!0,flexLayout:!0,contentClassName:c()("h-full w-full max-h-screen mx-auto flex-center"),children:(0,a.jsxs)("div",{className:"max-h- max-h-full w-full max-w-full flex-center sm:relative",children:[(0,a.jsx)(f.Z,{buttonContainerClassname:"absolute top-6 right-6 z-40",overideCloseButton:e=>(0,a.jsx)(d.Z,{autoFocus:!0,blockAnimation:!0,"aria-label":"".concat(r("action_close")," - ").concat(r("video")," ").concat(null!=l?l:""),onClick:()=>e(),startIcon:"x",iconOnly:!0,variation:"BLURRED",className:"typo-cta-regular flex flex-row-reverse "})}),(0,a.jsx)(i.Z,{forceControle:{autoplay:!0,loop:!1},fullScreen:!0,mediaVideo:t,rewindOnause:!1})]})})})},v=e=>{var l;let{buttonContent:t,buttonClassname:i,variation:u,video:c,ariaDescribedBy:d,title:f}=e,m=(0,n.useTranslations)();return(0,a.jsx)(o.default,{"aria-describedby":d,variation:null!=u?u:"BLURRED",startIcon:"play",blockAnimation:!0,light:!1,"data-text":m("playerPlay"),buttonContent:null!=t?t:(0,a.jsx)(s.default,{word:"playerPlay"}),className:i,buttonTitle:m("playerPlay"),popoverProps:{ariaLabel:f?"".concat(m("video")," ").concat(f):null!==(l=m("playerPlay"))&&void 0!==l?l:void 0,popoverType:r.Oj.MODAL,drawerLayoutProps:{containerClassname:"bg-black sm:bg-opacity-90 "}},children:(0,a.jsx)(h,{title:f,video:c})})}},29906:function(e,l,t){t.d(l,{R:function(){return s},n:function(){return o}});var a=t(57437),n=t(2265);let r=(0,n.createContext)({}),o=()=>(0,n.useContext)(r),s=e=>{let{children:l}=e,[t,o]=(0,n.useState)(),[s,i]=(0,n.useState)();return(0,a.jsx)(r.Provider,{value:{synchronizedPlaying:t,setSynchronizedPlaying:o,synchronizedMuted:s,setSynchronizedMuted:i},children:l})}},11612:function(e,l,t){t.d(l,{q:function(){return n}});var a=t(78650);let n=e=>{let l=(0,a.yK)();return e?"mobile"in e&&l&&e.mobile||e:void 0}},80702:function(e,l,t){t.r(l),t.d(l,{default:function(){return m}});var a=t(57437),n=t(56800),r=t.n(n),o=t(2265),s=t(67695),i=t(19611),u=t(31221),c=e=>{let{image:l,fill:t,parallaxContainer:n,className:c,firstSection:d,emptyAltValue:f,defaultAltValue:m,containerClassName:h,preventZoom:v=!1,responsiveSizes:p={sm:"140vw",md:"90vw"},index:x,...y}=e,g=(0,o.useRef)(null),b=(0,o.useRef)(null);(0,i.ht)({parallaxContainer:n,imageRef:b,imageContainerRef:g,firstSection:d});let j=(0,s.G)(p);return(0,a.jsx)("div",{ref:g,className:"h-full w-full min-w-full",children:(0,a.jsx)("div",{className:r()("relative h-full w-full overflow-hidden",h),children:(0,a.jsx)("div",{ref:b,className:r()("min-h-full w-full min-w-full will-change-transform group-[&.prevent-animations]/body:!h-full",{"h-[150%]":n,"h-full":!n}),children:(0,a.jsx)(u.c,{fallbackAlt:"",sizes:j,className:r()(" min-h-full w-full min-w-full will-change-auto",{"object-cover":t||n,"max-h-full object-contain":!t&&!n,"transition-transform duration-700 ease-carousel group-[&.prevent-animations]/body:!scale-100 motion-reduce:group-hover/zoomImage:scale-100 md:group-[&:hover:not(:has(.avoidHover:hover))]/zoomImage:scale-110":!n&&!v,["priority_".concat(y.priority)]:y.priority},c),...y,field:{...l,alt:f?"":m?"".concat(m).concat(x?" ".concat(x):""):l.alt?l.alt:""}})})})})},d=t(11612),f=t(18087),m=e=>{let{image:l,mask:t,defaultAlt:n=!1,emptyAltValue:r,containerClassName:o,preventZoom:s,index:i,...u}=e,m=(0,d.q)(l),h=(0,f.useTranslations)();return m?(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)(c,{image:m,preventZoom:s,index:i,defaultAltValue:n?h("a11yDefaultImageAltAttribute"):void 0,emptyAltValue:r,containerClassName:o,...u}),t]}):null}},64596:function(e,l,t){var a=t(57437),n=t(54695),r=t(25581),o=t(34392),s=t(2265);l.Z=e=>{var l;let{mediaVideo:t,containerClassName:i,fullScreen:u,rewindOnause:c,coverSpace:d,forceControle:f}=e,m=o.TT(t.data.background_colors)?null===(l=r.q[t.data.background_colors.name])||void 0===l?void 0:l.bgClassName:void 0;return t.data.freecasterId?(0,a.jsx)(n.default,{containerClassName:i,coverSpace:d,additionnalClassName:m,freecasterId:t.data.freecasterId,freecasterMobileId:t.data.freecasterMobileId,mobileImageReplacement:t.data.mobileImageReplacement,autoplay:!!f&&void 0!==f.autoplay&&f.autoplay,controls:!0,loop:f&&void 0!==f.loop?f.loop:t.data.loop,muted:f&&void 0!==f.muted?f.muted:t.data.muted,restartOnPause:c,fullScreen:u,videoMask:"none"}):(0,a.jsx)(s.Fragment,{})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.