1import{_ as f,d as v,h as y,a as x,u as P}from"./DE-G7JZ8.js";import{g as m}from"./1T8V9OZv.js";import{d as i,g as p}from"./C_NHbtVw.js";import{u as h,a as w}from"./qwJUmnah.js";import{u as k}from"./B4Npyv8U.js";import{u as C}from"./BQ245IE2.js";import{U as D,a9 as S,aa as $,m as l,V as B}from"./BfJgI-1u.js";import"./Dp4LzAFS.js";import"./BJcvxiDA.js";const L={__name:"index",async setup(_,{expose:u}){u();let s,t;const a=v(),o=h(),{data:r,error:d,status:n}=([s,t]=$(()=>P("/api/destination",{key:`destination-${a.params.slug}${o?"-preview":""}`,query:{slug:a.params.slug,...o?{preview:"true"}:{}}},"$nPc2OA7aHB")),s=await s,t(),s),e=w(r);if(n.value==="error"||n.value==="success"&&!r.value)throw y({statusCode:404,statusMessage:"Page Not Found",fatal:!0});const g=l(()=>m(e.value));k({title:e.value?.meta?.title,description:e.value?.meta?.description,url:i(a.params.slug),canonical:e.value?.meta?.canonical,image:e.value?.meta?.image}),C(l(()=>p(e.value,i(a.params.slug))),"destination-place-schema");const c={route:a,isPreview:o,initialCountry:r,error:d,status:n,country:e,pages:g,get getDestinationPages(){return m},get getDestinationSchema(){return p},get destinationUrl(){return i}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}};function N(_,u,s,t,a,o){const r=x;return t.country?(B(),D(r,{key:0,name:"destination",dest:t.country,pages:t.pages},null,8,["dest","pages"])):S("",!0)}const E=f(L,[["render",N],["__file","index.vue"]]);export{E 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.