1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[648],{4240:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mentions-legales",function(){return r(3903)}])},2989:function(e,t,r){"use strict";var l=r(1527),a=r(2274);r(959);var n=r(4648),s=r(4391);let c=e=>{let{posts:t}=e;return(0,l.jsx)(a.Z,{children:(0,l.jsxs)("div",{className:"flex flex-col my-16 lg:my-24",children:[(0,l.jsx)("h2",{className:"text-coral font-bold text-[22px] lg:text-[30px] mb-8",children:"Les articles les plus lus"}),(0,l.jsx)("div",{className:"flex justify-start gap-x-4 flex-wrap",children:t.map((e,t)=>{let{post:r}=e;return(0,l.jsx)(n.Z,{...r,variant:(0,s.Z)(t),isSlider:!1},r.slug)})})]})})};t.Z=c},1759:function(e,t,r){"use strict";var l=r(1527);r(959);var a=r(714),n=r.n(a),s=r(2274);let c=e=>{let{flexibleText:t,className:r}=e;return(0,l.jsx)(s.Z,{variant:"small",className:r,children:(0,l.jsx)("div",{className:"".concat(t.highlighted?n().highlighted:n().root),dangerouslySetInnerHTML:{__html:t.text}})})};t.Z=c},4648:function(e,t,r){"use strict";var l=r(1527);r(959);var a=r(108),n=r(4151),s=r.n(n),c=r(7841),i=r.n(c);let o={backgroundColor:{primary:"bg-poisedPeach",secondary:"bg-blue",tertiary:"bg-orange"},hoverColor:{primary:"hover:bg-coral",secondary:"hover:bg-orange",tertiary:"hover:bg-poisedPeach"},textColor:{primary:"text-poisedPeach",secondary:"text-blue",tertiary:"text-orange"}},u=e=>{let{categories:t,featuredImage:r,title:n,slug:c,variant:u,isSlider:x=!0,dragging:d=!1}=e;return(0,l.jsxs)("div",{className:"flex flex-col justify-between h-[370px] mx-2 ".concat(x&&"px-8"," ").concat(!x&&"w-full lg:w-[calc((100%-48px)/4)] mb-10 mx-0"),children:[(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)(i(),{href:"/".concat(c),className:"relative xl:w-100 xl:h-[206px] w-full h-[170px]",onClick:e=>d&&e.preventDefault(),children:[(0,l.jsx)("div",{className:"absolute w-full h-full bg-black"}),r&&(0,l.jsx)(s(),{src:r.node.sourceUrl,alt:r.node.altText,fill:!0,className:"object-cover hover:opacity-60 transition-all duration-500"})]}),(0,l.jsx)("p",{className:"font-bold ".concat(o.textColor[u]," text-xl mt-2"),children:t.edges.filter(e=>{let{node:t}=e;return"a-la-une"!==t.slug}).map(e=>{let{node:t}=e;return t.name}).join(", ")}),(0,l.jsx)("p",{className:"text-base font-bold",children:n})]}),(0,l.jsx)(a.Z,{text:"Lire l'article",link:"/".concat(c),variant:"orange",isBold:!0,className:"w-fit ".concat(o.backgroundColor[u]," ").concat(o.hoverColor[u])})]})};t.Z=u},2082:function(e,t,r){"use strict";var l=r(1527),a=r(2274);r(959);var n=r(1971);let s=e=>{let{flexibleTitle:t,className:r}=e;return(0,l.jsx)(a.Z,{variant:"small",children:(0,l.jsxs)("div",{className:"relative m-auto lg:ml-0 lg:mr-0 ".concat(r||"my-8 mt-20 lg:mt-24"),id:(0,n.Z)(t.title),children:[(0,l.jsx)("h2",{className:"uppercase z-10 font-semibold text-[24px]",children:t.title}),t.number&&(0,l.jsx)("p",{className:"font-magicline absolute text-[92px] md:text-[112px] top-3 -left-1 text-lightPoisedPeach -z-10 text-center",children:t.number})]})})};t.Z=s},8128:function(e,t,r){"use strict";var l=r(1527),a=r(7841),n=r.n(a),s=r(2274),c=r(6873),i=r(7206),o=r(5421),u=r(57);let x=e=>e?e.charAt(0).toUpperCase()+e.slice(1):e,d=e=>{let{title:t,variant:r="default"}=e,a=(0,c.useRouter)(),d=a.asPath,m="primary"===r?"text-coral":"text-bodyA99",h=d.split("?")[0].split("/").filter(Boolean),p=[{name:"Accueil",url:"".concat(u._O,"/")}];return h.length>1&&p.push({name:x(decodeURIComponent(h[0])),url:"".concat(u._O,"/").concat(h[0])}),p.push({name:t,url:h.length?"".concat(u._O,"/").concat(h.join("/")):"".concat(u._O,"/")}),(0,l.jsxs)(s.Z,{children:[(0,l.jsx)(i.Z,{data:(0,o.ij)(p)}),(0,l.jsx)("p",{className:"".concat("primary"===r?"text-poisedPeach":"text-bodyA69"," text-base font-adrianna font-light mb-5"),children:(0,l.jsxs)("span",{children:[(0,l.jsx)("span",{children:(0,l.jsx)(n(),{href:"/",className:m,children:"Accueil"})}),"\xa0\xbb\xa0",d.split("/").length>2&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{children:(0,l.jsx)(n(),{href:"/".concat(d.split("/")[1]),className:"".concat(m," capitalize"),children:d.split("/")[1]})}),"\xa0\xbb\xa0"]}),(0,l.jsx)("span",{"aria-current":"page",children:t})]})})]})};t.Z=d},3903:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return d},default:function(){return m}});var l=r(1527),a=r(2989),n=r(1759),s=r(8128),c=r(2274),i=r(6103),o=r(2082);r(959);var u=r(1773),x=r(8564),d=!0;function m(e){let{data:t,preview:r,popularPosts:d}=e,m=(0,u.Z)();return t?(0,l.jsxs)(i.Z,{preview:r,children:[(0,l.jsx)(x.Z,{title:t.seo.title,de
1scription:t.seo.metaDesc}),(0,l.jsx)("div",{className:"text-center mt-[100px]",children:(0,l.jsx)(s.Z,{title:t.title,variant:"primary"})}),(0,l.jsx)(c.Z,{variant:"small",children:(0,l.jsx)("h1",{className:"text-[48px] text-start font-semibold leading-tight mb-6",children:t.title})}),(0,l.jsx)("div",{className:"relative z-10 mb-10",children:t.pageContent.flexible.map((e,t)=>{switch(e.fieldGroupName){case"Page_Pagecontent_Flexible_TitleH2":return(0,l.jsx)(o.Z,{flexibleTitle:e,className:"mt-10 my-6"},t);case"Page_Pagecontent_Flexible_Text":return(0,l.jsx)(n.Z,{flexibleText:e},t);default:return}})}),(0,l.jsx)("div",{className:"mb-20 lg:mb-[150px]"}),(0,l.jsx)(c.Z,{variant:m?"default":"full",children:(0,l.jsx)(a.Z,{posts:d})}),(0,l.jsx)("div",{className:"mb-20 lg:mb-[150px]"})]}):null}},1971:function(e,t){"use strict";let r=e=>e.toLowerCase().replaceAll(" ","-");t.Z=r},4391:function(e,t){"use strict";let r=e=>e%3==0?"primary":e%3==1?"secondary":e%3==2?"tertiary":void 0;t.Z=r},714:function(e){e.exports={root:"richText_root__Qxnc_",highlighted:"richText_highlighted__JIh70"}},847:function(e,t,r){"use strict";r.d(t,{w_:function(){return i}});var l=r(959),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=l.createContext&&l.createContext(a),s=function(){return(s=Object.assign||function(e){for(var t,r=1,l=arguments.length;r<l;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},c=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,l=Object.getOwnPropertySymbols(e);a<l.length;a++)0>t.indexOf(l[a])&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(r[l[a]]=e[l[a]]);return r};function i(e){return function(t){return l.createElement(o,s({attr:s({},e.attr)},t),function e(t){return t&&t.map(function(t,r){return l.createElement(t.tag,s({key:r},t.attr),e(t.child))})}(e.child))}}function o(e){var t=function(t){var r,a=e.attr,n=e.size,i=e.title,o=c(e,["attr","size","title"]),u=n||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),l.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,o,{className:r,style:s(s({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),i&&l.createElement("title",null,i),e.children)};return void 0!==n?l.createElement(n.Consumer,null,function(e){return t(e)}):t(a)}}},function(e){e.O(0,[219,292,379,774,888,179],function(){return e(e.s=4240)}),_N_E=e.O()}]);
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.