1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7536],{2725:(e,l,a)=>{a.d(l,{Ok:()=>r,fU:()=>n,g0:()=>i,nJ:()=>t});let t=function(e){let{format:l="long",withTime:a=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";let t=new Date(e);if(Number.isNaN(t.getTime()))return"";let r=new Intl.DateTimeFormat("fr-FR",{day:"short"===l?"2-digit":"numeric",month:"short"===l?"short":"long",year:"numeric",...a?{hour:"2-digit",minute:"2-digit",hour12:!1}:{}}).format(t);return a?r.replace(/(\d{2}):(\d{2})/,"$1h$2"):r},r=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,a=e instanceof Date?e:new Date(e);return Number.isNaN(a.getTime())?"":a.getFullYear()===l.getFullYear()&&a.getMonth()===l.getMonth()&&a.getDate()===l.getDate()?new Intl.DateTimeFormat("fr-FR",{hour:"2-digit",minute:"2-digit",hour12:!1}).format(a).replace(/(\d{2}):(\d{2})/,"$1h$2"):new Intl.DateTimeFormat("fr-FR",{day:"2-digit",month:"short",...a.getFullYear()!==l.getFullYear()&&{year:"numeric"}}).format(a)},n=e=>{if(!e)return"";let l=new Date(e);return Number.isNaN(l.getTime())?"":new Intl.DateTimeFormat("fr-FR",{hour:"2-digit",minute:"2-digit"}).format(l)},i=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;if(!e)return"";let a=new Date(e);if(Number.isNaN(a.getTime()))return"";let t=l.getTime()-a.getTime();if(t<0)return n(e);let r=Math.floor(t/6e4);if(r<1)return"\xe0 l'instant";if(r<60)return"il y a ".concat(r," min");let i=Math.floor(r/60);return i<6?"il y a ".concat(i," h"):"\xe0 ".concat(n(e))}},2881:(e,l,a)=>{a.d(l,{J:()=>i});var t=a(95155),r=a(11647),n=a(80547);let i=e=>{let{status:l,className:a,size:i="md"}=e;return l?"ENDED"===l?(0,t.jsxs)(r.E,{variant:"outline",className:(0,n.cn)("gap-1.5 border-[color:var(--color-main-200)] text-[12px] text-[color:var(--color-main-700)]",a),children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"h-2 w-2 rounded-full bg-[var(--color-main-400)]"}),"Live termin\xe9"]}):(0,t.jsxs)("span",{className:(0,n.cn)("inline-flex items-center rounded-[8px] bg-[var(--color-persimmon-400)] font-semibold tracking-[-0.02em] text-white","sm"===i?"gap-1 px-[6px] py-[3px] text-[10px]":"gap-1.5 px-2 py-1 text-[12px]",a),children:[(0,t.jsxs)("span",{"aria-hidden":"true",className:"relative inline-flex h-2 w-2",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-white/80"}),(0,t.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-white"})]}),"En direct"]}):null}},7013:(e,l,a)=>{a.d(l,{A:()=>t});let t=(0,a(71847).A)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},11647:(e,l,a)=>{a.d(l,{E:()=>s});var t=a(95155),r=a(32467),n=a(83101),i=a(80547);let o=(0,n.F)("inline-flex items-center justify-center rounded-[8px] px-[8px] py-[8px] text-[12px] font-semibold leading-[1.08] tracking-[-0.02em]",{variants:{variant:{solid:"bg-foreground text-background",outline:"border border-[color:var(--color-border)] text-foreground",ghost:"text-foreground/80"}},defaultVariants:{variant:"solid"}}),s=e=>{let{className:l,variant:a,asChild:n=!1,...s}=e,c=n?r.DX:"div";return(0,t.jsx)(c,{"data-slot":"badge",className:(0,i.cn)(o({variant:a}),l),...s})};s.displayName="Badge"},12556:(e,l,a)=>{a.d(l,{HoroscopeWidget:()=>P});var t=a(95155),r=a(12115),n=a(52619),i=a.n(n),o=a(95740),s=a(90368),c=a(27937);let d=[{key:"belier",label:"B\xe9lier",emoji:"â",dateRange:"21 mars â 19 avril"},{key:"taureau",label:"Taureau",emoji:"â",dateRange:"20 avril â 20 mai"},{key:"gemeaux",label:"G\xe9meaux",emoji:"â",dateRange:"21 mai â 20 juin"},{key:"cancer",label:"Cancer",emoji:"â",dateRange:"21 juin â 22 juillet"},{key:"lion",label:"Lion",emoji:"â",dateRange:"23 juillet â 22 ao\xfbt"},{key:"vierge",label:"Vierge",emoji:"â",dateRange:"23 ao\xfbt â 22 septembre"},{key:"balance",label:"Balance",emoji:"â",dateRange:"23 septembre â 22 octobre"},{key:"scorpion",label:"Scorpion",emoji:"â",dateRange:"23 octobre â 21 novembre"},{key:"sagittaire",label:"Sagittaire",emoji:"â",dateRange:"22 novembre â 21 d\xe9cembre"},{key:"capricorne",label:"Capricorne",emoji:"â",dateRange:"22 d\xe9cembre â 19 janvier"},{key:"verseau",label:"Verseau",emoji:"â",dateRange:"20 janvier â 18 f\xe9vrier"},{key:"poissons",label:"Poissons",emoji:"â",dateRange:"19 f\xe9vrier â 20 mars"}],u=[{month:1,day:20,key:"verseau"},{month:2,day:19,key:"poissons"},{month:3,day:21,key:"belier"},{month:4,day:20,key:"taureau"},{month:5,day:21,key:"gemeaux"},{month:6,day:21,key:"cancer"},{month:7,day:23,key:"lion"},{month:8,day:23,key:"vierge"},{month:9,day:23,key:"balance"},{month:10,day:23,key:"scorpion"},{month:11,day:22,key:"sagittaire"},{month:12,day:22,key:"capricorne"}];var h=a(71847);let m=(0,h.A)("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]),p=(0,h.A)("Flower2",[["path",{d:"M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1",key:"3pnvol"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}
1],["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z",key:"9hd38g"}],["path",{d:"M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z",key:"ufn41s"}]]),x=(0,h.A)("Wind",[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]]),g=(0,h.A)("Shell",[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]]);var f=a(68854);let v=(0,h.A)("Wheat",[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]]),b=(0,h.A)("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]),y=(0,h.A)("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),j=(0,h.A)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]),k=(0,h.A)("Mountain",[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]]),N=(0,h.A)("Waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]]),w=(0,h.A)("Fish",[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]]);var C=a(80547);let A={belier:{icon:m,color:"text-red-400"},taureau:{icon:p,color:"text-emerald-400"},gemeaux:{icon:x,color:"text-amber-300"},cancer:{icon:g,color:"text-sky-300"},lion:{icon:f.A,color:"text-amber-400"},vierge:{icon:v,color:"text-lime-400"},balance:{icon:b,color:"text-pink-300"},scorpion:{icon:y,color:"text-red-300"},sagittaire:{icon:j,color:"text-violet-300"},capricorne:{icon:k,color:"text-stone-300"},verseau:{icon:N,color:"text-cyan-300"},poissons:{icon:w,color:"text-blue-300"}},M={icon:m,color:"text-amber-300"},z=e=>{var l;let{signKey:a,size:r=32,className:n}=e,i=null!=(l=A[a])?l:M,o=i.icon;return(0,t.jsx)(o,{size:r,className:(0,C.cn)(i.color,n),strokeWidth:1.5})};var S=a(8423);let P=e=>{let{editionSlug:l,horoscope:a}=e,[n,h]=(0,r.useState)(()=>(function(){let e=new Date,l=e.getMonth()+1,a=e.getDate(),t="capricorne";for(let e of u)l===e.month&&a>=e.day?t=e.key:l>e.month&&(t=e.key);let r=d.findIndex(e=>e.key===t);return r>=0?r:0})()),{entries:m}=a;if(0===m.length)return null;let p=n%m.length,x=m[p];return(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden rounded-[16px] bg-gradient-to-br from-violet-950 to-indigo-950 text-white",children:[(0,t.jsx)(S.WidgetAdSlot,{placementCode:"widget-horoscope",variant:"dark"}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col justify-between p-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-3 flex items-center gap-2",children:[(0,t.jsx)(o.A,{size:16,className:"text-amber-300"}),(0,t.jsx)("span",{className:"font-inter text-[14px] font-bold",children:"Horoscope du jour"})]}),(0,t.jsxs)("div",{className:"mb-2 flex items-center gap-3",children:[(0,t.jsx)(z,{signKey:x.sign.key,size:36}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-inter text-[20px] font-bold leading-tight",children:x.sign.label}),(0,t.jsx)("div",{className:"font-inter text-[11px] text-white/50",children:x.sign.dateRange})]})]}),(0,t.jsx)("p",{className:"font-merriweather text-[14px] leading-[1.46] tracking-[0] text-white/80 line-clamp-5",children:x.text})]}),(0,t.jsxs)("div",{className:"mt-3",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-between",children:[(0,t.jsx)("button",{onClick:()=>{h(e=>(e-1+m.length)%m.length)},className:"inline-flex size-8 items-center justify-center rounded-[10px] bg-white/10 transition-colors hover:bg-white/20","aria-label":"Signe precedent",children:(0,t.jsx)(s.A,{size:16})}),(0,t.jsx)("div",{className:"flex gap-1",children:m.map((e,l)=>(0,t.jsx)("button",{onClick:()=>h(l),className:"size-1.5 rounded-full transition-colors ".concat(l===p?"bg-amber-300":"bg-white/20"),"aria-label":m[l].sign.label},l))}),(0,t.jsx)("button",{onClick:()=>{h(e=>(e+1)%m.length)},className:"inline-flex size-8 items-center justify-center rounded-[10px] bg-white/10 transition-colors hover:bg-white/20","aria-label":"Signe suivant",children:(0,t.jsx)(c.A,{size:16})})]}),(0,t.jsx)(i(),{href:"/".concat(l,"/horoscope"),className:"inline-flex w-full items-center justify-center rounded-[10px] bg-white/10 px-4 py-2.5 text-center font-inter text-sm font-semibold transition-colors hover:bg-white/20",children:"Voir tous les signes"})]})]})]})}},25473:(e,l,a)=>
1{a.r(l),a.d(l,{ChronicleOverviewCarousel:()=>b});var t=a(95155),r=a(52619),n=a.n(r),i=a(91305),o=a(12115),s=a(35626),c=a(52987),d=a(68072),u=a(63331),h=a(37938),m=a(90629),p=a(97545),x=a(37431),g=a(80547),f=a(3998),v=a(40937);let b=e=>{let{chronicles:l,editionSlug:a,className:r}=e,b=l.filter(e=>{var l;return(null!=(l=e.articles)?l:[]).length>0}),[y,j]=(0,d.A)({align:"start",loop:b.length>2,dragFree:!0}),[k,N]=(0,o.useState)(!1),[w,C]=(0,o.useState)(!1),A=(0,o.useCallback)(()=>{j&&(N(j.canScrollPrev()),C(j.canScrollNext()))},[j]);(0,o.useEffect)(()=>{if(j)return A(),j.on("reInit",A),j.on("select",A),()=>{j.off("reInit",A),j.off("select",A)}},[j,A]);let M=(0,o.useCallback)(()=>{null==j||j.scrollPrev()},[j]),z=(0,o.useCallback)(()=>{null==j||j.scrollNext()},[j]);if(!b.length)return null;let S=(0,x.b)(a);return(0,t.jsxs)("section",{className:(0,g.cn)("space-y-4 rounded-[16px]",r),children:[(0,t.jsx)("header",{className:"flex items-center justify-between gap-3 p-6",children:(0,t.jsx)(v.A,{as:"h2",primary:"Nos",accent:"chroniques",size:"lg",breakAfterPrimary:!1})}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"overflow-hidden",ref:y,children:(0,t.jsx)("div",{className:"flex gap-4",children:b.map((e,l)=>{var r,o,s,c,d,x,f,v;let b=null==(r=e.articles)?void 0:r[0],y="/".concat(a,"/").concat(e.slug),j=(e=>{let l=(0,p.f)(e);return null!=l?l:"var(--color-main-100)"})(e.color),k=(0,p.f)(e.color),N=null!=(c=null==b||null==(o=b.cover_image)?void 0:o.url)?c:S.url,w=null!=(x=null!=(d=null==b||null==(s=b.cover_image)?void 0:s.alt)?d:S.alt)?x:e.name,C=null!=(f=null==b?void 0:b.title)?f:e.name;return(0,t.jsx)(n(),{href:y,className:(0,g.cn)("group/card relative block w-[265px] shrink-0 h-[342px]",0===l&&"pl-4"),"data-transition-color":null!=k?k:void 0,children:(0,t.jsxs)("article",{className:"flex h-full w-full flex-col gap-3 rounded-[16px] p-2 transition duration-200",style:{backgroundColor:j},children:[(0,t.jsx)("div",{className:"relative h-[140px] w-full shrink-0 overflow-hidden rounded-[8px]",children:(0,t.jsx)(i.A,{src:N,alt:w,fill:!0,sizes:"265px",className:"object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-1 min-h-0 flex-col gap-2 p-2",children:[(0,t.jsx)(u.Y,{label:e.name,color:e.color,withQuote:!0,neutral:!0}),(0,t.jsx)(h.B,{size:"sm",as:"h3",className:"line-clamp-4 group-hover/card:underline",children:C}),(null==b?void 0:b.published_at)&&(0,t.jsx)(m.X,{className:"mt-auto",format:"short",withTime:!0,value:b.published_at})]})]})},null!=(v=e.slug)?v:"chronicle-".concat(l))})})})}),(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-3 pl-4 pb-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(f.Button,{variant:"default",size:"icon-lg",onClick:M,"aria-label":"Chronique pr\xe9c\xe9dente",disabled:!k,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(s.A,{className:"h-5 w-5"})}),(0,t.jsx)(f.Button,{variant:"default",size:"icon-lg",onClick:z,"aria-label":"Chronique suivante",disabled:!w,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(c.A,{className:"h-5 w-5"})})]})})]})}},28529:(e,l,a)=>{a.r(l),a.d(l,{JournalCarousel:()=>x});var t=a(95155),r=a(52619),n=a.n(r),i=a(91305),o=a(12115);let s=(0,a(71847).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);var c=a(35626),d=a(52987),u=a(68072),h=a(80547),m=a(3998),p=a(40937);let x=e=>{let{journals:l,editionSlug:a,viewMoreHref:r="/".concat(a,"/journaux"),className:x,options:g}=e,[f,v]=(0,u.A)({align:"start",loop:l.length>2,dragFree:!0,...g}),[b,y]=(0,o.useState)(!1),[j,k]=(0,o.useState)(!1),N=(0,o.useCallback)(()=>{v&&(y(v.canScrollPrev()),k(v.canScrollNext()))},[v]);(0,o.useEffect)(()=>{if(v)return N(),v.on("reInit",N),v.on("select",N),()=>{v.off("reInit",N),v.off("select",N)}},[v,N]);let w=(0,o.useCallback)(()=>{null==v||v.scrollPrev()},[v]),C=(0,o.useCallback)(()=>{null==v||v.scrollNext()},[v]);return l.length?(0,t.jsxs)("section",{className:(0,h.cn)("space-y-4 rounded-[16px] bg-white",x),children:[(0,t.jsx)("header",{className:"flex items-center justify-between gap-3 p-6",children:(0,t.jsx)(p.A,{as:"h2",primary:"Lire nos",accent:"journaux",size:"lg",breakAfterPrimary:!0})}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"overflow-hidden",ref:f,children:(0,t.jsx)("div",{className:"flex gap-4 pl-4 pr-4",children:l.map(e=>{let{href:l,external:r}=((e,l)=>{if(e.viewerUrl)return{href:e.viewerUrl,external:!0};let a=e.publishedAt?new Date(e.publishedAt).getFullYear():null,t=a&&!Number.isNaN(a)?"?y=".concat(a):"";return{href:"/".concat(l,"/journaux/lire/").concat(encodeURIComponent(e.id)).concat(t),external:!1}})(e,a);return(0,t.jsx)("a",{href:l,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,className:"group/card relative block w-[265px] shrink-0","data-transition-ignore":!0,children:(0,t.jsx)("div",{className:"relative w-full overflow-hidden rounded-sm p-2",style:{aspectRatio:"210 / 297"},children:(0,t.jsxs)("div",{className:"relative h-full w-full overflow-hidden rounded-sm",children:[(0,t.jsx)(i.A,{src:e.thumbnailUrl,alt:e.title,fill:!0,sizes:"265px",className:"object-cover"}),e.isRestricted&&(0,t.jsxs)("span",{className:"absolute bottom-2 right-2 flex items-center gap-1 rounded-full bg-foreground
1/70 px-2 py-1 text-[10px] font-medium text-background",children:[(0,t.jsx)(s,{className:"size-3","aria-hidden":!0}),"Abonn\xe9s"]})]})})},e.id)})})})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3 pl-4 pb-4",children:[(0,t.jsx)(m.Button,{variant:"default",className:"bg-[var(--color-main-100)] text-foreground rounded-[12px] px-5 py-3 text-base font-semibold hover:bg-[var(--color-main-200)] hover:text-[var(--color-main-900)]",asChild:!0,children:(0,t.jsx)(n(),{href:r,children:"Voir plus"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(m.Button,{variant:"default",size:"icon-lg",onClick:w,"aria-label":"Voir le journal pr\xe9c\xe9dent",disabled:!b,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(c.A,{className:"h-5 w-5"})}),(0,t.jsx)(m.Button,{variant:"default",size:"icon-lg",onClick:C,"aria-label":"Voir le journal suivant",disabled:!j,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(d.A,{className:"h-5 w-5"})})]})]})]}):null}},34010:(e,l,a)=>{a.r(l),a.d(l,{ArticleCarousel:()=>j});var t=a(95155),r=a(52619),n=a.n(r),i=a(91305),o=a(12115),s=a(35626),c=a(52987),d=a(68072),u=a(63331),h=a(37938),m=a(90629),p=a(97545),x=a(37431),g=a(80547),f=a(3998),v=a(40937),b=a(2881),y=a(83124);let j=e=>{var l;let{articles:a,editionSlug:r,viewMoreHref:j="/".concat(r),viewMoreHidden:k=!1,heading:N="Derni\xe8res actualit\xe9s",fancyHeading:w,className:C,showImage:A=!0,options:M,useLocationBadge:z=!1}=e,[S,P]=(0,d.A)({align:"start",loop:a.length>2,dragFree:!0,...M}),[L,T]=(0,o.useState)(!1),[I,D]=(0,o.useState)(!1),F=(0,o.useCallback)(()=>{P&&(T(P.canScrollPrev()),D(P.canScrollNext()))},[P]);(0,o.useEffect)(()=>{if(P)return F(),P.on("reInit",F),P.on("select",F),()=>{P.off("reInit",F),P.off("select",F)}},[P,F]);let B=(0,o.useCallback)(()=>{null==P||P.scrollPrev()},[P]),R=(0,o.useCallback)(()=>{null==P||P.scrollNext()},[P]);return a.length?(0,t.jsxs)("section",{className:(0,g.cn)("space-y-4 rounded-[16px] bg-white",C),children:[(0,t.jsx)("header",{className:"flex items-center justify-between gap-3 p-6",children:w?(0,t.jsx)(v.A,{as:"h2",primary:w.primary,accent:w.accent,size:null!=(l=w.size)?l:"lg",breakAfterPrimary:w.breakAfterPrimary}):(0,t.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:N})}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"overflow-hidden",ref:S,children:(0,t.jsx)("div",{className:"flex gap-4",children:a.map((e,l)=>{var a,o,s,c,d,f,v,j,k,N,w,C,M,S,P,L,T,I;let D=null!=(N=null==(a=e.location)?void 0:a.name)?N:null==(o=e.location)?void 0:o.slug,F=null!=(w=null==(s=e.category)?void 0:s.name)?w:"Actualit\xe9",B=z?D:F,R=z?null==(c=e.location)?void 0:c.color:null==(d=e.category)?void 0:d.color,H=(e=>{let l=(0,p.f)(e);return null!=l?l:"var(--color-main-100)"})(R),E=(0,p.f)(null!=(C=null==(f=e.location)?void 0:f.color)?C:null==(v=e.category)?void 0:v.color),V=null!=(M=e.title)?M:"Article",_=(0,y.DK)(e.type),U=_&&null!=(S=e.live_status)?S:null,q=e.slug?"/".concat(r,"/articles/").concat(e.slug):"/".concat(r),Z=(0,x.b)(r),W=null!=(P=null==(j=e.cover_image)?void 0:j.url)?P:Z.url,Y=null!=(T=null!=(L=null==(k=e.cover_image)?void 0:k.alt)?L:Z.alt)?T:V;return(0,t.jsx)(n(),{href:q,className:(0,g.cn)("group/card relative block w-[265px] shrink-0",A?"h-[342px]":"h-[300px]",0===l&&"pl-4"),"data-transition-color":null!=E?E:void 0,children:(0,t.jsxs)("article",{className:"flex h-full w-full flex-col gap-3 rounded-[16px] p-2 transition duration-200",style:{backgroundColor:H},children:[A?(0,t.jsx)("div",{className:"relative h-[140px] w-full shrink-0 overflow-hidden rounded-[8px]",children:(0,t.jsx)(i.A,{src:W,alt:Y,fill:!0,sizes:"265px",className:"object-cover"})}):(0,t.jsxs)("div",{className:"p-2",children:[B&&(0,t.jsx)(u.Y,{label:B,color:R,withQuote:!0,neutral:!0}),(0,t.jsx)("div",{className:"relatice h-[60px]"})]}),(0,t.jsxs)("div",{className:"flex flex-1 min-h-0 flex-col gap-2 p-2",children:[(_||A&&B)&&(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[_&&(0,t.jsx)(b.J,{status:U,size:"sm"}),A&&B&&(0,t.jsx)(u.Y,{label:B,color:R,withQuote:!0,neutral:!0})]}),(0,t.jsx)(h.B,{size:"sm",as:"h3",className:"line-clamp-4 group-hover/card:underline",children:V}),e.published_at&&(0,t.jsx)(m.X,{className:"mt-auto",format:"short",withTime:!0,value:e.published_at})]})]})},"".concat(null!=(I=e.slug)?I:l,"-").concat(l))})})})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3 pl-4 pb-4",children:[!k&&(0,t.jsx)(f.Button,{variant:"default",className:"bg-[var(--color-main-100)] text-foreground rounded-[12px] px-5 py-3 text-base font-semibold hover:bg-[var(--color-main-200)] hover:text-[var(--color-main-900)]",asChild:!0,children:(0,t.jsx)(n(),{href:j,children:"Voir plus"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(f.Button,{variant:"default",size:"icon-lg",onClick:B,"aria-label":"Voir lâarticle pr\xe9c\xe9dent",disabled:!L,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(s.A,{className:"h-5 w-5"})}),(0,t.jsx)(f.Button,{variant:"default",size:"icon-lg",onClick:R,"aria-label":"Voir lâarticle suivant",disabled:!I,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(c.A,{className:"h-5 w-5"})})]})]})]}):null}},37431:(e,l,a)=>{a.d(l,{b:()=>n});var t=a(64280);let r={url:"/images/featured-placeholder.svg",alt:"Article",width:1200,height:630,title:null,slug:null,caption:null,format:null,copyright:null},n=e=>{var l,a,n,i;let o=(0,t.xG)(e);return o?{...r,url:null!=(l=o.placeholderImagePath)?l:r.url,alt:null!=(a=o.label)?a:r.alt,width:null!=(n=o.placeholderImageWidth)?n:r.width,height:null!=(i=o.placeholderImageHeight)?i:r.height}:r}},37938:(e,l,a)=>{a.d(l,{B:()=>s});var t=a(95155),r=a(12115),n=a(80547),i=a(67511);let o={sm:"font-inter font-bold text-[18px] leading-[1.2] tracking-[-0.01em]",md:"font-inter font-bold text-[24px] leading-[1.2] tracking-[-0.01em]",lg:"font-inter font-extrabold text-[42px] leading-[1] tracking-[-0.03em]",display:"font-display italic text-[48px] leading-[1] tracking-[-0.03em]"},s=e=>{let{children:l,as:a="h2",size:s="lg",className:c}=e,d="custom"===s?"":o[s],u=r.Children.map(l,e=>"string"==typeof e?(0,i.z)(e):e);return(0,t.jsx)(a,{className:(0,n.cn)("text-foreground",d,c),children:u})}},40794:(e,l,a)=>{a.d(l,{VideoCarouselClient:()=>f});var t=a(95155),r=a(12115),n=a(52619),i=a.n(n),o=a(68072),s=a(35626),c=a(52987),d=a(3998),u=a(40937),h=a(38218),m=a(14818),p=a(95673),x=a(71599);let g={primary:"Nos derni\xe8res",accent:"vid\xe9os"},f=e=>{let{videos:l,editionSlug:a,heading:n=g,viewAllHref:f}=e,v=(0,h.a)(),[b,y]=(0,r.useState)(null),[j,k]=(0,o.A)({align:"start",dragFree:!0,containScroll:"trimSnaps"}),[N,w]=(0,r.useState)(!1),[C,A]=(0,r.useState)(!1),M=(0,r.useCallback)(()=>{k&&(w(k.canScrollPrev()),A(k.canScrollNext()))},[k]);(0,r.useEffect)(()=>
1{if(k)return M(),k.on("reInit",M),k.on("select",M),()=>{k.off("reInit",M),k.off("select",M)}},[k,M]);let z=(0,r.useCallback)(()=>null==k?void 0:k.scrollPrev(),[k]),S=(0,r.useCallback)(()=>null==k?void 0:k.scrollNext(),[k]),P=(0,r.useCallback)(e=>y(e),[]),L=(0,r.useCallback)(()=>y(null),[]),T=(0,r.useCallback)(()=>{y(e=>null===e||e>=l.length-1?e:e+1)},[l.length]),I=(0,r.useCallback)(()=>{y(e=>null===e||e<=0?e:e-1)},[]);if(!l.length)return null;let D=null!==b?l[b]:null,F=null!==b&&b>0,B=null!==b&&b<l.length-1;return(0,t.jsxs)("section",{className:"space-y-4 rounded-[16px] bg-white",children:[(0,t.jsx)("header",{className:"flex items-center justify-between gap-3 p-6",children:(0,t.jsx)(u.A,{as:"h2",primary:n.primary,accent:n.accent,size:"lg",breakAfterPrimary:!0})}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"overflow-hidden",ref:j,children:(0,t.jsx)("div",{className:"flex gap-4 pl-4 pr-4 pb-4",children:l.map((e,l)=>(0,t.jsx)(m.O,{video:e,onPlay:()=>P(l)},e.id))})})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3 pl-4 pb-4",children:[f&&(0,t.jsx)(d.Button,{variant:"default",className:"bg-[var(--color-main-100)] text-foreground rounded-[12px] px-5 py-3 text-base font-semibold hover:bg-[var(--color-main-200)] hover:text-[var(--color-main-900)]",asChild:!0,children:(0,t.jsx)(i(),{href:f,children:"Voir plus"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(d.Button,{variant:"default",size:"icon-lg",onClick:z,"aria-label":"Vid\xe9o pr\xe9c\xe9dente",disabled:!N,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(s.A,{className:"h-5 w-5"})}),(0,t.jsx)(d.Button,{variant:"default",size:"icon-lg",onClick:S,"aria-label":"Vid\xe9o suivante",disabled:!C,className:"rounded-[12px] bg-[var(--color-main-100)] text-foreground transition disabled:opacity-40 hover:bg-[var(--color-main-200)]",children:(0,t.jsx)(c.A,{className:"h-5 w-5"})})]})]}),D&&v&&(0,t.jsx)(x.P,{video:D,editionSlug:a,canPrev:F,canNext:B,onPrev:I,onNext:T,onClose:L}),D&&!v&&(0,t.jsx)(p.O,{video:D,editionSlug:a,canPrev:F,canNext:B,onPrev:I,onNext:T,onClose:L})]})}},40937:(e,l,a)=>{a.d(l,{A:()=>i});var t=a(95155),r=a(80547);let n={sm:"text-[18px] leading-[1.1] tracking-[-0.01em]",md:"text-[24px] leading-[1.08] tracking-[-0.012em]",lg:"text-[32px] leading-[1.06] tracking-[-0.015em]",xl:"text-[40px] leading-[1.04] tracking-[-0.02em]"},i=e=>{let{primary:l,accent:a,as:i="h2",size:o="lg",breakAfterPrimary:s=!1,className:c,primaryClassName:d,accentClassName:u}=e;return(0,t.jsxs)(i,{className:(0,r.cn)("flex flex-wrap items-baseline gap-x-2 text-foreground",n[o],c),children:[(0,t.jsx)("span",{className:(0,r.cn)("font-inter font-extrabold leading-[inherit]",d),children:l}),s&&(0,t.jsx)("span",{className:"basis-full","aria-hidden":"true"}),(0,t.jsx)("span",{className:(0,r.cn)("font-dm-serif-display leading-[inherit]",u),children:a})]})}},41965:(e,l,a)=>{a.d(l,{NewsletterForm:()=>c});var t=a(95155),r=a(12115),n=a(2821),i=a(65142),o=a(3998),s=a(69099);function c(e){let{className:l,editionSlug:a,listId:c,signupUrl:d,listSlug:u}=e,[h,m]=(0,r.useState)(""),[p,x]=(0,r.useState)("idle"),[g,f]=(0,r.useState)(null),v=async e=>{e.preventDefault(),x("loading"),f(null);try{let e=await fetch("/api/newsletter/".concat(a),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:h,...c?{listId:c}:{},...d?{signupUrl:d}:{},...u?{listSlug:u}:{}})});if(!e.ok){let l=await e.json().catch(()=>null),a=null==l?void 0:l.error;throw Error(a||"Une erreur est survenue.")}let l=await e.json().catch(()=>null),t="string"==typeof(null==l?void 0:l.message)?l.message:"Inscription confirm\xe9e !";x("success"),f(t),m(""),s.T.newsletterSignup(a)}catch(l){let e=l instanceof Error?l.message:"Impossible d'envoyer votre inscription pour le moment.";x("error"),f(e)}};return(0,t.jsxs)("form",{onSubmit:v,className:(0,n.A)("flex flex-col gap-3 md:flex-row md:items-start",l),children:[(0,t.jsxs)("div",{className:"flex w-full flex-col gap-2 md:flex-1",children:[(0,t.jsx)(i.p,{type:"email",name:"email",placeholder:"Votre email",value:h,onChange:e=>m(e.target.value),required:!0,autoComplete:"email"}),g&&(0,t.jsx)("p",{className:(0,n.A)("text-sm","success"===p?"text-green-600":"text-destructive"),children:g})]}),(0,t.jsx)(o.Button,{type:"submit",size:"sm",disabled:"loading"===p,className:"w-full md:w-auto bg-main-900 text-white hover:bg-main-900/90",children:"loading"===p?"Inscription...":"S'inscrire \xe0 la newsletter"})]})}},46183:(e,l,a)=>{a.d(l,{Y:()=>i});var t=a(95155),r=a(80547);let n={serif:"font-merriweather text-[14px] leading-[1.46] tracking-[0]",sans:"font-inter font-semibold text-[16px] leading-[1.2] tracking-[-0.01em]"},i=e=>{let{children:l,className:a,variant:i="serif",style:o}=e;return(0,t.jsx)("p",{className:(0,r.cn)(n[i],"text-[color:var(--color-main-900)]",a),style:o,children:l})}},63331:(e,l,a)=>{a.d(l,{Y:()=>d});var t=a(95155),r=a(80547),n=a(11647),i=a(97545);let o=e=>(0,t.jsxs)("svg",{width:"9",height:"7",viewBox:"0 0 9 7",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",...e,children:[(0,t.jsx)("path",{d:"M6.7039 1.12585e-06C6.1038 1.07406e-06 5.61724 0.210846 5.24421 0.632534C4.88739 1.07044 4.70898 1.6381 4.70898 2.33551C4.70898 3.24376 4.97659 4.08714 5.51182 4.86564C6.04704 5.66036 6.71201 6.25235 7.50673 6.6416L7.6527 6.34966C7.3121 6.09016 7.01206 5.75768 6.75255 5.35221C6.49305 4.94674 6.30654 4.44395 6.19301 3.84386L6.7039 3.72222C7.27156 3.59247 7.70946 3.34919 8.01762 2.99237C8.342 2.65178 8.50419 2.2382 8.50419 1.75163C8.50419 1.23263 8.32578 0.810941 7.96897 0.486564C7.62837 0.162189 7.20668 1.16924e-06 6.7039 1.12585e-06Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M1.99491 0.000306302C1.39482 0.00030625 0.908254 0.211151 0.535221 0.632839C0.178407 1.07075 4.31835e-07 1.63841 3.71644e-07 2.33581C2.93256e-07 3.24407 0.267611 4.08745 0.802831 4.86595C1.33805 5.66067 2.00302 6.25266 2.79774 6.64191L2.94371 6.34997C2.60312 6.09047 2.30307 5.75798 2.04357 5.35251C1.78407 4.94704 1.59755 4.44426 1.48402 3.84416L1.99491 3.72252C2.56257 3.59277 3.00048 3.34949 3.30864 2.99268C3.63301 2.65208 3.7952 2.2385 3.7952 1.75194C3.7952 1.23294 3.6168 0.811246 3.25998 0.48687C2.91939 0.162494 2.4977 0.000306345 1.99491 0.000306302Z",fill:"currentColor"})]});var s=a(52619),c=a.n(s);let d=e=>{let{label:l,color:a,icon:s,withQuote:d=!1,className:u,neutral:h=!1,href:m}=e,p=(0,i.f)(a);return(0,t.jsxs)("div",{className:(0,r.cn)("inline-flex items-center gap-1",u),children:[d&&(0,t.jsx)("span",{className:(0,r.cn)("inline-flex items-center justify-center rounded-[8px] px-[8px] py-[8px] text-foreground","bg-[color:var(--color-main-100)]"),children:(0,t.jsx)(o,{className:"h-[12px] w-[18px] transform scale-y-[-1]"})}),(0,t.jsx)(n.E,{asChild:!!m,className:"text-foreground",variant:"solid",style:h||!(0,i.f)(a)?{backgroundColor:"var(--color-main-100)",borderColor:"var(--color-main-100)",color:"var(--foreground)"}:{backgroundColor:(0,i.f)(a),borderColor:(0,i.f)(a),color:"var(--foreground)"},children:m?(0,t.jsxs)(c(),{href:m,className:"inline-flex items-center cursor-pointer","data-transition-color":null!=p?p:void 0,children:[s&&(0,t.jsx)("span",{className:"mr-1 flex items-center",children:s}),l]}):(0,t.jsxs)(t.Fragment,{children:[s&&(0,t.jsx)("span",{className:"mr-1 flex items-center",children:s}),l]})})]})}},64280:(e,l,a)=>{a.d(l,{xG:()=>n});let t={"herault-tribune":{slug:"herault-tribune",label:"H\xe9rault Tribune",shortLabel:"H\xe9rault",description:"H\xe9rault Tribune : Retrouvez toute l'actualit\xe9 locale, \xe9conomique et juridique du d\xe9partement de l'H\xe9rault et de la r\xe9gion Occitanie - Pyr\xe9n\xe9es M\xe9diterran\xe9e.",footerTagline:"L'actu au quotidien dans tout l'H\xe9rault",metaTitle:"H\xe9rault Tribune - L'actu au quotidien dans tout l'H\xe9rault",accentColor:"#E4572E",basePath:"/herault-tribune",apiContext:"herault-tribune",publisherName:"H\xe9rault Tribune",publisherL
1ogoPath:"/images/publisher-herault-tribune.svg",publisherLogoPngPath:"/favicon-128x128.png",placeholderImagePath:"/images/placeholder-herault-tribunes.jpg",placeholderImageWidth:1540,placeholderImageHeight:880,newsletter:{enabled:!0,signupUrl:"",listId:""},mobileApp:{appStoreUrl:"https://apps.apple.com/fr/app/h%C3%A9rault-tribune-actu-locale/id6758456408",playStoreUrl:"https://play.google.com/store/apps/details?id=com.echodestribunes.herault",bannerBackground:"var(--color-persimmon-400)",bannerForeground:"var(--color-marigold-yellow-200)",mockupImagePath:"/images/mobile_mockup.png"}},"aude-tribune":{slug:"aude-tribune",label:"Aude Tribune",shortLabel:"Aude",description:"Journal d'actualit\xe9s et d'informations de l'Aude. Journal hebdomadaire d'informations l\xe9gales, \xe9conomiques et judiciaires du d\xe9partement de l'Aude.",footerTagline:"L'actu au quotidien dans tout l'Aude",metaTitle:"Aude Tribune - L'actu au quotidien dans tout l'Aude",accentColor:"#1C6DB2",basePath:"/aude-tribune",apiContext:"aude-tribune",publisherName:"Aude Tribune",publisherLogoPath:"/images/publisher-aude-tribune.svg",publisherLogoPngPath:"/favicon-128x128.png",placeholderImagePath:"/images/placeholder-aude-tribunes.jpg",placeholderImageWidth:1540,placeholderImageHeight:880,legalNoticePublisher:"Echo du Languedoc",newsletter:{enabled:!1,signupUrl:null},mobileApp:{appStoreUrl:"https://apps.apple.com/fr/app/id6782005558",playStoreUrl:"https://play.google.com/store/apps/details?id=com.echodestribunes.aude",bannerBackground:"#D8B4F8",bannerForeground:"#4C1D95",mockupImagePath:"/images/mobile_mockup_aude.png"}}},r=Object.keys(t);Object.values(t);let n=e=>r.includes(e)?t[e]:void 0},65142:(e,l,a)=>{a.d(l,{p:()=>n});var t=a(95155);a(12115);var r=a(80547);function n(e){let{className:l,type:a,...n}=e;return(0,t.jsx)("input",{type:a,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",l),...n})}},67511:(e,l,a)=>{a.d(l,{z:()=>r});let t=RegExp("(^|\\s)(".concat("a|\xe0|au|aux|de|du|des|le|la|les|un|une|et|ou|en|par|pour|sur|dans",")\\s+"),"gi"),r=e=>e.replace(t,(e,l,a)=>"".concat(l).concat(a,"\xa0"))},68854:(e,l,a)=>{a.d(l,{A:()=>t});let t=(0,a(71847).A)("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]])},83124:(e,l,a)=>{a.d(l,{AA:()=>t,DK:()=>o,H2:()=>r,SY:()=>s,jD:()=>i});let t=e=>e&&e.replace(/\b(user|wp)\b/gi,"").replace(/\s+/g," ").trim()||null,r=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:75;return!!e&&e.length>l},n="/images/featured-placeholder.svg",i=e=>(null==e?void 0:e.trim().toUpperCase())==="BREVE",o=e=>(null==e?void 0:e.trim().toUpperCase())==="LIVE",s=(e,l)=>!!(!e||e===l||e===n||e.endsWith(l)||e.endsWith(n))},90629:(e,l,a)=>{a.d(l,{X:()=>i});var t=a(95155),r=a(80547),n=a(2725);let i=e=>{let{label:l="Publi\xe9 le",value:a,updatedValue:i,className:o,format:s="long",withTime:c}=e;if(!a)return null;let d=null!=c?c:"long"===s,u=(0,n.nJ)(a,{format:s,withTime:d}),h=i?(0,n.nJ)(i,{format:s,withTime:d}):null,m=!!(function(e,l){if(!e||!l)return!1;let a=new Date(e).getTime(),t=new Date(l).getTime();return!(Number.isNaN(a)||Number.isNaN(t))&&t-a>=864e5}(a,i)&&h&&h!==u);return(0,t.jsx)("p",{className:(0,r.cn)("font-inter-regular text-[12.18px] leading-[1.3] tracking-[-0.02em] text-main-900",o),children:"long"===s?(0,t.jsxs)("span",{children:[l," ",u,m?" \xb7 Modifi\xe9 le ".concat(h):""]}):(0,t.jsx)("span",{children:u})})}},95740:(e,l,a)=>{a.d(l,{A:()=>t});let t=(0,a(71847).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},97545:(e,l,a)=>{a.d(l,{f:()=>t});let t=e=>{if(e){if(e.startsWith("bg-")){let l=e.slice(3);return"var(--color-".concat(l,")")}return e}}}}]);
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.