PageSourceSearch

https://inanctur.com.tr/_nuxt/ngpoPIUH.js

js inanctur.com.tr collected 2026-10-01 13:04:22 UTC 19,681 bytes, 1 lines download raw bytes

1import{p as Fe,m as We,r as d,x as re,c as Ne,o as Ke,e as o,g as a,j as y,k as g,v as A,$ as K,F as C,D as S,E as R,t as v,z as m,an as Be,l as P,f as n,R as ie,n as we,A as Le,bZ as He,Y as ue,al as Ce}from"./MScFIUOs.js";const Oe={class:"p-6 max-w-6xl mx-auto w-full mt-5"},qe={class:"flex items-center justify-between mb-4"},Ye={class:"flex items-center gap-2"},Ge=["value"],Je={key:0,class:"text-sm text-slate-500"},Qe={key:1,class:"text-sm text-slate-500"},Ze={key:2,class:"flex flex-col sm:flex-row items-start sm:items-center justify-between mb-3 gap-2"},Xe={class:"flex items-center gap-3 flex-wrap"},et={class:"text-sm text-slate-600"},tt={class:"mx-1"},at={key:0,class:"flex items-center gap-1"},st=["disabled"],lt={class:"flex items-center gap-1 px-1"},ot=["onClick"],nt=["disabled"],rt={key:1,class:"text-sm text-slate-500"},it={class:"flex items-center gap-2"},ut=["value"],dt={key:3,class:"w-full table-auto border-collapse"},ct={class:"py-2 px-2 text-sm"},pt={class:"py-2 px-2 text-sm"},vt=["src"],mt=["href"],ft={class:"py-2 px-2 text-sm"},yt={class:"py-2 px-2 text-sm"},xt={class:"py-2 px-2 text-sm"},ht={class:"py-2 px-2 text-sm"},gt={class:"py-2 px-2 text-sm"},bt=["onUpdate:modelValue"],_t={class:"py-2 px-2 text-sm"},kt=["onClick","disabled"],wt=["onClick"],Ct=["onClick"],Mt={key:4,class:"flex flex-col sm:flex-row items-start sm:items-center justify-between mt-3 gap-2"},Tt={class:"flex items-center gap-3 flex-wrap"},St={class:"text-sm text-slate-600"},Dt={class:"mx-1"},jt={key:0,class:"flex items-center gap-1"},It=["disabled"],zt={class:"flex items-center gap-1 px-1"},At=["onClick"],Rt=["disabled"],Pt={key:1,class:"text-sm text-slate-500"},$t={class:"flex items-center gap-2"},Et=["value"],Vt={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-60 p-4"},Ut={class:"w-full max-w-3xl bg-white rounded-md overflow-hidden"},Ft={class:"p-3",style:{height:"70vh"}},Wt={class:"mb-3"},Nt={class:"cropper-toolbar flex flex-wrap items-center justify-between gap-2"},Kt={class:"flex items-center gap-1"},Bt={class:"w-full sm:w-1/2 flex items-center gap-2"},Lt={class:"text-sm text-slate-600 w-12 text-right"},Ht={class:"w-full h-full flex items-center justify-center overflow-auto"},Ot=["src"],qt={class:"p-3 border-t flex items-center justify-end gap-2"},Yt=["disabled"],Gt={key:1,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},Jt={class:"bg-white rounded p-4 max-w-xl w-full"},Qt={class:"space-y-2"},Zt={class:"flex items-center gap-2"},Xt={for:"sendMsg",class:"text-sm"},ea={class:"mt-4 flex items-center justify-end gap-2"},ta={__name:"index",setup(aa){const de=Ne(),{showImage:Me}=We(),k=d([]),M=d(!1),ce=d(""),G=d(""),$=d(""),E=d(""),V=d(""),B=d(0),L=d(""),pe=[{id:"PASSPORT",name:"Pasaport"},{id:"ID_CARD",name:"Kimlik Kartı"},{id:"VISA",name:"Vize"},{id:"HAC_MAIL",name:"Hac E-postası"},{id:"OTHER",name:"Diğer"}],Te=s=>{if(!s)return"-";const t=pe.find(e=>e.id===s);return t?t.name:s},f=d(1),b=d(25),ve=[10,25,50,100],I=d(!1),w=d(0),J=re(()=>w.value?Math.max(1,Math.ceil(w.value/b.value)):I.value?2:1),me=re(()=>w.value?w.value:(f.value-1)*b.value+(k.value?k.value.length:0)),H=re(()=>{const s=J.value,t=f.value;if(s<=9)return Array.from({length:s},(l,c)=>c+1);const e=[];e.push(1,2),t>5&&e.push("...");const i=Math.max(3,t-1),u=Math.min(s-2,t+1);for(let l=i;l<=u;l++)e.push(l);return t<s-4&&e.push("..."),e.push(s-1,s),e.filter((l,c,x)=>x.indexOf(l)===c)}),fe=s=>{!s||s==="..."||s!==f.value&&(f.value=s,T())},O=de.public.apiBase||"",T=async()=>{var s,t,e,i,u,l,c,x;M.value=!0;try{const h={limit:b.value,page:f.value};h.fields="id,pfile_tckn,pfile_name,pfile_surname,status,pfile_file,pfile_mobile,pfile_type",ce.value&&(h.q=ce.value);let j={status:["=",[1,2]]};$.value&&(j.pfile_surname=["LIKE",$.value]),E.value&&(j.pfile_name=["LIKE",E.value]),V.value&&(j.pfile_tckn=["LIKE",V.value]),G.value&&(j.pfile_mobile=["LIKE",G.value]),L.value&&(j.pfile_type=["=",L.value]),B.value&&(j.status=["=",B.value]);const _e=[$.value,E.value,V.value,G.value].filter(Boolean);_e.length&&(h.q=_e.join(" ")),h.filter=JSON.stringify(j),h.limit=b.value,h.offset=(f.value-1)*b.value;const p=await P.get("https://api.inanctur.com.tr/rest/paxFiles",{params:h}),oe=((s=p==null?void 0:p.data)==null?void 0:s.formattedData)||(p==null?void 0:p.formattedData)||[];k.value=oe.map(ke=>({...ke,_editStatus:ke.status||2}));const ne=((t=p==null?void 0:p.data)==null?void 0:t.total)||((e=p==null?void 0:p.data)==null?void 0:e.count)||((i=p==null?void 0:p.data)==null?void 0:i.totalCount)||((l=(u=p==null?void 0:p.data)==null?void 0:u.meta)==null?void 0:l.total)||((x=(c=p==null?void 0:p.data)==null?void 0:c.pagination)==null?void 0:x.total)||null;ne&&Number.isFinite(Number(ne))?(w.value=Number(ne),I.value=f.value*b.value<w.value):(w.value=0,I.value=Array.isArray(oe)&&oe.length===b.value)}catch(h){console.error("fetch paxfiles",h),k.value=[]}finally{M.value=!1}},U=()=>{f.value=1,T()},ye=()=>{f.value=1,T()},xe=()=>{f.value<=1||(f.value-=1,T())},he=()=>{I.value&&(f.value+=1,T())},Q=s=>"https://image.inanctur.com.tr/yonetim/images/customer_temp/"+s.pfile_file,Se=async s=>{var i,u,l;s.saving=!0;try{s._saveMessage=""}catch{}try{s._saveSuccess=null}catch{}const t=s._editStatus,e=(i=ue())==null?void 0:i.value;try{await P({url:`${O}/rest/paxFiles/${s.id}`,method:"PUT",data:{status:t},origin:!0,withCredentials:!0,headers:e}),s.status=t;
1try{s._saveMessage="Durum kaydedildi."}catch{}try{s._saveSuccess=!0}catch{}setTimeout(()=>{try{s._saveMessage=""}catch{}},4e3)}catch{try{await P({url:`${O}/rest/paxFiles/${s.id}`,method:"POST",data:{status:t},origin:!0,withCredentials:!0,headers:e}),s.status=t;try{s._saveMessage="Durum kaydedildi."}catch{}try{s._saveSuccess=!0}catch{}setTimeout(()=>{try{s._saveMessage=""}catch{}},4e3)}catch(x){console.error("update status err",x);try{s._saveMessage=((l=(u=x==null?void 0:x.response)==null?void 0:u.data)==null?void 0:l.message)||"Durum güncellenemedi."}catch{}try{s._saveSuccess=!1}catch{}setTimeout(()=>{try{s._saveMessage=""}catch{}},6e3)}}finally{s.saving=!1}};Ke(()=>{T()});const Z=d(!1),q=d(null),F=d(""),z=d(""),Y=d(!0),De=s=>{q.value=s,F.value=`${s.pfile_name||""} ${s.pfile_surname||""}`.trim(),z.value="",Y.value=!0,Z.value=!0},ge=()=>{Z.value=!1,q.value=null},be=async(s,t)=>{var i,u,l;if(t&&!s.pfile_mobile){alert("Mesaj göndermek için yolcunun telefon numarası bulunmalıdır.");return}if(t&&!String(z.value||"").trim()){alert("Mesaj göndermek için açıklama alanını doldurun.");return}s.saving=!0;const e=(i=ue())==null?void 0:i.value;try{if(await P({url:`${O}/rest/paxFiles/${s.id}`,method:"PUT",data:{status:3},origin:!0,withCredentials:!0,headers:e}),s.status=3,t&&s.pfile_mobile)try{await P({url:`${de.public.apiBase}/wapp/sendMessage`,method:"PUT",data:{mobile:s.pfile_mobile,type:"template",tpl:"pasaportresend",data:{name:F.value||`${s.pfile_name||""} ${s.pfile_surname||""}`.trim(),description:z.value||""}},withCredentials:!0,origin:!0,headers:e})}catch(c){console.error("whatsapp send error",c),alert(((l=(u=c==null?void 0:c.response)==null?void 0:u.data)==null?void 0:l.message)||"Pasaport yeniden gönderim mesajı gönderilemedi. Kayıt çöpe taşındı.")}}catch(c){console.error("finalizeTrash error",c),alert("Çöpe atma işlemi başarısız oldu")}finally{s.saving=!1,ge()}},je=s=>{if(!s)return!1;const t=s.toLowerCase();return t.endsWith(".jpg")||t.endsWith(".jpeg")||t.endsWith(".png")||t.endsWith(".webp")||t.endsWith(".bmp")||t.endsWith(".tiff")},X=d(!1),D=d(null),ee=d(null),W=d(!1),r=d(null),te=d(null),_=d(0),Ie=()=>new Promise((s,t)=>{if(window.Cropper)return s();if(!document.querySelector("link[data-cropper]")){const e=document.createElement("link");e.rel="stylesheet",e.href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.13/cropper.min.css",e.setAttribute("data-cropper","1"),document.head.appendChild(e)}if(document.querySelector("script[data-cropper]")){const e=()=>{if(window.Cropper)return s();setTimeout(e,50)};e()}else{const e=document.createElement("script");e.src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.13/cropper.min.js",e.setAttribute("data-cropper","1"),e.onload=()=>setTimeout(s,50),e.onerror=t,document.head.appendChild(e)}}),ze=async s=>{try{D.value=s,ee.value=Q(s),X.value=!0,_.value=0,await Ce(),await Ie(),await Ce(),te.value&&window.Cropper&&(r.value&&r.value.destroy&&r.value.destroy(),r.value=new window.Cropper(te.value,{viewMode:1,autoCropArea:1,movable:!0,zoomable:!0,background:!1}),setTimeout(()=>{try{le()}catch{}},80))}catch(t){console.error("openImageEditor",t)}},ae=()=>{if(X.value=!1,D.value=null,ee.value=null,_.value=0,r.value&&r.value.destroy){try{r.value.destroy()}catch{}r.value=null}},se=()=>{if(r.value&&r.value.rotateTo)try{r.value.rotateTo(_.value)}catch{}},Ae=()=>{_.value=(_.value-90+360)%360,se(),setTimeout(()=>N(),80)},Re=()=>{_.value=(_.value+90)%360,se(),setTimeout(()=>N(),80)},Pe=()=>{_.value=0,se(),setTimeout(()=>N(),80)},N=()=>{if(r.value)try{setTimeout(()=>{try{const s=r.value.getImageData(),t=r.value.getContainerData(),e=Math.min(t.width/(s.naturalWidth||1),t.height/(s.naturalHeight||1));if(e&&isFinite(e)&&e>0){const i=Math.round((s.naturalWidth||0)*e),u=Math.round((s.naturalHeight||0)*e),l=Math.max(0,Math.round((t.width-i)/2)),c=Math.max(0,Math.round((t.height-u)/2));try{r.value.setCanvasData({left:l,top:c,width:i,height:u})}catch{}}}catch{}try{le()}catch{}},80)}catch{}},$e=()=>{try{r.value&&r.value.zoom&&r.value.zoom(.1)}catch{}setTimeout(()=>N(),80)},Ee=()=>{try{r.value&&r.value.zoom&&r.value.zoom(-.1)}catch{}setTimeout(()=>N(),80)},le=()=>{try{if(!r.value)return;const s=r.value.getImageData(),t=r.value.getContainerData(),e=t.width,i=s.naturalWi
1dth?s.naturalHeight/s.naturalWidth:1,u=Math.min(t.height,Math.round(e*i));r.value.setCropBoxData({left:0,top:Math.max(0,Math.round((t.height-u)/2)),width:Math.round(e),height:u})}catch{}},Ve=async()=>{if(!(!r.value||!D.value))try{const s=r.value.getCroppedCanvas({maxWidth:2e3,imageSmoothingQuality:"high"});W.value=!0,s.toBlob(async t=>{if(!t){W.value=!1;return}const u=((D.value&&D.value.pfile_file?D.value.pfile_file.split(".")||["edited"]:["edited"])[0]||"edited")+"-edited."+"jpg",l=new File([t],u,{type:"image/jpeg"});await Ue(D.value,l),W.value=!1},"image/jpeg",.92)}catch(s){console.error("confirmImageEdit",s),W.value=!1}},Ue=async(s,t)=>{var e,i,u;s.saving=!0;try{const l=new FormData;l.append("pfile_file",t),l.append("pax_file",t),l.append("recordId",s.id),l.append("paxTckn",s.pax_tckn||"");const c=(e=ue())==null?void 0:e.value;await P({url:`${O}/rest/custom/update-file`,method:"PUT",data:l,headers:c,withCredentials:!0}),s._saveMessage="Resim güncellendi.",s._saveSuccess=!0,setTimeout(()=>{try{s._saveMessage=""}catch{}},4e3),T(),ae()}catch(l){console.error("uploadImage err",l),s._saveMessage=((u=(i=l==null?void 0:l.response)==null?void 0:i.data)==null?void 0:u.message)||"Resim yüklenemedi.",s._saveSuccess=!1,setTimeout(()=>{try{s._saveMessage=""}catch{}},6e3)}finally{s.saving=!1}};return(s,t)=>(n(),o(C,null,[a("div",Oe,[a("div",qe,[t[15]||(t[15]=a("h1",{class:"text-xl font-semibold"},"Yolcu Dosyaları",-1)),a("div",Ye,[g(a("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>$.value=e),onInput:U,placeholder:"Soyad",class:"border rounded px-3 py-2 text-sm"},null,544),[[A,$.value]]),g(a("input",{"onUpdate:modelValue":t[1]||(t[1]=e=>E.value=e),onInput:U,placeholder:"Ad",class:"border rounded px-3 py-2 text-sm"},null,544),[[A,E.value]]),g(a("input",{"onUpdate:modelValue":t[2]||(t[2]=e=>V.value=e),onInput:U,placeholder:"TCKN",class:"border rounded px-3 py-2 text-sm"},null,544),[[A,V.value]]),g(a("select",{"onUpdate:modelValue":t[3]||(t[3]=e=>B.value=e),onChange:U,class:"border rounded px-2 py-2 text-sm"},t[13]||(t[13]=[a("option",{value:0},"Tümü",-1),a("option",{value:1},"1 - Onaylı",-1),a("option",{value:2},"2 - Onay Bekliyor",-1),a("option",{value:3},"3 - Çöp",-1)]),544),[[K,B.value]]),g(a("select",{"onUpdate:modelValue":t[4]||(t[4]=e=>L.value=e),onChange:U,class:"border rounded px-2 py-2 text-sm"},[t[14]||(t[14]=a("option",{value:""},"Tümü",-1)),(n(),o(C,null,S(pe,e=>a("option",{key:e.id,value:e.id},v(e.name),9,Ge)),64))],544),[[K,L.value]]),a("button",{onClick:T,class:"px-3 py-2 bg-slate-100 rounded"},"Yenile")])]),M.value?(n(),o("div",Je,"Yükleniyor...")):y("",!0),!M.value&&k.value.length===0?(n(),o("div",Qe,"Kayıt bulunamadı.")):y("",!0),k.value.length||w.value>0?(n(),o("div",Ze,[a("div",Xe,[a("div",et,[t[16]||(t[16]=R("Toplam: ")),a("strong",tt,v(me.value),1)]),J.value>1?(n(),o("div",at,[a("button",{onClick:m(xe,["prevent"]),disabled:f.value===1||M.value,class:"px-2 py-1 border rounded"},"Önceki",8,st),a("div",lt,[s.p!=="..."?(n(!0),o(C,{key:0},S(H.value,e=>(n(),o("button",{key:e,onClick:m(i=>fe(e),["prevent"]),class:ie(["px-2 py-1 rounded",e===f.value?"bg-sky-600 text-white":"border"])},v(e),11,ot))),128)):y("",!0),s.p==="..."?(n(!0),o(C,{key:1},S(H.value,(e,i)=>(n(),o("span",{key:"el-"+i,class:"px-2"},"…"))),128)):y("",!0)]),a("button",{onClick:m(he,["prevent"]),disabled:!I.value||M.value,class:"px-2 py-1 border rounded"},"Sonraki",8,nt)])):(n(),o("div",rt,"Sayfa 1"))]),a("div",it,[t[17]||(t[17]=a("label",{class:"text-sm"},"Listede:",-1)),g(a("select",{"onUpdate:modelValue":t[5]||(t[5]=e=>b.value=e),onChange:ye,class:"border rounded px-2 py-1 text-sm"},[(n(),o(C,null,S(ve,e=>a("option",{key:e,value:e},v(e),9,ut)),64))],544),[[K,b.value,void 0,{number:!0}]])])])):y("",!0),k.value.length?(n(),o("table",dt,[t[20]||(t[20]=a("thead",null,[a("tr",{class:"text-left text-sm text-slate-600 border-b"},[a("th",{class:"py-2 px-2"},"ID"),a("th",{class:"py-2 px-2"},"Dosya"),a("th",{class:"py-2 px-2"},"TCKN"),a("th",{class:"py-2 px-2"},"Ad"),a("th",{class:"py-2 px-2"},"Soyad"),a("th",{class:"py-2 px-2"},"Tür"),a("th",{class:"py-2 px-2"},"Durum"),a("th",{class:"py-2 px-2"},"İşlem")])],-1)),a("tbody",null,[(n(!0),o(C,null,S(k.value,(e,i)=>(n(),o("tr",{key:e.id,class:"border-b hover:bg-slate-50"},[a("td",ct,v(i+1),1),a("td",pt,[e.pfile_file&&je(e.pfile_file)?(n(),o("img",{key:0,src:we(Me)(Q(e),160,90,!0,90),alt:"Dosya Önizleme",class:"h-12 w-12 object-contain rounded-md border"},null,8,vt)):y("",!0),a("a",{href:Q(e),target:"_blank",class:"text-sky-600 hover:underline"},v(e.pfile_file||"Dosya"),9,mt)]),a("td",ft,[R(v(e.pfile_tckn||"-"),1),t[18]||(t[18]=a("br",null,null,-1)),R(" "+v(e.pfile_mobile||"-"),1)]),a("td",yt,v(e.pfile_name||"-"),1),a("td",xt,v(e.pfile_surname||"-"),1),a("td",ht,v(Te(e.pfile_type)),1),a("td",gt,[g(a("select",{"onUpdate:modelValue":u=>e._editStatus=u,class:"border rounded px-2 py-1 text-sm"},t[19]||(t[19]=[a("option",{value:1},"1 - Aktif",-1),a("option",{value:2},"2 - Onay Bekliyor",-1),a("option",{value:3},"3 - Çöp",-1)]),8,bt),[[K,e._editStatus,void 0,{number:!0}]])]),a("td",_t,[a("button",{onClick:u=>Se(e),disabled:e.saving,class:"px-3 py-1 bg-sky-600 text-white rounded text-sm"},"Kaydet",8,kt),e._editStatus===3?(n(),o("button",{key:0,onClick:m(u=>De(e),["prevent"]),class:"ml-2 px-3 py-1 bg-amber-500 text-white rounded text-sm"},"Çöpe At (Form)",8,wt)):y("",!0),e.pfile_file?(n(),o("button",{key:1,onClick:m(u=>ze(e),["prevent"]),class:"ml-2 px-3 py-1 bg-indigo-600 text-white rounded text-sm"},[Le(we(He),{icon:"fa-solid fa-image",class:"mr-1"})],8,Ct)):y("",!0),e._saveMessage?(n(),o("div",{key:2,class:ie(["mt-2 text-xs",e._saveSuccess?"text-emerald-600":"text-red-600"])},v(e._saveMessage),3)):y("",!0)])]))),128))])])):y("",!0),k.value.length||w.value>0?(n(),o("div",Mt,[a("div",Tt,[a("div",St,[t[21]||(t[21]=R("Toplam: ")),a("strong",Dt,v(me.value),1)]),J.value>1?(n(),o("div",jt,[a("button",{onClick:m(xe,["prevent"]),disabled:f.value===1||M.value,class:"px-2 py-1 border rounded"},"Önceki",8,It),a("div",zt,[s.p!=="..."?(n(!0),o(C,{key:0},S(H.value,e=>(n(),o("button",{key:"b-"+e,onClick:m(i=>fe(e),["prevent"]),class:ie(["px-2 py-1 rounded",e===f.value?"bg-sky-600 text-white":"border"])},v(e),11,At))),128)):y("",!0),s.p==="..."?(n(!0),o(C,{key:1},S(H.value,(e,i)=>(n(),o("span",{key:"bel-"+i,class:"px-2"},"…"))),128)):y("",!0)]),a("button",{onClick:m(he,["prevent"]),disabled:!I.value||M.value,class:"px-2 py-1 border rounded"},"Sonraki",8,Rt)])):(n(),o("div",Pt,"Sayfa 1"))]),a("div",$t,[t[22]||(t[22]=a("label",{class:"text-sm"},"Listede:",-1)),g(a("select",{"onUpdate:modelValue":t[6]||(t[6]=e=>b.value=e),onChange:ye,class:"border rounded px-2 py-1 text-sm"},[(n(),o(C,null,S(ve,e=>a("option",{key:"bs-"+e,value:e},v(e),9,Et)),64))],544),[[K,b.value,void 0,{number:!0}]])])])):y("",!0)]),X.value?(n(),o("div",Vt,[a("div",Ut,[a("div",{class:"flex justify-between items-center p-3 border-b"},[t[23]||(t[23]=a("div",{class:"font-semibold"},"Resim Düzenle",-1)),a("div",null,[a("button",{onClick:ae,class:"px-3 py-1"},"Kapat")])]),a("div",Ft,[a("div",Wt,[a("div",Nt,[a("div",Kt,[a("button",{type:"button",onClick:m(Ae,["prevent"]),class:"tool-btn"},"⟲ Sol"),a("button",{type:"button",onClick:m(Re,["prevent"]),class:"tool-btn"},"Sağ ⟳"),a("button",{type:"button",onClick:m(Pe,["prevent"]),class:"tool-btn"},"Sıfırla"),a("button",{type:"button",onClick:m(Ee,["prevent"]),class:"tool-btn"},"−"),a("button",{type:"button",onClick:m($e,["prevent"]),class:"tool-btn"},"+"),a("button",{type:"button",onClick:m(le,["prevent"]),class:"tool-btn"},"Tam Boyut")]),a("div",Bt,[t[24]||(t[24]=a("label",{class:"text-sm text-slate-600"},"Döndür:",-1)),g(a("input",{type:"range",min:"-180",max:"180",step:"1","onUpdate:modelValue":t[7]||(t[7]=e=>_.value=e),class:"w-full"},null,512),[[A,_.value,void 0,{number:!0}]]),a("div",Lt,v(_.value)+"°",1)])])]),a("div",Ht,[a("img",{src:ee.value,ref_key:"cropImageRef",ref:te,style:{"max-width":"100%","max-height":"100%",display:"block","transform-origin":"center","object-fit":"contain"}},null,8,Ot)])]),a("div",qt,[a("button",{onClick:ae,class:"px-3 py-1 border rounded"},"İptal"),a("button",{onClick:m(Ve,["prevent"]),disabled:W.value,class:"px-3 py-1 bg-emerald-600 text-white rounded"},"Kaydet ve Yükle",8,Yt)])])])):y("",!0),Z.value?(n(),o("div",Gt,[a("div",Jt,[t[29]||(t[29]=a("h3",{class:"text-lg font-semibold mb-2"},"Pasaport Resend — Çöpe Atma",-1)),t[30]||(t[30]=a("p",{class:"text-sm text-slate-600 mb-3"},"İleti göndermek isterseniz 'Mesaj Gönder' seçeneğini işaretleyin. Aksi halde yalnızca kaydı çöpe atar.",-1)),a("div",Qt,[a("div",null,[t[25]||(t[25]=a("label",{class:"block text-xs text-slate-600"},"Ad Soyad",-1)),g(a("input",{"onUpdate:modelValue":t[8]||(t[8]=e=>F.value=e),type:"text",class:"w-full border rounded p-2 text-sm"},null,512),[[A,F.value]])]),a("div",null,[t[26]||(t[26]=a("label",{class:"block text-xs text-slate-600"},"Açıklama (manuel)",-1)),g(a("textarea",{"onUpdate:modelValue":t[9]||(t[9]=e=>z.value=e),rows:"3",class:"w-full border rounded p-2 text-sm"},null,512),[[A,z.value]])]),a("div",Zt,[g(a("input",{id:"sendMsg",type:"checkbox","onUpdate:modelValue":t[10]||(t[10]=e=>Y.value=e)},null,512),[[Be,Y.value]]),a("label",Xt,[t[27]||(t[27]=R("Mesaj Gönder (WhatsApp şablonu: pasaportresend)")),t[28]||(t[28]=a("br",null,null,-1)),R(" Merhaba "+v(F.value||"[name]")+", pasaportunuzu yukarıdaki formata uygun şekilde göndermeniz gerekmektedir: "+v(z.value||"[description]"),1)])])]),a("div",ea,[a("button",{onClick:ge,class:"px-3 py-1 border rounded"},"İptal"),a("button",{onClick:t[11]||(t[11]=m(e=>be(q.value,!1),["prevent"])),class:"px-3 py-1 bg-slate-200 rounded"},"Sadece Çöpe At"),a("button",{onClick:t[12]||(t[12]=m(e=>be(q.value,Y.value),["prevent"])),class:"px-3 py-1 bg-emerald-600 text-white rounded"},"Gönder ve Çöpe At")])])])):y("",!0)],64))}},la=Fe(ta,[["__scopeId","data-v-fcebf0f4"]]);export{la 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.