1import{_ as v,Q as b,A as g,e as w,l as y,c as l,a as t,t as o,j as r,b as m,w as A,r as x,F as B,h as C,x as k,p as H,k as S,R as V,o as c,d as F,n as I,g as j,B as N}from"./index-DYdpvxc0.js";import{_ as z}from"./wwa-CilQhy7_.js";const n=a=>(H("data-v-280f8b13"),a=a(),S(),a),E={class:"w-full min-h-screen text-white overflow-hidden"},O={class:"relative"},L=n(()=>t("img",{src:z,alt:"Our History Background",class:"w-full h-64 md:h-80 object-cover brightness-50"},null,-1)),R={class:"absolute inset-0 flex flex-col items-center justify-center gap-6 px-4 text-center"},T={class:"text-4xl md:text-6xl font-extrabold bg-gradient-to-r from-[#53900F] to-[#8BC34A] bg-clip-text text-transparent drop-shadow-2xl"},D={class:"flex items-center gap-4 text-lg font-medium"},J={class:"text-[#8BC34A]"},M={class:"relative max-w-7xl mx-auto py-20 px-6 md:px-8"},Q=n(()=>t("div",{class:"hidden md:block absolute left-1/2 -translate-x-1/2 w-1 h-full bg-gradient-to-b from-[#53900F]/40 via-[#8BC34A]/20 to-transparent z-0"},null,-1)),q={class:"absolute left-1/2 -translate-x-1/2 top-0 flex flex-col items-center z-20"},G={class:"mb-4 text-3xl md:text-4xl font-bold text-[#8BC34A] drop-shadow-lg"},K=n(()=>t("div",{class:"w-12 h-12 md:w-14 md:h-14 bg-[#8BC34A] rounded-full timeline-dot shadow-2xl"},null,-1)),P={class:"w-full md:w-1/2 mt-20 md:mt-0"},U={class:"bg-white/10 backdrop-blur-lg border border-[#53900F]/30 rounded-2xl shadow-2xl overflow-hidden transition-all duration-500 hover:scale-[1.03] hover:border-[#8BC34A]/60 hover:shadow-[#8BC34A]/20"},W={key:0,class:"w-full"},X=["src","alt"],Y={class:"p-6 md:p-8"},Z={class:"text-2xl md:text-3xl font-bold text-[#EAF7E3] mb-4"},$={class:"text-black leading-relaxed"},tt=n(()=>t("div",{class:"hidden md:block md:w-1/2"},null,-1)),et={__name:"HistoryView",setup(a){V(s=>({e2eb8c58:s.index}));const{t:d}=b(),p=g(()=>localStorage.getItem("lang")||"en"),_=w([]);return y(async()=>{try{const s=await k.get("/users/histories");_.value=s.data.map(i=>({...i,description:JSON.parse(i.description)}))}catch(s){console.error("Failed to load history:",s)}}),(s,i)=>{const u=x("router-link"),f=x("font-awesome-icon");return c(),l("section",E,[t("div",O,[L,t("div",R,[t("h1",T,o(r(d)("Our History")),1),t("nav",D,[m(u,{to:"/",class:"hover:text-[#8BC34A] transition-colors"},{default:A(()=>[F(o(r(d)("Home")),1)]),_:1}),m(f,{icon:"chevron-right",class:"text-[#8BC34A] text-sm"}),t("span",J,o(r(d)("History")),1)])])]),t("div",M,[Q,(c(!0),l(B,null,C(_.value,(e,h)=>(c(),l("div",{key:e.id||h,class:I(["relative flex flex-col md:flex-row items-center justify-center gap-10 md:gap-16 mb-28 last:mb-0 z-10",{"md:flex-row-reverse":h%2===1}])},[t("div",q,[t("span",G,o(e.year),1),K]),t("div",P,[t("div",U,[e.image?(c(),l("div",W,[t("img",{src:r(N)+e.image,alt:e.title,class:"w-full h-64 md:h-80 object-cover"},null,8,X)])):j("",!0),t("div",Y,[t("h3",Z,o(e.title),1),t("p",$,o(e.description[p.value]),1)])])]),tt],2))),128))])])}}},lt=v(et,[["__scopeId","data-v-280f8b13"]]);export{lt 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.