PageSourceSearch

https://accor-emea-site.web.app/_nuxt/Cme5Cjfk.js

js accor-emea-site.web.app collected 2026-10-03 12:16:11 UTC 3,633 bytes, 1 lines download raw bytes

1import{_ as U}from"./CBAWfvz9.js";import{r as C,b as E,a3 as F,u as P,w as T,c as i,a as B,d as I,e as f,f as u,t as S,g as l,F as M,v as G,a5 as N,o as v,h as H}from"./DQ4ufq07.js";import{u as V}from"./CFqj3bO1.js";const Y={class:"container space-y-[30px] xl:space-y-[62px] py-12"},j={class:"w-full md:w-[620px] mx-auto space-y-[10px]"},X={class:"text-center ctitle1 text-primary-100 dark:text-primary-200"},q={class:"text-center cmenudescription dark:text-backgroundlight-100"},z={class:"flex flex-wrap gap-4 justify-center"},Z={__name:"index",async setup(J){let c,x;const o=B(),$=C(),L=V(),{category:p,subcategory:d,subsubcategory:_}=E().params;F();const{locale:s}=P(),w=C(!0),D=async()=>{if(!p||!d||!_)throw console.error("CATEGORY OR SUBCATEGORY DOES NOT EXIST"),N({statusCode:404,statusMessage:"Category or subcategory not found"});try{console.log(`/api/products/${p}/${d}?productSubSubcategorySlug=${_}`);const e=await $fetch(`/api/products/${p}/${d}?productSubSubcategorySlug=${_}`,{method:"GET"});if(w.value=!1,!e.success)return null;const k=o.public.baseUrlBackend,m={fr:e.data[0].sub_subcategory_fr,en:e.data[0].sub_subcategory_en},y={fr:e.data[0].sub_subcategories_description_fr,en:e.data[0].sub_subcategories_description_en},a={fr:e.data[0].sub_subcategories_metadescription_fr,en:e.data[0].sub_subcategories_metadescription_en},A=e.data.map(t=>({id:t.id,slug:t.slug,imageData:{url:`${k}${t.cover}`,altText:`${t.title_fr} - ACCOR EMEA`},category_slug:t.product_category_slug,subcategory_slug:t.product_subcategory_slug,sub_subcategory_slug:t.product_sub_subcategory_slug,subSubcategoryId:t.products_sub_subcategories_id,title:{fr:t.title_fr,en:t.title_en},description:{fr:t.description_fr,en:t.description_en},flyer:t.flyer}));return{sub_subcategories_title:m,sub_subcategories_description:y,metadescription:a,products:A}}catch(e){throw w.value=!1,console.error("Erreur lors de la récupération des données :",e),e}},n=([c,x]=T(()=>D()),c=await c,x(),c),g=i(()=>(L.allPageLoading=!1,n.sub_subcategories_title[`${s.value}`])),O=i(()=>n.sub_subcategories_description[`${s.value}`]),h=i(()=>n.metadescription[`${s.value}`]),R={fr:{title:`${g.value} | ACCOR EMEA`,metaDescription:h,cover:`${o.public.baseUrlFrontend}/og-image.webp`},en:{title:`${g.value} | ACCOR EMEA`,metaDescription:h,cover:`${o.public.baseUrlFrontend}/og-image.webp`}},r=i(()=>R[`${s.value}`]),b=E();return I({htmlAttrs:{lang:s.value},title:r.value.title,meta:[{name:"description",content:r.value.metaDescription},{property:"og:title",content:r.value.title},{property:"og:description",content:r.value.metaDescription},{property:"og:image",content:r.value.cover},{property:"og:image_url",content:r.value.cover},{property:"og:site_name",content:"ACCOR EMEA"},{property:"og:url",content:`${o.public.baseUrlFrontend}${b.fullPath}`},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:r.value.title},{name:"twitter:description",content:r.value.metaDescription},{name:"twitter:url",content:`${o.public.baseUrlFrontend}${b.fullPath}`},{name:"twitter:image",content:r.value.cover},{name:"robots",content:"index, follow"}],link:[{rel:"canonical",href:`${o.public.baseUrlFrontend}${b.fullPath}`}]}),(e,k)=>{const m=U;return v(),f("div",Y,[u("div",j,[u("h2",X,S(l(g)),1),u("p",q,S(l(O)),1)]),u("div",z,[(v(!0),f(M,null,G(l(n).products,(y,a)=>(v(),f("div",{class:"w-[300px] sm:w-[280px] md:w-[232px] lg:w-[280px] xl:w-[310px]",key:a},[H(m,{keyId:a,item:y,activeLink:l($),onActivateLink:A=>$.value=a},null,8,["keyId","item","activeLink","onActivateLink"])]))),128))])])}}};export{Z 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.