1import{_ as y}from"./BoyeAhrH.js";import{_ as v}from"./CJK7s1uC.js";import{u as b,s as f,t as w,a as k,c as h,e as n,d as i,b as p,z as x,v as B,i as V,h as N,l as E}from"./D7N9R09_.js";import"./Dgd4lvBq.js";const I={class:"c-heading--titleBox"},R={class:"c-heading--titleBox__inner"},A={class:"l-container"},O={__name:"[id]",async setup(C){let o,l;const a=N(),c=b(),{data:s,error:u}=([o,l]=f(()=>B(`/api/news/${c.params.id}`,{baseURL:a.public.VIVION_API_BASE_URL},"$LvHRk_CosH")),o=await o,l(),o);if(u.value||!s.value||s.value.body==="")throw w({statusCode:404});const d=e=>e.replace(/<("[^"]*"|'[^']*'|[^'">])*>| |\r?\n/g,""),m=(e,t)=>{if(typeof e=="string")return e.length>t?e.slice(0,t)+"â¦":e},_=V(()=>[{text:"ããããã¼ã¸",url:"/"},{text:"ãã¥ã¼ã¹",url:"/news/"},{text:s.value?.title||"",url:""}]);return k(()=>{const e={title:s.value.title,description:m(d(s.value.body),100),keywords:"ãç¥ãã"},t=()=>{if(s.value.thumbnail)return s.value.thumbnail;let r="";return s.value.mainTag==="pressrelease"?r="/ogp-news-pressrelease.png":s.value.mainTag==="recruit"?r="/ogp-news-recruit.png":r="/ogp-news.png",a.public.VIVION_BASE_URL+r};return{title:e.title,meta:[{key:"description",name:"description",content:e.description},{key:"keywords",name:"keywords",content:e.keywords},{key:"og:type",property:"og:type",content:"article"},{key:"og:title",property:"og:title",content:e.title+" - æ ªå¼ä¼ç¤¾viviON"},{key:"og:description",property:"og:description",content:e.description},{key:"og:url",property:"og:url",content:a.public.VIVION_BASE_URL+c.path},{key:"og:image",property:"og:image",content:t()}]}}),(e,t)=>{const r=y,g=v;return E(),h("div",null,[n("div",I,[n("div",R,[t[0]||(t[0]=n("div",{class:"c-heading--primary01"},[n("span",{class:"c-heading--primary01__text"},"ãã¥ã¼ã¹"),i(),n("span",{class:"c-heading--primary01__subText"},"NEWS")],-1)),t[1]||(t[1]=i()),p(r,{breadcrumbs:_.value},null,8,["breadcrumbs"])])]),t[2]||(t[2]=i()),n("div",A,[p(g,{"news-detail":x(s)},null,8,["news-detail"])])])}}};export{O 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.