1import{A as N}from"./aos.8b0e73df.js";import{j as R}from"./stores.c7a4d22d.js";import{u as W,d as v,V as A,b as x,a as y,v as $,_ as I}from"../ganet.c240b8f2.js";import{A as E}from"./AntdIcon.5ada3b82.js";import{D as o,l as G,j as D,r as F,G as j,n as J,Y as h,W as t,V as r,S as l,u as s,$ as f,Z as a,F as S,ac as C,U as O,L as w,X as z}from"./i18n.69932684.js";import{S as P}from"./SendOutlined.71c050dd.js";import{A as k}from"./ArrowRightOutlined.bdf1d397.js";import{C as b}from"./CheckCircleOutlined.d0d75264.js";import{B as Q}from"./BarChartOutlined.f3c675ad.js";import{D as V}from"./DollarCircleOutlined.43b3204c.js";import{T as U}from"./ToolOutlined.862b8d8e.js";import{T as X}from"./ThunderboltOutlined.f004bf7b.js";import{C as B}from"./CustomerServiceOutlined.7f129e14.js";import{M as Y}from"./MobileOutlined.33990f27.js";import{T as Z}from"./TrophyOutlined.f912791d.js";import"./_commonjsHelpers.de833af9.js";var q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"};const K=q;function M(n){for(var e=1;e<arguments.length;e++){var c=arguments[e]!=null?Object(arguments[e]):{},m=Object.keys(c);typeof Object.getOwnPropertySymbols=="function"&&(m=m.concat(Object.getOwnPropertySymbols(c).filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable}))),m.forEach(function(u){tt(n,u,c[u])})}return n}function tt(n,e,c){return e in n?Object.defineProperty(n,e,{value:c,enumerable:!0,configurable:!0,writable:!0}):n[e]=c,n}var T=function(e,c){var m=M({},e,c.attrs);return o(E,M({},m,{icon:K}),null)};T.displayName="FireOutlined";T.inheritAttrs=!1;const et=T,st={class:"ganet-homepage"},at={class:"ganet-hero"},ot={class:"hero-content"},it={class:"hero-badge"},rt={class:"hero-title"},ct={class:"hero-subtitle-text"},nt={class:"hero-description"},lt={class:"hero-actions"},dt={class:"hero-stats-wrapper"},mt=["data-aos-delay"],ut={class:"stat-card-number"},pt={class:"stat-card-label"},_t={class:"features-masonry-section"},ht={class:"section-header text-center mb-12","data-aos":"fade-up"},ft={class:"section-title"},gt={class:"section-subtitle"},vt={class:"masonry-grid"},yt=["data-aos-delay"],bt={class:"feature-icon-circle"},xt={class:"feature-masonry-title"},Ft={class:"feature-masonry-text"},St={class:"projects-section"},Ct={class:"section-header text-center mb-8","data-aos":"fade-up"},Ot={class:"section-title"},Pt={class:"section-subtitle"},Tt={class:"project-card-modern"},At={class:"project-card-badge"},Dt={class:"project-logo-wrapper"},jt={class:"project-name-modern"},wt={class:"project-commission-modern"},zt={class:"commission-label-modern"},kt={class:"commission-value-modern"},Vt={class:"projects-cta text-center mt-12","data-aos":"fade-up"},Bt={class:"final-cta-section"},Mt={class:"final-cta-content","data-aos":"zoom-in"},Ht={class:"cta-icon-wrapper"},Lt={class:"final-cta-title"},Nt={class:"final-cta-text"},Rt={class:"final-cta-buttons"},Wt={class:"cta-features"},$t={class:"cta-feature-item"},It={class:"cta-feature-item"},Et={class:"cta-feature-item"},Gt=G({__name:"HomePage",setup(n){const{at:e,locale:c,t:m}=W("Views.Pages.Homepage.Homepage"),u=D(()=>[{icon:Q,title:e("Features.DataAnalysis.Title"),text:e("Features.DataAnalysis.Description"),color:"blue"},{icon:V,title:e("Features.HighCommission.Title"),text:e("Features.HighCommission.Description"),color:"orange"},{icon:U,title:e("Features.ProfessionalTools.Title"),text:e("Features.ProfessionalTools.Description"),color:"teal"},{icon:X,title:e("Features.FastPayment.Title"),text:e("Features.FastPayment.Description"),color:"purple"},{icon:B,title:e("Features.DedicatedManager.Title"),text:e("Features.DedicatedManager.Description"),color:"pink"},{icon:Y,title:e("Features.MobileSupport.Title"),text:e("Features.MobileSupport.Description"),color:"sky"}]),g=F([]);j(async()=>{try{const p=await R.get("/v2/api/public/campaigns/recommend");g.value=((p==null?void 0:p.data)||[]).slice(0,8),console.warn(g.value)}catch(p){console.error("Failed to load campaigns:",p),g.value=[]}}),F("all");const H=F(g),L=D(()=>[{number:"10,000+",label:e("Stats.BrandProjects"),icon:Z},{number:"100,000+",label:e("Stats.ActivePublishers"),icon:B},{number:"Â¥2B+",label:e("Stats.TotalCommission"),icon:V},{number:"99.9%",label:e("Stats.SystemStability"),icon:b}]);return j(async()=>{await J(),N.init({duration:800,once:!1})}),(p,_)=>(l(),h("div",st,[t("section",at,[_[2]||(_[2]=t("div",{class:"hero-background"},[t("div",{class:"hero-shape hero-shape-1"}),t("div",{class:"hero-shape hero-shape-2"}),t("div",{class:"hero-shape hero-shape-3"})],-1)),o(v,{class:"maxWidth"},{default:r(()=>[o(A,{class:"align-center"},{default:r(()=>[o(x,{md:"6",cols:"12","data-aos":"fade-right"},{default:r(()=>[t("div",ot,[t("div",it,[o(s(et),{style:{fontSize:"18px",marginRight:"6px"}}),f(" "+a(s(e)("LeadPlatform")),1)]),t("h1",rt,[_[0]||(_[0]=f(" GANet",-1)),_[1]||(_[1]=t("br",null,null,-1)),t("span",ct,a(s(e)("Subtitle")),1)]),t("p",nt,a(s(e)("Description")),1),t("div",lt,[o(y,{to:{name:"PublisherRegister"},size:"x-large",color:"primary",class:"px-12",elevation:"0"},{default:r(()=>[f(a(s(e)("FreeRegister"))+" ",1),o(s(P),{style:{fontSize:"20px",marginLeft:"8px"}})]),_:1})])])]),_:1}),o(x,{md:"6",cols:"12","data-aos":"fade-left"},{default:r(()=>[t("div",dt,[(l(!0),h(S,null,C(L.value,(i,d)=>(l(),h("div",{key:d,class:"hero-stat-card","data-aos":"zoom-in","data-aos-delay":200+d*100},[(l(),O(w(i.icon),{class:"stat-card-icon"})),t("div",ut,a(i.number),1),t("div",pt,a(i.label),1)],8,mt))),128))])]),_:1})]),_:1})]),_:1})]),t("section",_t,[o(v,{class:"maxWidth"},{default:r(()=>[t("div",ht,[t("h2",ft,a(s(e)("WhyChoose")),1),t("p",gt,a(s(e)("WhySubtitle")),1)]),t("div",vt,[(l(!0),h(S,null,C(u.value,(i,d)=>(l(),h("div",{key:d,class:z(["masonry-item",`masonry-item-${d%3+1}`]),"data-aos":"fade-up","data-aos-delay":d*80},[t("div",{class:z(`feature-masonry-card feature-masonry-card--${i.color}`)},[t("div",bt,[(l(),O(w(i.icon),{class:"feature-icon-masonry"}))]),t("h3",xt,a(i.title),1),t("p",Ft,a(i.text),1)],2)],10,yt))),128))])]),_:1})]),t("section",St,[o(v,{class:"maxWidth"},{default:r(()=>[t("div",Ct,[t("h2",Ot,a(s(e)("HotProjects")),1),t("p",Pt,a(s(e)("ProjectsSubtitle")),1)]),o(A,{class:"mt-8"},{default:r(()=>[(l(!0),h(S,null,C(H.value,(i,d)=>(l(),O(x,{key:i.id,lg:"3",md:"4",sm:"6",cols:"12",class:"project-col","data-aos":"fade-up","data-aos-delay":d*50},{default:r(()=>[t("div",Tt,[t("div",At,a(i.region),1),t("div",Dt,[o($,{src:i.logo.url,"max-width":"120","max-height":"80",class:"project-logo"},null,8,["src"])]),t("h3",jt,a(i.name),1),t("div",wt,[t("span",zt,a(s(e)("Projects.Commission")),1),t("span",kt,a(new Intl.NumberFormat(void 0,{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2}).format(i.max_comm_ratio)),1)]),o(y,{color:"primary",variant:"tonal",class:"project-apply-btn-modern",size:"small",block:"",to:{name:"CampaignDetail",params:{id:i.id}}},{default:r(()=>[f(a(s(e)("Projects.ApplyNow"))+" ",1),o(s(k),{style:{fontSize:"12px",marginLeft:"4px"}})]),_:2},1032,["to"])])]),_:2},1032,["data-aos-delay"]))),128))]),_:1}),t("div",Vt,[o(y,{size:"large",color:"primary",class:"px-10",to:{name:"CampaignList"}},{default:r(()=>[f(a(s(e)("ViewMoreProjects"))+" ",1),o(s(k),{style:{fontSize:"16px",marginLeft:"8px"}})]),_:1})])]),_:1})]),t("section",Bt,[o(v,{class:"maxWidth"},{default:r(()=>[t("div",Mt,[t("div",Ht,[o(s(P),{style:{fontSize:"60px"}})]),t("h2",Lt,a(s(e)("StartJourney")),1),t("p",Nt,a(s(e)("JoinCTA")),1),t("div",Rt,[o(y,{size:"x-large",color:"white",class:"px-12 cta-btn-white",to:{name:"PublisherRegister"}},{default:r(()=>[f(a(s(e)("FreeRegister"))+" ",1),o(s(P),{style:{fontSize:"20px",marginLeft:"8px"}})]),_:1})]),t("div",Wt,[t("div",$t,[o(s(b),{class:"cta-check"}),t("span",null,a(s(e)("CTAFeatures.NoFee")),1)]),t("div",It,[o(s(b),{class:"cta-check"}),t("span",null,a(s(e)("CTAFeatures.QuickRegister")),1)]),t("div",Et,[o(s(b),{class:"cta-check"}
1),t("span",null,a(s(e)("CTAFeatures.ProfessionalSupport")),1)])])])]),_:1})])]))}});const ne=I(Gt,[["__scopeId","data-v-006255cf"]]);export{ne 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.