PageSourceSearch

https://jtgga.org/_nuxt/DSnkyeJW.js

js jtgga.org collected 2026-09-25 02:52:41 UTC 4,259 bytes, 1 lines download raw bytes

1import{c as S,s as T,g as i,b as U,e as V,f as j,h as B}from"./9JYzwI1J.js";import{_ as A}from"./XMkg9UG9.js";import{u as D}from"./DXqUtDiP.js";import{d as F,v as L,c as n,k as r,w as x,o as l,F as M,q as P,u as b,f as e,t as o,j as d,l as w}from"./BC1fSk-i.js";import"./WFAqPvgT.js";const W={class:"flex-1 page-content static w-full"},E={class:"mb-8 px-4 flex flex-col"},H={class:"lead mb-2"},O={class:"px-4 py-2 flex flex-col gap-3"},R={key:0,class:"flex gap-3 items-baseline"},z={key:1,class:"flex gap-3 items-center"},G={key:2,class:"flex gap-3 items-center"},J={key:3,class:"flex gap-3 items-center"},K=["href"],Q={key:4,class:"flex gap-3 items-center"},X=["href"],Y={class:"px-4"},Z={class:"space-y-6",action:"#",method:"POST"},ee={class:"flex gap-5"},te={class:"w-1/2"},se={for:"email",class:"block text-sm font-medium leading-6 text-gray-900"},ae={class:"w-1/2"},oe={for:"email",class:"block text-sm font-medium leading-6 text-gray-900"},ie={for:"email",class:"block text-sm font-medium leading-6 text-gray-900"},ne={type:"submit",class:"inline-flex items-center px-6 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary-800 hover:bg-primary-900 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary"},pe=F({__name:"index",async setup(le){var g;let m,p;const v=S(),{journalId:k,currentLanguage:$,title:u,description:f,keywords:C}=T(v),{data:I}=([m,p]=L(()=>D("contacts",()=>$fetch(`/api/journal-content/${k.value}/contact`))),m=await m,p(),m),N=s=>s.startsWith("http")?s:`https://${s}`,q=s=>{let a=s.replace(/(https?:\/\/)?(www\.)?/,"");return a.endsWith("/")?a.slice(0,-1):a};return i().set({title:U().t("contactUs"),description:f.value,keywords:((g=C.value)==null?void 0:g.split(", "))||[]}),V({title:`${i().title} - ${u.value}`,meta:[{name:"description",content:i().description},{name:"keywords",content:`${i().keywords}`}]}),j({title:`${i().title} - ${u.value}`,ogTitle:`${i().title} - ${u.value}`,description:i().description??f.value,keywords:`${i().keywords}`}),(s,a)=>{const c=B,_=A;return l(),n("div",W,[r(_,{title:s.$t("contactInformation"),"body-class":"mt-0"},{body:x(()=>{var y;return[(l(!0),n(M,null,P((y=b(I))==null?void 0:y.items,t=>{var h;return l(),n("div",E,[e("p",H,o((h=t.title)==null?void 0:h[b($)]),1),e("div",O,[t.address?(l(),n("div",R,[r(c,{name:"heroicons-map-pin"}),e("span",null,o(t.address.trim()),1)])):d("",!0),t.phone?(l(),n("div",z,[r(c,{name:"material-symbols:phone-enabled-outline",class:"me-2"}),w(" "+o(t.phone.trim()),1)])):d("",!0),t.fax?(l(),n("div",G,[r(c,{name:"material-symbols:fax-outline"}),w(" "+o(t.fax),1)])):d("",!0),t.email?(l(),n("div",J,[r(c,{name:"material-symbols:mail-outline"}),e("a",{href:`mailto:${t.email}`},o(t.email.trim()),9,K)])):d("",!0),t.website?(l(),n("div",Q,[r(c,{name:"iconoir:www"}),e("a",{href:`${N(t.website.trim())}`,target:"_blank"},o(q(t.website.trim())),9,X)])):d("",!0)])])}),256))]}),_:1},8,["title"]),r(_,{title:s.$t("contactUs"),class:"mt-7"},{body:x(()=>[e("div",Y,[e("form",Z,[e("div",ee,[e("div",te,[e("label",se,o(s.$t("fullname")),1),a[0]||(a[0]=e("div",{class:"mt-2"},[e("input",{id:"email",name:"email",type:"email",autocomplete:"email",required:"",class:"block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-gray-300 placeholder:text-gray-400 focus:border-gray-400 sm:text-sm sm:leading-6"})],-1))]),e("div",ae,[e("label",oe,o(s.$t("email")),1),a[1]||(a[1]=e("div",{class:"mt-2"},[e("input",{id:"email",name:"email",type:"email",autocomplete:"email",required:"",class:"block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-1 focus:ring-inset focus:ring-gray-100 sm:text-sm sm:leading-6"})],-1))])]),e("div",null,[e("div",null,[e("label",ie,o(s.$t("message")),1),a[2]||(a[2]=e("div",{class:"mt-2"},[e("textarea",{id:"email",name:"email",type:"email",autocomplete:"email",required:"",class:"block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-600 sm:text-sm sm:leading-6"})],-1))])]),e("div",null,[e("button",ne,o(s.$t("submit")),1)])])])]),_:1},8,["title"])])}}});
1export{pe 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.