import{o as i,c as l,b as e,l as r,u as o,E as _,G as g,e as u,t as n,H as h,I as f,h as d,a as p,J as v,r as x,f as b}from"./vendor-1-1-48.js";import{_ as y}from"./Loading-1-1-48.js";const $={class:"relative"},w={class:"w-10 h-10 rounded-full bg-blue-600 flex justify-center items-center"},k={key:0,class:"z-10 bg-white divide-y right-0 absolute divide-gray-100 rounded-lg shadow w-44"},S={class:"py-2 text-sm text-gray-700"},B={href:"https://yardim.gurmehub.com/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=baslangic",target:"_blank",class:"flex gap-2 items-center px-4 py-2 hover:bg-gray-100"},V={href:"https://posentegrator.com/yol-haritasi/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=baslangic",target:"_blank",class:"flex gap-2 items-center px-4 py-2 hover:bg-gray-100"},j={href:"https://forum.gurmehub.com/c/gurmehub/kargo-entegrator/31/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=baslangic",target:"_blank",class:"flex gap-2 items-center px-4 py-2 hover:bg-gray-100"},N={__name:"Help",setup(t){const s=p(!1);return(a,c)=>(i(),l("div",$,[e("button",{class:"flex items-center justify-center",onClick:c[0]||(c[0]=m=>s.value=!s.value)},[e("div",w,[r(o(_),{class:"text-white w-6 h-6"})])]),s.value?(i(),l("div",k,[e("ul",S,[e("li",null,[e("a",B,[r(o(g),{class:"w-4 h-4"}),u(" "+n(a.$t("help")),1)])]),e("li",null,[e("a",V,[r(o(h),{class:"w-4 h-4"}),u(n(a.$t("feedback")),1)])]),e("li",null,[e("a",j,[r(o(f),{class:"w-4 h-4"}),u(" "+n(a.$t("forum")),1)])])])])):d("",!0)]))}},E={class:"flex justify-between items-center py-5 px-5 bg-white"},q={class:"flex gap-2 items-center"},C={class:"flex items-center"},H=["src"],T={class:"text-blue-800 text-xs font-medium"},U={class:"flex gap-5 items-center"},z={__name:"Navbar",setup(t){const s=window.gcargo.assets_url,a=window.gcargo.version;return(c,m)=>(i(),l("div",null,[e("div",E,[e("div",q,[e("div",C,[e("img",{class:"w-60",src:`${o(s)}/images/logo.svg`},null,8,H),e("span",T,"v"+n(o(a)),1)])]),e("div",U,[r(N)])])]))}},D=["href"],F={__name:"VideoTutorialBadge",props:{video:{default:"",type:String}},setup(t){return(s,a)=>t.video?(i(),l("a",{key:0,href:t.video,target:"_blank",class:"inline-flex items-center bg-red-100 text-red-800 text-xs font-medium mr-2 px-2.5 py-0.5 rounded-full gap-1 hover:bg-red-800 hover:text-white"},[r(o(v),{class:"w-5 h-5"}),u(" "+n(s.$t("video_tutorial")),1)],8,D)):d("",!0)}},G={class:"w-full flex justify-center"},I={class:"flex flex-col gap-2"},J={class:"py-2 px-5 border rounded-full flex gap-2 bg-white items-center"},K=["href"],P={class:"w-full flex justify-center"},A={class:"flex gap-2 items-center mt-2"},L={href:"https://gurmehub.com/?utm_source=wp_plugin&utm_medium=referal&utm_campaign=footer",target:"_blank"},M=["src"],O={__name:"Footer",props:{text:{required:!0,type:String},href:{required:!0,type:String},video:{default:"",type:String}},setup(t){const s=window.gcargo.assets_url;return(a,c)=>(i(),l("div",G,[e("div",I,[e("div",J,[r(o(_),{class:"w-5 h-5"}),e("a",{href:t.href,target:"_blank",class:"text-blue-600"},n(a.$t("help_title_link",[t.text])),9,K),r(F,{video:t.video},null,8,["video"])]),e("div",P,[e("div",A,[e("a",L,[e("img",{src:`${o(s)}/images/gurmehub-footer.svg`,class:"w-32"},null,8,M)])])])])]))}},Q={class:"container mx-auto px-9 my-8"},X={__name:"Page",props:{footer:{type:Boolean,default:!0},text:{type:String,default:"Kargo Entegratör"},href:{type:String,default:"https://yardim.gurmehub.com/docs/kargo-entegrator/"},video:{type:String,default:""}},setup(t){return(s,a)=>(i(),l("div",null,[r(y),r(z),e("div",Q,[x(s.$slots,"default")]),t.footer?(i(),b(O,{key:0,text:t.text,href:t.href,video:t.video},null,8,["text","href","video"])):d("",!0)]))}};export{X as _};
