import{_ as re}from"./Czpkf7KN.js";import{H as ce}from"./MOs3g68D.js";import{q as Q,E as F,H as he,j as de,r as B,z as ue,t as o,a6 as pe,au as me,aR as ve,aE as Pe,B as ye,V as g,a9 as W,W as n,Z as T,$ as x,a0 as H,_ as r,K as c,I as N,a3 as U,ad as R,ag as fe,bl as _e,J as i,a4 as z,a5 as be}from"./CxdE8985.js";import{a2 as ke}from"./BIGVPLrW.js";import{g as Ce,h as Ae,d as Te}from"./BiyJ0pTU.js";import{u as Re}from"./4dghBQ4x.js";import{u as we}from"./DJkyJCyG.js";import"./B9khq7sO.js";var f=(s=>(s.Top="top",s.Agreements="agreements",s.Policies="policies",s.CompanyPolicies="companyPolicies",s.Hidden="hidden",s))(f||{});const K={"pages.legalPage.languageWarning":"Phiên bản tiếng Anh của chính sách và thỏa thuận pháp lý này được xem là phiên bản hiện hành và có giá trị pháp lý duy nhất. Tất cả phiên bản được dịch chỉ dùng cho mục đích tham khảo và để hiểu rõ phiên bản tiếng Anh hơn. Các phiên bản được dịch không có ràng buộc pháp lý và không thể thay thế phiên bản tiếng Anh. Trong trường hợp có mâu thuẫn hoặc bất đồng, điều khoản dịch vụ bằng tiếng Anh sẽ được ưu tiên và là ràng buộc duy nhất.","pages.legalPage.lastRevisited":"Lần chỉnh sửa cuối:","pages.legalPage.headerDescription":"Vui lòng đọc kỹ thỏa thuận này vì nó chứa các thông tin quan trọng liên quan đến quyền lợi và biện pháp khắc phục của bạn.","pages.legalPage.agreements":"Thỏa thuận","pages.legalPage.policies":"Chính sách","pages.legalPage.navigation.universalTermsOfServiceAgreement":"Điều khoản dịch vụ","pages.legalPage.navigation.privacyPolicy":"Chính sách bảo mật","pages.legalPage.navigation.registrarInformation":"Thông tin Registrar","pages.legalPage.navigation.affiliateProgramAgreement":"Thỏa thuận Chương trình Affiliate","pages.legalPage.navigation.changeRegistrantAgreement":"Thỏa thuận đổi Chủ đăng ký","pages.legalPage.navigation.dpa":"Phụ lục xử lý dữ liệu","pages.legalPage.navigation.domainNameRegistrationAgreement":"Thỏa thuận đăng ký tên miền","pages.legalPage.navigation.domainNameTransferAgreement":"Thỏa thuận chuyển tên miền","pages.legalPage.navigation.referralProgramAgreement":"Thỏa thuận Chương trình Giới thiệu","pages.legalPage.navigation.domainRegistrantAgreement":"Thỏa thuận Chủ đăng ký tên miền","pages.legalPage.navigation.partnerProgramAgreement":"Thỏa thuận Chương trình Đối tác","pages.legalPage.navigation.resellerMasterAgreement":"Thỏa thuận Chủ đại lý","pages.legalPage.navigation.abusePolicy":"Chính sách xử lý vi phạm","pages.legalPage.navigation.brandGuidelinesPermissions":"Hướng dẫn và quyền hạn thương hiệu","pages.legalPage.navigation.cookiePolicy":"Chính sách Cookie","pages.legalPage.navigation.domainNameDisputeResolution":"Giải quyết tranh chấp tên miền","pages.legalPage.navigation.expiredRegistrationRecoveryPolicy":"Chính sách khôi phục đăng ký hết hạn","pages.legalPage.navigation.responsibleDisclosurePolicy":"Chính sách công khai thông tin và Chương trình Bug Reward của Hostinger","pages.legalPage.navigation.refundPolicy":"Chính sách hoàn tiền","pages.legalPage.navigation.tldRegistryPolicy":"Chính sách nhà đăng ký TLD","pages.legalPage.navigation.trademarkCopyrightInfringement":"Thương hiệu/Bản quyền","pages.legalPage.navigation.customerServicePolicy":"Chính sách dịch vụ khách hàng","pages.legalPage.navigation.migrationTerms":"Điều khoản di dời","pages.legalPage.navigation.listOfCountriesAsia":"Danh sách Quốc gia ở Châu Á","pages.legalPage.companyPolicies":"Chính sách của công ty","pages.legalPage.navigation.thirdPartyCodeOfConduct":"Quy tắc ứng xử của bên thứ ba","pages.legalPage.title.universalTermsOfServiceAgreement":"Điều khoản Dịch vụ","pages.legalPage.title.privacyPolicy":"Chính sách Bảo mật","pages.legalPage.title.registrarInformation":"Thông tin Registrar","pages.legalPage.title.affiliateProgramAgreement":"Thỏa thuận Chương trình Affiliate","pages.legalPage.title.changeRegistrantAgreement":"Thỏa thuận đổi Chủ đăng ký","pages.legalPage.title.dpa":"Phụ lục xử lý dữ liệu","pages.legalPage.title.domainNameRegistrationAgreement":"Thỏa thuận đăng ký tên miền","pages.legalPage.title.domainNameTransferAgreement":"Thỏa thuận chuyển tên miền","pages.legalPage.title.hostingAgreement":"Thỏa thuận Hosting","pages.legalPage.title.referralProgramAgreement":"Thỏa thuận Chương trình Giới thiệu","pages.legalPage.title.domainRegistrantAgreement":"Thỏa thuận chủ đăng ký tên miền","pages.legalPage.title.partnerProgramAgreement":"Thỏa thuận Chương trình Đối tác","pages.legalPage.title.resellerMasterAgreement":"Thỏa thuận Chủ Đại lý","pages.legalPage.title.abusePolicy":"Chính sách xử lý vi phạm","pages.legalPage.title.brandGuidelinesPermissions":"Hướng dẫn và quyền hạn thương hiệu","pages.legalPage.title.cookiePolicy":"Chính sách Cookie","pages.legalPage.title.domainNameDisputeResolution":"Giải quyết tranh chấp tên miền","pages.legalPage.title.expiredRegistrationRecoveryPolicy":"Chính sách khôi phục đăng ký hết hạn","pages.legalPage.title.responsibleDisclosurePolicy":"Chính sách công khai thông tin và Chương trình Bug Reward của Hostinger","pages.legalPage.title.refundPolicy":"Chính sách Hoàn tiền","pages.legalPage.title.tldRegistryPolicy":"Chính sách Nhà đăng ký TLD","pages.legalPage.title.trademarkCopyrightInfringement":"Thương hiệu/Bản quyền","pages.legalPage.title.customerServicePolicy":"Chính sách Dịch vụ Khách hàng","pages.legalPage.title.migrationTerms":"Điều khoản di dời","pages.legalPage.title.listOfCountriesAsia":"Danh sách Quốc gia ở Châu Á","pages.legalPage.title.thirdPartyCodeOfConduct":"Quy tắc ứng xử của bên thứ ba","pages.legalPage.title.researchParticipationAgreement":"Thỏa thuận Tham gia Nghiên cứu","pages.legalPage.cookieSettings":"Cấu hình cookie","pages.legalPage.title.specialTerms":"Điều khoản đặc biệt của Hostinger Horizons","pages.legalPage.submitButton":"Submit","pages.legalPage.description.affiliateProgramAgreement":"Here's an overview about Hostinger's affiliate program, how to participate in it, and everything you need to know about communication and your account.","pages.legalPage.description.changeRegistrantAgreement":"Change of Registrant Agreement where all the most important information about changing registrants is provided. Read the guidelines and violations here.","pages.legalPage.description.domainNameRegistrationAgreement":"This is domain name registration agreement that provides information about all registrations, payments and fees, regulations and general usage. Read more.","pages.legalPage.description.domainNameTransferAgreement":"Terms & conditions of your use of Domain Name Transfer services about transferring a registered domain from another domain registrar to Hostinger.","pages.legalPage.description.hostingAgreement":"In this agreement the terms and conditions of your use of Hostinger’s hosting services are covered. It presents the relation between our customers and us.","pages.legalPage.description.universalTermsOfServiceAgreement":"Hostinger's terms of service covered. Learn general terms and conditions of your use of the Site and the products and services purchased in this agreement.","pages.legalPage.description.privacyPolicy":"Get to know more about Hostinger's privacy policy. In this document the use of your private data and its sourcing are explained.","pages.legalPage.description.refundPolicy":"Review our refund policy agreement and get familiar with our standard refund terms. Please, carefully note that some products have exceptions.","pages.legalPage.description.cookiePolicy":"Read all the information about the use of cookies, how cookies are used on our websites, and the refusal or blocking cookies. Click here to learn more.","pages.legalPage.description.responsibleDisclosurePolicy":"Hostinger Responsible Disclosure Policy and Bug Reward Program are covered. Please, read it carefully and get familiar with this agreement.","pages.legalPage.description.tldRegistryPolicy":"A comprehensive information about TLD Registry Policies at Hostinger. Click here to learn more.","pages.legalPage.description.brandGuidelinesPermissions":"In this legal document we provide information about Hostinger brand's guidelines and permissions. Learn more about Hostinger's brand characteristics.","pages.legalPage.description.trademarkCopyrightInfringement":"Here's Hostinger's Trademark and Copyright agreement to inform you about domain name dispute claims, and copyright and trademark claims.","pages.legalPage.description.domainNameDisputeResolution":"Domain Name Dispute Resolution at Hostinger. Read this agreement carefully to fully understand all the legal requirements listed in this agreement.","pages.legalPage.description.expiredRegistrationRecoveryPolicy":"Read the document of Expired Registration Recovery policies and learn what happens after domains expire and how to handle this afterwards.","pages.legalPage.description.abusePolicy":"abuse-policy","pages.legalPage.description.researchParticipationAgreement":"Research Participation Agreement","pages.legalPage.title.internalBreachReportingPrivacyPolicy":"Internal Breach Reporting Privacy Policy","pages.legalPage.description.internalBreachReportingPrivacyPolicy":"internal-breach-reporting-privacy-policy","pages.legalPage.description.referralProgramAgreement":"Terms of Services of the Referral Program","pages.legalPage.description.dpa":"data-processing-addendum","pages.legalPage.description.listOfCountriesAsia":"List of Countries Asia","pages.legalPage.description.registrarInformation":"Registrar Information","pages.legalPage.description.thirdPartyCodeOfConduct":"Third Party Code of Conduct","pages.legalPage.description.specialTerms":"hostinger-horizons","pages.legalPage.title.AntiAbuseAndAntiFraudPolicy":"Anti-Abuse and Anti-Fraud Policy","pages.legalPage.description.AntiAbuseAndAntiFraudPolicy":"The English version of legal agreements and policies is considered as the only current and valid version of this document. Any translated version is provided for your convenience only, to facilitate reading and understanding of the English version. Any translated versions are not legally binding and cannot replace the English versions. In the event of disagreement or conflict, the English language legal agreements and policies shall prevail."},xe=()=>{const{t:s}=Q(K),{getRouteLink:d}=Ce(),u=p=>F.filter(h=>h.payload.position===p).map(h=>({text:s(h.payload.title),dataClickId:`hgr-legal-navigation-${h.payload.slug}`,link:d(`legal-page-${h.payload.slug}`),slug:h.payload.slug})).sort((h,a)=>h.text.localeCompare(a.text));return{getPageData:p=>({title:s((p==null?void 0:p.title)||""),description:s("pages.legalPage.headerDescription"),nonSidebarItems:u(f.Hidden),navigationItems:{topItems:u(f.Top),agreements:u(f.Agreements),policies:u(f.Policies),companyPolicies:u(f.CompanyPolicies)},submitButton:{text:s("pages.legalPage.submitButton"),link:"https://hackerone.com/5093805e-4e52-474b-ba7f-5c04a7ba10e7/embedded_submissions/new"}})}},He={async getLegalDocuments(s){const{data:d}=await Ae.post("/api/legal-documents/get-by-slugs",{slugs:s});return d}},Ie={class:"legal__page-content u-spacing-1 h-grid"},Se={class:"legal__sidebar legal__sidebar--desktop"},Be={class:"legal__sidebar-links-wrapper"},Ne=["href"],De={class:"legal__sidebar-heading"},Oe=["href"],$e={class:"legal__sidebar-heading"},Le=["href"],qe={class:"legal__sidebar-heading"},Ve=["href"],Ee={class:"legal__main-page"},Ge={key:0},Me={class:"legal__warning"},We={class:"legal__sidebar legal__sidebar--mobile"},Ue={key:1},ze={class:"legal__date"},Qe=["innerHTML"],Fe=he({__name:"[slug]",async setup(s){var V,E,G;let d,u;const D=ue(),{pageName:p,homepageUrl:h}=de(),{t:a}=Q(K),{getHead:j}=Re(),{getPageData:J}=xe(),{setUpdatingCookieSettings:Y}=Te(),O=B(!1),_=B(""),I=B({content:"",date:new Date().toISOString()}),P=(V=F.find(t=>a(t.payload.route||"").replace("legal/","")===D.params.slug))==null?void 0:V.payload,l=o(()=>J(P)),m=o(()=>(P==null?void 0:P.slug)||""),S=o(()=>[...b.value,...k.value,...C.value,...A.value,...l.value.nonSidebarItems].find(t=>t.link.includes(m.value))),Z=o(()=>{var t;return((t=S.value)==null?void 0:t.slug)||""}),$=o(()=>["registrar-information","list-of-countries-asia"].includes(m.value)),X=o(()=>["cookie-policy"].includes(m.value)),ee=o(()=>["responsible-disclosure-policy"].includes(m.value)),b=o(()=>l.value.navigationItems.topItems),k=o(()=>l.value.navigationItems.agreements),C=o(()=>l.value.navigationItems.policies),A=o(()=>l.value.navigationItems.companyPolicies),ae=o(()=>[...b.value,{text:a("pages.legalPage.agreements")},...k.value,{text:a("pages.legalPage.policies")},...C.value,{text:a("pages.legalPage.companyPolicies")},...A.value].map(t=>t.text)),te=o(()=>[...b.value,...k.value,...C.value,...A.value].map(t=>t.dataClickId)),L=()=>{O.value=window.scrollY>=500},w=t=>t===m.value,ne=()=>{const t=[...b.value,...k.value,...C.value,...A.value].find(y=>y.text===_.value);t&&window.location.assign(t.link)},ie=()=>{scrollTo(0,0)};pe(async()=>{if(!P){window.location.href=h.value;return}window.addEventListener("scroll",L),await se()}),me(()=>{window.removeEventListener("scroll",L)});const{data:q,refresh:se}=([d,u]=ve(()=>_e(`legal-page-${m.value}`,()=>He.getLegalDocuments([m.value]))),d=await d,u(),d);return(E=q.value)!=null&&E[0]&&(I.value=(G=q.value)==null?void 0:G[0]),P&&(_.value=S.value?S.value.text||"":l.value.title,Pe(j(l.value.title,l.value.description,!0)),we(ye(p.value||""))),(t,y)=>{const le=re,oe=ce,M=fe,ge=ke;return i(),g("div",{class:R(["legal",`${Z.value}-page`])},[W(le,{data:{heading:l.value.title,description:l.value.description,backgroundColor:"primary500"}},null,8,["data"]),n("section",Ie,[n("div",Se,[n("div",Be,[(i(!0),g(x,null,H(b.value,(e,v)=>(i(),g("div",{key:`top-item-${v}`},[n("a",{class:R(["legal__sidebar-link",{"legal__sidebar-link--active":w(e.slug)}]),href:e.link},r(e.text),11,Ne)]))),128)),n("h3",De,r(c(a)("pages.legalPage.agreements")),1),(i(!0),g(x,null,H(k.value,(e,v)=>(i(),g("div",{key:`agreement-item-${v}`},[n("a",{class:R(["legal__sidebar-link",{"legal__sidebar-link--active":w(e.slug)}]),href:e.link},r(e.text),11,Oe)]))),128)),n("h3",$e,r(c(a)("pages.legalPage.policies")),1),(i(!0),g(x,null,H(C.value,(e,v)=>(i(),g("div",{key:`policy-item-${v}`},[n("a",{class:R(["legal__sidebar-link",{"legal__sidebar-link--active":w(e.slug)}]),href:e.link},r(e.text),11,Le)]))),128)),n("h3",qe,r(c(a)("pages.legalPage.companyPolicies")),1),(i(!0),g(x,null,H(A.value,(e,v)=>(i(),g("div",{key:`policy-item-${v}`},[n("a",{class:R(["legal__sidebar-link",{"legal__sidebar-link--active":w(e.slug)}]),href:e.link},r(e.text),11,Ve)]))),128))])]),n("div",Ee,[$.value?T("",!0):(i(),g("div",Ge,[n("p",Me,r(c(a)("pages.legalPage.languageWarning")),1)])),n("div",We,[(i(),N(oe,{key:`${_.value}-switcher`,modelValue:_.value,"onUpdate:modelValue":[y[0]||(y[0]=e=>_.value=e),ne],options:ae.value,"options-click-ids":te.value,"disabled-options":[c(a)("pages.legalPage.agreements"),c(a)("pages.legalPage.policies"),c(a)("pages.legalPage.companyPolicies")]},null,8,["modelValue","options","options-click-ids","disabled-options"]))]),$.value?T("",!0):(i(),g("div",Ue,[n("p",ze,r(`${c(a)("pages.legalPage.lastRevisited")} ${I.value.date.slice(0,19).replace("T"," ")}`),1)])),X.value?(i(),N(M,{key:2,class:"legal__cookies","aria-label":c(a)("pages.legalPage.cookieSettings"),onClick:y[1]||(y[1]=e=>c(Y)(!0))},{default:U(()=>[z(r(c(a)("pages.legalPage.cookieSettings")),1)]),_:1},8,["aria-label"])):T("",!0),n("div",{dir:"ltr",innerHTML:I.value.content},null,8,Qe),ee.value?(i(),N(M,{key:3,to:l.value.submitButton.link,"aria-label":l.value.submitButton.text},{default:U(()=>[z(r(l.value.submitButton.text),1)]),_:1},8,["to","aria-label"])):T("",!0)])]),O.value?(i(),g("div",{key:0,class:"legal__scroll-up-button",onClick:ie},[W(ge)])):T("",!0)],2)}}}),ta=be(Fe,[["__scopeId","data-v-60e227b1"]]);export{ta as default};