import{_ as k,r as S,o,c as n,a as t,t as c,n as d,F as r,b as h,e as p,w as v,h as u,f as m}from"./index-e263e3d6.js";const f="/assets/civic_education-fa82e2a5.jpg",I="/assets/civic_education2-72010f3e.jpg",z="/assets/rights_protection-40b6510d.jpg",y="/assets/rights_protection2-d340e7dd.jpg",b="/assets/citizen_networking-7a072663.jpg",N="/assets/citizen_networking2-aa168967.jpg",P="/assets/citizen_networking3-f6ea84cc.jpg";const C={name:"WhatWeDoView",data(){return{currentSlide:0,protectionSlide:0,networkingSlide:0,educationImages:[f,I],protectionImages:[z,y],networkingImages:[b,N,P],slideshowInterval:null,protectionInterval:null,networkingInterval:null}},mounted(){this.startSlideshow(),this.startProtectionSlideshow(),this.startNetworkingSlideshow()},beforeUnmount(){this.stopSlideshow(),this.stopProtectionSlideshow(),this.stopNetworkingSlideshow()},methods:{startSlideshow(){this.slideshowInterval=setInterval(()=>{this.nextSlide()},5e3)},stopSlideshow(){this.slideshowInterval&&clearInterval(this.slideshowInterval)},nextSlide(){this.currentSlide=(this.currentSlide+1)%this.educationImages.length},setSlide(e){this.currentSlide=e,this.stopSlideshow(),this.startSlideshow()},startProtectionSlideshow(){this.protectionInterval=setInterval(()=>{this.nextProtectionSlide()},6e3)},stopProtectionSlideshow(){this.protectionInterval&&clearInterval(this.protectionInterval)},nextProtectionSlide(){this.protectionSlide=(this.protectionSlide+1)%this.protectionImages.length},setProtectionSlide(e){this.protectionSlide=e,this.stopProtectionSlideshow(),this.startProtectionSlideshow()},startNetworkingSlideshow(){this.networkingInterval=setInterval(()=>{this.nextNetworkingSlide()},7e3)},stopNetworkingSlideshow(){this.networkingInterval&&clearInterval(this.networkingInterval)},nextNetworkingSlide(){this.networkingSlide=(this.networkingSlide+1)%this.networkingImages.length},setNetworkingSlide(e){this.networkingSlide=e,this.stopNetworkingSlideshow(),this.startNetworkingSlideshow()}}},j={class:"what-we-do"},W={class:"page-header"},V={id:"education",class:"section education-section"},$={class:"container"},E={class:"section-content"},B={class:"section-text"},D={key:0},O={key:1},T={class:"section-image"},X={class:"image-placeholder"},F={class:"carousel-container"},A=["src"],J=["src"],L={class:"carousel-indicators"},M=["onClick"],R={id:"protection",class:"section protection-section"},U={class:"container"},q={class:"section-content reverse"},x={class:"section-text"},G={key:0},H={key:1},K={class:"section-image"},Q={class:"image-placeholder"},Y={class:"carousel-container"},Z=["src"],tt=["src"],et={class:"carousel-indicators"},it=["onClick"],st={id:"networking",class:"section networking-section"},ot={class:"container"},nt={class:"section-content"},lt={class:"section-text"},ct={key:0},rt={class:"section-image"},at={class:"image-placeholder"},dt={class:"carousel-container"},ht=["src"],ut=["src"],gt=["src"],_t={class:"carousel-indicators"},wt=["onClick"],pt={class:"call-to-action"},vt={class:"container"},mt={key:0},kt={key:1},St={class:"action-buttons"};function ft(e,i,It,zt,s,a){const g=S("router-link");return o(),n("div",j,[t("header",W,[t("h1",null,c(e.$t("what_we_do.title")),1)]),t("section",V,[t("div",$,[t("div",E,[t("div",B,[t("h2",null,c(e.$t("what_we_do.education_title")),1),t("p",null,c(e.$t("what_we_do.education_text")),1),e.$i18n.locale==="zh"?(o(),n("ul",D,i[0]||(i[0]=[t("li",null,"提供公民权利知识的在线和线下培训",-1),t("li",null,"分享公民教育材料",-1),t("li",null,"组织专题讲座和研讨会",-1),t("li",null,"举办各种在线和线下读书会",-1)]))):(o(),n("ul",O,i[1]||(i[1]=[t("li",null,"Provide online and offline training on citizens' rights knowledge",-1),t("li",null,"Share citizenship education materials",-1),t("li",null,"Organize thematic lectures and seminars",-1),t("li",null,"Organize various online and offline book clubs",-1)])))]),t("div",T,[t("div",X,[t("div",F,[t("div",{class:"carousel-slide",style:d({transform:`translateX(-${s.currentSlide*100}%)`})},[t("img",{src:s.educationImages[0],alt:"公民教育活动",class:"section-img"},null,8,A),t("img",{src:s.educationImages[1],alt:"公民教育材料",class:"section-img"},null,8,J)],4),t("div",L,[(o(),n(r,null,h(2,(_,l)=>t("span",{key:"dot-"+l,class:u(["carousel-dot",{active:s.currentSlide===l}]),onClick:w=>a.setSlide(l)},null,10,M)),64))])])])])])])]),t("section",R,[t("div",U,[t("div",q,[t("div",x,[t("h2",null,c(e.$t("what_we_do.protection_title")),1),t("p",null,c(e.$t("what_we_do.protection_text")),1),e.$i18n.locale==="zh"?(o(),n("ul",G,i[2]||(i[2]=[t("li",null,"监督并报告公民权利侵犯事件",-1),t("li",null,"为公民权利侵犯案件提供法律咨询和支持",-1),t("li",null,"与国际人权组织合作倡导保护公民权利",-1),t("li",null,"推动相关政策和立法",-1)]))):(o(),n("ul",H,i[3]||(i[3]=[t("li",null,"Monitor and report on incidents of citizens' rights violations",-1),t("li",null,"Provide legal consultation and support for citizens' rights violation cases",-1),t("li",null,"Collaborate with international human rights organizations to advocate for the protection of citizens' rights",-1),t("li",null,"Promote relevant policy and legislation",-1)])))]),t("div",K,[t("div",Q,[t("div",Y,[t("div",{class:"carousel-slide",style:d({transform:`translateX(-${s.protectionSlide*100}%)`})},[t("img",{src:s.protectionImages[0],alt:"公民权利维护活动",class:"section-img"},null,8,Z),t("img",{src:s.protectionImages[1],alt:"公民权利维护材料",class:"section-img"},null,8,tt)],4),t("div",et,[(o(),n(r,null,h(2,(_,l)=>t("span",{key:"protection-dot-"+l,class:u(["carousel-dot",{active:s.protectionSlide===l}]),onClick:w=>a.setProtectionSlide(l)},null,10,it)),64))])])])])])])]),t("section",st,[t("div",ot,[t("div",nt,[t("div",lt,[t("h2",null,c(e.$t("what_we_do.networking_title")),1),t("p",null,c(e.$t("what_we_do.networking_text")),1),e.$i18n.locale==="zh"?(o(),n("ul",ct,i[4]||(i[4]=[t("li",null,"建立公民互助平台和社区",-1),t("li",null,"组织公民交流活动",-1),t("li",null,"联结项目提案人和项目资助人",-1)]))):(o(),n(r,{key:1},[i[5]||(i[5]=t("p",null," We advocate for the values of self-care, familial devotion, and commitment to one's neighbors, community, and affiliated organizations. Through a range of community-based initiatives, we aim to explore issues related to culture, religion, and politics, thereby fostering mutual understanding and collaboration among citizens of diverse backgrounds. ",-1)),i[6]||(i[6]=t("ul",null,[t("li",null,"Establish civic mutual aid platforms and communities"),t("li",null,"Organize civic exchange and engagement activities."),t("li",null,"Connect project proposers and project funders")],-1))],64))]),t("div",rt,[t("div",at,[t("div",dt,[t("div",{class:"carousel-slide",style:d({transform:`translateX(-${s.networkingSlide*100}%)`})},[t("img",{src:s.networkingImages[0],alt:"公民联结与相互支持活动",class:"section-img"},null,8,ht),t("img",{src:s.networkingImages[1],alt:"公民联结与相互支持材料",class:"section-img"},null,8,ut),t("img",{src:s.networkingImages[2],alt:"公民联结与相互支持活动图片",class:"section-img"},null,8,gt)],4),t("div",_t,[(o(!0),n(r,null,h(s.networkingImages.length,(_,l)=>(o(),n("span",{key:"networking-dot-"+l,class:u(["carousel-dot",{active:s.networkingSlide===l}]),onClick:w=>a.setNetworkingSlide(l)},null,10,wt))),128))])])])])])])]),t("section",pt,[t("div",vt,[t("h2",null,c(e.$i18n.locale==="zh"?"加入我们的努力":"Join Our Efforts"),1),e.$i18n.locale==="zh"?(o(),n("p",mt," 公民权利同盟欢迎所有关心公民权利的人士参与我们的工作。无论是通过志愿服务、专业技能贡献、还是经济支持,您都可以成为促进公民权利的重要力量。 ")):(o(),n("p",kt," The Alliance for Citizens' Rights welcomes all who care about citizens' rights to participate in our work. Whether through volunteer service, professional skills contribution, or financial support, you can be an important force in promoting citizens' rights. ")),t("div",St,[p(g,{to:"/donate",class:"btn-primary"},{default:v(()=>[m(c(e.$t("nav.donate")),1)]),_:1}),p(g,{to:"/volunteer",class:"btn-secondary"},{default:v(()=>[m(c(e.$i18n.locale==="zh"?"成为志愿者":"Become a Volunteer"),1)]),_:1})])])])])}const bt=k(C,[["render",ft],["__scopeId","data-v-bdf3c5a8"]]);export{bt as default};