1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,847451,e=>{"use strict";var t=e.i(848277),n=e.i(442588),r=e.i(816506),i=e.i(541428);function o({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,i.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border shadow-sm",e),...n})}var l=e.i(885205),u=e.i(151484),a=e.i(171413);let c=({data:e})=>{let{variant:i}=(0,a.useAudience)(),{cardImage:c,cardTitle:s,actionButton:d}=e,f=(0,u.urlFor)(c)?.url();return f?(0,t.jsxs)(o,{className:"group relative rounded-lg overflow-hidden border-0 w-[320px] md:w-[380px] h-[280px]",children:[(0,t.jsx)(n.default,{src:f,alt:s,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-110",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black-500/70 to-transparent"}),(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-end p-6 group",children:[(0,t.jsx)("h3",{className:`${"entreprise"===i?"text-center lg:opacity-0 lg:translate-y-4 lg:transition-all lg:duration-500 lg:ease-out lg:group-hover:opacity-100 lg:group-hover:translate-y-0 opacity-100 translate-y-0":""} text-2xl font-bold text-white mb-4`,children:s}),"candidat"===i?(0,t.jsx)(l.Button,{asChild:!0,variant:"highlight",className:"w-fit px-6 shadow-md",children:(0,t.jsx)(r.default,{href:d.url,target:d.isExternal?"_blank":"_self",children:d.title})}):""]})]}):null};var s=e.i(856902);function d(e){return(0,s.GenIcon)({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z",fill:"currentColor"},child:[]}]})(e)}function f(e){return(0,s.GenIcon)({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:"currentColor"},child:[]}]})(e)}var m=e.i(330668);function p(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function g(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],i=t[n];return"function"==typeof r?`${r}`==`${i}`:p(r)&&p(i)?g(r,i):r===i})}function h(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function x(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return"boolean"==typeof e}function y(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return Math.abs(e)}function j(e){return Math.sign(e)}function E(e){return C(e).map(Number)}function S(e){return e[N(e)]}function N(e){return Math.max(0,e.length-1)}function k(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function C(e){return Object.keys(e)}function D(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function L(){let e=[],t={add:function(n,r,i,o={passive:!0}){let l;return"addEventListener"in n?(n.addEventListener(r,i,o),l=()=>n.removeEventListener(r,i,o)):(n.addListener(i),l=()=>n.removeListener(i)),e.push(l),t},clear:function(){e=e.filter(e=>e())}};return t}function O(e=0,t=0){let n=w(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e}
1,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function A(e){let t=e;function n(e){return x(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function I(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let l=Math.round(100*e.direction(t))/100;l!==i&&(r.transform=n(l),i=l)},toggleActive:function(e){o=!e}}}let z={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function M(e,t,n){let r,i,o,l,u,a,c,s,d=e.ownerDocument,f=d.defaultView,m=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(C(n).forEach(r=>{let i=t[r],o=n[r],l=y(i)&&y(o);t[r]=l?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=C(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>C(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(f),p=(s=[],{init:function(e,t){return(s=t.filter(({options:e})=>!1!==m.optionsAtMedia(e).active)).forEach(t=>t.init(e,m)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){s=s.filter(e=>e.destroy())}}),g=L(),h=(i={},o={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),o},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),o},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),o},clear:function(){i={}}}),{mergeOptions:F,optionsAtMedia:P,optionsMediaQueries:T}=m,{on:B,off:R,emit:H}=h,V=!1,$=F(z,M.globalOptions),U=F($),q=[];function _(t,n){V||(U=P($=F($,t)),q=n||q,function(){let{container:t,slides:n}=U;a=(v(t)?e.querySelector(t):t)||e.children[0];let r=v(n)?a.querySelectorAll(n):n;c=[].slice.call(r||a.children)}(),l=function t(n){let r=function(e,t,n,r,i,o,l){var u,a;let c,s,d,f,m,p,g,h,y,z,M,F,P,T,{align:B,axis:R,direction:H,startIndex:V,loop:$,duration:U,dragFree:q,dragThreshold:_,inViewThreshold:K,slidesToScroll:G,skipSnaps:J,containScroll:X,watchResize:Z,watchSlides:Q,watchDrag:Y,watchFocus:W}=o,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(s="rtl"===H,f=(d="y"===R)||!s?1:-1,m=d?"top":s?"right":"left",p=d?"bottom":s?"left":"right",{scroll:d?"y":"x",cross:d?"x":"y",startEdge:m,endEdge:p,measureSize:function(e){let{height:t,width:n}=e;return d?t:n},direction:function(e){return e*f}}),ei=er.measureSize(et),eo={measure:function(e){return e/100*ei}},el=(u=B,a=ei,c={start:function(){return 0},center:function(e){return(a-e)/2},end:function(e){return a-e}},{measure:function(e,t){return v(u)?c[u](e):u(a,e,t)}}),eu=!$&&!!X,{slideSizes:ea,slideSizesWithGaps:ec,startGap:es,endGap:ed}=function(e,t,n,r,i,o){let{measureSize:l,startEdge:u,endEdge:a}=e,c=n[0]&&i,s=function(){if(!c)return 0;let e=n[0];return w(t[u]-e[u])}(),d=c?parseFloat(o.getComputedStyle(S(r)).getPropertyValue(`margin-${a}`)):0,f=n.map(l),m=n.map((e,t,n)=>{let r=t===N(n);return t?r?f[t]+d:n[t+1][u]-e[u]:f[t]+s}).map(w);return{slideSizes:f,slideSizesWithGaps:m,startGap:s,endGap:d}}(er,et,en,n,$||!!X,i),ef=function(e,t,n,r,i,o,l,u,a){let{startEdge:c,endEdge:s,direction:d}=e,f=x(n);return{groupSlides:function(e){return f?E(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?E(e).reduce((n,a,f)=>{let m=S(n)||0,p=a===N(e),g=i[c]-o[m][c],h=i[c]-o[a][s],x=r||0!==m?0:d(l),v=w(h-(!r&&p?d(u):0)-(g+x));return f&&v>t+2&&n.push(a),p&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,G,$,et,en,es,ed,0),{snaps:em,snapsAligned:ep}=function(e,t,n,r,i){let{startEdge:o,endEdge:l}=e,{groupSlides:u}=i,a=u(r).map(e=>S(e)[l]-e[0][o]).map(w).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-w(e)),s=u(c).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:c,snapsAligned:s}}(er,el,et,en,ef),eg=-S(em)+S(ec),{snapsContained:eh,scrollContainLimit:ex}=function(e,t,n,r,i){let o,l,u=O(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=u,o=u.constrain(e),l=t===N(n);return t?l||function(e,t){return 1>=w(e-t)}(r,o)?r:function(e,t){return 1>=w(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),c=(o=a[0],l=S(a),O(a.lastIndexOf(o),a.indexOf(l)+1));return{snapsContained:function(){if(t<=e+2)return[u.max];if("keepSnaps"===r)return a;let{min:n,max:i}=c;return a.slice(n,i)}(),scrollContainLimit:c}}(ei,eg,ep,X,0),ev=eu?eh:ep,{limit:eb}=(g=ev[0],{limit:O($?g-eg:S(ev),g)}
1),ey=function e(t,n,r){let{constrain:i}=O(0,t),o=t+1,l=u(n);function u(e){return r?w((o+e)%o):i(e)}function a(){return e(t,l,r)}let c={get:function(){return l},set:function(e){return l=u(e),c},add:function(e){return a().set(l+e)},clone:a};return c}(N(ev),V,$),ew=ey.clone(),ej=E(n),eE=function(e,t,n,r){let i=L(),o=1e3/60,l=null,u=0,a=0;function c(e){if(!a)return;l||(l=e,n(),n());let i=e-l;for(l=e,u+=i;u>=o;)n(),u-=o;r(u/o),a&&(a=t.requestAnimationFrame(c))}function s(){t.cancelAnimationFrame(a),l=null,u=0,a=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(l=null,u=0)})},destroy:function(){s(),i.clear()},start:function(){a||(a=t.requestAnimationFrame(c))},stop:s,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eT),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:l,dragHandler:u,animation:a,eventHandler:c,scrollBounds:s,options:{loop:d}},f)=>{let m=e.settled(),p=!s.shouldConstrain(),g=d?m:m&&p,h=g&&!u.pointerDown();h&&a.stop();let x=n.get()*f+i.get()*(1-f);r.set(x),d&&(o.loop(e.direction()),l.loop()),t.to(r.get()),h&&c.emit("settle"),g||c.emit("scroll")})(eT,e)),eS=ev[ey.get()],eN=A(eS),ek=A(eS),eC=A(eS),eD=A(eS),eL=function(e,t,n,r,i,o){let l=0,u=0,a=i,c=.68,s=e.get(),d=0;function f(e){return a=e,p}function m(e){return c=e,p}let p={direction:function(){return u},duration:function(){return a},velocity:function(){return l},seek:function(){let t=r.get()-e.get(),i=0;return a?(n.set(e),l+=t/a,l*=c,s+=l,e.add(l),i=s-d):(l=0,n.set(r),e.set(r),i=t),u=j(i),d=s,p},settled:function(){return .001>w(r.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return f(i)},useFriction:m,useDuration:f};return p}(eN,eC,ek,eD,U,0),eO=function(e,t,n,r,i){let{reachedAny:o,removeOffset:l,constrain:u}=r;function a(e){return e.concat().sort((e,t)=>w(e)-w(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return a(i);let o=i.filter(e=>j(e)===r);return o.length?a(o):S(i)-n}return{byDistance:function(n,r){let a=i.get()+n,{index:s,distance:d}=function(n){let r=e?l(n):u(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>w(e.diff)-w(t.diff))[0];return{index:i,distance:r}}(a),f=!e&&o(a);if(!r||f)return{index:s,distance:n};let m=n+c(t[s]-d,0);return{index:s,distance:m}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}($,ev,eg,eb,eD),eA=function(e,t,n,r,i,o,l){function u(i){let u=i.distance,a=i.index!==t.get();
1o.add(u),u&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),a&&(n.set(t.get()),t.set(i.index),l.emit("select"))}return{distance:function(e,t){u(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);u(i.byIndex(r.get(),n))}}}(eE,ey,ew,eL,eO,eD,l),eI=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),ez=L(),eM=(y={},z=null,M=null,F=!1,{init:function(){h=new IntersectionObserver(e=>{F||(e.forEach(e=>{y[n.indexOf(e.target)]=e}),z=null,M=null,l.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>h.observe(e))},destroy:function(){h&&h.disconnect(),F=!0},get:function(e=!0){if(e&&z)return z;if(!e&&M)return M;let t=C(y).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=y[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(z=t),e||(M=t),t}}),{slideRegistry:eF}=function(e,t,n,r,i,o){let l,{groupSlides:u}=i,{min:a,max:c}=r;return{slideRegistry:(l=u(o),1===n.length?[o]:e&&"keepSnaps"!==t?l.slice(a,c).map((e,t,n)=>{let r=t===N(n);return t?r?k(N(o)-S(n)[0]+1,S(n)[0]):e:k(S(n[0])+1)}):l)}}(eu,X,ev,ex,ef,ej),eP=function(e,t,n,r,i,o,l,u){let a={passive:!0,capture:!0},c=0;function s(e){"Tab"===e.code&&(c=new Date().getTime())}return{init:function(d){u&&(o.add(document,"keydown",s,!1),t.forEach((t,s)=>{o.add(t,"focus",t=>{(b(u)||u(d,t))&&function(t){if(new Date().getTime()-c>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));x(o)&&(i.useDuration(0),r.index(o,0),l.emit("slideFocus"))}(s)},a)}))}}}(e,n,eF,eA,eL,ez,l,W),eT={ownerDocument:r,ownerWindow:i,eventHandler:l,containerRect:et,slideRects:en,animation:eE,axis:er,dragHandler:function(e,t,n,r,i,o,l,u,a,c,s,d,f,m,p,g,h,x,v){let{cross:y,direction:E}=e,S=["INPUT","SELECT","TEXTAREA"],N={passive:!1},k=L(),C=L(),A=O(50,225).constrain(m.measure(20)),I={mouse:300,touch:400},z={mouse:500,touch:600},M=p?43:25,F=!1,P=0,T=0,B=!1,R=!1,H=!1,V=!1;function $(e){if(!D(e,r)&&e.touches.length>=2)return U(e);let t=o.readPoint(e),n=o.readPoint(e,y),l=w(t-P),a=w(n-T);if(!R&&!V&&(!e.cancelable||!(R=l>a)))return U(e);let s=o.pointerMove(e);l>g&&(H=!0),c.useFriction(.3).useDuration(.75),u.start(),i.add(E(s)),e.preventDefault()}function U(e){var t;let n,r,i=s.byDistance(0,!1).index!==d.get(),l=o.pointerUp(e)*(p?z:I)[V?"mouse":"touch"],u=(t=E(l),n=d.add(-1*j(t)),r=s.byDistance(t,!p).distance,p||w(t)<A?r:h&&i?.5*r:s.byIndex(n.get(),0).distance),m=function(e,t){var n,r;if(0===e||0===t||w(e)<=w(t))return 0;let i=(n=w(e),r=w(t),w(n-r));return w(i/e)}(l,u);R=!1,B=!1,C.clear(),c.useDuration(M-10*m).useFriction(.68+m/50),a.distance(u,!p),V=!1,f.emit("pointerUp")}function q(e){H&&(e.stopPropagation(),e.preventDefault(),H=!1)}return{init:function(e){v&&k.add(t,"dragstart",e=>e.preventDefault(),N).add(t,"touchmove",()=>void 0,N).add(t,"touchend",()=>void 0).add(t,"touchstart",u).add(t,"mousedown",u).add(t,"touchcancel",U).add(t,"contextmenu",U).add(t,"click",q,!0);function u(u){(b(v)||v(e,u))&&function(e){let u,a=D(e,r);if((V=a,H=p&&a&&!e.buttons&&F,F=w(i.get()-l.get())>=2,!a||0===e.button)&&(u=e.target.nodeName||"",!S.includes(u))){let r;B=!0,o.pointerDown(e),c.useFriction(0).useDuration(0),i.set(l),r=V?n:t,C.add(r,"touchmove",$,N).add(r,"touchend",U).add(r,"mousemove",$,N).add(r,"mouseup",U),P=o.readPoint(e),T=o.readPoint(e,y),f.emit("pointerDown")}}(u)}},destroy:function(){k.clear(),C.clear()},pointerDown:function(){return B}}}(er,e,r,i,eD,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(D(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),l=i(e)-i(n)>170;return r=e,l&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),l=i(e)-i(n),u=i(e)-i(r)>170,a=t/l;return l&&!u&&w(a)>.1?a:0},readPoint:o}}(er,i),eN,eE,eA,eL,eO,ey,l,eo,q,_,J,0,Y),eventStore:ez,percentOfView:eo,index:ey,indexPrevious:ew,limit:eb,location:eN,offsetLocation:eC,previousLocation:ek,options:o,resizeHandler:function(e,t,n,r,i,o,l){let u,a,c=[e].concat(r),s=[],d=!1;function f(e){return i.measureSize(l.measure(e))}return{init:function(i){o&&(a=f(e),s=r.map(f),u=new ResizeObserver(n=>{(b(o)||o(i,n))&&function(n){for(let o of n){if(d)return;let n=o.target===e,l=r.indexOf(o.target),u=n?a:s[l];if(w(f(n?e:r[l])-u)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{c.forEach(e=>u.observe(e))}))},destroy:function(){d=!0,u&&u.disconnect()}}}(t,l,i,n,er,Z,ee),scrollBody:eL,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),l=i.measure(50),u=O(.1,.99),a=!1;function c(){return!a&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let a=e.reachedMin(t.get())?"min":"max",s=w(e[a]-t.get()),d=n.get()-t.get(),f=u.constrain(s/l);n.subtract(d*f),!i&&w(d)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}(eb,eC,eD,eL,eo),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=O(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let l=-1*t*e;r.forEach(e=>e.add(l))}}}(eg,eb,eC,[eN,eC,ek,eD]),scrollProgress:eI,scrollSnapList:ev.map(eI.get),scrollSnaps:ev,scrollTarget:eO,scrollTo:eA,slideLooper:function(e,t,n,r,i,o,l,u,a){let c=E(i),s=E(i).reverse(),d=p(m(s,l[0]),n,!1).concat(p(m(c,t-l[0]-1),-n,!0));function f(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function p(i,l,c){let s=o.map((e,n)=>({start:e-r[n]+.5+l,end:e+t-.5+l}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=s[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:A(-1),translate:I(e,a[t]),target:()=>u.get()>o?r:i}})}return{canLoop:function(){return d.every(({index:e})=>.1>=f(c.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(er,ei,eg,ea,ec,em,ev,eC,n),slideFocus:eP,slidesHandler:(T=!1,{init:function(e){Q&&(P=new MutationObserver(t=>{!T&&(b(Q)||Q(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),l.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){P&&P.disconnect(),T=!0}}),slidesInView:eM,slideIndexes:ej,slideRegistry:eF,slidesToScroll:ef,target:eD,translate:I(er,t)};return eT}(e,a,c,d,f,n,h);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),T([$,...q.map(({options:e})=>e)]).forEach(e=>g.add(e,"change",K)),U.active&&(l.translate.to(l.location.get()),l.animation.init(),l.slidesInView.init(),l.slideFocus.init(Z),l.eventHandler.init(Z),l.resizeHandler.init(Z),l.slidesHandler.init(Z),l.options.loop&&l.slideLooper.loop(),a.offsetParent&&c.length&&l.dragHandler.init(Z),u=p.init(Z,q)))}function K(e,t){let n=X();G(),_(F({startIndex:n},e),t),h.emit("reInit")}function G(){l.dragHandler.destroy(),l.eventStore.clear(),l.translate.clear(),l.slideLooper.clear(),l.resizeHandler.destroy(),l.slidesHandler.destroy(),l.slidesInView.destroy(),l.animation.destroy(),p.destroy(),g.clear()}function J(e,t,n){U.active&&!V&&(l.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),l.scrollTo.index(e,n||0))}function X(){return l.index.get()}let Z={canScrollNext:function(){return l.index.add(1).get()!==X()},canScrollPrev:function(){return l.index.add(-1).get()!==X()},containerNode:function(){return a},internalEngine:function(){return l},destroy:function(){V||(V=!0,g.clear(),G(),h.emit("destroy"),h.clear())},off:R,on:B,emit:H,plugins:function(){return u},previousScrollSnap:function(){return l.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){J(l.index.add(1).get(),e,-1)},scrollPrev:function(e){J(l.index.add(-1).get(),e,1)},scrollProgress:function(){return l.scrollProgress.get(l.offsetLocation.get())},scrollSnapList:function(){return l.scrollSnapList},scrollTo:J,selectedScrollSnap:X,slideNodes:function(){return c},slidesInView:function(){return l.slidesInView.get()},slidesNotInView:function(){return l.slidesInView.get(!1)}};return _(t,n),setTimeout(()=>h.emit("init"),0),Z}function F(e={},t=[]){let n=(0,m.useRef)(e),r=(0,m.useRef)(t),[i,o]=(0,m.useState)(),[l,u]=(0,m.useState)(),a=(0,m.useCallback)(()=>{i&&i.reInit(n.current,r.current)},[i]);return(0,m.useEffect)(()=>{g(n.current,e)||(n.current=e,a())},[e,a]),(0,m.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=h(e),r=h(t);return n.every((e,t)=>g(e,r[t]))}(r.current,t)&&(r.current=t,a())},[t,a]),(0,m.useEffect)(()=>
1{if("undefined"!=typeof window&&window.document&&window.document.createElement&&l){M.globalOptions=F.globalOptions;let e=M(l,n.current,r.current);return o(e),()=>e.destroy()}o(void 0)},[l,o]),[u,i]}M.globalOptions=void 0,F.globalOptions=void 0,e.i(533189),e.i(952443);let P=m.createContext(null);function T(){let e=m.useContext(P);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function B({orientation:e="horizontal",opts:n,setApi:r,plugins:o,className:l,children:u,...a}){let[c,s]=F({...n,dragFree:!0,axis:"horizontal"===e?"x":"y"},o),[d,f]=m.useState(!1),[p,g]=m.useState(!1),h=m.useCallback(e=>{e&&(f(e.canScrollPrev()),g(e.canScrollNext()))},[]),x=m.useCallback(()=>{s?.scrollPrev()},[s]),v=m.useCallback(()=>{s?.scrollNext()},[s]),b=m.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),x()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[x,v]);return m.useEffect(()=>{s&&r&&r(s)},[s,r]),m.useEffect(()=>{if(s)return h(s),s.on("reInit",h),s.on("select",h),()=>{s?.off("select",h)}},[s,h]),(0,t.jsx)(P.Provider,{value:{carouselRef:c,api:s,opts:n,orientation:e||(n?.axis==="y"?"vertical":"horizontal"),scrollPrev:x,scrollNext:v,canScrollPrev:d,canScrollNext:p},children:(0,t.jsx)("div",{onKeyDownCapture:b,className:(0,i.cn)("relative w-full h-full flex",l),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...a,children:u})})}function R({className:e,...n}){let{carouselRef:r,orientation:o}=T();return(0,t.jsx)("div",{ref:r,className:"overflow-hidden w-full h-full","data-slot":"carousel-content",children:(0,t.jsx)("div",{className:(0,i.cn)("flex w-full h-full","horizontal"===o?"-ml-2":"-mt-4 flex-col",e),...n})})}function H({className:e,...n}){let{orientation:r}=T();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,i.cn)("min-w-0 shrink-0 grow h-full select-none","horizontal"===r?"pl-2":"pt-4",e),...n})}let V=()=>{let{scrollPrev:e,scrollNext:n,canScrollPrev:r,canScrollNext:i}=T();return(0,t.jsxs)("div",{className:"flex space-x-3 mt-6 lg:mt-0",children:[(0,t.jsx)(l.Button,{variant:"dark",size:"icon",onClick:e,disabled:!r,className:"rounded-full h-10 w-10 sm:h-12 sm:w-12 md:h-14 md:w-14 lg:h-16 lg:w-16 text-[#614418] hover:bg-gray-100 transition-colors disabled:text-[#E0E0DE] disabled:border-[#E0E0DE]",forceIconSize:!0,"aria-label":"Précédent",children:(0,t.jsx)(d,{size:30})}),(0,t.jsx)(l.Button,{variant:"dark",size:"icon",onClick:n,disabled:!i,className:"rounded-full h-10 w-10 sm:h-12 sm:w-12 md:h-14 md:w-14 lg:h-16 lg:w-16 text-[#614418] hover:bg-gray-100 transition-colors disabled:text-[#E0E0DE] disabled:border-[#E0E0DE]",forceIconSize:!0,"aria-label":"Suivant",children:(0,t.jsx)(f,{size:30})})]})};e.s(["default",0,({data:e})=>{let{mainSectionTitleCandidat:n,mainSectionTitleEntreprise:r,jobCards:i}=e,[o,l]=m.useState(),{variant:u}=(0,a.useAudience)();return(m.useEffect(()=>{o&&o.on("select",()=>{})},[o]),i&&0!==i.length)?(0,t.jsx)("section",{className:"px-4 sm:px-0 py-12 md:py-23 bg-white",id:e._id,children:(0,t.jsx)("div",{className:"max-w-[1920px] mx-auto pl-4 sm:pl-6 lg:pl-8",children:(0,t.jsxs)("div",{className:"lg:flex lg:items-start lg:gap-10",children:[(0,t.jsx)("div",{className:"flex-none sm:mb-8 lg:mb-0 lg:max-w-[280px] w-[200px] sm:w-auto",children:(0,t.jsx)("h2",{className:"text-2xl sm:text-[2.5rem] font-bold mb-4 text-neutrals-700 leading-tight font-headline",children:"candidat"===u?n:r})}),(0,t.jsx)("div",{className:"flex-1 min-w-0 ",children:(0,t.jsxs)(B,{opts:{align:"start"},setApi:l,className:"w-full h-full bg-transparent shadow-none",children:[(0,t.jsx)(R,{className:"-ml-4 h-full px-1",children:i.map(e=>(0,t.jsx)(H,{className:"!flex-grow-0",children:(0,t.jsx)("div",{className:"p-1 h-full",children:(0,t.jsx)(c,{data:e})})},e._key))}),(0,t.jsx)("div",{className:"absolute top-0 right-full mr-44 mt-35 hidden lg:block",children:(0,t.jsx)(V,{})}),(0,t.jsx)("div",{className:"absolute -top-20 right-4 md:-top-28 md:right-16 lg:hidden",children:(0,t.jsx)(V,{})})]})})]})})}):null},"dynamic",0,"force-dynamic"],847451)}]);
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.