1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DRc4HPDY.js","./Cs4-fD5a.js","./DTwz7XXd.js","./swiper-vue.DDXvzUBE.css","./tv1Xwwdz.js","./entry.MuWeyyVg.css","./BjKE4nw6.js","./DzmlO0xu.js","./Bhxwv5yy.js"])))=>i.map(i=>d[i]); 2import{v as N,i as R,x as T,r as V,f as z,d as F,b as v}from"#entry";import{_ as P}from"./rFptCsZn.js";import{l as D,a8 as H,m as c,A as r,P as n,L as _,u as e,aa as y,a0 as M,Z as s,a1 as i,V as x,_ as d,M as h,Q as j}from"./DTwz7XXd.js";import{_ as G}from"./BJ4tqpQ3.js";import{_ as O}from"./Buy5lyXr.js";import{_ as Q}from"./Cs4-fD5a.js";import{u as U}from"./Dm5tSMuU.js";const Z=y(()=>v(()=>import("./DRc4HPDY.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(a=>a.default||a)),J=V("IconLogo"),K=y(()=>v(()=>import("./BjKE4nw6.js"),__vite__mapDeps([6,7,4,2,3,5,8]),import.meta.url).then(a=>a.default||a)),W={key:0,class:"auto-loader-wrap"},X={key:1,class:"page-content"},Y={class:"inner my2 sm:my3 md:my4 lg:my5"},tt={class:"content-half w-full"},et={class:"bg-dark py4 lg:py5 px4 md:px6 lg:px8 mb2 sm:mb3 md:mb4 lg:mb5"},st={class:"sakana text-lg md:text-xl mt1"},nt={class:"flex flex-col md:flex-row justify-center items-center md:items-start gap2 sm:gap3 md:gap4 lg:gap5 xl:gap6"},ot={key:0,class:"has-hoverable-image rounded-lg overflow-hidden max-md:w-full",style:{"flex-shrink":"0"}},at=["innerHTML"],lt={key:0,class:"mt5 lg:mt8 flex flex-col sm:flex-row justify-between gap3 md:gap5 lg:gap12 p5 rounded-[10px] bg-[#F7F7F7] border border-[#E5E5E5] items-center"},rt={class:"oswald md:text-lg font-bold uppercase"},_t=["href"],mt={class:"flex flex-col justify-center items-center mt20 mb12"},ct={class:"last-content-half"},ht=D({__name:"[slug]",async setup(a){let m,u;const b=N();U();const{data:p,pending:f}=([m,u]=H(()=>F("https://api.koto.ci/api.php?endpoint=guide_pratique_rubrique",{params:{slug:b.params.slug}},"$MdSwxTIz_G")),m=await m,u(),m),t=c(()=>p.value?.data?.news),w=c(()=>p.value?.data?.related_news??[]),k=c(()=>{if(!t.value)return{};const o=t.value.terms;return{[`/${o.taxonomy}/${o.slug}`]:o.name,"":t.value.post_title}});return R({link:c(()=>{if(!t.value?.terms)return[];const o=t.value.terms;return[{rel:"canonical",href:`https://koto.ci/${o.taxonomy}/${o.slug}/${t.value.post_name}`}]})}),(o,l)=>{const L=P,$=Z,E=G,I=T,B=J,C=O,S=K,q=Q,A=z;return n(),r(h,null,[_(L,{loading:e(f),links:e(k)},null,8,["loading","links"]),_($,{attr:"banner_top"}),_(A,{class:"rubrique !pt2 !pb12"},{default:M(()=>[e(f)||!e(t)?(n(),r("div",W,l[0]||(l[0]=[s("div",{class:"auto-loader"},null,-1)]))):(n(),r("div",X,[s("div",Y,[s("div",tt,[s("div",et,[s("h1",st,x(e(t)?.post_title),1)]),s("div",nt,[e(t).post_thumbnail?(n(),r("div",ot,[e(t).post_thumbnail?(n(),d(E,{key:0,src:e(t).post_thumbnail,class:"max-md:w-full w-48"},null,8,["src"])):i("",!0)])):i("",!0),s("div",{class:"cms-text",innerHTML:e(t).post_content},null,8,at)]),e(t).document?(n(),r("div",lt,[s("span",rt,x(e(t).document.title),1),s("a",{href:e(t).document.link,target:"_blank",class:"custom-button",download:""},[_(I,{name:"fa:download"}),l[1]||(l[1]=s("span",null,"Télécharger",-1))],8,_t)])):i("",!0),s("div",mt,[_(B,{class:"w-30 md:w-36 lg:w-48","second-class":"text-secondary"}),l[2]||(l[2]=s("h3",{class:"sakana text-secondary text-2xl lg:text-3xl"},"Lire également",-1))]),(n(!0),r(h,null,j(e(w),g=>(n(),d(C,{key:g.ID,news:g,tax:e(t).terms?.slug},null,8,["news","tax"]))),128))]),s("div",ct,[_(S),o.$banners["page-voiture-side-2"]?(n(),d(q,{key:0,attr:"page-voiture-side-2",aside:"","margin-top":!1})):i("",!0)])])]))]),_:1})],64)}}});export{ht as default};
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.