1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53849],{4474:function(e,t,r){r.d(t,{Z:function(){return u}});var n,i=r(18529),s=r(83769),l=r(47071),a=r(2344);let o=(n||(n=r.t(i,2))).useSyncExternalStore;function u(e,t={}){let r=(0,a.Z)(),n="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:u=!1,matchMedia:c=n?window.matchMedia:null,ssrMatchMedia:d=null,noSsr:m=!1}=(0,l.Z)({name:"MuiUseMediaQuery",props:t,theme:r}),h="function"==typeof e?e(r):e;return(void 0!==o?function(e,t,r,n,s){let l=i.useCallback(()=>t,[t]),a=i.useMemo(()=>{if(s&&r)return()=>r(e).matches;if(null!==n){let{matches:t}=n(e);return()=>t}return l},[l,e,n,s,r]),[u,c]=i.useMemo(()=>{if(null===r)return[l,()=>()=>{}];let t=r(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]},[l,r,e]);return o(c,u,a)}:function(e,t,r,n,l){let[a,o]=i.useState(()=>l&&r?r(e).matches:n?n(e).matches:t);return(0,s.Z)(()=>{let t=!0;if(!r)return;let n=r(e),i=()=>{t&&o(n.matches)};return i(),n.addListener(i),()=>{t=!1,n.removeListener(i)}},[e,r]),a})(h=h.replace(/^@media( ?)/m,""),u,c,d,m)}},53849:function(e,t,r){r.r(t),r.d(t,{LastGuides:function(){return v}});var n=r(48282);r(18529);var i=r(72008),s=r(99744),l=r(32284),a=r.n(l),o=r(45014),u=r.n(o);let c=e=>{var t,r,l,o,c,d,m;let{page:h,className:x,imgWidth:f=350}=e;return h?(0,n.jsx)(u(),{href:"/nos-dossiers/".concat(null===(r=h.category)||void 0===r?void 0:null===(t=r.slug)||void 0===t?void 0:t.current,"/").concat(null===(l=h.slug)||void 0===l?void 0:l.current),className:"group",children:(0,n.jsxs)("div",{className:(0,s.W)("relative flex min-h-[200px] items-end rounded-md",x),children:[h.mainImage&&(0,n.jsx)(a(),{src:(0,i.Jn)(h.mainImage),alt:null!==(m=null===(o=h.seo)||void 0===o?void 0:o.title)&&void 0!==m?m:h.title,fill:!0,sizes:"(max-width: 768px) 100vw,"+f+"px",className:"absolute inset-0 size-full cursor-pointer rounded-md object-cover object-center"}),(0,n.jsxs)("div",{className:"relative z-10 m-3 w-full cursor-pointer rounded bg-neutral-0 p-3 transition group-hover:bg-neutral-100",children:[((null===(c=h.category)||void 0===c?void 0:c.shortName)||(null===(d=h.category)||void 0===d?void 0:d.name))&&(0,n.jsx)("p",{className:"text-sm font-medium uppercase tracking-wide text-primary-900",children:h.category.shortName?h.category.shortName:h.category.name}),(0,n.jsx)("h3",{className:"mt-1 text-lg font-bold leading-6",children:h.title})]})]})}):null};var d=r(50406),m=r(81381),h=r(4474),x=r(9579),f=r(76924);let v=e=>{let{pages:t}=e,{t:r}=(0,f.Z)("home"),i=(0,h.Z)("(max-width: ".concat(d.Y.lg,"px)"));return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"mb-4 flex flex-col justify-between md:flex-row md:items-center",children:[(0,n.jsx)("h2",{className:"text-3xl font-bold",children:(0,n.jsx)(x.Z,{i18nKey:"home:guide-section.title",components:{span:(0,n.jsx)("span",{className:"text-primary-900"})}})}),(0,n.jsx)(u(),{href:"/nos-dossiers",className:"mt-2 font-bold text-primary-900 md:mt-0",children:r("guide-section.see-more-button")})]}),(0,n.jsxs)(m.ZP,{container:!0,spacing:2,children:[(0,n.jsx)(m.ZP,{item:!0,xs:12,lg:5,className:"w-full",children:(0,n.jsx)(c,{page:t[0],className:"size-full",imgWidth:i?350:500})}),(0,n.jsx)(m.ZP,{item:!0,xs:12,lg:7,children:(0,n.jsx)(m.ZP,{container:!0,spacing:2,children:t.slice(1,5).reverse().map((e,t)=>(0,n.jsx)(m.ZP,{item:!0,xs:12,md:6,className:"w-full",children:(0,n.jsx)(c,{page:e,className:"size-full"})},"guide-"+t))})})]})]})}},72008:function(e,t,r){r.d(t,{Jn:function(){return s},eA:function(){return l}}),r(60649),r(36596);let n=e=>{var t,r;return e.directus_url||e.url||(null===(t=e.asset)||void 0===t?void 0:t.directus_url)||(null===(r=e.asset)||void 0===r?void 0:r.url)},i=(e,t)=>{if(!t)return e;try{let r=new URL(e);return r.searchParams.set("width",String(t.width)),r.searchParams.set("height",String(t.height)),r.toString()}catch(t){return e}},s=(e,t)=>{let r=n(e);return r?i(r,t):""},l=e=>{let t=e.match(/-(\d{3,4})x(\d{3,4})./);return{width:null==t?void 0:t[1],height:null==t?void 0:t[2]}}}}]);
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.