1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4823],{80371:function(e,a,n){Promise.resolve().then(n.bind(n,72672)),Promise.resolve().then(n.bind(n,9401))},9401:function(e,a,n){"use strict";n.d(a,{default:function(){return u}});var r=n(74023),t=n(90733);function l(e){return e.isAnkaraChannel}var s=n(31652),i=n(83641);let d={az:{email:"[email protected]",phone:"0090 312 463 34 10",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},bg:{email:"[email protected]",phone:"0090 312 463 32 94 / 463 32 95",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},zh:{email:"[email protected]",phone:"0090 312 463 32 70",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},"fa-AF":{email:"[email protected]",phone:"0090 312 463 34 36",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},hy:{email:"[email protected]",phone:"00 90 312 463 32 70",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},ka:{email:"[email protected]",phone:"0090 312 463 32 67",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},it:{email:"[email protected]",phone:"0090 312 463 32 70",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},kk:{email:"[email protected]",phone:"0090 312 463 33 95",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},kg:{email:"[email protected]",phone:"0090 312 463 33 87",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},hu:{email:"[email protected]",phone:"0090 312 463 33 08",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},uz:{email:"[email protected]",phone:"0090 312 463 32 70",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},ps:{email:"[email protected]",phone:"0090 312 463 32 70",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},pt:{email:"[email protected] ",phone:"0090 312 463 32 82",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},ro:{email:"[email protected]",phone:"0090 312 463 34 28",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},tat:{email:"[email protected]",phone:"0090 312 463 33 83",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},tuk:{email:"[email protected]",phone:"0090 312 463 33 96",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},ur:{email:"[email protected] ",phone:"0090 312 463 34 08",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},uig:{email:"[email protected]",phone:"0090 312 463 32 70",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"},el:{email:"[email protected]",phone:"0090 (312) 463 3430",address:"DıŠYayınlar Dairesi BaÅkanlıÄı, TRT Genel M\xfcd\xfcrl\xfcÄ\xfc Turan G\xfcneÅ Bulvarı Or-An"}},o={email:"",phone:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("a",{href:"tel:+90(212)3263000",children:"+90 (212) 326 3000"}),(0,r.jsx)("a",{href:"tel:+90(212)4034600",children:"+90 (212) 403 4600"})]}),address:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:"TRT World Headquarters Ahmet Adnan Saygun Street No:83"}),(0,r.jsx)("span",{children:"34347 Ulus, Besiktas"})]})};function u(){var e;let a=(0,s.useTranslations)(),n=(0,t.MS)(),[u,c]=(0,i.useState)({phone:"",name:"",email:"",message:""}),m=e=>{let{name:a,value:n}=e.target;if("phone"===a){let e=n.replace(/\D/g,"");c(n=>({...n,[a]:e}))}else c(e=>({...e,[a]:n}))},p=async e=>{e.preventDefault();try{(await fetch("/api/contactUs",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(u)})).ok&&c({phone:"",name:"",email:"",message:""})}catch(e){}},h=o;n.languageCode in d&&(h=d[n.languageCode]);let x="string"==typeof h.phone?h.phone.replaceAll(" ",""):void 0;return(0,r.jsx)("div",{className:"flex flex-col items-center justify-between min-h-fit",children:(0,r.jsx)("div",{className:"section-container py-16",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8",children:[(0,r.jsxs)("form",{onSubmit:p,className:"w-full flex flex-col gap-12",autoComplete:"off",children:[(0,r.jsx)("div",{className:"font-body text-base md:text-xl leading-normal md:leading-8 text-grey-10",children:a("contactUsText")}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)("input",{className:"w-full border-b border-b-grey-5 pb-2 focus:outline-none text-base leading-normal text-grey-7 font-body bg-transparent",placeholder:a("phoneInputPlaceholder"),id:"phone",name:"phone",type:"text",value:u.phone,onChange:m,required:!0})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)("input",{className:"w-full border-b border-b-grey-5 pb-2 focus:outline-none text-base leading-normal text-grey-7 font-body bg-transparent",type:"text",placeholder:a("nameInputPlaceholder"),id:"name",name:"name",value:u.name,onChange:m,required:!0})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)("input",{className:"w-full border-b border-b-grey-5 pb-2 focus:outline-none text-base leading-normal text-grey-7 font-body bg-transparent",type:"email",placeholder:a("emailInputPlaceholder"),id:"email",name:"email",value:u.email,onChange:m,required:!0})}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)("input",{className:"w-full border-b border-b-grey-5 pb-2 focus:outline-none text-base leading-normal text-grey-7 font-body bg-transparent",type:"text",placeholder:a("messageInputPlaceholder"),id:"message",name:"message",value:u.message,onChange:m,required:!0})}),(0,r.jsx)("button",{type:"submit",className:"px-4 py-2 bg-grey-12 w-fit roun
1ded-custom text-white font-body text-xs font-medium tracking-[1px] uppercase leading-8 cursor-pointer",children:a("submitButtonText")})]}),(0,r.jsxs)("div",{className:"w-full flex flex-col gap-12",children:[l(n)?(0,r.jsx)("img",{className:"w-full h-auto",src:"/png/contact-map-ankara.png",alt:"map"}):(0,r.jsx)("img",{className:"w-full h-auto",src:"/png/contact-map-istanbul.png",alt:"map"}),(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,r.jsx)("div",{className:"font-alt text-xl md:text-2xl font-bold leading-custom_5 md:leading-8 text-grey-12",children:a("address")}),(0,r.jsx)("div",{className:"flex flex-col font-body text-base md:text-xl leading-normal md:leading-8 text-grey-10",children:l(n)?(0,r.jsxs)(r.Fragment,{children:["string"==typeof h.address?null===(e=h.address)||void 0===e?void 0:e.split(",").map(e=>(0,r.jsx)("span",{children:e},e)):h.address,(0,r.jsx)("span",{children:"Ankara / T\xfcrkiye"})]}):(0,r.jsxs)(r.Fragment,{children:[h.address,(0,r.jsx)("span",{children:"İstanbul / T\xfcrkiye"})]})})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,r.jsx)("div",{className:"font-alt text-xl md:text-2xl font-bold leading-custom_5 md:leading-8 text-grey-12",children:a("telephone")}),x?(0,r.jsx)("a",{dir:"ltr",href:"tel:".concat(x),className:"flex flex-col font-body text-base md:text-xl leading-normal md:leading-8 text-grey-10",children:h.phone}):h.phone]})]})]})})})}},94780:function(e,a,n){"use strict";function r(e){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var r in n)e[r]=n[r]}return e}n.d(a,{Z:function(){return t}});var t=function e(a,n){function t(e,t,l){if("undefined"!=typeof document){"number"==typeof(l=r({},n,l)).expires&&(l.expires=new Date(Date.now()+864e5*l.expires)),l.expires&&(l.expires=l.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var i in l)l[i]&&(s+="; "+i,!0!==l[i]&&(s+="="+l[i].split(";")[0]));return document.cookie=e+"="+a.write(t,e)+s}}return Object.create({set:t,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},t=0;t<n.length;t++){var l=n[t].split("="),s=l.slice(1).join("=");try{var i=decodeURIComponent(l[0]);if(r[i]=a.read(s,i),e===i)break}catch(e){}}return e?r[e]:r}},remove:function(e,a){t(e,"",r({},a,{expires:-1}))},withAttributes:function(a){return e(this.converter,r({},this.attributes,a))},withConverter:function(a){return e(r({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(a)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}},function(e){e.O(0,[2806,508,8979,3457,6790,1845,5472,1652,9344,9408,6574,7448,733,7364,4695,9071,5575,2672,4652,9097,1744],function(){return e(e.s=80371)}),_N_E=e.O()}]);
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.